/* ==========================================================================
   Geolyser-Website. Farben, Schriften und Radien folgen dem Design-System
   der MapApp (docs/DESIGN.md). Dunkle Basis mit hellen Kontrast-Sektionen.
   ========================================================================== */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }


:root {
  --c-dark: #181B1D;
  --c-dark-soft: #1f2426;
  --c-primary: #007FB4;
  --c-primary-hi: #00A0D2;
  --c-primary-dk: #00608D;
  --c-primary-xdk: #004161;
  --c-cyan: #3BBDE8;
  --c-cyan-soft: #9BD9F5;
  --c-signal: #02FE89;
  --c-signal-dk: #00b368;
  --ink: #eef3f6;
  --ink-muted: #8a979e;
  --ink-soft: #b8c3c9;
  --line: rgba(155, 217, 245, .12);
  --line-hi: rgba(59, 189, 232, .42);
  --glass: rgba(255, 255, 255, .04);
  --lt-bg: #eef4f9;
  --lt-card: #ffffff;
  --lt-fg: #161b1e;
  --lt-muted: #55626b;
  --lt-line: #d3dfe9;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --font-ui: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font-ui);
  --maxw: 1160px;
  /* Höhenlinien-Muster (Inline-SVG, thematische Signatur) */
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='680' height='680' viewBox='0 0 680 680'%3E%3Cg fill='none' stroke='%233BBDE8' stroke-opacity='.055' stroke-width='1.4'%3E%3Cpath d='M60 620c-40-90 10-160 90-180s110-90 90-160S290 160 380 170s150-60 160-130'/%3E%3Cpath d='M110 640c-30-80 20-140 90-158s100-80 82-142 44-110 122-101 136-52 148-114'/%3E%3Cpath d='M160 660c-22-68 26-120 88-136s90-70 74-124 40-95 108-88 122-44 134-98'/%3E%3Cpath d='M210 675c-15-56 30-100 84-114s80-60 66-106 36-80 96-74 108-38 120-84'/%3E%3Ccircle cx='560' cy='520' r='36'/%3E%3Ccircle cx='560' cy='520' r='64'/%3E%3Ccircle cx='560' cy='520' r='96'/%3E%3Ccircle cx='560' cy='520' r='132'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(1100px 540px at 10% -6%, rgba(0, 127, 180, .24), transparent 60%),
    radial-gradient(900px 500px at 96% 24%, rgba(59, 189, 232, .09), transparent 55%),
    var(--c-dark);
}
img { max-width: 100%; display: block; }
a { color: var(--c-cyan); text-decoration: none; }
a:hover { color: var(--c-cyan-soft); }
::selection { background: rgba(59, 189, 232, .35); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: #fff; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

/* Gradient-Akzentwort in Headlines */
.grad {
  background: linear-gradient(92deg, var(--c-cyan) 0%, var(--c-signal) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--c-cyan); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: linear-gradient(90deg, var(--c-primary), var(--c-cyan)); }

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 740px; margin-bottom: 52px; }
.section-head p { font-size: 1.07rem; }

/* Helle Kontrast-Sektion, „Scanline" oben als Signatur */
.section--light { background: var(--lt-bg); color: var(--lt-fg); }
.section--light::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-cyan), var(--c-signal));
}
.section--light h2, .section--light h3, .section--light h4 { color: var(--lt-fg); }
.section--light p { color: var(--lt-muted); }
.section--light .eyebrow { color: var(--c-primary-xdk); }
.section--white { background: var(--lt-card); }

/* Dunkle Sektion mit Topo-Muster */
.section--topo { background-image: var(--topo); background-size: 680px; }

/* Reveals */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.2,.6,.2,1), transform .65s cubic-bezier(.2,.6,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .09s; }
.reveal:nth-child(3) { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-ui); font-weight: 500; font-size: 1rem;
  cursor: pointer; transition: all .16s ease;
}
.btn .arr { transition: transform .16s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-hi) 100%);
  color: #fff; border-color: var(--c-primary-dk);
  box-shadow: 0 4px 20px rgba(0, 160, 210, .35);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(0, 160, 210, .55); transform: translateY(-1px); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--ink); border-color: rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); border-color: var(--line-hi); color: #fff; }
