/* ================================================================
   yourfreelancer.de — style.css
   Gilt für: index.html · impressum.html · datenschutz.html · referenzen.html

   Inhaltsverzeichnis
   ──────────────────
   01  Design Tokens
   02  Reset & Basis
   03  Barrierefreiheit
   04  Layout & Utilities
   05  Typografie
   06  Buttons
   07  Cookie-Banner
   08  Header & Navigation (Subpages: .site-header--solid)
   09  Hero · Fullscreen Slider (index.html)
   10  Subpage Hero (impressum · datenschutz · referenzen)
   11  Leistungen
   12  Referenzen (Onpage-Grid + externe Seite)
   13  Intro / Über mich
   14  Ablauf / Workflow
   15  Region
   16  FAQ
   17  Kontakt & Formular
   18  Legal (Datenschutz · Impressum)
   19  Footer
   20  Scroll Reveal
   21  Responsive (≥ 640px · ≥ 1024px)
   22  Reduced Motion & High Contrast
================================================================ */


/* ── 01  DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --ink:        #0f1f3d;
  --blue:       #1a3a6e;
  --blue-hover: #142f5c;
  --blue-light: #e8eef8;
  --blue-mid:   #c2d0e8;
  --blue-tint:  #f0f4fb;
  --white:      #ffffff;
  --border:     #dde3ed;
  --text:       #2d3748;
  --text-muted: #6b7a99;
  --text-light: #9aaac2;
  --legal-bg:   #f8f9fc;

  --slider-overlay: rgba(10, 18, 35, .52);
  --slider-h-mob:   100svh;
  --slider-h-desk:  100vh;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --r-xs: 1px;
  --r-sm: 2px;
  --r:    3px;

  --shadow-sm: 0 1px 3px rgba(15, 31, 61, .07);
  --shadow:    0 4px 16px rgba(15, 31, 61, .09);
  --shadow-lg: 0 12px 36px rgba(15, 31, 61, .12);

  --ease:       180ms ease;
  --ease-slide: 700ms cubic-bezier(.4, 0, .2, 1);

  --container: 1100px;

  --sp-md:  1.25rem;
  --sp-lg:  2rem;
  --sp-xl:  3.5rem;
  --sp-2xl: 5.5rem;
}


/* ── 02  RESET & BASIS ────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family:             var(--font);
  font-size:               1rem;
  line-height:             1.7;
  color:                   var(--text);
  background:              var(--white);
  -webkit-font-smoothing:  antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x:              hidden;
}

img, svg { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; padding: 0; }
abbr[title] { text-decoration: underline dotted; cursor: help; }
p + p { margin-top: .75rem; }


/* ── 03  BARRIEREFREIHEIT ─────────────────────────────────────── */
.skip-link {
  position: fixed; top: -120%; left: 1rem; z-index: 9999;
  background: var(--blue); color: var(--white);
  padding: .6rem 1.1rem; border-radius: 0 0 var(--r) var(--r);
  font-size: .875rem; font-weight: 600;
  transition: top .2s ease; text-decoration: none;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: var(--r-xs); }
:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}


/* ── 04  LAYOUT & UTILITIES ───────────────────────────────────── */
.wrap { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--sp-md); }
.section { padding-block: var(--sp-2xl); }
.section--tinted { background: var(--blue-tint); }
.section__header { margin-bottom: var(--sp-xl); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.reveal.in { opacity: 1; transform: none; }


/* ── 05  TYPOGRAFIE ───────────────────────────────────────────── */
.label {
  display: block; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .65rem;
}

.section__title {
  font-size: clamp(1.65rem, 4.5vw, 2.4rem);
  font-weight: 700; color: var(--ink);
  letter-spacing: -.025em; line-height: 1.2; margin-bottom: 1rem;
}

.section__sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 540px; line-height: 1.65;
}


