/* ===== FTTx MANUFAKTUR — SHARED STYLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
sup { font-size: 0.55em; vertical-align: super; }

:root {
  --blue: #0082C2;
  --blue-dark: #002E42;
  --blue-deep: #001E2D;
  --yellow: #FFD100;
  --white: #FFFFFF;
  --bg: #FAFBFC;
  --bg-2: #F0F4F7;
  --ink: #002E42;
  --ink-2: #1E4A5F;
  --muted: #5A7585;
  --line: #D6DEE3;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
}
.mono { font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace; letter-spacing: 0.04em; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

.section-num {
  font-weight: 700; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.section-num-big {
  font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: -0.02em;
  color: var(--blue); margin-top: 12px;
}
.deco-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }

/* ====== NAV ====== */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 251, 252, 0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo-img { height: 28px; width: auto; }
@media (min-width: 1024px) { .logo-img { height: 32px; } }
.nav-links { display: none; gap: 24px; font-size: 13px; font-weight: 600; }
@media (min-width: 1024px) { .nav-links { display: flex; align-items: center; } }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active { border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }

/* ====== DROPDOWN-MENÜS in der Hauptnav ====== */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-item > a::after {
  content: ""; display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
  transition: transform 0.2s ease;
  opacity: 0.6;
}
.nav-item:hover > a::after { transform: rotate(225deg) translateY(0); opacity: 1; }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-top: 3px solid var(--yellow);
  box-shadow: 0 12px 40px rgba(0, 46, 66, 0.12);
  min-width: 280px;
  padding: 8px 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 50;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Bridge damit Mausweg zwischen Link und Dropdown nicht abreisst */
.nav-dropdown::before {
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.nav-dropdown a {
  display: block; padding: 11px 22px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.nav-dropdown a:hover {
  background: var(--bg-2); color: var(--blue);
  padding-left: 26px;
}
.nav-dropdown a .num {
  font-size: 11px; font-weight: 700; color: var(--blue);
  letter-spacing: 0.08em; margin-right: 8px;
}

/* Burger-Toggle für Mobile */
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 4px; cursor: pointer;
  padding: 10px; background: transparent; border: none; margin: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--blue-dark); transition: all 0.25s ease; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px 20px; box-shadow: 0 8px 24px rgba(0,46,66,0.06);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.is-open .nav-links > a,
  .nav.is-open .nav-links .nav-item > a {
    padding: 14px 0; border-bottom: 1px solid var(--bg-2); font-size: 14px;
  }
  .nav.is-open .nav-links .nav-item { width: 100%; }
  .nav.is-open .nav-links .nav-item > a::after { display: none; }
  /* Mobile: Dropdowns flach inline anzeigen */
  .nav.is-open .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; box-shadow: none; border-top: none;
    background: var(--bg-2); padding: 4px 0; min-width: 0;
  }
  .nav.is-open .nav-dropdown a {
    padding: 10px 16px; font-size: 12.5px; border-bottom: none;
  }
  .nav.is-open .nav-dropdown a:hover { padding-left: 20px; }
  .nav.is-open .nav-links > a:last-child,
  .nav.is-open .nav-links .nav-item:last-child > a { border-bottom: none; }
}

.btn {
  display: inline-block; padding: 12px 22px; font-size: 13px;
  font-weight: 700; letter-spacing: 0.04em; cursor: pointer; text-align: center;
  transition: all 0.3s ease; border: 2px solid transparent;
}
.btn-primary { background: var(--blue-dark); color: var(--white); }
.btn-primary:hover { background: var(--blue); }
.btn-ghost { border-color: var(--blue-dark); color: var(--blue-dark); background: transparent; }
.btn-ghost:hover { background: var(--blue-dark); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--blue-dark); }
.btn-yellow:hover { background: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 12px; }

