/* ==========================================================================
   Schindler Fahrzeugservice — Custom Design System v2
   ========================================================================== */

/* ---------- Lokale Web Fonts ---------- */
@font-face{
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/manrope/manrope-latin-500-normal.woff2") format("woff2");
}
@font-face{
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/manrope/manrope-latin-700-normal.woff2") format("woff2");
}
@font-face{
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/manrope/manrope-latin-800-normal.woff2") format("woff2");
}
@font-face{
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk/hanken-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face{
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk/hanken-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face{
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk/hanken-grotesk-latin-600-normal.woff2") format("woff2");
}
@font-face{
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk/hanken-grotesk-latin-700-normal.woff2") format("woff2");
}

:root{
  /* Farben — Seagrass auf Grau */
  --forest: #23262a;
  --forest-soft: #2b2e33;
  --team-dark: #172420;
  --pine: #39a78d;
  --pine-dim: #2b8570;
  --leaf: #2b8570;
  --sprout: #8fd6c2;
  --sprout-dim: #6fc0a9;
  --linen: #f3f3f1;
  --linen-deep: #e7e7e3;
  --card: #fffefb;
  --ink: #1c1f1e;
  --ink-soft: #3a3f3d;
  --moss: #6b706b;
  --line: rgba(28,31,30,.12);
  --line-on-dark: rgba(255,255,255,.14);

  /* Typografie */
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --font-mono: "Hanken Grotesk", "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure{ margin: 0; }
ul{ padding: 0; list-style: none; }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea{ font: inherit; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pine);
  font-weight: 700;
}
.eyebrow::before{
  content: "\f013";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 12px;
  color: var(--pine);
  display: inline-block;
}
.eyebrow.on-dark::before{ color: var(--sprout); }
.eyebrow.on-dark{ color: var(--sprout); }

.section-head{ max-width: 640px; margin: 0 0 48px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(30px, 4vw, 44px); margin: 12px 0 14px; }
.section-head p{ color: var(--ink-soft); font-size: 17px; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section{ position: relative; }
.pad{ padding: 104px 0; }
@media (max-width: 700px){ .pad{ padding: 68px 0; } }

/* Organische Wellen-Trenner */
.wave{
  display: block;
  width: 100%;
  line-height: 0;
  position: relative;
}
.wave svg{ width: 100%; height: 64px; display: block; }
@media (max-width: 700px){ .wave svg{ height: 36px; } }

/* ==========================================================================
   Karten
   ========================================================================== */
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(28,31,30,.04), 0 18px 40px -26px rgba(28,31,30,.28);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .18s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-primary{ background: var(--pine); color: #fff; box-shadow: 0 12px 24px -12px rgba(57,167,141,.55); }
.btn-primary:hover{ background: var(--leaf); }

.btn-outline{ border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color: #fff; }

.btn-outline-dark{ border-color: var(--line); color: var(--ink); }
.btn-outline-dark:hover{ background: var(--linen-deep); }

/* ==========================================================================
   Top-Leiste + Navigation
   ========================================================================== */
.topbar{
  background: var(--forest);
  color: var(--sprout);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar .container{
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 24px;
  flex-wrap: wrap;
}
.topbar i{ color: var(--sprout); margin-right: 6px; }
.topbar a:hover{ color: #fff; }

header.site-header{
  position: sticky; top: 0; z-index: 200;
  background: rgba(243,243,241,.9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
header.site-header.is-scrolled{
  box-shadow: 0 12px 30px -22px rgba(28,31,30,.4);
  border-color: var(--line);
}

.navwrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  gap: 24px;
}
@media (max-width: 600px){ .navwrap{ height: 84px; } }

.brand{ display: flex; align-items: center; gap: 12px; }
.brand img{ height: 74px; width: auto; }
@media (max-width: 600px){ .brand img{ height: 56px; } }

nav.mainnav{ display: flex; align-items: center; gap: 4px; }
nav.mainnav a{
  position: relative;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
nav.mainnav a:hover{ color: var(--ink); background: var(--linen-deep); }

.nav-cta{ margin-left: 8px; }
nav.mainnav a.nav-cta{ color: #fff; padding: 12px 24px; }
nav.mainnav a.nav-cta:hover{ color: #fff; background: var(--leaf); }

.burger{
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--linen-deep);
}
.burger span, .burger span::before, .burger span::after{
  content: "";
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.burger span::before{ position:absolute; top:-6px; }
.burger span::after{ position:absolute; top:6px; }

@media (max-width: 940px){
  nav.mainnav{ display: none; }
  .burger{ display: flex; }
}

/* Mobile Drawer */
.drawer{
  position: fixed; inset: 0 0 0 auto;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--forest);
  color: #fff;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  z-index: 400;
  display: flex; flex-direction: column;
  padding: 26px;
  border-radius: 28px 0 0 28px;
}
.drawer.is-open{ transform: translateX(0); }
.drawer-close{
  align-self: flex-end;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.drawer nav{ margin-top: 40px; display: flex; flex-direction: column; }
.drawer nav a{
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  padding: 16px 6px;
  border-bottom: 1px solid var(--line-on-dark);
  display: flex; align-items: center; gap: 14px;
}
.drawer nav a i{ color: var(--sprout); font-size: 17px; width: 22px; }
.drawer-backdrop{
  position: fixed; inset: 0;
  background: rgba(20,25,17,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 390;
}
.drawer-backdrop.is-open{ opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ background: var(--linen); padding: 56px 0 0; overflow: hidden; margin-bottom: -3px; }
.hero-grid{
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 80px;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
}

.hero h1{
  font-size: clamp(36px, 4.6vw, 58px);
  margin: 18px 0 22px;
}
.hero h1 em{
  font-style: normal;
  color: var(--pine);
  position: relative;
}
.hero p.lead{
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero .cta-row{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.trust-row{
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.trust-row .stars{ color: var(--leaf); letter-spacing: 2px; }

.hero-media{ position: relative; }
.hero-media-frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(28,31,30,.45);
  aspect-ratio: 3/2;
  background: #050505;
}
.hero-media-frame img{ width: 100%; height: 100%; object-fit: cover; }
.hero-badge{
  position: absolute;
  left: -22px; bottom: -22px;
  background: var(--forest);
  color: #fff;
  border: 1.5px solid rgba(143,214,194,.45);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 20px 40px -18px rgba(28,31,30,.55);
  display: flex; align-items: center; gap: 14px;
}
@media (max-width: 700px){ .hero-badge{ left: 12px; bottom: -18px; padding: 14px 18px; } }
.hero-badge .num{
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--sprout);
  line-height: 1;
}
.hero-badge .txt{ font-size: 12px; color: rgba(255,255,255,.8); max-width: 110px; line-height: 1.3; }

/* ==========================================================================
   Über uns
   ========================================================================== */
.about-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px){ .about-grid{ grid-template-columns: 1fr; gap: 52px; align-items: start; } }

.about-text p{ margin-bottom: 18px; color: var(--ink-soft); font-size: 16px; }

/* Timeline (echte Chronik: 1956 / 1990 / 2026) */
.timeline{ position: relative; }
.timeline::before{
  content: "";
  position: absolute; left: 23px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.tl-item{ position: relative; padding: 0 0 36px 62px; }
.tl-item:last-child{ padding-bottom: 0; }
.tl-dot{
  position: absolute; left: 0; top: -2px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--linen);
}
.tl-item h4{ font-size: 19px; margin-bottom: 4px; font-weight: 700; }
.tl-item p{ color: var(--moss); font-size: 15px; }

/* ==========================================================================
   Statistik — Jahresringe
   ========================================================================== */
.stats{
  background: var(--forest);
  color: #fff;
  position: relative;
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 760px){ .stats-grid{ grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; gap: 48px; } }

.stat{ text-align: center; }
.ring-wrap{
  position: relative;
  width: 156px; height: 156px;
  margin: 0 auto 22px;
}
.ring-wrap svg{ width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track{ fill: none; stroke: rgba(255,255,255,.1); stroke-width: 9; }
.ring-progress{
  fill: none;
  stroke: var(--sprout);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 339.3;
  stroke-dashoffset: 339.3;
  transition: stroke-dashoffset 1.6s cubic-bezier(.16,1,.3,1);
}
.ring-center{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
}
.ring-center sup{ font-size: .5em; top: -0.6em; }
.stat p{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  max-width: 220px;
  margin: 0 auto;
}

/* ==========================================================================
   Leistungen
   ========================================================================== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 980px){ .services-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .services-grid{ grid-template-columns: 1fr; } }

.service-card{
  text-align: left;
  padding: 34px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  border-color: rgba(57,167,141,.3);
  box-shadow: 0 1px 2px rgba(28,31,30,.05), 0 26px 44px -24px rgba(28,31,30,.35);
}
.service-icon{
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--pine);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  margin-bottom: 22px;
  transition: background .2s ease;
}
.service-card:hover .service-icon{ background: var(--leaf); }
.service-card h3{ font-size: 20px; margin-bottom: 10px; }
.service-card p{ color: var(--ink-soft); font-size: 15px; }

/* ==========================================================================
   CTA-Band
   ========================================================================== */
.cta-band{
  background: var(--pine);
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.08), transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(28,31,30,.25), transparent 50%);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.cta-band h2{ font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 26px; color: #fff; }

/* ==========================================================================
   Partner
   ========================================================================== */
.partner-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
}
@media (max-width: 780px){ .partner-grid{ grid-template-columns: 1fr; max-width: 480px; } }

.partner-card{
  padding: 32px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.partner-card:hover{
  border-color: rgba(57,167,141,.3);
  box-shadow: 0 1px 2px rgba(28,31,30,.05), 0 26px 44px -24px rgba(28,31,30,.35);
}
.partner-card h4{ font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.partner-card p{ color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

.partner-thumbs{
  display: flex;
  gap: 12px;
  margin-top: 22px;
  width: 100%;
}
.partner-thumbs img{
  flex: 1;
  min-width: 0;
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid var(--line);
  filter: saturate(.8) brightness(.98) contrast(1.03);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.partner-thumbs img:hover{ transform: scale(1.05); box-shadow: 0 14px 26px -14px rgba(28,31,30,.45); filter: saturate(.95) brightness(1) contrast(1.03); }

.partner-brands{
  max-width: 940px;
  margin: 44px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.partner-brands img{
  height: 38px; width: auto;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .25s ease, opacity .25s ease;
}
.partner-brands img:hover{ filter: grayscale(0); opacity: 1; }
@media (max-width: 780px){
  .partner-brands{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 30px 40px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }
  .partner-brands img{ height: 30px; }
}

/* ==========================================================================
   Team — Statement
   ========================================================================== */
.team-statement{
  position: relative;
  overflow: hidden;
  background: var(--team-dark);
}
.team-statement::before{
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,214,194,.16), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.team-statement-inner{
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.team-statement-inner .eyebrow{ justify-content: center; }
.team-statement-inner h2{
  font-size: clamp(24px, 2.8vw, 30px);
  margin: 0 0 28px;
  color: rgba(255,255,255,.85);
}

.team-quote{ margin: 0; }
.team-quote .quote-mark{
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 84px;
  line-height: 1;
  color: var(--sprout);
  opacity: .85;
  margin-bottom: -8px;
}
.team-quote p{
  color: #fff;
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 26px;
}
.team-quote-attr{
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sprout);
}
.team-quote-attr span{
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
}
@media (max-width: 700px){
  .team-statement::before{ width: 560px; height: 560px; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-section{ position: relative; overflow: hidden; }
.contact-blob{
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,214,194,.35), transparent 70%);
  top: -220px; right: -160px;
  z-index: 0;
  pointer-events: none;
}
.contact-card{
  max-width: 940px;
  margin: 0 auto;
  padding: 48px;
  position: relative;
  z-index: 1;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover{
  border-color: rgba(57,167,141,.3);
  box-shadow: 0 1px 2px rgba(28,31,30,.05), 0 26px 44px -24px rgba(28,31,30,.35);
}
@media (max-width: 600px){ .contact-card{ padding: 30px 22px; } }
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 700px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-list li{
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 16px;
  font-size: 15.5px;
}
.contact-list .ic{
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--linen-deep);
  color: var(--pine);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list a:hover{ color: var(--pine); }

.hours-table{ width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table th{
  text-align: left;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--moss);
  padding-bottom: 10px;
}
.hours-table td{ padding: 9px 0; border-top: 1px dashed var(--line); }

/* ==========================================================================
   Modal (Bild-Lightbox)
   ========================================================================== */
.modal{
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,20,14,.92);
  z-index: 500;
  align-items: center; justify-content: center;
  padding: 40px 20px;
}
.modal.is-open{ display: flex; }
.modal img{ max-width: 100%; max-height: 78vh; border-radius: var(--radius-sm); }
.modal figcaption{ color: #fff; text-align: center; margin-top: 14px; font-size: 14px; opacity: .8; }
.modal-close{
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.modal-arrow{
  position: absolute; top: 50%; translate: 0 -50%;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
  z-index: 2;
}
.modal-arrow:hover{ background: var(--pine); }
.modal-arrow.prev{ left: 18px; }
.modal-arrow.next{ right: 18px; }
@media (max-width: 700px){
  .modal-arrow{ width: 44px; height: 44px; font-size: 16px; }
  .modal-arrow.prev{ left: 8px; }
  .modal-arrow.next{ right: 8px; }
}
.modal-arrow.is-hidden{ display: none; }

/* ==========================================================================
   Impressum / Datenschutz
   ========================================================================== */
.legal{ max-width: 980px; margin: 0 auto; }
.legal-grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
}
@media (max-width: 800px){ .legal-grid{ grid-template-columns: 1fr; gap: 40px; } }
.legal h2{ font-size: 26px; margin-bottom: 18px; }
.legal h3{ font-size: 15px; margin: 22px 0 6px; font-family: var(--font-body); font-weight: 700; }
.legal p, .legal li{ color: var(--ink-soft); font-size: 16px; margin-bottom: 10px; }
.legal ul{ margin-bottom: 14px; padding-left: 20px; list-style: disc; }
.legal a{ color: var(--pine); }
.legal a:hover{ text-decoration: underline; }
.back-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--moss); margin-bottom: 40px;
}
.back-link:hover{ color: var(--pine); }

/* ==========================================================================
   Footer
   ========================================================================== */
footer{ background: var(--forest); color: rgba(255,255,255,.7); }
.footer-inner{
  padding: 56px 0 34px;
  text-align: center;
}
.footer-inner .brand-mark{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links{ margin-bottom: 22px; font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.footer-links a{ padding: 0 10px; }
.footer-links a:hover{ color: #fff; }
.footer-links span{ opacity: .4; }

.totop{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
  transition: background .2s ease, transform .2s ease;
}
.totop:hover{ background: var(--leaf); transform: translateY(-3px); }

.copyright{ font-family: var(--font-mono); font-size: 12px; opacity: .65; }

/* ==========================================================================
   Scroll-Reveal
   ========================================================================== */
.reveal{ opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  *{ animation: none !important; transition: none !important; }
}

/* Fokus-Sichtbarkeit */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}
