/* =============================================================================
   FELDFUTURISTEN - Globales CSS
   Design-System, Layout, Komponenten
   ============================================================================= */

:root {
  /* Markenfarben */
  --navy:        #1E4668;
  --navy-deep:   #142F48;
  --navy-soft:   #2A5A82;
  --green:       #2B9B2F;
  --green-bright:#5FBE4D;
  --green-soft:  #C8E6C9;
  --green-pale:  #E8F2DD;
  --gray:        #5C5C5C;
  --gray-mid:    #8A8F96;
  --gray-light:  #E6EAEE;
  --bg-soft:     #F4F7F9;
  --bg-warm:     #F9FBFC;
  --white:       #FFFFFF;

  /* Atmosphäre - aus dem Wallpaper-Design abgeleitet
     Sanfte Übergänge zwischen Himmel, Dunst und Hügelfarben */
  --sky-deep:    #B8D4E8;   /* tiefster Blauton oben links     */
  --sky-mid:     #D6E5F0;   /* Übergang Himmel zu Dunst        */
  --sky-pale:    #EEF4F8;   /* heller Dunst kurz vor Horizont  */
  --cream:       #F8FBF6;   /* warmer Cremeton am Horizont     */
  --green-deep:  #1F6B2A;   /* dunkles Sattgrün vorderster Hügel */
  --green-mid:   #4A9F3E;   /* mittleres Hügel-Grün             */
  --field-line:  rgba(255, 255, 255, 0.55); /* Feldzeilen-Linien */

  /* Schriften */
  --font-head:   "Trebuchet MS", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:   "Calibri", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:   "JetBrains Mono", "Consolas", "Monaco", monospace;

  /* Schatten */
  --shadow-sm:   0 2px 6px rgba(20, 47, 72, 0.06);
  --shadow-md:   0 6px 24px rgba(20, 47, 72, 0.10);
  --shadow-lg:   0 16px 48px rgba(20, 47, 72, 0.14);
  --shadow-glow: 0 0 32px rgba(95, 190, 77, 0.25);

  /* Geometrie */
  --radius:      14px;
  --radius-sm:   8px;
  --content-w:   1180px;
  --content-w-narrow: 920px;

  /* Übergänge */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-deep);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; }

::selection {
  background: var(--green);
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--navy-soft); border-radius: 6px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* ============================================================================
   SCROLL PROGRESS INDICATOR (oben fix)
   ============================================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  z-index: 1000;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(95, 190, 77, 0.5);
}

/* ============================================================================
   CUSTOM CURSOR (nur Desktop)
   ============================================================================ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transition: transform 0.1s var(--ease-out), opacity 0.3s ease, width 0.3s var(--ease-bounce), height 0.3s var(--ease-bounce);
  mix-blend-mode: multiply;
  opacity: 0;
}
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 998;
  transition: transform 0.25s var(--ease-out), opacity 0.3s ease, width 0.3s var(--ease-bounce), height 0.3s var(--ease-bounce), border-color 0.25s ease;
  opacity: 0;
}
.cursor-dot.active { transform: translate(-50%, -50%) scale(1.5); }
.cursor-ring.active { transform: translate(-50%, -50%) scale(1.8); border-color: var(--green-bright); }

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 251, 252, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: padding 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
  padding: 18px 0;
}
.site-nav.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--gray-light);
  background: rgba(249, 251, 252, 0.95);
}

.nav-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.nav-brand:hover { opacity: 0.8; }

.nav-logo {
  width: 44px;
  height: 44px;
  background-image: url("logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out);
}
.site-nav.scrolled .nav-logo {
  width: 36px;
  height: 36px;
}

.nav-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav-mark .feld { color: var(--navy); }
.nav-mark .fut  { color: var(--green); }

.nav-spacer { flex: 1; }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  background: var(--green-pale);
  color: var(--navy);
}
.nav-link.active {
  color: var(--green);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--navy);
  color: white !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover {
  background: var(--green);
  color: white !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 6px 16px rgba(20, 47, 72, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link, .nav-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .nav-mark { font-size: 15px; }
}

/* ============================================================================
   PAGE TRANSITION CURTAIN
   ============================================================================ */
.curtain {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 9999;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}
.curtain.active {
  transform: translateY(0);
}

/* ============================================================================
   CONTENT WRAPPER & SECTIONS
   ============================================================================ */
main { position: relative; z-index: 1; }

.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow {
  max-width: var(--content-w-narrow);
}

section {
  padding: 96px 0;
  position: relative;
}
section + section {
  padding-top: 0;
}

/* Eyebrow + Heading */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--green);
}