/* ====== SUB-NAV (Sticky Anker-Navigation auf langen Sub-Pages) ====== */
.sub-nav {
  position: sticky; top: 64px; z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.sub-nav-inner {
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav-link {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  padding: 14px 18px; white-space: nowrap;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.sub-nav-link:hover { color: var(--blue); }
.sub-nav-link.active { color: var(--blue-dark); border-bottom-color: var(--yellow); }

/* ====== HERO ====== */
.hero { position: relative; padding: 40px 0 36px; }
@media (min-width: 1024px) { .hero { padding: 64px 0 56px; } }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-eyebrow .est { font-size: 10px; color: var(--muted); white-space: nowrap; font-weight: 600; }
@media (min-width: 1024px) { .hero-eyebrow { margin-bottom: 36px; } }

.hero h1 {
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--ink);
}
.hero h1 .accent {
  color: var(--blue);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: ""; display: block; height: 6px; width: 100%;
  background: var(--yellow); margin-top: 4px;
}

/* Smaller hero for sub-pages */
.hero-sub h1 {
  font-size: clamp(1.5rem, 3.8vw, 2.75rem);
  line-height: 1.12;
}

.hero-sub-row { margin-top: 24px; }
@media (min-width: 1024px) {
  .hero-sub-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; margin-top: 36px; }
  .hero-sub-text { grid-column: 8 / span 5; }
}
.hero-sub-text p { font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: balance; }
.hero-cta { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

.hero-images {
  margin-top: 32px; display: grid; grid-template-columns: 1fr;
  gap: 8px;
}
.hero-images .hero-img:nth-child(1) { aspect-ratio: 365 / 280; }
.hero-images .hero-img:nth-child(2) { aspect-ratio: 560 / 280; }
.hero-images .hero-img:nth-child(3) { aspect-ratio: 420 / 280; }
@media (min-width: 700px) {
  .hero-images { grid-template-columns: 365fr 560fr 420fr; height: 280px; }
  .hero-images .hero-img { aspect-ratio: auto; }
}
.hero-img { position: relative; overflow: hidden; background: var(--blue-dark); }
.hero-img::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,209,0,0.08) 18px 19px),
    radial-gradient(circle at 30% 70%, rgba(0,130,194,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.hero-img img[src=""], .hero-img img:not([src]) { display: none; }
.photo-tag {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--white); color: var(--blue-dark);
  padding: 5px 9px; font-size: 10px; font-weight: 700;
  font-family: ui-monospace, monospace; letter-spacing: 0.08em;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 12px; color: var(--muted); margin-bottom: 24px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .current { color: var(--ink); font-weight: 700; }
.breadcrumb .sep { color: var(--line); }

/* ====== LEGAL PAGES (Impressum/Datenschutz/Cookies) ====== */
.placeholder-banner {
  background: #FFF8D6;
  border-top: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  padding: 14px 0;
}
.placeholder-banner-inner {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--ink); line-height: 1.5;
  flex-wrap: wrap;
}
.placeholder-tag {
  display: inline-block;
  background: var(--blue-dark); color: var(--yellow);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  padding: 4px 10px; text-transform: uppercase;
  white-space: nowrap;
}
.placeholder-banner a { color: var(--blue); font-weight: 700; border-bottom: 1.5px solid var(--blue); }

.legal-section .legal-content {
  max-width: 820px;
}
.legal-content p { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); margin-bottom: 14px; }
.legal-content .subhead {
  font-weight: 700; font-size: 18px;
  margin-top: 36px; margin-bottom: 12px;
  letter-spacing: -0.01em; color: var(--ink);
}
.legal-content .legal-h3 {
  font-weight: 700; font-size: 15px;
  margin-top: 22px; margin-bottom: 8px;
  color: var(--ink);
}
.legal-content a { color: var(--blue); border-bottom: 1.5px solid var(--blue); font-weight: 600; }
.legal-content ul.bullets { margin: 8px 0 14px; }
.legal-content ul.bullets li { font-size: 14.5px; color: var(--ink-2); padding: 4px 0; padding-left: 26px; position: relative; line-height: 1.6; }
.legal-content section { scroll-margin-top: 130px; }
.legal-meta {
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); font-style: italic;
}
.legal-content .ph,
.placeholder-inline {
  background: #FFF1B8;
  padding: 1px 6px;
  border-radius: 2px;
  font-style: italic;
  color: var(--ink);
  font-weight: 600;
}