.section--light .btn-ghost, .section--white .btn-ghost { background: transparent; color: var(--lt-fg); border-color: #9db1c0; }
.section--light .btn-ghost:hover, .section--white .btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); background: rgba(0, 127, 180, .06); }

/* -------------------------------------------------------------- Topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(24, 27, 29, .78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  height: 66px; display: flex; align-items: center; gap: 30px;
}
.brand { margin-right: auto; display: flex; align-items: center; }
.brand img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--ink-soft); font-size: .94rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; position: relative;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a.is-active { color: var(--c-cyan); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--c-cyan); border-radius: 1px;
}
.nav .btn { padding: 9px 18px; font-size: .93rem; margin-left: 10px; }
@media (max-width: 960px) { .topbar-inner { height: auto; flex-wrap: wrap; padding: 12px 16px; gap: 8px; } }

/* ---------------------------------------------------------------- Hero */
.hero { padding: 104px 0 88px; position: relative; overflow: hidden; }
.hero.section--topo { background-size: 620px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: center; }
.hero .sub { font-size: 1.16rem; max-width: 33em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats { display: flex; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.hero-stat { padding: 20px 32px 0 0; margin-right: 32px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; margin-right: 0; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.65rem; color: var(--c-signal); }
.hero-stat span { font-size: .84rem; color: var(--ink-muted); }
.hero--sub { padding: 88px 0 72px; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px 0; }
}

/* App-Rahmen um Screenshots (Signature) */
.frame {
  background: var(--c-dark-soft);
  border: 1px solid var(--line-hi);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 70px rgba(0, 127, 180, .22);
}
.frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.frame-bar i:first-child { background: rgba(255, 92, 101, .7); }
.frame-bar i:nth-child(2) { background: rgba(255, 192, 74, .7); }
.frame-bar i:nth-child(3) { background: rgba(2, 254, 137, .55); }
.frame-bar span {
  margin-left: auto; font-family: var(--font-display); font-size: .74rem;
  letter-spacing: .08em; color: var(--ink-muted); text-transform: uppercase;
}
.frame img { width: 100%; object-fit: cover; }

/* ----------------------------------------------------------------- Cards */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Helle Branchen-Karten mit Bild-Zoom */
.card {
  background: var(--lt-card); border: 1px solid var(--lt-line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(23, 56, 82, .18); }
.card-media { overflow: hidden; height: 225px; }
.card-media img { height: 100%; width: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: var(--lt-fg); margin-bottom: .4em; }
.card-body p { color: var(--lt-muted); font-size: .96rem; flex: 1; }
.card-link { font-weight: 600; font-size: .95rem; color: var(--c-primary); display: inline-flex; align-items: center; gap: 6px; }
.card-link .arr { transition: transform .16s; }
.card:hover .card-link .arr { transform: translateX(4px); }

/* Icon-Feature-Karten (dunkel, Glas) */
.icard {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 26px;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.icard:hover { border-color: var(--line-hi); transform: translateY(-4px); background: rgba(255, 255, 255, .06); }
.icard .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0, 127, 180, .25), rgba(59, 189, 232, .12));
  border: 1px solid var(--line-hi); color: var(--c-cyan);
  margin-bottom: 18px;
}
.icard .ico svg { width: 22px; height: 22px; }
.icard h3 { font-size: 1.12rem; }
.icard p { font-size: .93rem; color: var(--ink-muted); margin: 0; }