.heading-xl {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.heading-lg {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 24px;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  color: var(--navy-deep);
  max-width: 680px;
  margin: 0 0 32px;
}
.lede strong { color: var(--navy); font-weight: 600; }

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(43, 155, 47, 0.30);
}
.btn-primary:hover {
  background: var(--green-bright);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(43, 155, 47, 0.42);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 10px 18px;
}
.btn-ghost:hover {
  background: var(--green-pale);
  color: var(--navy);
}
.btn svg {
  width: 14px;
  height: 14px;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.footer-circuit-bg {
  position: absolute;
  bottom: -40px;
  right: -80px;
  width: 480px;
  height: 320px;
  opacity: 0.08;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.footer-brand .footer-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.footer-brand .feld { color: var(--white); }
.footer-brand .fut  { color: var(--green-bright); }
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 6px 0 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin: 0 0 14px;
}
.footer-col p,
.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 6px;
  line-height: 1.55;
}
.footer-col a:hover {
  color: var(--green-bright);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-mark-small {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
}
.footer-mark-small .feld { color: rgba(255, 255, 255, 0.6); }
.footer-mark-small .fut  { color: var(--green-bright); }

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   REVEAL ON SCROLL
   ============================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================================
   UTILITY: technische Akzente
   ============================================================================ */
.tech-frame {
  position: relative;
  padding: 32px;
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
}
.tech-frame::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 2px solid var(--green);
  border-left: 2px solid var(--green);
  border-top-left-radius: var(--radius);
}
.tech-frame::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 24px; height: 24px;
  border-bottom: 2px solid var(--green);
  border-right: 2px solid var(--green);
  border-bottom-right-radius: var(--radius);
}

.tech-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  text-transform: uppercase;
}
.tech-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================================================ */

.legal-content {
  padding: 32px 0 56px;
  background: var(--bg-warm);
}

.legal-block {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-light);
}
.legal-block:last-child {
  border-bottom: none;
}

.legal-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.4;
  margin-bottom: 6px;
}

.legal-body {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--gray);
}
.legal-body p {
  margin: 0 0 10px;
}
.legal-body p:last-child {
  margin-bottom: 0;
}
.legal-body strong {
  color: var(--navy);
  font-weight: 600;
}
.legal-body a {
  color: var(--green);
  border-bottom: 1px solid rgba(43, 155, 47, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.legal-body a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.legal-body ul {
  margin: 8px 0 14px;
  padding-left: 0;
  list-style: none;
}
.legal-body ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.legal-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--gray-light);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--navy);
}

.legal-note {
  font-size: 0.88rem !important;
  color: var(--gray-mid) !important;
  font-style: italic;
  border-left: 3px solid var(--green-soft);
  padding-left: 14px !important;
  margin-top: 16px !important;
}

.legal-placeholder {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(255, 200, 0, 0.15);
  border: 1px dashed #d4a300;
  border-radius: 3px;
  color: #8a6500;
  font-size: 0.88em;
  font-family: var(--font-mono);
}


/* ============================================================================
   QUICK FACTS (Datenschutz Top-Section)
   ============================================================================ */

.quickfacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
}

.quickfact {
  padding: 20px 18px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--gray-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quickfact:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 47, 72, 0.08);
}

.quickfact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-pale);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.quickfact-icon svg {
  width: 22px;
  height: 22px;
}

.quickfact h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 8px;
}
.quickfact p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--gray);
  margin: 0;
}

@media (max-width: 768px) {
  .quickfacts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ============================================================================
   ATMOSPHERE-SYSTEM (Wallpaper-Designsprache)
   ----------------------------------------------------------------------------
   Drei kombinierbare Schichten, die das Look-and-Feel des PC-Hintergrundes
   auf die Webseite übertragen:

     1. .atmosphere-sky      Sky-Gradient (hellblau oben -> cremig am Horizont)
     2. .corner-circuit      Subtiler Schaltkreis nur in oberen Ecken
     3. .field-rows          Geschwungene Feldzeilen-Linien als Hügelmuster

   Reusable: alle drei können einzeln oder kombiniert verwendet werden, z.B.
   im Hero (alle drei), in Page-Headern (Sky + Field-Andeutung) oder in
   Sektions-Übergängen (nur Field-Rows).
   ============================================================================ */

.atmosphere-sky {
  background:
    /* dünner cremig-weißer Streifen am unteren Übergang */
    linear-gradient(180deg,
      transparent 0%,
      transparent 70%,
      rgba(248, 251, 246, 0.5) 92%,
      var(--cream) 100%
    ),
    /* Haupt-Sky-Verlauf: links oben blau, mittig hell, rechts heller */
    radial-gradient(
      ellipse 120% 90% at 18% 0%,
      var(--sky-deep) 0%,
      var(--sky-mid) 28%,
      var(--sky-pale) 60%,
      var(--cream) 100%
    );
}

/* Schaltkreis nur in der oberen linken Ecke - exakt wie im Wallpaper.
   Verblasst diagonal nach unten/rechts ins Nichts. */
.corner-circuit {
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  max-width: 620px;
  height: 60%;
  max-height: 480px;
  pointer-events: none;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(135deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.7) 35%,
    rgba(0,0,0,0.2) 70%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(135deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.7) 35%,
    rgba(0,0,0,0.2) 70%,
    rgba(0,0,0,0) 100%
  );
}
.corner-circuit svg {
  width: 100%;
  height: 100%;
  display: block;
}
.corner-circuit .cc-paths path {
  stroke: var(--navy);
  stroke-width: 1;
  fill: none;
  stroke-linecap: round;
  opacity: 0.55;
}
.corner-circuit .cc-dots circle {
  fill: var(--green);
  opacity: 0.85;
}
.corner-circuit .cc-rings circle {
  stroke: var(--navy);
  stroke-width: 1.2;
  fill: none;
  opacity: 0.6;
}