/* Cookie Category-Cards */
.cookie-category {
  background: var(--white);
  border: 1px solid var(--line);
  margin-top: 14px;
  padding: 0;
  transition: border-color 0.2s ease;
}
.cookie-category:hover { border-color: var(--blue); }
.cookie-category-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px;
}
.cookie-category-title { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.cookie-category-sub { font-size: 12.5px; color: var(--muted); }
.cookie-category-body {
  padding: 0 22px 18px; border-top: 1px solid var(--bg-2); padding-top: 14px;
}
.cookie-category-body p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

.cookie-toggle {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--muted); user-select: none;
}
.cookie-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-toggle-track {
  width: 42px; height: 22px; background: #D1D5DB;
  border-radius: 999px; position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.cookie-toggle-track::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; background: #FFF;
  border-radius: 999px;
  transition: transform 0.2s ease;
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--blue); }
.cookie-toggle input:checked + .cookie-toggle-track::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-track { background: var(--blue-dark); opacity: 0.7; cursor: not-allowed; }
.cookie-toggle input:checked ~ .cookie-toggle-label { color: var(--blue); }

.cookie-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ====== COOKIE-BANNER (fixed bottom, on first visit) ====== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--white); border-top: 3px solid var(--yellow);
  box-shadow: 0 -8px 32px rgba(0, 46, 66, 0.12);
  padding: 22px 0 20px;
  z-index: 200;
  display: none;
  animation: cookieSlide 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cookie-banner.is-visible { display: block; }
@keyframes cookieSlide {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center;
}
@media (min-width: 900px) {
  .cookie-banner-grid { grid-template-columns: 1fr auto; gap: 24px; }
}
.cookie-banner h3 {
  font-weight: 800; font-size: 17px; color: var(--ink);
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.cookie-banner p {
  font-size: 13px; line-height: 1.55; color: var(--ink-2); margin: 0;
}
.cookie-banner p a { color: var(--blue); font-weight: 600; border-bottom: 1.5px solid var(--blue); }
.cookie-banner-actions {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
@media (max-width: 899px) {
  .cookie-banner-actions .btn { flex: 1; min-width: 110px; }
}

/* ====== Click-to-Load Platzhalter (für OSM, externe Bilder) ====== */
.consent-placeholder {
  background: var(--bg-2); border: 1px dashed var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 36px 24px; text-align: center;
  width: 100%; height: 100%; min-height: 280px;
}
.consent-placeholder .icon {
  width: 40px; height: 40px;
  background: var(--blue); color: var(--white);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.consent-placeholder strong { font-size: 15px; color: var(--ink); }
.consent-placeholder p {
  font-size: 13px; color: var(--ink-2); line-height: 1.55;
  max-width: 420px; margin: 0;
}

/* ====== MARQUEE ====== */
.marquee-section { background: var(--blue-dark); color: var(--white); padding: 14px 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap; width: max-content;
  animation: marquee 60s linear infinite;
  font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
}
.marquee-track .dot { color: var(--yellow); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 48px 0; }
@media (min-width: 1024px) { .section { padding: 72px 0; } }

/* Scroll-Offset damit Anker nicht unter der Sticky-Nav verschwinden */
section[id] { scroll-margin-top: 70px; }
.page:has(.sub-nav) section[id] { scroll-margin-top: 120px; }

.section-sm { padding: 36px 0; }
@media (min-width: 1024px) { .section-sm { padding: 56px 0; } }

.grid-2col { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .grid-2col { grid-template-columns: 3fr 9fr; gap: 48px; } }

h2.headline {
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 820px;
  color: var(--ink);
}
h2.headline .accent { color: var(--blue); }
h2.headline .yellow {
  background: linear-gradient(180deg, transparent 65%, var(--yellow) 65%);
  padding: 0 4px;
}

h3.subhead {
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 28px 0 12px;
  color: var(--ink);
}

.body-text p { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.body-text p + p { margin-top: 12px; }
.body-text strong { color: var(--ink); font-weight: 700; }
.body-text em { color: var(--blue); font-style: normal; font-weight: 700; }
.body-text ul.bullets { margin-top: 14px; }
.body-text ul.bullets li {
  font-size: 14.5px; line-height: 1.65; padding: 6px 0 6px 22px;
  position: relative; color: var(--ink-2);
}
.body-text ul.bullets li { padding-left: 28px; } .body-text ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 13px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M3 12.5l5.5 5.5L21 5.5' stroke='%230082C2' stroke-width='3.5' stroke-linecap='square' stroke-linejoin='miter'/></svg>"); background-size: contain; background-repeat: no-repeat; background-position: center; }
.body-text ul.bullets li strong { color: var(--ink); }
.body-text hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }

.callout {
  margin-top: 32px; padding: 22px 26px;
  background: var(--white); border-left: 3px solid var(--yellow);
  font-size: 15px; line-height: 1.65; color: var(--ink-2);
}
.callout strong { color: var(--ink); font-weight: 700; }
.callout.dark { background: var(--blue-dark); color: var(--white); }
.callout.dark strong { color: var(--yellow); }

.section-image {
  margin-top: 32px; position: relative; overflow: hidden;
  aspect-ratio: 16/9; background: var(--bg-2);
}
.section-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-image .caption {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(0, 46, 66, 0.92); color: var(--white);
  padding: 7px 12px; font-size: 10.5px; font-weight: 700;
  font-family: ui-monospace, monospace; letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Netzplan-Box: rechte Spalte, flach + Slideshow/Zoom */
.section-image--wide { aspect-ratio: 21 / 7; cursor: zoom-in; }
.section-image--wide img { transition: opacity 0.6s ease; }
.section-image--wide .zoom-hint {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0, 46, 66, 0.92); color: var(--white);
  padding: 7px 12px; font-size: 11px; font-weight: 700;
  font-family: ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.section-image--wide:hover .zoom-hint,
.section-image--wide:focus-visible .zoom-hint { opacity: 1; }
.section-image--wide:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (min-width: 1024px) { .section-image--wide { grid-column: 2 / 3; } }
@media (max-width: 1023px) { .section-image--wide { aspect-ratio: 16 / 10; } }

/* Coming-soon-Platzhalter (z. B. Referenzen) */
.coming-soon { text-align: center; padding: 56px 0 32px; }
.coming-soon-badge {
  display: inline-block; background: var(--yellow); color: var(--blue-dark);
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 2px;
}
.coming-soon-text {
  margin: 20px auto 0; max-width: 520px; font-size: 16px; color: var(--ink-2);
}

/* Lightbox (Großansicht des Netzplans) */
.np-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 30, 45, 0.94); padding: 4vh 4vw;
}
.np-lightbox[hidden] { display: none; }
.np-stage {
  max-width: 100%; max-height: 92vh; overflow: auto; -webkit-overflow-scrolling: touch;
  display: flex; align-items: center; justify-content: center;
}
.np-img { display: block; max-width: 100%; max-height: 92vh; object-fit: contain; cursor: zoom-in; }
.np-stage.zoomed { align-items: flex-start; justify-content: flex-start; }
.np-stage.zoomed .np-img { max-width: none; max-height: none; width: 2000px; cursor: zoom-out; }
.np-close {
  position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
  border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.14);
  color: var(--white); font-size: 30px; line-height: 1; cursor: pointer;
}
.np-close:hover { background: var(--yellow); color: var(--blue-dark); }
.np-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 64px; border: none; background: rgba(255, 255, 255, 0.14);
  color: var(--white); font-size: 34px; line-height: 1; cursor: pointer;
}
.np-nav:hover { background: var(--yellow); color: var(--blue-dark); }
.np-prev { left: 12px; }
.np-next { right: 12px; }
.np-caption {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(0, 46, 66, 0.92); color: var(--white);
  padding: 8px 16px; font-size: 12px; font-weight: 700;
  font-family: ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase;
  max-width: 90vw; text-align: center;
}