/* ── 06  BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; padding: .7rem 1.5rem; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 600; line-height: 1.2;
  min-height: 48px; white-space: nowrap;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  text-decoration: none; cursor: pointer; letter-spacing: .01em;
}
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 2px 8px rgba(26,58,110,.25); }
.btn--primary:hover { background: var(--blue-hover); box-shadow: 0 4px 16px rgba(26,58,110,.30); transform: translateY(-1px); }
.btn--white { background: var(--white); color: var(--blue); font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.btn--white:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--blue); border: 1px solid var(--blue-mid); }
.btn--ghost:hover { background: var(--blue-light); border-color: var(--blue); }
.btn--text { background: transparent; color: var(--blue); padding-inline: .25rem; min-height: auto; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; }
.btn--text:hover { color: var(--blue-hover); }
.btn--full { width: 100%; }


/* ── 07  COOKIE-BANNER ────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 600;
  max-width: 680px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: opacity .35s ease, transform .35s ease;
}
.cookie-banner.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.cookie-banner__title { display: block; font-size: .875rem; font-weight: 700; color: var(--ink); margin-bottom: .15rem; }
.cookie-banner__text { font-size: .8rem; color: var(--text-muted); line-height: 1.55; }
.cookie-banner__text a { color: var(--blue); text-decoration: underline; }
.cookie-banner__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cookie-banner__btn { font-family: var(--font); font-size: .82rem; font-weight: 600; cursor: pointer; border-radius: var(--r-sm); transition: background var(--ease); text-decoration: none; display: inline-flex; align-items: center; }
.cookie-banner__btn--primary { background: var(--blue); color: var(--white); padding: .5rem 1.1rem; border: none; min-height: 38px; }
.cookie-banner__btn--primary:hover { background: var(--blue-hover); }
.cookie-banner__btn--text { background: transparent; color: var(--text-muted); padding: 0; border: none; text-decoration: underline; }
.cookie-banner__btn--text:hover { color: var(--blue); }


/* ── 08  HEADER & NAVIGATION ──────────────────────────────────── */

/* Index: Fixed + transparent → bei Scroll solid */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: transparent;
  transition: background .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* Subpages: immer solid (keine Slider-Sektion) */
.site-header--solid {
  position: sticky;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 1rem; }

/* Logo */
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; flex-shrink: 0; }
.logo__img { height: 32px; width: auto; max-width: 160px; object-fit: contain; filter: brightness(0) invert(1); transition: filter .35s ease; }
.site-header.is-scrolled .logo__img,
.site-header--solid .logo__img { filter: none; }
.logo__fallback { display: flex; align-items: center; gap: .5rem; }
.logo__mark {
  width: 34px; height: 34px; background: var(--white); color: var(--blue);
  font-weight: 700; font-size: .82rem; display: grid; place-items: center;
  border-radius: var(--r-sm); flex-shrink: 0; transition: background var(--ease), color var(--ease);
}
.site-header.is-scrolled .logo__mark,
.site-header--solid .logo__mark { background: var(--blue); color: var(--white); }
.logo__name { font-size: .9rem; font-weight: 600; color: var(--white); letter-spacing: -.015em; transition: color .35s ease; }
.site-header.is-scrolled .logo__name,
.site-header--solid .logo__name { color: var(--ink); }
.logo__dot { color: inherit; }

/* Burger */
.nav__burger { display: flex; flex-direction: column; gap: 5px; padding: .5rem; border-radius: var(--r-sm); min-width: 44px; min-height: 44px; align-items: center; justify-content: center; transition: background var(--ease); }
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 1px; transition: background .35s ease; }
.site-header.is-scrolled .nav__burger span,
.site-header--solid .nav__burger span { background: var(--ink); }
.nav__burger:hover { background: rgba(255,255,255,.15); }
.site-header.is-scrolled .nav__burger:hover,
.site-header--solid .nav__burger:hover { background: var(--blue-light); }

/* Nav Menu – Mobile */
.nav__menu {
  position: fixed; inset: 62px 0 auto 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: .875rem var(--sp-md) 1.25rem;
  display: flex; flex-direction: column; gap: .15rem;
  transform: translateY(-108%); opacity: 0;
  transition: transform .28s ease, opacity .22s ease;
  pointer-events: none; box-shadow: var(--shadow-lg); z-index: 290;
}
.nav__menu.is-open { transform: none; opacity: 1; pointer-events: all; }
.nav__link { display: flex; align-items: center; padding: .65rem .875rem; border-radius: var(--r-xs); font-size: .9rem; font-weight: 500; color: var(--text); transition: background var(--ease), color var(--ease); min-height: 46px; }
.nav__link:hover { background: var(--blue-light); color: var(--blue); }
.nav__link[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav__link--cta { background: var(--blue); color: var(--white) !important; border-radius: var(--r-sm); justify-content: center; margin-top: .4rem; }
.nav__link--cta:hover { background: var(--blue-hover) !important; }


/* ── 09  HERO · FULLSCREEN SLIDER ─────────────────────────────── */
.hero-slider { position: relative; width: 100%; height: var(--slider-h-mob); overflow: hidden; }

.slider__track { display: flex; height: 100%; width: 100%; transition: transform var(--ease-slide); will-change: transform; }

.slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; }

