/* GMD® Website – Stylesheet
   Fonts self-hosted (DSGVO: keine Anfragen an Drittserver). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");
}

:root {
  /* Markenfarben (GMD-CD) */
  --night: #0e1117;
  --night-2: #0e1117;
  --line-dark: #2a3040;
  --glacier: #9da3c0;
  --snow: #e9ecf3;
  --paper: #f4f5f9;
  --ink: #151923;
  --ink-soft: #4a5163;
  --rule: #d9dce6;
  --yellow: #faff00;
  --logo-gray: #bbc4db;
  --logo-slate: #59637f;
  /* Gefahren-Farbcode (Information, nicht Dekoration) */
  --flood: #2fb8bf;   /* Hochwasser, Wildbach, Wasser */
  --rock: #e0843f;    /* Steinschlag, Felssturz */
  --seismic: #8a78e8; /* Seismik, Hangbewegung */
  --crowd: #4cbf80;   /* Personenstrom */
  --snowblue: #7fa7d9;/* Lawine */
  --fire: #d9574a;    /* Waldbrand */
  --focus: #ffd166;
  --white: #ffffff;
  --card-dark: #161a24;
  --surface: #14171f;
  --text: #e8eaf2;
  --soft: #c4c8d8;
  --muted: #9da3c0;
  --water: var(--flood);
  --green: var(--crowd);
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.2vw, 2.4rem);
  --step-4: clamp(2.1rem, 4.2vw, 3.2rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7.5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-stretch: 112%; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: var(--step-4); font-weight: 680; }