.case-gallery {
  margin-top: 28px; display: grid; gap: 6px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .case-gallery { grid-template-columns: 1fr 1fr 1fr; } }
.case-gallery .case-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-2);
}
.case-gallery .case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-gallery .case-img .tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0, 46, 66, 0.9); color: var(--white);
  padding: 4px 8px; font-size: 9.5px; font-weight: 700;
  font-family: ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase;
}
.case-gallery-note {
  margin-top: 10px; font-size: 11.5px; color: var(--muted);
  font-style: italic; letter-spacing: 0.02em;
}

.manifest-quote {
  margin-top: 28px;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--blue);
  line-height: 1.35;
  border-left: 4px solid var(--yellow);
  padding-left: 20px;
}

/* "Mehr lesen" */
details.collapsible { display: block; }
details.collapsible summary {
  list-style: none; cursor: pointer; color: var(--blue);
  font-weight: 700; font-size: 13px; margin-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid var(--blue); padding-bottom: 1px; user-select: none;
}
details.collapsible summary::-webkit-details-marker { display: none; }
details.collapsible summary::after {
  content: "↓"; font-size: 12px; transition: transform 0.3s ease;
}
details.collapsible[open] summary::after { transform: rotate(180deg); }
details.collapsible[open] summary span.label::before { content: "Weniger anzeigen"; }
details.collapsible summary span.label::before { content: "Mehr lesen"; }
details.collapsible .more-content { margin-top: 14px; }
details.collapsible .more-content > * + * { margin-top: 14px; }
details.collapsible.dark summary { color: var(--yellow); border-bottom-color: var(--yellow); }
details.collapsible.dark .more-content p { color: rgba(255, 255, 255, 0.85); }