.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }

.slide__overlay { position: absolute; inset: 0; background: var(--slider-overlay); }

.slide__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; padding-top: 62px; }

.slide__eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.slide__headline { font-size: clamp(2.2rem, 7vw, 4.8rem); font-weight: 700; color: var(--white); letter-spacing: -.035em; line-height: 1.08; max-width: 720px; }

.slide__sub { font-size: 1rem; color: rgba(255,255,255,.8); line-height: 1.5; max-width: 480px; }

/* Pfeile */
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; backdrop-filter: blur(4px); transition: background var(--ease); opacity: 0; pointer-events: none; }
.slider__arrow--prev { left: 1rem; }
.slider__arrow--next { right: 1rem; }
.slider__arrow:hover { background: rgba(255,255,255,.30); }

/* Dots */
.slider__dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: .5rem; align-items: center; }
.slider__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); border: none; padding: 0; cursor: pointer; transition: background var(--ease), transform var(--ease); flex-shrink: 0; }
.slider__dot.is-active,
.slider__dot[aria-selected="true"] { background: var(--white); transform: scale(1.3); }

/* Pause */
.slider__pause { position: absolute; bottom: 1.5rem; right: 1rem; z-index: 10; width: 36px; height: 36px; display: grid; place-items: center; background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-sm); backdrop-filter: blur(4px); transition: background var(--ease); }
.slider__pause:hover { background: rgba(255,255,255,.30); }


/* ── 10  SUBPAGE HERO ─────────────────────────────────────────── */
.subpage-hero {
  background: var(--ink);
  padding-block: 4rem 3rem;
  padding-top: calc(62px + 3rem); /* Header-Höhe kompensieren */
}
.subpage-hero__inner {
  display: flex; flex-direction: column; gap: .75rem;
}
.subpage-hero__back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.6);
  transition: color var(--ease);
}
.subpage-hero__back:hover { color: var(--white); }
.subpage-hero__back svg { flex-shrink: 0; }
.subpage-hero__label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: .5rem; }
.subpage-hero__title { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; color: var(--white); letter-spacing: -.03em; line-height: 1.15; }
.subpage-hero__sub { font-size: 1rem; color: rgba(255,255,255,.6); max-width: 500px; margin-top: .25rem; }


/* ── 11  LEISTUNGEN ───────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.svc { background: var(--white); padding: var(--sp-lg) var(--sp-md); display: flex; flex-direction: column; gap: .75rem; transition: background var(--ease); }
.svc:hover { background: var(--blue-tint); }
.svc--featured { background: var(--blue); color: var(--white); }
.svc--featured h3 { color: var(--white); }
.svc--featured p  { color: rgba(255,255,255,.75); }
.svc--featured .pill-row li { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.2); }
.svc--featured:hover { background: var(--blue-hover); }
.svc h3 { font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -.015em; }
.svc p  { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }
.pill-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.pill-row li { font-size: .72rem; font-weight: 500; padding: .2rem .6rem; background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-mid); border-radius: var(--r-xs); letter-spacing: .02em; }
.svc__link { font-size: .875rem; font-weight: 600; color: var(--blue); align-self: flex-start; text-decoration: underline; text-underline-offset: 2px; transition: color var(--ease); margin-top: .25rem; }
.svc__link:hover { color: var(--blue-hover); }
.svc--featured .svc__link { color: rgba(255,255,255,.85); }
.svc--featured .svc__link:hover { color: var(--white); }


/* ── 12  REFERENZEN ───────────────────────────────────────────── */

/* Grid auf der Onepage (4 Karten, 2 Spalten) */
.ref-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Karte */
.ref-card {
  background:    var(--white);
  border:        1px solid var(--border);
  /* border-radius entfernt */
  overflow:      hidden;
  transition:    box-shadow var(--ease), transform var(--ease);
  display:       flex;
  flex-direction: column;
}
.ref-card:hover {
  box-shadow: var(--shadow-lg);
  transform:  translateY(-4px);
}