h2 { font-size: var(--step-3); font-weight: 650; }
h3 { font-size: var(--step-1); font-weight: 640; font-stretch: 106%; line-height: 1.25; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { max-width: var(--measure); padding-left: 1.2em; }
li { margin-bottom: 0.35em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--focus); color: #000; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { background: var(--night); color: var(--snow); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 2.25rem; width: auto; max-width: 170px; display: block; }
@media (max-width: 600px) { .brand-logo { height: 1.85rem; max-width: 140px; } }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.15rem; align-items: center; max-width: none; }
.nav li { margin: 0; }
.nav a { white-space: nowrap; text-decoration: none; font-size: .92rem; color: #c9cddb; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--glacier); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.lang a { font-size: .85rem; color: #aab0c6; text-decoration: none; border: 1px solid var(--line-dark); padding: .25rem .55rem; border-radius: var(--radius); }
.lang a:hover { color: #fff; border-color: var(--glacier); }
.login { font-size: .85rem; color: #aab0c6; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--snow); font: inherit; font-size: .9rem; padding: .4rem .7rem; border-radius: var(--radius); cursor: pointer; }

@media (max-width: 1140px) {
  .menu-toggle { display: inline-block; margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--night); border-bottom: 1px solid var(--line-dark); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--glacier); }
  .header-actions .login { display: none; }
}

/* ---------- Subnav / Quick-Jump Bar ---------- */
.subnav {
  position: sticky;
  top: 4.25rem;
  z-index: 45;
  background: rgba(14, 17, 23, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.subnav .wrap {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav ul {
  display: flex;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.subnav li { margin: 0; }
.subnav a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  color: var(--glacier);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.18s ease;
}
.subnav a:hover {
  background: #252b3b;
  color: #fff;
  border-color: var(--glacier);
}


/* ---------- Buttons ---------- */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; padding: .85rem 1.3rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--glacier); color: var(--night); }
.btn-primary:hover { background: #b7bcd4; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.on-light .btn-primary { background: var(--night); color: #fff; }
.on-light .btn-primary:hover { background: #2a3040; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero { background: var(--night); color: var(--snow); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero.hero-single .wrap,
.hero:not(:has(.catchment)) .wrap { display: block; }
.hero .wrap.stack { display: flex !important; flex-direction: column; gap: 1.5rem; }
.hero .wrap.stack > * { margin: 0; }
.hero .wrap.stack .actions { margin-top: 0.25rem; margin-bottom: 0.85rem; }
.hero .split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}
@media (max-width: 860px) {
  .hero .split { grid-template-columns: 1fr; }
}
.hero-content { max-width: 52rem; }
.hero h1 { color: #fff; }
.hero .claim { color: var(--glacier); font-size: 1rem; margin-bottom: 1.1rem; font-weight: 500; }
.hero .lead { font-size: var(--step-1); color: #c3c8d8; line-height: 1.5; max-width: 48rem; }
.page-hero { background: var(--night); color: var(--snow); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.5rem); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .hero-claim { font-size: var(--step-2); font-weight: 650; font-stretch: 108%; color: var(--yellow); margin: 0 0 0.75rem 0; line-height: 1.25; }
.page-hero .lead { font-size: var(--step-1); color: #c3c8d8; line-height: 1.5; max-width: 60ch; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Einzugsgebiet-Schema (Signaturelement) */
.catchment { width: 100%; }
.catchment svg { width: 100%; height: auto; display: block; }
.catchment .contour { fill: none; stroke: #2c3345; stroke-width: 1.2; }
.catchment .contour.major { stroke: #3a4258; stroke-width: 1.6; }
.catchment .stream { fill: none; stroke: var(--flood); stroke-width: 3; stroke-linecap: round; opacity: .85; }
.catchment .node { fill: var(--night); stroke: var(--flood); stroke-width: 2; }
.catchment .node-core { fill: var(--flood); opacity: 0; }
.catchment .village { fill: #3a4258; }
.catchment .rail { stroke: #6c7390; stroke-width: 2; stroke-dasharray: 6 5; fill: none; }
.catchment .dock { fill: none; stroke: var(--glacier); stroke-width: 2; }
.catchment text { fill: #9aa1b8; font-family: var(--font); font-size: 14px; }
.catchment-caption { font-size: .8rem; color: #8a90a8; margin-top: .5rem; }
@media (prefers-reduced-motion: no-preference) {
  .catchment .node-core { animation: pulse 5.6s ease-out 1 forwards; }
  @keyframes pulse { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .9; } }
}
@media (prefers-reduced-motion: reduce) { .catchment .node-core { opacity: .9; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section.dark { background: var(--night); color: var(--snow); border-top: 0; }
.section.dark + .section { border-top: 0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p, .section.dark li { color: #c3c8d8; }
.section.dark a:not(.btn) { color: var(--glacier); }
.section.dark a:not(.btn):hover { color: #fff; }
.section-head { max-width: 70ch; margin-bottom: 2.2rem; }
.section-head p { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.dark .section-head p { color: #b9bfd1; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Kette: Now-Casting > Frühwarnung > Lagebild (echte Abfolge) */
.chain { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: none; counter-reset: stage; }
.chain li { position: relative; padding: 1.6rem 1.6rem 1.6rem 0; margin: 0; border-top: 3px solid var(--yellow); counter-increment: stage; }
.chain li + li { padding-left: 1.6rem; border-left: 1px solid var(--line-dark); }
.chain .stage-no::before { content: counter(stage); display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid var(--yellow); color: var(--yellow); font-weight: 700; font-size: .95rem; margin-bottom: .9rem; }
.chain .when { display: block; font-size: .9rem; color: var(--yellow); margin-bottom: .4rem; }
.chain h3 { margin-bottom: .5rem; }
@media (max-width: 860px) {
  .chain { grid-template-columns: 1fr; }
  .chain li, .chain li + li { padding: 1.4rem 0; border-left: 0; }
}
.note { font-size: .92rem; border-left: 3px solid var(--glacier); padding: .6rem 0 .6rem 1rem; margin-top: 2rem; max-width: 75ch; }
.dark .note { color: #aeb4c8; }

/* Gefahrenliste mit Farbcode */
.hazards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; max-width: none; }
.hazards li { margin: 0; padding: 1.2rem 0 1.2rem 1.2rem; border-bottom: 1px solid var(--rule); border-left: 4px solid var(--c, var(--glacier)); }
.hazards h3 { margin-bottom: .3rem; }
.hazards p { margin: 0; color: var(--ink-soft); }
.hazards a { text-decoration: none; }
.hazards a:hover h3 { text-decoration: underline; }
@media (max-width: 760px) { .hazards { grid-template-columns: 1fr; } }
.c-flood { --c: var(--flood); } .c-rock { --c: var(--rock); } .c-seismic { --c: var(--seismic); }
.c-crowd { --c: var(--crowd); } .c-snow { --c: var(--snowblue); } .c-fire { --c: var(--fire); }

/* Bausteine (Definition-Liste statt Kartenraster) */
.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem 2.5rem; margin: 0; }
.blocks div { border-top: 1px solid var(--rule); padding-top: 1rem; }
.dark .blocks div { border-top-color: var(--line-dark); }
.blocks dt { font-weight: 650; font-stretch: 108%; font-size: var(--step-1); margin-bottom: .4rem; }
.blocks dd { margin: 0; color: var(--ink-soft); }
.dark .blocks dd { color: #b9bfd1; }
.vse-logo, .gtv-logo, .award-logo { display: block; height: 40px; width: auto; max-width: 100%; margin-bottom: .85rem; object-fit: contain; object-position: left center; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2.5rem;
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0 0;
  max-width: none;
  width: 100%;
}
.team-member { display: flex; align-items: center; gap: 1.25rem; border-top: 1px solid var(--rule); padding-top: 1.25rem; margin: 0; }
.dark .team-member { border-top-color: var(--line-dark); }
.team-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(14, 17, 23, 0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.dark .team-avatar { border-color: var(--line-dark); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.team-member:hover .team-avatar { transform: scale(1.05); box-shadow: 0 4px 14px rgba(14, 17, 23, 0.14); }
.dark .team-member:hover .team-avatar { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6); }
.team-info { min-width: 0; }
.team-name { font-size: 1.125rem; font-weight: 650; font-stretch: 106%; margin: 0 0 0.25rem 0; color: var(--ink); line-height: 1.25; }
.dark .team-name { color: #fff; }
.team-role { font-size: 0.92rem; color: var(--ink-soft); margin: 0; line-height: 1.4; }
.dark .team-role { color: #b9bfd1; }
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .team-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .team-avatar { width: 68px; height: 68px; }
}

/* Mission & Team Claim */
.mission-claim { font-size: var(--step-1); font-weight: 650; font-stretch: 106%; color: var(--ink); line-height: 1.35; margin: 0 0 1.1rem 0; }
.team-claim { font-size: var(--step-2); font-weight: 650; font-stretch: 108%; color: #fff; margin: 0 0 0.85rem 0; line-height: 1.25; }

/* Trennlinie für Team & Advisory Board */
hr { border: 0; border-top: 1px solid var(--rule); margin: 3.5rem 0; width: 100%; }
.dark hr, .section.dark hr { border-top-color: var(--line-dark); }
.team-divider { border: 0; border-top: 1px solid var(--line-dark); margin: 3.5rem 0 3.25rem 0; width: 100%; }
@media (max-width: 580px) {
  .team-divider { margin: 2.5rem 0 2.25rem 0; }
}

/* Zeitstrahl / Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: none;
}
.timeline-item {
  position: relative;
  margin: 0;
  padding: 0;
}
.timeline-marker {
  position: relative;
  display: flex;
  align-items: center;
  height: 24px;
  margin-bottom: 1.15rem;
}
/* Connecting line between dots on desktop */
.timeline-item:not(:last-child) .timeline-marker::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 20px;
  right: -2.5rem;
  height: 2px;
  background: var(--rule);
  z-index: 1;
}
.timeline-dot {
  position: relative;
  z-index: 2;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--logo-gray);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--paper);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.timeline-item:hover .timeline-dot {
  border-color: var(--night);
  transform: scale(1.15);
}
.timeline-date {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--logo-gray);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.timeline-title {
  font-size: 1.15rem;
  font-weight: 650;
  font-stretch: 106%;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
}
.timeline-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.dark .timeline-item:not(:last-child) .timeline-marker::after,
.dark .timeline-item:not(:last-child)::after {
  background: var(--line-dark);
}
.dark .timeline-dot {
  background: var(--yellow);
  border-color: #0e1117;
  box-shadow: 0 0 0 3px var(--night);
}
.dark .timeline-item:hover .timeline-dot {
  border-color: #fff;
}
.dark .timeline-date {
  background: var(--yellow);
  color: var(--night);
  border-color: transparent;
}
.dark .timeline-title {
  color: #fff;
}
.dark .timeline-desc {
  color: #b9bfd1;
}

@media (max-width: 860px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-item {
    padding-left: 2.25rem;
  }
  .timeline-marker {
    position: static;
    height: auto;
    margin: 0;
  }
  .timeline-dot {
    position: absolute;
    top: 2px;
    left: 0;
  }
  .timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 9px;
    right: auto;
    width: 2px;
    height: calc(100% + 2rem - 16px);
    background: var(--rule);
    z-index: 1;
  }
  .timeline-item:not(:last-child) .timeline-marker::after {
    display: none;
  }
}

/* Prozessschritte */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; max-width: 72ch; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.steps li::before { content: counter(s); font-weight: 700; font-stretch: 115%; font-size: 1.35rem; color: var(--ink-soft); }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; }

/* Referenzen */
.ref { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3rem); padding: 2.5rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ref:first-of-type { padding-top: 0; }
.ref h3 { font-size: var(--step-2); }
.ref .meta { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.tag { display: inline-block; font-size: .8rem; padding: .15rem .55rem; border-radius: 99px; border: 1px solid var(--c, var(--rule)); color: var(--ink); margin: 0 .35rem .35rem 0; }
.tag::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c, var(--glacier)); margin-right: .4rem; vertical-align: .05em; }
@media (max-width: 860px) { .ref { grid-template-columns: 1fr; } }

/* Dunkle Referenz-Karten (innerhalb .section.dark) */
.section.dark .ref { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.section.dark .ref h3 { color: #fff; }
.section.dark .ref .meta { color: #9da3c0; }
.section.dark .ref p { color: #c3c8d8; }
.section.dark .ref .tag { color: #d1d6e6; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); }
.section.dark .ref a { color: var(--glacier); }
.section.dark .ref a:hover { color: #fff; }
.section.dark .media figcaption { color: #8a90a8; }

/* ---------- Hintergrundvideo (Looping Background Video) ---------- */
.has-bg-video,
.hero.has-bg-video {
  position: relative;
  overflow: hidden;
  background: var(--night);
  min-height: calc(100vh - 4.25rem);
  min-height: calc(100dvh - 4.25rem);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.hero.has-bg-video .wrap { display: block; width: 100%; }
.bg-video-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: 0.85; }
.video-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 23, 0.72) 0%, rgba(14, 17, 23, 0.38) 50%, rgba(14, 17, 23, 0.18) 100%); z-index: 1; pointer-events: none; }
.has-bg-video > .wrap { position: relative; z-index: 2; }
.has-bg-video h1 { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85); }
.has-bg-video .lead { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75); }
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
}

/* Medien & Bilder */
.media { margin: 0; position: relative; }
.media img, .media iframe { width: 100%; aspect-ratio: var(--ar, 4 / 3); border-radius: var(--radius); }
.media img { object-fit: cover; background: #dfe2ea; }
.media iframe { border: 0; display: block; aspect-ratio: var(--ar, 16 / 9); background: #000; }
.media.missing, .media .ph { display: none !important; }
.media figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; }

/* Zwei-Klick-Lösung für YouTube-Videos (100% DSGVO-konform) */
.media-video { aspect-ratio: var(--ar, 16 / 9); }
.video-2click {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ar, 16 / 9);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0e1117;
  cursor: pointer;
  display: block;
}
.video-2click .video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: cover;
  filter: brightness(0.68);
  transition: transform .35s ease, filter .35s ease;
  border-radius: var(--radius);
  background: transparent;
}
.video-2click:hover .video-thumb {
  transform: scale(1.02);
  filter: brightness(0.55);
}
.video-consent-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: radial-gradient(circle at center, rgba(14, 17, 23, 0.35) 0%, rgba(14, 17, 23, 0.88) 100%);
  gap: .65rem;
  z-index: 2;
}
.video-play-btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.video-play-btn svg {
  width: 58px;
  height: 58px;
  display: block;
}
.video-play-btn svg circle {
  transition: fill .2s ease, stroke .2s ease;
}
.video-2click:hover .video-play-btn {
  transform: scale(1.08);
}
.video-2click:hover .video-play-btn svg circle {
  fill: rgba(254, 219, 0, 0.2);
}
.video-consent-msg {
  color: #fff;
  font-size: .85rem;
  line-height: 1.4;
  max-width: 48ch;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.video-consent-msg a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.video-consent-msg a:hover {
  color: #fff;
}
.video-load-btn {
  font-size: .85rem;
  padding: .5rem 1.2rem;
  border-radius: var(--radius);
}
.video-noscript {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.video-2click iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: var(--radius);
}
@media (max-width: 600px) {
  .video-consent-overlay {
    gap: .4rem;
    padding: .75rem;
  }
  .video-play-btn svg {
    width: 44px;
    height: 44px;
  }
  .video-consent-msg {
    font-size: .75rem;
    line-height: 1.3;
  }
  .video-load-btn {
    font-size: .78rem;
    padding: .4rem .9rem;
  }
}

/* Faktenzeile mit Quellen */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem 2.5rem; margin: 2rem 0 0; }
.facts div { border-top: 3px solid var(--logo-gray); padding-top: .9rem; }
.facts dt { font-size: var(--step-2); font-weight: 700; font-stretch: 115%; line-height: 1.15; }
.facts dd { margin: .35rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.facts dd a { font-size: .85rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); padding: 1rem 0; max-width: 78ch; }
.faq summary { cursor: pointer; font-weight: 620; font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--ink-soft); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .8rem 0 0; }
.dark .faq details,
.section.dark .faq details { border-bottom-color: var(--line-dark); }
.dark .faq summary,
.section.dark .faq summary { color: #fff; }
.dark .faq summary::after,
.section.dark .faq summary::after { color: var(--glacier); }
.dark .faq details p,
.section.dark .faq details p { color: #c3c8d8; }

/* Zitat */
.quote { font-size: var(--step-2); font-stretch: 106%; line-height: 1.35; max-width: 40ch; margin: 0; font-weight: 500; }
.quote-by { margin-top: 1rem; color: var(--ink-soft); font-size: .95rem; }

/* CTA-Band */
.cta-band { background: var(--night); color: var(--snow); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section.dark + .cta-band { border-top: 1px solid var(--line-dark); }
.cta-band h2 { color: #fff; max-width: 24ch; }
.cta-band p { color: #c3c8d8; }
.btn-yellow,
.hero .btn-primary,
.cta-band .btn-primary { background: var(--yellow); color: var(--night); font-weight: 700; border-color: var(--yellow); }
.btn-yellow:hover,
.hero .btn-primary:hover,
.cta-band .btn-primary:hover { background: #e6eb00; border-color: #e6eb00; color: #000; }

/* Formular */
.form { display: grid; gap: 1.1rem; max-width: 680px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid #a9afc2; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.checks label { font-weight: 400; display: inline-flex; gap: .45rem; align-items: center; margin: 0; }
.consent label { font-weight: 400; display: flex; gap: .6rem; align-items: flex-start; }
.consent input { margin-top: .35rem; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.error-text { color: #b3261e; font-size: .88rem; margin-top: .3rem; }
.hp { position: absolute; left: -5000px; }
.form-status { padding: 1rem 1.1rem; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #e3f4ea; border: 1px solid #4cbf80; }
.form-status.err { display: block; background: #fbe9e7; border: 1px solid #b3261e; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.contact-cards address { font-style: normal; line-height: 1.7; }

/* Prüfhinweise – vor Veröffentlichung entfernen */
.check { background: #fff4cc; color: #5a4300; font-size: .78em; padding: .05em .35em; border-radius: 3px; font-weight: 600; white-space: normal; }
body.hide-checks .check { display: none; }

/* Breadcrumb */
.crumbs { font-size: .85rem; color: #8a90a8; margin-bottom: 1.2rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #555c72; }
.crumbs a { color: #aab0c6; }

/* Footer */
.site-footer { background: var(--night); color: #aab0c6; padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1rem; color: #fff; font-stretch: 100%; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #c9cddb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .brand-logo { margin-bottom: 1rem; }
.site-footer .legal { border-top: 1px solid var(--line-dark); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; font-size: .85rem; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

.prose h2 { margin-top: 2rem; font-size: var(--step-2); }
.prose h3 { margin-top: 1.5rem; }
.muted { color: var(--ink-soft); }
.dark .muted,
.section.dark .muted,
.hero .muted,
.band .muted { color: var(--glacier); }
.small { font-size: .88rem; }

@media print { .site-header, .site-footer, .cta-band, .menu-toggle { display: none; } body { background: #fff; } }
.ref h4 { font-size: 1rem; font-weight: 650; margin: 1.1rem 0 .3rem; font-stretch: 104%; }
.tag.plain::before { display: none; }
.two-col .facts { grid-template-columns: 1fr; margin-top: 0; }
.nav ul { gap: 1.25rem; }
.brand-claim, .login { white-space: nowrap; }
@media (max-width: 1240px) { .header-actions .login { display: none; } }

/* Scroll-Animationen (Reveal on Scroll) */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggering für Raster & Listen */
.hazards li:nth-child(2).reveal-init { transition-delay: 0.08s; }
.hazards li:nth-child(3).reveal-init { transition-delay: 0.16s; }
.hazards li:nth-child(4).reveal-init { transition-delay: 0.24s; }
.hazards li:nth-child(5).reveal-init { transition-delay: 0.32s; }
.hazards li:nth-child(6).reveal-init { transition-delay: 0.40s; }

.steps li:nth-child(2).reveal-init { transition-delay: 0.12s; }
.steps li:nth-child(3).reveal-init { transition-delay: 0.24s; }

.blocks > div:nth-child(2).reveal-init { transition-delay: 0.08s; }
.blocks > div:nth-child(3).reveal-init { transition-delay: 0.16s; }
.blocks > div:nth-child(4).reveal-init { transition-delay: 0.24s; }

.facts > div:nth-child(2).reveal-init { transition-delay: 0.1s; }
.facts > div:nth-child(3).reveal-init { transition-delay: 0.2s; }

/* Barrierefreiheit: Animation abschalten bei reduzierter Bewegung */
@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==============================================================================
   Ergänzende Komponenten: GeoSenseAI® 3D-WebGIS, Investoren, Rechtliches
   ============================================================================== */

/* Layout & Grid-Hilfsklassen */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; align-items: center; }
.grid { display: grid; gap: 1.25rem; }
.g230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.g250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.g300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 1.75rem; }
.soft { color: var(--ink-soft); }
.dark .soft,
.section.dark .soft,
.hero .soft,
.band .soft { color: #c3c8d8; }
.subhead { font-family: var(--font); font-size: 1.25rem; color: var(--glacier); letter-spacing: 1px; margin: 0; }
.stat { font-family: var(--font); font-weight: 800; font-size: 2.5rem; line-height: 1; color: #fff; }
.tag { font-size: 0.8125rem; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }
.src { color: var(--ink-soft); font-size: 0.8125rem; margin-top: auto; }
.src a { color: var(--ink-soft); text-decoration: underline; }
.dark .src,
.section.dark .src { color: var(--glacier); }
.dark .src a,
.section.dark .src a { color: var(--glacier); }

/* Kacheln & Cards */
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--ink);
}
.card h2, .card h3 { color: var(--ink); }
.card p { color: var(--ink); margin: 0; }
.card .soft { color: var(--ink-soft); }

.dark .card,
.section.dark .card {
  background: var(--night-2, #14171f);
  border-color: var(--line-dark);
  color: #c3c8d8;
}
.dark .card h2, .dark .card h3,
.section.dark .card h2, .section.dark .card h3 { color: #fff; }
.dark .card p,
.section.dark .card p { color: #c3c8d8; }
.dark .card .soft,
.section.dark .card .soft { color: #c3c8d8; }

/* ÖNACE Tätigkeitsbereiche */
.onace-card { gap: 1.25rem; }
.onace-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.onace-main {
  background: var(--paper, #f4f5f9);
  border: 1px solid var(--rule, #d9dce6);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}
.onace-badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.chip-primary {
  background: var(--yellow);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
}
.onace-code {
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.onace-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.4;
}
.onace-subs { margin-top: 0.25rem; }
.onace-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 10px 24px;
}
.onace-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid var(--rule, #d9dce6);
}
@media (max-width: 600px) {
  .onace-list { grid-template-columns: 1fr; gap: 6px; }
  .onace-list li { flex-direction: column; gap: 4px; }
}
.section.dark .onace-main,
.dark .onace-main {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  border-left-color: var(--yellow);
}
.section.dark .onace-code,
.dark .onace-code {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.section.dark .onace-title,
.dark .onace-title {
  color: #fff;
}
.section.dark .onace-list li,
.dark .onace-list li {
  color: #c3c8d8;
  border-bottom-color: var(--line-dark);
}


/* 3D-Terrain-Canvas (GeoSenseAI® 3D-WebGIS) */
.terrain {
  margin: 0;
  position: relative;
  background: radial-gradient(120% 90% at 50% 20%, #1A2030 0%, #0B0D12 70%);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  width: 100%;
}
.terrain canvas { width: 100%; height: 100%; display: block; }
.terrain .legend {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #c3c8d8;
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.terrain-note {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--glacier);
  margin-top: 6px;
  opacity: 0.7;
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* Ablauf-Flow (Vom Messwert zur Entscheidung / Vom Standort zum laufenden Betrieb) */
.flow {
  margin: 0;
  padding: 0;
  max-width: 100%;
  width: 100%;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  overflow: hidden;
}
.flow li {
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--line-dark);
  background: var(--night-2, #14171f);
}
.flow li:last-child { border-right: 0; }
.flow .n { font-family: var(--font); font-weight: 800; font-size: 0.95rem; color: var(--yellow); }
.flow .trial { font-size: 0.8125rem; color: var(--rock); font-weight: 600; }
.flow h3 { color: #fff; margin: 0; font-size: 1.05rem; }
.flow p, .flow .soft { color: #c3c8d8; margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.flow.flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow.flow-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .flow, .flow.flow-4, .flow.flow-5 { grid-template-columns: 1fr; }
  .flow li { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 1.25rem; }
  .flow li:last-child { border-bottom: 0; }
}

/* Tabellen */
.tablewrap { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: 10px; background: var(--night-2, #14171f); }
table.data { width: 100%; border-collapse: collapse; font-size: 1rem; }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
table.data thead th { color: var(--glacier); font-weight: 600; font-size: 0.875rem; }
table.data tbody th { color: #fff; font-size: 1rem; font-weight: 600; }
table.data td, table.data td.soft { color: #c3c8d8; }
table.data td a { color: var(--yellow); text-decoration: underline; }
table.data td a:hover { color: #fff; }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }

/* Investoren: TAM / SAM / SOM Kreise */
.circles {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #161A24;
  border: 1px solid #3A4154;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 9% 0 4%;
  margin: 0 auto;
}
.circles .c2 {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #1D2230;
  border: 1px solid #4A5270;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 11% 0 5%;
}
.circles .c3 {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  color: #0e1117;
}
.cl { text-align: center; line-height: 1.25; }
.cl small { display: block; font-size: 12px; letter-spacing: 2px; color: var(--glacier); }
.cl b { font-family: var(--font); font-weight: 800; font-size: 22px; color: #fff; }
.c3 small { color: #1B1F2A; font-weight: 600; }
.c3 b { color: #0e1117; font-size: 19px; }

.rule { border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.rule h3 { color: var(--ink); }
.rule .soft { color: var(--ink-soft); }
.rule .src { color: var(--ink-soft); }
.rule .src a { color: var(--ink-soft); }
.dark .rule,
.section.dark .rule { border-top-color: var(--line-dark); }
.dark .rule h3,
.section.dark .rule h3 { color: #fff; }
.dark .rule .soft,
.section.dark .rule .soft { color: #c3c8d8; }
.dark .rule .src,
.section.dark .rule .src { color: var(--glacier); }
.dark .rule .src a,
.section.dark .rule .src a { color: var(--glacier); }

ol.calc { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
ol.calc strong { color: var(--ink); }
ol.calc a { color: var(--ink); }
.dark ol.calc,
.section.dark ol.calc { color: #c3c8d8; }
.dark ol.calc strong,
.section.dark ol.calc strong { color: #fff; }
.dark ol.calc a,
.section.dark ol.calc a { color: var(--glacier); }

.region { border: 1px solid var(--rule); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 4px; background: var(--paper); }
.region strong { color: var(--ink); }
.region .soft { color: var(--ink-soft); }
.region .ask { color: #1e8c56; font-size: 14px; font-weight: 600; }
.dark .region,
.section.dark .region { border-color: var(--line-dark); background: transparent; }
.dark .region strong,
.section.dark .region strong { color: #fff; }
.dark .region .soft,
.section.dark .region .soft { color: #c3c8d8; }
.dark .region .ask,
.section.dark .region .ask { color: #5bc98a; }


/* EU Green Assist & Callouts */
.eu {
  background: #142046;
  border: 1px solid #3D5BA9;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.eu > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.eu h2, .eu h3 { color: #fff; margin: 0; font-size: 22px; }
.eu p { color: #c3c8d8; margin: 0; }
.eu a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.eu a:hover { color: var(--glacier); }

.callout {
  padding: 16px 20px;
  border-radius: 8px;
  background: #16241F;
  border: 1px solid #2F6B52;
  color: #E8EAF2;
}
.callout h2, .callout h3 { color: #fff; margin: 0 0 0.4rem; }
.callout p { color: #E8EAF2; margin: 0; }
.callout strong { color: #7FE0A8; }

.chips { display: flex; gap: 10px 12px; flex-wrap: wrap; font-size: 0.875rem; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--line-dark); padding: 7px 16px; border-radius: 999px; text-decoration: none; color: #c3c8d8; background: rgba(255,255,255,.05); font-size: 0.875rem; line-height: 1.35; }


/* Impact Card & Band */
.ic-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
}
.ic-card h3 { color: var(--ink); }
.ic-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ic-card p.soft { color: var(--ink-soft); }

.band {
  background: var(--night);
  color: #c3c8d8;
  border-radius: 12px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  border: 1px solid var(--line-dark);
}
.band h3 { font-size: 20px; color: #fff; margin-bottom: 6px; }
.band p, .band .soft { color: #c3c8d8 !important; }

/* Investoren: Strategie-Schritte */
.strat-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.strat-steps li {
  border-top: 3px solid var(--yellow);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.strat-steps .n {
  font-family: var(--font);
  font-weight: 800;
  font-size: 30px;
  color: #fff;
  line-height: 1;
}
.strat-steps strong { color: #fff; font-size: 1.05rem; }
.strat-steps span { color: #c3c8d8; font-size: 0.92rem; }

@media (max-width: 860px) {
  .strat-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .strat-steps { grid-template-columns: 1fr; }
}

.org { display: flex; flex-direction: column; gap: 18px; }
.org .top { align-self: center; text-align: center; border: 1px dashed var(--yellow); border-radius: 8px; padding: 12px 24px; }
.org .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; text-align: center; }
.org .row div { border: 1px solid #3A4154; border-radius: 8px; padding: 14px; }
.org .row .plan { border-style: dashed; }
.org strong { color: #fff; }
.org .muted { color: var(--glacier); font-size: 13px; }

dl.terms { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
dl.terms div { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 20px; }
dl.terms dt { font-size: 13px; letter-spacing: 1px; color: var(--ink-soft); text-transform: uppercase; font-weight: 600; }
dl.terms dd { margin: 6px 0 0; font-family: var(--font); font-weight: 800; font-size: 20px; color: var(--ink); }
.dark dl.terms div,
.section.dark dl.terms div { background: var(--night-2, #14171f); border-color: var(--line-dark); }
.dark dl.terms dt,
.section.dark dl.terms dt { color: var(--glacier); }
.dark dl.terms dd,
.section.dark dl.terms dd { color: #fff; }

/* Rechtliches & Impressum Key-Value */
.kv { margin: 0; }
.kv div { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--rule); }
.kv dt { color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.kv dd { margin: 0; color: var(--ink); font-weight: 500; }
.kv dd a { color: var(--ink); }
.dark .kv div,
.section.dark .kv div { border-top-color: var(--line-dark); }
.dark .kv dt,
.section.dark .kv dt { color: var(--glacier); }
.dark .kv dd,
.section.dark .kv dd { color: #fff; }
.dark .kv dd a,
.section.dark .kv dd a { color: var(--glacier); }
.ph { background: #3A2E12; color: #F5C66A; padding: 1px 6px; border-radius: 4px; }


/* -----------------------------------------------------------------------------
 * Lösungen & Technologie: Ergänzende Komponenten
 * -------------------------------------------------------------------------- */

/* Lösungen: Interaktive Talkarte & Zielgruppen */
.sol {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
  gap: 0;
  background: radial-gradient(120% 100% at 50% 0%, #18202E 0%, #0B0D12 75%);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
}
.sol svg { display: block; width: 100%; height: auto; }
.sol .panel {
  border-left: 1px solid var(--line-dark);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--night-2, #14171f);
}
.sol .tag { font-size: 12px; letter-spacing: 1px; color: var(--glacier); text-transform: uppercase; font-weight: 600; }
.sol .who { font-family: var(--font); font-size: 22px; color: #fff; font-weight: 700; line-height: 1.2; }
.sol .stat { font-size: 15px; color: #fff; display: flex; gap: 8px; align-items: flex-start; font-weight: 600; line-height: 1.4; font-family: var(--font-body); margin: 0; }
.sol .stat i { flex: 0 0 10px; height: 10px; border-radius: 50%; margin-top: 6px; }
.sol ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: #c4c8d8; font-size: 15px; }
.sol .ctrl { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sol .ctrl a { font-weight: 600; min-height: 40px; display: inline-flex; align-items: center; color: var(--yellow); }
.sol .ctrl a:hover { color: #fff; }
.sol button.pp {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: #e8eaf2;
  border-radius: 6px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  min-height: 40px;
}
.sol button.pp:hover { border-color: var(--glacier); color: #fff; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tabs button {
  background: transparent;
  border: 1px solid #333A4B;
  color: #C4C8D8;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.tabs button i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.tabs button:hover { border-color: var(--glacier); color: #fff; }
.tabs button[aria-selected="true"] { color: #fff; border-color: var(--yellow); background: #1A1F2B; }

.aud { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.aud article {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-margin-top: 5rem;
  color: var(--ink);
}
.aud h3 { font-size: 24px; color: var(--ink); margin: 0; }
.aud .lbl { font-weight: 600; color: var(--ink); }
.aud p.soft { color: var(--ink-soft); }
.aud ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); }
.aud a { color: var(--ink); text-decoration: underline; }
.aud a:hover { color: #000; }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.chiprow span {
  font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--ink-soft);
}

.dark .aud article,
.section.dark .aud article {
  background: var(--night-2, #14171f);
  border-color: var(--line-dark);
  color: #c4c8d8;
}
.dark .aud h3,
.section.dark .aud h3,
.dark .aud .lbl,
.section.dark .aud .lbl {
  color: #fff;
}
.dark .aud p.soft,
.section.dark .aud p.soft,
.dark .aud ul,
.section.dark .aud ul {
  color: #c4c8d8;
}
.dark .aud a,
.section.dark .aud a {
  color: var(--yellow);
}
.dark .chiprow span,
.section.dark .chiprow span {
  background: transparent;
  border-color: #333A4B;
  color: #C4C8D8;
}

.geo {
  background: #17142A;
  border: 1px solid #4B3F78;
  border-radius: 14px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #c4c8d8;
}
.geo .eyebrow { color: #C9A7F0; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin: 0; }
.geo h2 { color: #fff; }
.geo .lead { color: #e8eaf2; }
.geo p, .geo p.soft { color: #c4c8d8; }
.geo .lbl { color: #fff; font-weight: 600; }
.geo .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.geo .card {
  background: #1D1936;
  border: 1px solid #3A3266;
  color: #c4c8d8;
  padding: 1.35rem 1.15rem;
}
.geo .card h3 { color: #fff; font-size: 1.1rem; margin: 0; }
.geo .card p, .geo .card .soft { color: #c4c8d8; font-size: 0.9375rem; line-height: 1.45; }
.geo .flow {
  max-width: 100%;
  width: 100%;
  border-color: #3A3266;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.geo .flow li {
  background: #1D1936;
  border-color: #3A3266;
  padding: 1.35rem 1.15rem;
}
.geo .flow h3 { color: #fff; font-size: 1.05rem; }
.geo .flow p, .geo .flow .soft { color: #c4c8d8; font-size: 0.9375rem; line-height: 1.45; }
.geo .flow .n { color: #C9A7F0; }
.geo ul {
  max-width: 100%;
  width: 100%;
  color: #c4c8d8;
}
.geo a:not(.btn) { color: #C9A7F0; text-decoration: underline; }
.geo a:not(.btn):hover { color: #fff; }
.geo .btn-primary {
  background: #C9A7F0;
  color: #17142A;
  border-color: #C9A7F0;
  font-weight: 700;
}
.geo .btn-primary:hover {
  background: #dfc8f7;
  color: #17142A;
  border-color: #dfc8f7;
}

@media (max-width: 860px) {
  .geo .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo .flow { grid-template-columns: 1fr; }
  .geo .flow li { border-right: 0; border-bottom: 1px solid #3A3266; padding: 1.25rem; }
  .geo .flow li:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .geo { padding: 24px 18px; }
  .geo .grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .sol { grid-template-columns: 1fr; }
  .sol .panel { border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* Technologie: Interaktiver Signalweg & Pipeline */
.anim {
  background: radial-gradient(120% 100% at 50% 0%, #18202E 0%, #0B0D12 75%);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.anim svg { display: block; width: 100%; height: auto; }
.anim .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line-dark);
  flex-wrap: wrap;
  background: var(--night-2, #14171f);
}
.anim button {
  background: transparent;
  border: 1px solid #333A4B;
  color: #E8EAF2;
  border-radius: 6px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  min-height: 40px;
}
.anim button:hover { border-color: var(--glacier); }
.anim .cap { font-size: 15px; color: #C4C8D8; min-height: 24px; margin: 0; }
.anim .cap b { color: #fff; }

.phases {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.phases li {
  border-top: 3px solid #333A4B;
  padding-top: 10px;
  color: var(--glacier);
  font-size: 13.5px;
  line-height: 1.4;
  transition: border-color 0.3s, color 0.3s;
}
.phases li b { display: block; color: #C4C8D8; font-size: 14.5px; margin-bottom: 2px; }
.phases li.on { border-color: var(--yellow); color: #C4C8D8; }
.phases li.on b { color: #fff; }

@media (max-width: 960px) {
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
}
@media (max-width: 560px) {
  .phases { grid-template-columns: 1fr; gap: 12px; }
}

.pipe {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  overflow: hidden;
  background: var(--night-2, #14171f);
}
.pipe div {
  padding: 20px 16px;
  background: var(--night-2, #14171f);
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pipe div:last-child { border-right: 0; }
.pipe small { color: var(--yellow); font-weight: 700; font-size: 13px; font-family: var(--font); }
.pipe h3 { font-size: 18px; color: #fff; margin: 0; }
.pipe p { font-size: 14px; color: #C4C8D8; margin: 0; line-height: 1.4; }

.status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--rock);
  border: 1px solid #6B4A2A;
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 6px;
  vertical-align: middle;
}

@media (max-width: 860px) {
  .pipe { grid-template-columns: 1fr; }
  .pipe div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .pipe div:last-child { border-bottom: 0; }
}