/* ====== STATS ====== */
.stats { background: var(--blue-dark); color: var(--white); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat { border-left: 2px solid var(--yellow); padding-left: 18px; }
.stat-item { border-left: 2px solid var(--yellow); padding-left: 18px; }
.stat-value { font-weight: 800; font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--white); }
.stat-num { font-weight: 800; font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.stat-num .plus { color: var(--yellow); }
.stat-num .unit { font-weight: 400; font-size: 0.5em; opacity: 0.85; }
.stat-label { font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; margin-top: 10px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; }
.ph-stat {
  background: rgba(255, 209, 0, 0.18);
  padding: 0 6px;
  border-radius: 2px;
  font-style: italic;
  display: inline-block;
}

/* ====== SERVICES ====== */
.services-header { margin-bottom: 32px; }
@media (min-width: 1024px) { .services-header { margin-bottom: 48px; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* Modifier für andere Card-Anzahlen, damit keine leeren Grid-Zellen entstehen */
.services-grid.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .services-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.services-grid.cols-5 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .services-grid.cols-5 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.service-card {
  background: var(--white); padding: 24px 22px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  border-top: 3px solid transparent;
  display: block;
  color: inherit;
}
@media (min-width: 1024px) { .service-card { padding: 30px 28px; } }
.service-card:hover { border-top-color: var(--blue); }
.service-card.dark { background: var(--blue-dark); color: var(--white); border-top-color: var(--yellow); }
.service-card.span-full{grid-column:1 / -1;display:flex;align-items:center;gap:12px 28px;flex-wrap:wrap;}
.service-card.service-combo{padding:0;display:flex;flex-direction:column;}
.service-card.service-combo .combo-item{display:block;padding:18px 22px;color:inherit;flex:1;}
@media (min-width: 1024px) { .service-card.service-combo .combo-item { padding: 20px 28px; } }
.service-card.service-combo .combo-item:hover{background:rgba(255,255,255,0.05);}
.service-card.service-combo .combo-item .num{margin-bottom:8px;}
.service-card.service-combo .combo-item h3{margin-bottom:6px;font-size:15px;}
.service-card.service-combo .combo-item .lead{margin-bottom:0;font-size:12px;line-height:1.5;}
.service-card.service-combo .combo-divider{height:1px;background:var(--yellow);}

/* Leistungen-Startseite: erste Zeile etwas höher, damit die Reihen nicht so ungleich wirken */
#leistungen-cards.services-grid .service-card{min-height:230px;}
@media (min-width: 1024px) { #leistungen-cards.services-grid .service-card{min-height:250px;} }
.service-card.span-full .num{margin-bottom:0;}
.service-card.span-full .sf-main{flex:1 1 60%;min-width:240px;}
.service-card.span-full h3{margin-bottom:6px;}
.service-card.span-full .lead{margin-bottom:0;color:rgba(255,255,255,0.82);}
.service-card.span-full .sf-cta{white-space:nowrap;font-weight:700;color:var(--yellow);font-size:13px;letter-spacing:0.02em;}
.service-card .num {
  font-weight: 800; font-size: 12px; color: var(--blue);
  margin-bottom: 14px; display: flex; justify-content: space-between; letter-spacing: 0.1em;
}
.service-card .num span:last-child { color: var(--muted); font-weight: 400; }
.service-card.dark .num { color: var(--yellow); }
.service-card.dark .num span:last-child { color: rgba(255, 255, 255, 0.6); }
.service-card h3 { font-weight: 700; font-size: 18px; margin-bottom: 10px; letter-spacing: -0.01em; line-height: 1.3; }
.service-card .lead { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); margin-bottom: 12px; }
.service-card.dark .lead { color: rgba(255, 255, 255, 0.85); }
.service-card .lead strong { color: var(--ink); font-weight: 700; }
.service-card.dark .lead strong { color: var(--white); }
.service-card h4.sub-h {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue); margin-top: 14px; margin-bottom: 8px;
}
.service-card.dark h4.sub-h { color: var(--yellow); }
.service-card ul.bullets li { font-size: 13px; color: var(--ink-2); padding: 4px 0; padding-left: 16px; position: relative; line-height: 1.5; }
.service-card ul.bullets li { padding-left: 26px; } .service-card ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 14px; height: 11px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M3 12.5l5.5 5.5L21 5.5' stroke='%230082C2' stroke-width='3.5' stroke-linecap='square' stroke-linejoin='miter'/></svg>"); background-size: contain; background-repeat: no-repeat; background-position: center; }
.service-card.dark ul.bullets li { color: rgba(255, 255, 255, 0.85); }
.service-card.dark ul.bullets li::before { /* Bullet bleibt gleich (gelber Haken) */ }
.service-card .badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--yellow); color: var(--blue-dark);
  font-weight: 800; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.15em; padding: 5px 9px;
}