/* Bild-Wrap */
.ref-card__img-wrap {
  position:   relative;
  overflow:   hidden;
  aspect-ratio: 16/10;
  background: var(--blue-light);
}
.ref-card__img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform .5s ease;
  display:    block;
}
.ref-card:hover .ref-card__img { transform: scale(1.04); }

/* Overlay mit Typ-Badge */
.ref-card__overlay {
  position:    absolute;
  inset:       0;
  background:  linear-gradient(to top, rgba(10,18,35,.55) 0%, transparent 55%);
  display:     flex;
  align-items: flex-end;
  padding:     .875rem 1rem;
}
.ref-card__type {
  font-size:      .72rem;
  font-weight:    600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:          var(--white);
  background:     var(--blue);
  padding:        .22rem .65rem;
  border-radius:  var(--r-xs);
}

/* Karten-Body */
.ref-card__body {
  padding:        1.25rem 1.25rem 1.5rem;
  display:        flex;
  flex-direction: column;
  gap:            .6rem;
  flex:           1;
}
.ref-card__title {
  font-size:      1rem;
  font-weight:    700;
  color:          var(--ink);
  letter-spacing: -.015em;
}
.ref-card__desc {
  font-size:   .88rem;
  color:       var(--text-muted);
  line-height: 1.6;
}
.ref-card__link {
  align-self:  flex-start;
  margin-top:  auto;
  padding-top: .5rem;
  font-size:   .875rem;
  font-weight: 600;
  color:       var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition:  color var(--ease);
}
.ref-card__link:hover { color: var(--blue-hover); }

/* "Alle Referenzen"-Button */
.ref-more {
  margin-top:      var(--sp-xl);
  display:         flex;
  justify-content: center;
}

/* ── Referenzen-Seite: erweitertes Grid (mehr Karten) ── */
.ref-grid--full {
  grid-template-columns: 1fr; /* Mobile: 1 Spalte */
}


/* ── Filter-Buttons (referenzen.html) ────────────────────────── */
.ref-filter {
  display:   flex;
  flex-wrap: wrap;
  gap:       .5rem;
  margin-bottom: var(--sp-xl);
}
.ref-filter__btn {
  font-family:   var(--font);
  font-size:     .82rem;
  font-weight:   600;
  padding:       .45rem 1rem;
  border-radius: var(--r-sm);
  border:        1px solid var(--border);
  background:    var(--white);
  color:         var(--text-muted);
  cursor:        pointer;
  transition:    background var(--ease), color var(--ease), border-color var(--ease);
  min-height:    40px;
}
.ref-filter__btn:hover {
  border-color: var(--blue);
  color:        var(--blue);
}
.ref-filter__btn.is-active {
  background:   var(--blue);
  color:        var(--white);
  border-color: var(--blue);
}

/* ── 13  INTRO / ÜBER MICH ────────────────────────────────────── */
.intro__inner { display: flex; flex-direction: column; gap: var(--sp-xl); }
.intro__img-wrap { width: 100%; overflow: hidden; box-shadow: var(--shadow); background: var(--blue-light); min-height: 200px; }
.intro__img { width: 100%; height: auto; object-fit: cover; display: block; }
.intro__text p { color: var(--text); line-height: 1.75; }
.intro__text strong { color: var(--ink); font-weight: 600; }
.check-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; color: var(--text); font-weight: 500; }
.check-list li::before { content: ''; display: inline-block; width: 18px; height: 18px; min-width: 18px; background: var(--blue); border-radius: 50%; margin-top: .2rem; clip-path: polygon(20% 52%, 42% 72%, 80% 28%, 88% 36%, 42% 88%, 12% 60%); }


/* ── 14  ABLAUF / WORKFLOW ────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 19px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.step { display: flex; gap: 1.25rem; padding: 1.5rem 0; position: relative; }
.step__num { width: 40px; height: 40px; background: var(--blue); color: var(--white); border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .04em; flex-shrink: 0; z-index: 1; box-shadow: 0 0 0 4px var(--blue-tint); }
.step__body h3 { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; padding-top: .5rem; }
.step__body p  { font-size: .88rem; color: var(--text-muted); }


/* ── 15  REGION ───────────────────────────────────────────────── */
.region-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; max-width: 700px; margin-inline: auto; }
.region-grid li { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xs); padding: .65rem 1rem; font-size: .875rem; font-weight: 500; color: var(--text); text-align: center; transition: border-color var(--ease), color var(--ease); }
.region-grid li:hover { border-color: var(--blue); color: var(--blue); }