/* Icon-Feature-Karten hell */
.section--light .icard, .section--white .icard { background: var(--lt-card); border-color: var(--lt-line); }
.section--light .icard:hover, .section--white .icard:hover { border-color: var(--c-primary-hi); background: #fff; box-shadow: 0 14px 36px rgba(23, 56, 82, .12); }
.section--light .icard .ico, .section--white .icard .ico {
  background: linear-gradient(135deg, rgba(0, 127, 180, .12), rgba(59, 189, 232, .08));
  border-color: rgba(0, 127, 180, .3); color: var(--c-primary);
}
.section--light .icard p, .section--white .icard p { color: var(--lt-muted); }

/* ----------------------------------------------------------------- Splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.split h3 { font-size: 1.6rem; }
.split > img { border-radius: var(--radius-lg); box-shadow: 0 22px 70px rgba(0, 0, 0, .45); width: 100%; object-fit: cover; }
.section--light .split > img, .section--white .split > img { box-shadow: 0 18px 50px rgba(23, 56, 82, .18); }

/* Checkliste mit Signal-Häkchen */
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; color: var(--ink-soft); }
.section--light .checks li, .section--white .checks li { color: var(--lt-muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302FE89' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat,
    rgba(2, 254, 137, .12);
  border: 1px solid rgba(2, 254, 137, .45);
}
.section--light .checks li::before, .section--white .checks li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b368' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat,
    rgba(0, 179, 104, .1);
  border-color: rgba(0, 179, 104, .4);
}

/* -------------------------------------------------- Pipeline mit Linie */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; position: relative; }
.pipeline::before {
  content: ""; position: absolute; top: 34px; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-cyan), var(--c-signal));
  opacity: .5;
}
.pipeline .step { position: relative; padding-top: 58px; }
.pipeline .step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 12px; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
  background: var(--lt-card); border: 2px solid var(--c-primary); color: var(--c-primary);
}
.pipeline h4 { margin-bottom: .3em; font-size: 1.05rem; color: var(--lt-fg); }
.pipeline p { font-size: .89rem; color: var(--lt-muted); margin: 0; }
@media (max-width: 960px) { .pipeline { grid-template-columns: 1fr 1fr; } .pipeline::before { display: none; } }
@media (max-width: 560px) { .pipeline { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- Tech-Chips */
.tech-row { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.tech-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .84rem; font-weight: 600; letter-spacing: .05em;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--lt-line); background: var(--lt-card); color: var(--c-primary-xdk);
}
.tech-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-signal-dk); }

/* -------------------------------------------------------------- Marquee */
.marquee { overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; gap: 76px; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 48px; width: auto; filter: grayscale(1); opacity: .65; transition: all .15s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; } }

/* -------------------------------------------------- Click-to-Load-Embed */
.embed3d {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-hi); background: var(--c-dark-soft);
  box-shadow: 0 26px 90px rgba(0, 0, 0, .5), 0 0 60px rgba(0, 127, 180, .2);
}
.embed3d iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed3d-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; margin: 0; cursor: pointer;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px;
}
.embed3d-poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(24, 27, 29, .28), rgba(24, 27, 29, .74)); }
.embed3d-poster > * { position: relative; }
.embed3d-play {
  width: 78px; height: 78px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-hi));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 0 0 0 rgba(0, 160, 210, .5);
  animation: pulse 2.6s ease-out infinite;
  transition: transform .15s;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 160, 210, .45); }
  70% { box-shadow: 0 0 0 22px rgba(0, 160, 210, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 160, 210, 0); }
}
@media (prefers-reduced-motion: reduce) { .embed3d-play { animation: none; } }
.embed3d-poster:hover .embed3d-play { transform: scale(1.08); }
.embed3d-label { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.12rem; }
.embed3d-hint { font-size: .85rem; color: #d5dde2; }
.embed3d-fallback { margin-top: 10px; text-align: right; font-size: .88rem; }

/* ------------------------------------------------------------- CTA-Band */
.cta-band { text-align: center; }
.cta-band .wrap { max-width: 760px; }
.cta-band p { margin: 0 auto 1.6em; }

.badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(2, 254, 137, .1); color: var(--c-signal);
  border: 1px solid rgba(2, 254, 137, .4);
}
.section--light .badge, .section--white .badge { background: rgba(0, 179, 104, .1); color: var(--c-signal-dk); border-color: rgba(0, 179, 104, .4); }