/* ====== TARGET ====== */
.target-section { background: var(--bg-2); }
.target-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .target-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .target-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.target-grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .target-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .target-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* Team-Cards mit Cartoon-Avataren */
.team-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 700px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.team-card {
  background: var(--white);
  border-top: 3px solid transparent;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.team-card:hover { border-top-color: var(--yellow); transform: translateY(-2px); }
.team-card .avatar {
  width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2);
}
.team-card .avatar svg { width: 100%; height: 100%; display: block; }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.team-card .team-info { padding: 18px 20px 22px; }
.team-card h4 { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.team-card .role { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.team-card .bio { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.target-card {
  background: var(--white); padding: 26px 22px;
  display: flex; flex-direction: column;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-top: 3px solid transparent;
  color: inherit;
}
.target-card:hover { border-top-color: var(--yellow); }
.target-card h4 { font-weight: 700; font-size: 17px; margin-bottom: 10px; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); }
.target-card p { font-size: 12.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.target-card .arrow {
  margin-top: 16px; font-size: 12px; font-weight: 700; color: var(--blue-dark);
  display: inline-flex; align-items: center; gap: 4px;
}

.target-summary {
  margin-top: 32px; background: var(--white); border-left: 3px solid var(--yellow);
  padding: 22px 26px; font-size: 15px; line-height: 1.65; color: var(--ink-2);
}
.target-summary strong { color: var(--ink); font-weight: 700; }

/* ====== LICHTBLICK ====== */
.lichtblick-section { background: var(--blue-dark); color: var(--white); position: relative; overflow: hidden; }
.lichtblick-section::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 209, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.lichtblick-section .container { position: relative; }
.lichtblick-section .section-num { color: var(--yellow); }
.lichtblick-header { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: end; }
@media (min-width: 1024px) { .lichtblick-header { grid-template-columns: 7fr 5fr; gap: 48px; } }
.lichtblick-h2 {
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance;
}
.lichtblick-h2 .yellow { color: var(--yellow); }
.lichtblick-tagline {
  font-weight: 600; font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7); margin-top: 12px;
}
.lichtblick-side p { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); }
.lichtblick-features {
  margin-top: 32px; display: grid; grid-template-columns: 1fr;
  gap: 1px; background: rgba(255, 255, 255, 0.12);
}
@media (min-width: 700px) { .lichtblick-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .lichtblick-features { grid-template-columns: repeat(3, 1fr); } }
.lichtblick-features > div { background: var(--blue-dark); padding: 22px 20px; }
.lichtblick-features .lbl {
  font-weight: 800; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--yellow); margin-bottom: 8px;
}
.lichtblick-features p { font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.lichtblick-ideal {
  margin-top: 32px; padding: 22px 26px;
  background: rgba(255, 209, 0, 0.08); border-left: 3px solid var(--yellow);
  font-size: 15px; line-height: 1.6; color: var(--white);
}
.lichtblick-ideal strong { color: var(--yellow); font-weight: 700; }

/* ====== REFERENZEN ====== */
.ref-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ref-card {
  background: var(--white); padding: 28px 22px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: grid; grid-template-columns: 1fr; gap: 14px;
  border-left: 3px solid transparent;
  color: inherit;
}
@media (min-width: 800px) {
  .ref-card { grid-template-columns: 80px 1fr 200px; gap: 36px; padding: 40px 32px; align-items: start; }
}
.ref-card:hover { border-left-color: var(--yellow); }
.ref-num { font-weight: 800; font-size: 44px; line-height: 1; color: var(--blue); letter-spacing: -0.02em; }
.ref-tag { font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--blue); margin-bottom: 10px; }
.ref-card h3 { font-weight: 700; font-size: 21px; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.01em; color: var(--ink); }
.ref-card p { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.ref-meta { font-size: 12px; color: var(--muted); line-height: 1.6; }
.ref-meta div { margin-bottom: 4px; }
.ref-cta-row { margin-top: 32px; display: flex; justify-content: flex-end; }

/* ====== OFFICE ====== */
.office-section { background: var(--bg-2); }
.office-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .office-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.office-img { aspect-ratio: 5 / 4; background: var(--bg); overflow: hidden; position: relative; }
.office-img img { width: 100%; height: 100%; object-fit: cover; }
.office-text p { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-top: 14px; max-width: 520px; }
.office-text p strong { color: var(--ink); font-weight: 700; }
.office-cta { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ====== CONTACT ====== */
.contact-section { background: var(--blue-dark); color: var(--white); position: relative; overflow: hidden; }
.contact-section::before {
  content: ""; position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 130, 194, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.contact-section .container { position: relative; }
.contact-section .section-num { color: var(--yellow); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }
.contact-h2 {
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance;
}
.contact-h2 .accent { color: var(--yellow); }
.contact-lead { font-size: 17px; line-height: 1.6; margin-top: 28px; color: rgba(255, 255, 255, 0.8); max-width: 560px; }
.contact-lead strong { color: var(--white); font-weight: 700; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) { .contact-info { padding-top: 40px; } }
.contact-info .lbl { font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--yellow); margin-bottom: 6px; }
.contact-info .name { font-weight: 700; font-size: 19px; }
.contact-info .small { font-size: 13.5px; color: rgba(255, 255, 255, 0.75); line-height: 1.65; }

/* ====== FORM (Netzwerk) ====== */
.form-card {
  background: var(--white); border: 1px solid var(--line); padding: 32px;
  border-top: 3px solid var(--blue);
  margin-top: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label {
  font-size: 12px; font-weight: 700; color: var(--blue-dark);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--line); padding: 12px 14px; font-size: 14px;
  font-family: inherit; background: var(--bg); color: var(--ink);
  transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--blue);
}
.form-checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.form-checkboxes label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0;
  color: var(--ink-2); cursor: pointer;
}
.form-checkboxes input[type="checkbox"] { accent-color: var(--blue); }
.form-note {
  font-size: 12px; color: var(--muted); margin-top: 12px; font-style: italic;
}