/* ── 16  FAQ ──────────────────────────────────────────────────── */
.faq { max-width: 720px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-size: .93rem; font-weight: 600; color: var(--ink); text-align: left; background: none; border: none; cursor: pointer; transition: color var(--ease); }
.faq__btn:hover, .faq__btn[aria-expanded="true"] { color: var(--blue); }
.faq__icon { font-size: 1.2rem; color: var(--blue); flex-shrink: 0; width: 20px; text-align: center; line-height: 1; }
.faq__answer { padding-bottom: 1rem; font-size: .88rem; color: var(--text-muted); line-height: 1.7; }


/* ── 17  KONTAKT & FORMULAR ───────────────────────────────────── */
.kontakt__inner { display: flex; flex-direction: column; gap: var(--sp-xl); }
.kontakt__text p { color: var(--text-muted); font-size: .97rem; line-height: 1.65; margin-top: .75rem; }
.kontakt__meta { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.kontakt__meta li { font-size: .9rem; color: var(--text); }
.kontakt__meta a { color: var(--blue); font-weight: 600; }
.kontakt__meta a:hover { text-decoration: underline; }
.kontakt__form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: flex; flex-direction: column; gap: 1rem; }
.form__group { display: flex; flex-direction: column; gap: .35rem; }
.form__group label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.form__group input,
.form__group textarea { width: 100%; padding: .7rem .875rem; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--white); color: var(--ink); font-family: var(--font); font-size: .9rem; line-height: 1.5; transition: border-color var(--ease), box-shadow var(--ease); resize: vertical; }
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--text-light); }
.form__group input:focus,
.form__group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,58,110,.12); }
.form__group--check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.form__group--check input[type="checkbox"] { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.form__group--check label { font-size: .82rem; font-weight: 400; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.form__group--check label a { color: var(--blue); text-decoration: underline; }
.form__note { font-size: .75rem; color: var(--text-light); }


/* ── 18  LEGAL (Datenschutz · Impressum) ─────────────────────── */
.legal__inner { max-width: 780px; }
.legal__date { font-size: .78rem; color: var(--text-light); margin-top: .3rem; margin-bottom: var(--sp-lg); }
.legal__body { display: flex; flex-direction: column; gap: 1.5rem; }
.legal__body h3 { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.legal__body p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
.legal__body p + p { margin-top: .5rem; }
.legal__body a { color: var(--blue); text-decoration: underline; }
.legal__body strong { color: var(--ink); font-weight: 600; }


/* ── 19  FOOTER ───────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--text-light); padding-top: var(--sp-xl); }
.site-footer__inner { display: flex; flex-direction: column; gap: var(--sp-lg); }
.site-footer__brand .logo__mark { background: rgba(255,255,255,.12); color: var(--white); }
.site-footer__brand .logo__name { color: var(--white); }
.site-footer__brand p { margin-top: .65rem; font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.site-footer__nav-title { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .75rem; }
.site-footer__inner nav ul { display: flex; flex-direction: column; gap: .45rem; }
.site-footer__inner nav a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color var(--ease); }
.site-footer__inner nav a:hover { color: var(--white); }
.site-footer__cookie-btn { font-family: var(--font); font-size: .85rem; color: rgba(255,255,255,.55); cursor: pointer; transition: color var(--ease); text-align: left; }
.site-footer__cookie-btn:hover { color: var(--white); }
.site-footer__bottom { margin-top: var(--sp-lg); border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bottom-inner { display: flex; flex-direction: column; gap: .4rem; padding-block: 1.1rem; font-size: .75rem; color: rgba(255,255,255,.3); }
.site-footer__bottom-inner p:last-child { display: flex; gap: 1rem; }
.site-footer__bottom-inner a { color: rgba(255,255,255,.45); transition: color var(--ease); }
.site-footer__bottom-inner a:hover { color: var(--white); }


/* ── 20  SCROLL REVEAL ────────────────────────────────────────── */
/* Klassen per JS gesetzt */


/* ── 21  RESPONSIVE ───────────────────────────────────────────── */

/* Tablet · ≥ 640px */
@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-grid--full { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: repeat(3, 1fr); }
  .form__row { flex-direction: row; gap: 1rem; }
  .form__row .form__group { flex: 1; }
  .cookie-banner { flex-direction: row; align-items: center; }
  .cookie-banner__body { flex: 1; }
  .cookie-banner__actions { flex-shrink: 0; flex-direction: column; align-items: flex-end; gap: .5rem; }
  .site-footer__inner { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
  .site-footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Desktop · ≥ 1024px */
@media (min-width: 1024px) {
  /* Slider */
  .hero-slider { height: var(--slider-h-desk); }
  .slider__arrow { opacity: 1; pointer-events: all; width: 54px; height: 54px; }
  .slider__arrow--prev { left: 2rem; }
  .slider__arrow--next { right: 2rem; }
  .slider__dots { bottom: 2.5rem; }
  .slider__pause { bottom: 2.5rem; right: 2rem; }

  /* Header Desktop Nav */
  .nav__burger { display: none; }
  .nav__menu {
    position: static; flex-direction: row; transform: none; opacity: 1; pointer-events: all;
    padding: 0; border: none; box-shadow: none; background: transparent;
    align-items: center; gap: .15rem; z-index: auto;
  }
  .nav__link { padding: .4rem .7rem; min-height: auto; color: rgba(255,255,255,.85); }
  .site-header.is-scrolled .nav__link,
  .site-header--solid .nav__link { color: var(--text); }
  .nav__link:hover { background: rgba(255,255,255,.12); color: var(--white); }
  .site-header.is-scrolled .nav__link:hover,
  .site-header--solid .nav__link:hover { background: var(--blue-light); color: var(--blue); }
  .nav__link--cta { background: rgba(255,255,255,.15) !important; color: var(--white) !important; border: 1px solid rgba(255,255,255,.3); padding: .45rem 1.1rem; margin-top: 0; }
  .nav__link--cta:hover { background: var(--white) !important; color: var(--blue) !important; border-color: transparent !important; }
  .site-header.is-scrolled .nav__link--cta,
  .site-header--solid .nav__link--cta { background: var(--blue) !important; color: var(--white) !important; border-color: transparent !important; }
  .site-header.is-scrolled .nav__link--cta:hover,
  .site-header--solid .nav__link--cta:hover { background: var(--blue-hover) !important; }

  /* Referenzen: 3 Spalten auf Desktopseite */
  .ref-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .ref-grid--full { grid-template-columns: repeat(3, 1fr); }

  /* Intro */
  .intro__inner { flex-direction: row; align-items: stretch; gap: 0; }
  .intro__img-wrap {
    flex: 0 0 50vw;
    max-width: 50vw;
    min-height: 560px;
    order: -1;
    margin-left: calc(((100vw - min(100%, var(--container))) / -2) - var(--sp-md));
  }
  .intro__img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .intro__text { flex: 1; padding-left: 4rem; align-self: center; }

  /* Ablauf */
  .steps { flex-direction: row; }
  .steps::before { top: 19px; left: 0; right: 0; bottom: auto; width: auto; height: 1px; }
  .step { flex-direction: column; flex: 1; padding: 0 2rem 1rem 0; }
  .step__body h3 { padding-top: .65rem; }
  .step__num { box-shadow: 0 0 0 4px var(--white); }

  /* Region */
  .region-grid { grid-template-columns: repeat(4, 1fr); }

  /* Kontakt */
  .kontakt__inner { flex-direction: row; gap: 5rem; align-items: flex-start; }
  .kontakt__text { flex: 0 0 260px; }
  .kontakt__form { flex: 1; }

  /* Footer */
  .site-footer__inner { flex-wrap: nowrap; justify-content: space-between; gap: 3rem; }

  /* Cookie */
  .cookie-banner__actions { flex-direction: row; align-items: center; }
}


/* ── 22  REDUCED MOTION & HIGH CONTRAST ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .slide__img { animation: none; }
  .slider__track { transition: none; }
}
@media (forced-colors: active) {
  .btn--primary, .btn--white, .cookie-banner__btn--primary { forced-color-adjust: none; }
}