/* ---------------------------------------------------------------- Footer */
.footer {
  border-top: 1px solid var(--line);
  background-image: var(--topo); background-size: 680px; background-position: bottom right;
  padding: 60px 0 30px; font-size: .95rem; color: var(--ink-muted);
}
.footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--c-cyan); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 38px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .5em; }
.footer-brand img { height: 28px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-legal {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Utility */
.mt-lg { margin-top: 44px; }

/* ==========================================================================
   Ergaenzungen fuer die eigene Website
   ========================================================================== */

/* Sprunglink fuer Tastatur und Screenreader */
.sprung { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--c-primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.sprung:focus { left: 8px; color: #fff; }
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; }

/* Sprachwahl */
.sprachen { display: inline-flex; gap: 2px; margin-left: 10px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.nav .sprachen a { padding: 4px 8px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; border-radius: 6px; }
.nav .sprachen a.is-active { background: rgba(59, 189, 232, .16); color: #fff; }
.nav .sprachen a.is-active::after { display: none; }

/* Menue auf kleinen Bildschirmen */
.nav-toggle { display: none; background: transparent; color: #fff; border: 1px solid var(--line-hi); border-radius: var(--radius-sm); padding: 8px 14px; font: 500 .93rem var(--font-ui); cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 4px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .sprachen { margin: 8px 0 0; align-self: flex-start; }
}

.hero-ctas--mitte { justify-content: center; }
.hero .frame img { aspect-ratio: 4 / 3; }
.split .frame img { aspect-ratio: 16 / 10; }
.bildzeile { font-size: .84rem; color: var(--ink-muted); margin-top: 10px; }
.section--light .bildzeile, .section--white .bildzeile { color: var(--lt-muted); }

/* Preiskarten */
.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 960px) { .preise { grid-template-columns: 1fr; } }
.preis { background: var(--lt-card); border: 1px solid var(--lt-line); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.preis h3 { color: var(--lt-fg); margin-bottom: .2em; }
.preis p { color: var(--lt-muted); font-size: .96rem; }
.preis .checks { margin-bottom: 0; }
.preis .checks li { font-size: .94rem; }
.preis-wert { font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; color: var(--c-primary-dk) !important; margin: .1em 0 .5em; line-height: 1.1; }
.preis-wert small { font-family: var(--font-ui); font-size: .9rem; font-weight: 400; color: var(--lt-muted); }
.preis--hervor { border-color: var(--c-primary); box-shadow: 0 18px 48px rgba(0, 127, 180, .18); }
.preis .badge { position: absolute; top: -13px; left: 26px; background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Preistabelle fuer Zusatzleistungen */
.tabelle { width: 100%; border-collapse: collapse; background: var(--lt-card); border: 1px solid var(--lt-line); border-radius: var(--radius); overflow: hidden; }
.tabelle th, .tabelle td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--lt-line); color: var(--lt-fg); vertical-align: top; font-size: .97rem; }
.tabelle thead th { font-family: var(--font-display); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary-xdk); background: #f6f9fc; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle td:last-child, .tabelle th:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.tabelle td small { display: block; color: var(--lt-muted); font-weight: 400; }
.tabelle-rahmen { overflow-x: auto; }
.fussnote { font-size: .88rem; color: var(--lt-muted); margin-top: 16px; }

/* Ablauf in Schritten, variable Anzahl */
.pipeline--4 { grid-template-columns: repeat(4, 1fr); }
.pipeline--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .pipeline--4, .pipeline--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pipeline--4, .pipeline--3 { grid-template-columns: 1fr; } }

/* Fragen und Antworten */
.fragen details { background: var(--lt-card); border: 1px solid var(--lt-line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; }
.fragen summary { cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--lt-fg); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; color: var(--c-primary); font-size: 1.3rem; line-height: 1; }
.fragen details[open] summary::after { content: "-"; }
.fragen details p { color: var(--lt-muted); padding-bottom: 18px; margin: 0; }

/* Kontaktwege */
.wege { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .wege { grid-template-columns: 1fr; } }
.weg { background: var(--lt-card); border: 1px solid var(--lt-line); border-radius: var(--radius-lg); padding: 28px; }
.weg h3 { color: var(--lt-fg); }
.weg p { color: var(--lt-muted); }
.weg a.gross { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--c-primary-dk); display: block; margin-bottom: 6px; }

/* Rot markierte offene Punkte, nur waehrend der Abstimmung sichtbar */
.offen { border: 2px dashed #e5484d; background: rgba(229, 72, 77, .08); color: #b3261e; border-radius: var(--radius); padding: 14px 18px; margin: 22px 0 0; font-size: .92rem; }
.offen strong { color: #e5484d; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.offen ul { margin: 6px 0 0; padding-left: 20px; }
.offen li { color: #e5484d; }
.section--light .offen li, .section--white .offen li { color: #b3261e; }

/* Korrekturen nach der ersten Sichtpruefung */
img { height: auto; }
.hero h1 { font-size: clamp(2.1rem, 4.3vw, 3.25rem); }
.hero .frame img, .split .frame img { height: auto; }
.split > img { aspect-ratio: 4 / 3; height: auto; }
.section--white { color: var(--lt-fg); }
.section--white h2, .section--white h3, .section--white h4 { color: var(--lt-fg); }
.section--white p { color: var(--lt-muted); }
.section--white .eyebrow { color: var(--c-primary-xdk); }
.preis .preis-wert { font-size: 2.1rem; }
.preis .preis-wert small { font-size: .9rem; }
.weg .btn { margin: 6px 0 4px; }

/* Fliesstext fuer Impressum und Datenschutz */
.prosa { max-width: 780px; }
.prosa h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.prosa p, .prosa li { color: var(--lt-fg); }
.prosa ul { padding-left: 22px; margin: 0 0 1em; }
.prosa li { margin-bottom: .3em; }
.prosa a { color: var(--c-primary-dk); text-decoration: underline; }
.prosa .offen { margin: 0 0 22px; }

/* ==========================================================================
   Fassung 5: eckig, Futura, zurueckhaltend technisch.
   Schrift: Futura PT, sobald lizenzierte Webfont-Dateien vorliegen
   (als "Futura PT" nach /assets/fonts/ legen und hier einbinden).
   Bis dahin Jost als freie, sehr aehnliche Schrift.
   ========================================================================== */
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/jost-latin-600-normal.woff2") format("woff2"); }

:root {
  --radius-sm: 0px; --radius: 0px; --radius-lg: 0px;
  --font-ui: "Futura PT", "Futura", "Jost", "Century Gothic", sans-serif;
  --font-display: "Futura PT", "Futura", "Jost", "Century Gothic", sans-serif;
  --c-dark: #111416;
  --kante: 12px;
}
body { font-size: 1.06rem; background: radial-gradient(1200px 600px at 12% -8%, rgba(0, 127, 180, .18), transparent 60%), var(--c-dark); }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: .005em; line-height: 1.12; }
h1 { letter-spacing: -.005em; }
.eyebrow { font-weight: 500; letter-spacing: .22em; font-size: .76rem; }
.eyebrow::before { height: 1px; width: 38px; }
.grad { background: linear-gradient(92deg, var(--c-cyan) 10%, #8fe3c8 100%); -webkit-background-clip: text; background-clip: text; }

/* Alles eckig. Knoepfe und Karten mit einer abgeschraegten Ecke. */
.btn { border-radius: 0; font-weight: 500; letter-spacing: .04em; padding: 14px 26px;
  clip-path: polygon(0 0, calc(100% - var(--kante)) 0, 100% var(--kante), 100% 100%, var(--kante) 100%, 0 calc(100% - var(--kante))); }
.btn-ghost { background: rgba(255, 255, 255, .06); }
.card, .preis, .weg, .icard, .tabelle, .fragen details, .offen, .frame, .sprachen, .nav-toggle, .badge, .tech-chip, .sprung,
.split > img, .card-media, .nav .sprachen a { border-radius: 0 !important; }
.card, .preis, .weg { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.card:hover { transform: translateY(-4px); }
.preis--hervor { box-shadow: none; border-width: 2px; }
.preis .badge { top: 14px; left: auto; right: 34px; }
.preis-wert { letter-spacing: -.01em; }
.badge { letter-spacing: .12em; }

/* Bildrahmen als Sucher: feine Linie, Eckwinkel statt Fensterleiste */
.frame { position: relative; border: 1px solid var(--line-hi); background: transparent; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); overflow: visible; }
.frame-bar { background: transparent; border: 0; position: absolute; left: 0; right: 0; bottom: -30px; padding: 0; height: auto; justify-content: flex-end; }
.frame-bar i { display: none; }
.frame-bar span { margin: 0; font-size: .72rem; letter-spacing: .18em; color: var(--ink-muted); }
.section--light .frame-bar span, .section--white .frame-bar span { color: var(--lt-muted); }
.frame::before, .frame::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--c-cyan); pointer-events: none; }
.frame::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.split > img { box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

/* Kopfleiste: schmaler, mit feiner Linie */
.topbar { background: rgba(17, 20, 22, .82); border-bottom: 1px solid var(--line); }
.nav a { letter-spacing: .06em; font-size: .92rem; text-transform: uppercase; }
.nav .btn { text-transform: uppercase; }
.sprachen { border-color: var(--line-hi); }

/* Kennzahlen im Kopf: nuechtern, Cyan statt Signalgruen */
.hero-stat b { color: #fff; font-weight: 500; font-size: 1.75rem; }
.hero-stat span { letter-spacing: .06em; }
.hero-stats { border-top-color: var(--line-hi); }

/* Startseite: Kopf bleibt stehen, die Drohne fliegt beim Scrollen aus dem Bild */
.flug { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; z-index: 0; }
.flug-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flug::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 20, 22, .92) 0%, rgba(17, 20, 22, .72) 38%, rgba(17, 20, 22, .12) 72%), linear-gradient(0deg, rgba(17, 20, 22, .85) 0%, rgba(17, 20, 22, 0) 30%); }
.flug .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.flug h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); max-width: 13em; }
.flug .sub { font-size: 1.2rem; max-width: 31em; color: var(--ink-soft); }
.flug .hero-stats { max-width: 720px; }
.flug-drohne { position: fixed; z-index: 30; top: 30vh; right: 9vw; width: min(40vw, 620px); pointer-events: none; will-change: transform; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .45)); }
.flug-drohne img { width: 100%; }
.flug-marke { position: absolute; z-index: 2; right: 32px; bottom: 28px; font-size: .72rem; letter-spacing: .2em; color: var(--ink-soft); text-transform: uppercase; }
.nach-flug { position: relative; z-index: 1; background: var(--c-dark); box-shadow: 0 -30px 60px rgba(0, 0, 0, .6); }
@media (max-width: 960px) { .flug-drohne { width: 70vw; top: auto; bottom: 6vh; right: 4vw; opacity: .95; } .flug { position: relative; } }
@media (prefers-reduced-motion: reduce) { .flug { position: relative; } .flug-drohne { position: absolute; } }