/* Animierte Variante: Schaltkreislinien zeichnen sich beim Page-Load
   nacheinander auf (für Hero-Bereich) */
.corner-circuit--animated .cc-paths path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 2.2s ease-out forwards;
}
.corner-circuit--animated .cc-paths path:nth-child(1) { animation-delay: 0.15s; }
.corner-circuit--animated .cc-paths path:nth-child(2) { animation-delay: 0.30s; }
.corner-circuit--animated .cc-paths path:nth-child(3) { animation-delay: 0.45s; }
.corner-circuit--animated .cc-paths path:nth-child(4) { animation-delay: 0.60s; }
.corner-circuit--animated .cc-paths path:nth-child(5) { animation-delay: 0.75s; }
.corner-circuit--animated .cc-paths path:nth-child(6) { animation-delay: 0.90s; }
.corner-circuit--animated .cc-paths path:nth-child(7) { animation-delay: 1.05s; }
.corner-circuit--animated .cc-dots circle,
.corner-circuit--animated .cc-rings circle {
  opacity: 0;
  animation: fadeIn 0.6s 1.5s forwards;
}

/* Hügel-Wellen mit Feldzeilen - Signature-Element aus dem Wallpaper.
   Drei gestaffelte Hügelschichten plus parallele Feldzeilen die jeder
   Hügelkontur folgen.
   Verwendung: <div class="field-hills"> mit dem field-hills-Markup */
.field-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 320px;
  pointer-events: none;
  z-index: 0;
}
.field-hills svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Vertikale Höhe der Hügel-Schichten kann je nach Kontext angepasst werden */
.field-hills--compact { height: 180px; }
.field-hills--tall    { height: 380px; }

/* ============================================================================
   LEGAL PAGE TITLE
   ----------------------------------------------------------------------------
   Kompakter Seiten-Titel direkt im legal-content der Impressum/Datenschutz-
   Seiten. Ersetzt den frueheren grossflaechigen Page-Header.
   ============================================================================ */
.legal-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  color: var(--navy);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
  letter-spacing: -0.005em;
}

/* ============================================================================
   TEASER-CHROME (geteilte Stile fuer Topbar und Footer auf allen Seiten)
   ----------------------------------------------------------------------------
   Diese Klassen werden auf der index.html, impressum.html und datenschutz.html
   verwendet, damit der Rahmen ueberall identisch aussieht.
   ============================================================================ */

/* --- TOPBAR -------------------------------------------------------------- */
.teaser-topbar {
  position: relative;
  z-index: 3;
  padding: 22px 0;
}
.teaser-topbar--solid {
  /* Variante fuer Seiten ohne Sky-Atmosphaere (Impressum, Datenschutz):
     dezenter Hintergrund + duenner Trennstrich nach unten */
  background: var(--cream);
  border-bottom: 1px solid rgba(30, 70, 104, 0.08);
}
.teaser-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.teaser-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.teaser-mark:hover { opacity: 0.78; }
.teaser-mark-logo {
  width: 36px;
  height: 36px;
  background-image: url("logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.teaser-mark-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.teaser-mark-text .feld { color: var(--navy); }
.teaser-mark-text .fut  { color: var(--green); }

/* "Zurueck"-Link in der Topbar der Legal-Seiten */
.teaser-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.teaser-back-link:hover {
  background: rgba(43, 155, 47, 0.10);
  color: var(--green);
  transform: translateX(-2px);
}
.teaser-back-link svg {
  width: 14px;
  height: 14px;
}

/* --- FOOTER -------------------------------------------------------------- */
.teaser-footer {
  background: var(--cream);
  border-top: 1px solid rgba(30, 70, 104, 0.08);
  padding: 22px 0;
  margin-top: 0;
}
.teaser-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.teaser-footer-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--gray);
}
.teaser-footer-mark .feld { color: var(--navy); }
.teaser-footer-mark .fut  { color: var(--green); }
.teaser-footer-sep {
  margin: 0 8px;
  color: var(--gray-mid);
  opacity: 0.6;
}
.teaser-footer-place {
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.04em;
  text-transform: none;
}
.teaser-footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.teaser-footer-links a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}
.teaser-footer-links a:hover { color: var(--green); }
.teaser-footer-links a:first-child {
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  color: var(--gray);
}
.teaser-footer-links a:first-child:hover { color: var(--navy); }

.teaser-footer-copy {
  font-size: 12px;
  color: var(--gray-mid);
  letter-spacing: 0.02em;
}

/* --- RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 720px) {
  .teaser-mark-text { font-size: 12px; }
  .teaser-mark-logo { width: 32px; height: 32px; }
  .teaser-back-link { font-size: 11px; padding: 6px 10px; }

  .teaser-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
  .teaser-footer-links { flex-wrap: wrap; gap: 16px; }
}