/* ====== FAQ ====== */
.faq-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq-item { background: var(--white); padding: 0; }
.faq-item details { padding: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; font-size: 16px; color: var(--ink);
  transition: background 0.2s ease;
}
.faq-item summary > span:first-child { flex: 1; }
.faq-item summary:hover { background: var(--bg-2); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--blue);
  transition: transform 0.3s ease;
}
.faq-item details[open] summary::after { content: "−"; }
.faq-item details[open] summary { background: var(--bg-2); }
.faq-item .answer {
  padding: 0 26px 24px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2);
}
.faq-item .answer p + p { margin-top: 12px; }
.faq-item .answer strong { color: var(--ink); font-weight: 700; }

/* ====== FOOTER ====== */
.footer { background: var(--blue-deep); color: rgba(255, 255, 255, 0.65); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 4fr 2fr 2fr 4fr; gap: 36px; } }
.footer-grid .lbl { font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--yellow); margin-bottom: 14px; }
.footer-grid ul li { padding: 4px 0; font-size: 12.5px; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; gap: 12px; font-size: 11px; }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-logo-img { height: 36px; width: auto; margin-bottom: 14px; }
.footer p.short { font-size: 12px; line-height: 1.65; max-width: 280px; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.rise { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }

/* About boxes */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-card { background: var(--white); padding: 32px 28px; }
.about-card .num { font-weight: 800; font-size: 12px; color: var(--blue); margin-bottom: 16px; letter-spacing: 0.1em; }
.about-card h3 { font-weight: 700; font-size: 22px; margin-bottom: 14px; line-height: 1.25; }

/* Video placeholder */
.video-placeholder {
  aspect-ratio: 16/9; background: var(--blue-dark); position: relative;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  margin-top: 32px; overflow: hidden;
}
.video-placeholder::before {
  content: "▶"; position: absolute; font-size: 72px; color: var(--yellow);
  z-index: 2; transition: transform 0.3s ease;
}
.video-placeholder:hover::before { transform: scale(1.1); }
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.video-placeholder .label {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  background: rgba(0, 46, 66, 0.9); color: var(--white);
  padding: 8px 14px; font-size: 11px; font-weight: 700;
  font-family: ui-monospace, monospace; letter-spacing: 0.1em;
}


.page { display: none; }
.page.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


/* --- „mehr lesen" (lange Prosa einklappen, default zu) --- */
.body-text.ml-collapsible{position:relative;max-height:88px;overflow:hidden;transition:max-height .4s ease;}
.body-text.ml-collapsible.ml-open{max-height:3000px;}
.body-text.ml-collapsible::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46px;background:linear-gradient(to bottom, rgba(255,255,255,0), var(--fade-col,#fff));pointer-events:none;transition:opacity .3s;}
.body-text.ml-collapsible.ml-open::after{opacity:0;}
.ml-toggle{margin:10px 0 4px;background:none;border:0;padding:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;color:var(--blue);display:inline-flex;align-items:center;gap:6px;letter-spacing:.01em;}
.ml-toggle .ml-chev{font-size:11px;transition:transform .25s;}
.ml-toggle[aria-expanded="true"] .ml-chev{transform:rotate(180deg);}
.ml-toggle:hover{text-decoration:underline;}

/* Showroom-Dauerschleife */
.ss-wrap{position:relative;margin-top:24px;aspect-ratio:16/9;overflow:hidden;background:var(--blue-dark);border:1px solid var(--line);}
.ss-slide{position:absolute;inset:0;opacity:0;transition:opacity .9s ease;}
.ss-slide.is-active{opacity:1;}
.ss-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.ss-dots{position:absolute;right:12px;bottom:12px;display:flex;gap:7px;z-index:2;}
.ss-dots button{width:9px;height:9px;border-radius:50%;border:none;background:rgba(255,255,255,.45);cursor:pointer;padding:0;}
.ss-dots button.is-active{background:var(--yellow);}

.case-gallery.two-up{grid-template-columns:1fr 1fr;max-width:900px;}
@media (max-width:640px){.case-gallery.two-up{grid-template-columns:1fr;}}

/* Plakativer Video-Platzhalter (fuer IT/Rene) */
.video-embed-placeholder{position:relative;aspect-ratio:16/9;margin:0 0 40px;background:var(--blue-dark);border:3px dashed var(--yellow);display:flex;align-items:center;justify-content:center;text-align:center;}
.video-embed-placeholder .vep-inner{padding:24px;max-width:660px;}
.video-embed-placeholder .vep-icon{width:72px;height:72px;margin:0 auto 18px;border-radius:50%;background:var(--yellow);color:var(--blue-dark);display:flex;align-items:center;justify-content:center;font-size:30px;padding-left:5px;}
.video-embed-placeholder .vep-title{color:#fff;font-family:ui-monospace,monospace;font-weight:800;letter-spacing:0.14em;font-size:18px;text-transform:uppercase;}
.video-embed-placeholder .vep-note{color:var(--yellow);font-size:13.5px;font-weight:700;margin-top:12px;line-height:1.55;}
.video-embed-placeholder .vep-note strong{color:#fff;}
.services-grid.cols-5 .service-card{overflow-wrap:break-word;hyphens:auto;}

/* ===== Formular-Feedback (mail.php-Integration) ===== */
.form-feedback {
  display: none; padding: 14px 18px; margin-bottom: 16px;
  font-size: 14px; font-weight: 600; line-height: 1.5;
  border-left: 3px solid transparent;
}
.form-feedback--ok  { display: block; background: #EAF7EE; border-left-color: #27AE60; color: #1A6B3A; }
.form-feedback--err { display: block; background: #FEF2F2; border-left-color: #E53E3E; color: #9B1C1C; }

/* Startseite: "mehr lesen" direkt nach "Ein nicht alltägliches Gesamtkonzept." ohne Textvorschau */
#home-philosophie-more.ml-collapsible { max-height: 0; margin-top: 0; }
#home-philosophie-more.ml-collapsible::after { display: none; }
#home-philosophie-more.ml-collapsible.ml-open { max-height: 3000px; margin-top: 24px; }