/* Showroom: Modell erst nach Klick laden */
.modelle { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 960px) { .modelle { grid-template-columns: 1fr; } }
.modell { position: relative; aspect-ratio: 16 / 10; background: #000; border: 1px solid var(--line-hi); overflow: hidden; }
.modell img, .modell iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.modell-start { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; padding: 22px; cursor: pointer; border: 0; color: #fff; text-align: left; font: inherit;
  background: linear-gradient(0deg, rgba(17, 20, 22, .9) 0%, rgba(17, 20, 22, 0) 55%); }
.modell-start b { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.modell-start span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-cyan); }
.modell-start:hover span { color: #fff; }
.modell-voll { position: absolute; z-index: 3; top: 10px; right: 10px; font-size: .78rem; background: rgba(17, 20, 22, .8); color: #fff; padding: 5px 10px; }

/* Preisrechner */
.rechner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 960px) { .rechner { grid-template-columns: 1fr; } }
.rechner-form, .rechner-ergebnis { background: var(--lt-card); border: 1px solid var(--lt-line); padding: 30px; }
.rechner-ergebnis { position: sticky; top: 90px; border-color: var(--c-primary); border-width: 2px; }
.rechner fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.rechner legend { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--lt-fg); margin-bottom: 12px; padding: 0; }
.rechner label { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; color: var(--lt-fg); cursor: pointer; }
.rechner label small { color: var(--lt-muted); margin-left: auto; white-space: nowrap; }
.rechner input[type="number"], .rechner select { font: inherit; padding: 9px 12px; border: 1px solid #aebbc4; background: #fff; color: var(--lt-fg); width: 130px; border-radius: 0; }
.rechner .feldzeile { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; color: var(--lt-fg); }
.reiter { display: flex; gap: 0; margin-bottom: 26px; border: 1px solid var(--c-primary); }
.reiter button { flex: 1; font: 500 1rem var(--font-ui); letter-spacing: .04em; padding: 13px 10px; background: #fff; color: var(--c-primary-dk); border: 0; cursor: pointer; }
.reiter button[aria-selected="true"] { background: var(--c-primary); color: #fff; }
.rechner-ergebnis h3 { color: var(--lt-fg); }
.rechner-ergebnis ul { list-style: none; padding: 0; margin: 14px 0; }
.rechner-ergebnis li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--lt-line); color: var(--lt-fg); font-size: .97rem; }
.rechner-summe { font-family: var(--font-display); font-size: 2.3rem; font-weight: 500; color: var(--c-primary-dk) !important; margin: 10px 0 2px; }
.rechner-ergebnis p { color: var(--lt-muted); font-size: .9rem; }
.rechner-ergebnis .btn { margin-top: 16px; }
[hidden] { display: none !important; }

/* Fallbeispiele */
.fall { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; background: var(--lt-card); border: 1px solid var(--lt-line); margin-bottom: 26px; }
@media (max-width: 960px) { .fall { grid-template-columns: 1fr; } }
.fall img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.fall-text { padding: 30px 32px; }
.fall-text h3 { color: var(--lt-fg); font-size: 1.5rem; }
.fall-text p { color: var(--lt-muted); }
.fall-zahlen { display: flex; flex-wrap: wrap; gap: 0; margin: 18px 0 0; border-top: 1px solid var(--lt-line); }
.fall-zahlen div { padding: 14px 26px 0 0; margin-right: 26px; }
.fall-zahlen b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--c-primary-dk); }
.fall-zahlen span { font-size: .84rem; color: var(--lt-muted); }
.rot { color: #e5484d !important; }

/* Ratgeber */
.artikel { max-width: 760px; }
.artikel h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; }
.artikel p, .artikel li { color: var(--lt-fg); }
.artikel table { margin: 1em 0 1.4em; }
.artikel a { color: var(--c-primary-dk); text-decoration: underline; }
.liste-artikel a { display: block; padding: 22px 0; border-bottom: 1px solid var(--lt-line); text-decoration: none; }
.liste-artikel b { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--lt-fg); display: block; }
.liste-artikel span { color: var(--lt-muted); }
.liste-artikel a:hover b { color: var(--c-primary); }

/* Feinschliff Fassung 5 */
.flug h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: min(11.5em, 50vw); }
.flug .sub { max-width: min(31em, 46vw); }
.flug-drohne { right: 5vw; top: 33vh; width: min(34vw, 520px); }
@media (max-width: 960px) { .flug h1, .flug .sub { max-width: none; } }
.rechner-ergebnis .rechner-summe { font-size: 2.3rem; color: var(--c-primary-dk); }
.hero--sub h1 { max-width: 14em; }
