/* ==========================================================================
   Malermeister Mirco — Stylesheet
   Struktur: 1 Tokens · 2 Reset · 3 Typografie · 4 Buttons · 5 Layout
             6 Header/Nav · 7 Hero · 8 Sektionen · 9 Footer · 10 Utilities
   Keine externen Schriften/Assets (DSGVO: keine Drittanbieter-Requests).
   ========================================================================== */

/* 1 — Tokens ------------------------------------------------------------- */
:root {
  /* Farben */
  --ink:        #1d1d1f;   /* Haupttext            */
  --ink-2:      #55555a;   /* Fließtext sekundär   */
  --ink-3:      #86868b;   /* Meta, Labels         */
  --bg:         #ffffff;
  --bg-2:       #f5f5f7;   /* getönte Sektionen    */
  --bg-3:       #ebebf0;
  --dark:       #161617;   /* dunkle Sektionen     */
  --dark-2:     #232325;
  --line:       rgba(0, 0, 0, .09);
  --line-soft:  rgba(0, 0, 0, .05);
  --line-dark:  rgba(255, 255, 255, .14);

  /* Akzent: Petrol — Handwerk, aber nicht Baumarkt-Rot */
  --accent:     #14606e;
  --accent-2:   #0e4a55;
  --accent-3:   #1f7d8d;
  --accent-soft:#e8f2f3;
  --warm:       #c1763c;   /* sparsam: Zahlen, Sterne, Highlights */

  /* Schrift — Systemstack, auf macOS/iOS echtes SF Pro */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Radien */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 980px;

  /* Schatten */
  --sh-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 3px rgba(0, 0, 0, .03);
  --sh-2: 0 2px 6px rgba(0, 0, 0, .04), 0 14px 32px -14px rgba(0, 0, 0, .16);
  --sh-3: 0 4px 10px rgba(0, 0, 0, .05), 0 30px 60px -20px rgba(0, 0, 0, .24);

  /* Maße */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gut: clamp(20px, 5vw, 44px);
  --sec: clamp(72px, 9vw, 132px);
  --nav-h: 58px;

  /* Bewegung */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 2 — Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent-3);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

/* 3 — Typografie --------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.024em;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 600;
}

.h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.03em; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
.h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -.02em; }
.h4 { font-size: 1.0625rem; letter-spacing: -.012em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  letter-spacing: -.014em;
  color: var(--ink-2);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}

.muted { color: var(--ink-2); }
.small { font-size: .9375rem; line-height: 1.6; }
.fine  { font-size: .8125rem; line-height: 1.6; color: var(--ink-3); }

.rich h3 { margin: 2em 0 .5em; }
.rich h3:first-child { margin-top: 0; }
.rich ul { margin: 0 0 1.2em; }
.rich li { position: relative; padding-left: 26px; margin-bottom: .5em; color: var(--ink-2); }
.rich li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}
.rich a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* 4 — Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(20, 96, 110, .8); }
.btn:active { transform: translateY(0) scale(.985); }

.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(20, 96, 110, .3); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(20, 96, 110, .45); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0f0f2; color: var(--ink); }

.btn--onDark { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--onDark:hover { background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }

.btn--sm { padding: 10px 20px; font-size: .9375rem; }
.btn--wide { width: 100%; }

/* Textlink mit wanderndem Pfeil */
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -.01em;
}
.link svg { transition: transform .3s var(--ease-out); }
.link:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 5 — Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.section--tint { background: var(--bg-2); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .lead,
.section--dark .muted { color: rgba(255, 255, 255, .68); }
.section--dark .eyebrow { color: var(--accent-3); }
.section--dark .fine { color: rgba(255, 255, 255, .5); }

.sec-head { max-width: 660px; margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .lead { margin-top: 18px; }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* 6 — Header / Navigation ------------------------------------------------ */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, .72);
  font-size: .8125rem;
  letter-spacing: -.005em;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  padding-block: 7px;
}
.topbar__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__list svg { flex: none; opacity: .6; }
.topbar a:hover { color: #fff; }
.topbar__hide-sm { display: inline-flex; }

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, .84); }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--nav-h);
}

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.022em; }
.brand__sub { font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: rgba(0, 0, 0, .05); }
.nav__link[aria-current="page"] { color: var(--accent); font-weight: 500; }
.nav__link svg { transition: transform .25s var(--ease); opacity: .55; }

.nav__cta { margin-left: 8px; }

/* Dropdown */
.has-sub { position: relative; }
.subnav {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  translate: -50% 0;
  min-width: 258px;
  padding: 8px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease-out), visibility .22s;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav,
.subnav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover .nav__link svg { transform: rotate(180deg); }

.subnav a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  letter-spacing: -.01em;
  transition: background .18s var(--ease);
}
.subnav a:hover { background: var(--accent-soft); color: var(--accent-2); }
.subnav a span { display: block; font-size: .8125rem; color: var(--ink-3); margin-top: 1px; }
.subnav a:hover span { color: var(--accent); }

/* Burger */
.burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s var(--ease);
}
.burger:hover { background: rgba(0, 0, 0, .05); }
.burger span {
  display: block;
  position: relative;
  width: 19px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s var(--ease);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobiles Menü */
/* top wird beim Öffnen per JS auf die Unterkante des Headers gesetzt,
   damit der erste Menüpunkt nicht hinter der Navigation verschwindet. */
.mobile {
  position: fixed;
  top: calc(var(--nav-h) + 36px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 89;
  padding: 8px var(--gut) 40px;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.mobile.is-open { opacity: 1; visibility: visible; }
.mobile a { display: block; }
.mobile__list > li { border-bottom: 1px solid var(--line-soft); }
.mobile__list > li > a,
.mobile__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 2px;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.024em;
  text-align: left;
}
.mobile__toggle svg { opacity: .5; transition: transform .3s var(--ease); }
.mobile__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile__panel { display: none; padding: 0 2px 14px; }
.mobile__panel.is-open { display: block; }
.mobile__panel a { padding: 9px 0; font-size: 1.02rem; color: var(--ink-2); }
.mobile__panel a:hover { color: var(--accent); }
.mobile__foot { margin-top: 30px; display: grid; gap: 12px; }

/* 7 — Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 820px);
  padding-block: clamp(90px, 14vw, 150px);
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 16s var(--ease-out) forwards;
}
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 10, 11, .88) 0%, rgba(8, 10, 11, .48) 42%, rgba(8, 10, 11, .3) 75%);
}
.hero__in { position: relative; width: 100%; }
.hero__text { max-width: 780px; }
.hero .eyebrow { color: rgba(255, 255, 255, .8); }
.hero .h-display { text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero__lead {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -.014em;
  color: rgba(255, 255, 255, .82);
}
.hero__btns { margin-top: 34px; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .9375rem;
  color: rgba(255, 255, 255, .78);
}
.hero__badges li { display: inline-flex; align-items: center; gap: 9px; }
.hero__badges svg { flex: none; color: var(--accent-3); }

/* Kompakter Seitenkopf (Unterseiten) */
.pagehead {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
}
.pagehead__in { max-width: 720px; }
.pagehead .lead { margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .8125rem; color: var(--ink-3); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .45; }

/* 8 — Sektionen ---------------------------------------------------------- */

/* 8.1 Leistungskarten */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card__body h3 { margin-bottom: 9px; }
.card__body p { color: var(--ink-2); font-size: .9688rem; }
.card__body .link { margin-top: 18px; align-self: flex-start; }
.card__stretch { position: absolute; inset: 0; }

/* 8.2 Merkmale / Icons */
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}
.section--dark .feature__icon { background: rgba(255, 255, 255, .1); color: var(--accent-3); }
.feature p { color: var(--ink-2); font-size: .9688rem; }
.section--dark .feature p { color: rgba(255, 255, 255, .66); }

/* 8.3 Ablauf / Schritte */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 24px; border-top: 1px solid var(--line); }
.section--dark .step { border-top-color: var(--line-dark); }
.step::before {
  counter-increment: s;
  content: "0" counter(s);
  display: block;
  margin-bottom: 14px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent-3);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 8px; font-size: 1.125rem; }
.step p { font-size: .9375rem; color: var(--ink-2); }
.section--dark .step p { color: rgba(255, 255, 255, .64); }

/* 8.4 Zahlen */
.stat { text-align: left; }
.stat__num {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stat__num em { font-style: normal; color: var(--accent-3); }
.stat__label { display: block; margin-top: 12px; font-size: .9375rem; color: rgba(255, 255, 255, .6); }

/* 8.5 Bewertungen */
.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 28px 26px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.stars { display: flex; gap: 3px; margin-bottom: 18px; color: var(--warm); }
.quote blockquote { flex: 1; font-size: 1.0625rem; line-height: 1.6; letter-spacing: -.012em; }
.quote figcaption { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: .875rem; color: var(--ink-3); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 500; font-size: .9375rem; }

/* 8.6 Galerie */
/* Mosaik: 6 Spalten × 3 Reihen, das erste Bild doppelt so groß.
   Ergibt ein lückenloses Rechteck (4+2 / 4+2 / 2+2+2). */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(118px, 15vw, 200px);
  gap: clamp(10px, 1.2vw, 16px);
}
.gallery__item {
  position: relative;
  grid-column: span 2;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-3);
  cursor: zoom-in;
}
.gallery__item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 18px 15px;
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .68), transparent);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery__item:hover .gallery__cap { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: var(--r); box-shadow: var(--sh-3); }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .875rem; }
.lightbox__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  transition: background .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .26); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }

/* 8.7 Bild-/Textblock */
.media-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--sh-2);
}
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame--tall img { aspect-ratio: 4 / 5; }

.badge-card {
  position: absolute;
  bottom: 20px; left: 20px;
  padding: 15px 20px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: var(--sh-2);
}
.badge-card strong { display: block; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.badge-card span { font-size: .8125rem; color: var(--ink-3); }

.checklist li { position: relative; padding-left: 32px; margin-bottom: 13px; color: var(--ink-2); }
.checklist li:last-child { margin-bottom: 0; }
.checklist svg { position: absolute; left: 0; top: .28em; color: var(--accent); }
.section--dark .checklist li { color: rgba(255, 255, 255, .7); }
.section--dark .checklist svg { color: var(--accent-3); }

/* 8.8 CTA-Band */
.cta {
  position: relative;
  padding: clamp(40px, 6vw, 76px) clamp(26px, 5vw, 68px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 55%, var(--accent-3) 100%);
  color: #fff;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  top: -30%; right: -8%;
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}
.cta__in { position: relative; max-width: 620px; }
.cta p { margin-top: 16px; color: rgba(255, 255, 255, .84); font-size: 1.08rem; }
.cta .btn-row { margin-top: 30px; }

/* 8.9 Kontakt */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

.info-list li { display: flex; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line-soft); }
.info-list li:first-child { padding-top: 0; }
.info-list__icon {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.info-list dt { font-size: .8125rem; color: var(--ink-3); margin-bottom: 2px; }
.info-list dd { margin: 0; font-size: 1.02rem; font-weight: 500; letter-spacing: -.014em; }
.info-list dd a:hover { color: var(--accent); }
.info-list dd span { display: block; font-weight: 400; font-size: .9375rem; color: var(--ink-2); letter-spacing: 0; }

.form {
  padding: clamp(24px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.field label .req { color: var(--warm); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--bg-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--accent-3);
  box-shadow: 0 0 0 4px rgba(31, 125, 141, .14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c8382f; box-shadow: 0 0 0 4px rgba(200, 56, 47, .12); }
.field__err { font-size: .8125rem; color: #c8382f; min-height: 0; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); background: none; padding: 0; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form__status { font-size: .9375rem; font-weight: 500; }
.form__status[data-state="ok"] { color: #1c7a4f; }
.form__status[data-state="err"] { color: #c8382f; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.map-frame {
  margin-top: clamp(38px, 5vw, 62px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.map-frame__note { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-3); }

/* 8.10 FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; padding: 22px 2px;
  font-size: 1.06rem; font-weight: 500; letter-spacing: -.016em; text-align: left;
}
.faq__q svg { flex: none; opacity: .45; transition: transform .3s var(--ease); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 2px 24px; max-width: 68ch; color: var(--ink-2); font-size: .9688rem; }
.faq__a.is-open { display: block; }

/* 9 — Footer ------------------------------------------------------------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 52px); padding-block: clamp(48px, 6vw, 76px); }
.footer h4 { margin-bottom: 16px; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: .9375rem; color: var(--ink-2); transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__about { max-width: 320px; margin-top: 16px; font-size: .9375rem; color: var(--ink-2); }
.footer .brand { margin-right: 0; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.social a:hover { color: var(--accent); border-color: rgba(20, 96, 110, .35); transform: translateY(-2px); }
.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--ink-3);
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__bar a:hover { color: var(--accent); }

/* Zurück nach oben */
.totop {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 80;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease-out), visibility .3s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* 10 — Utilities & Motion ------------------------------------------------ */
/* Nur wenn JS läuft, wird überhaupt versteckt — sonst bliebe die Seite
   ohne JavaScript leer (siehe Inline-Script im <head> jeder Seite). */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms);
}

.skip {
  position: absolute;
  left: 50%; top: 8px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: .875rem;
  transform: translate(-50%, -200%);
  transition: transform .25s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

.center { text-align: center; }
.center-x { justify-content: center; }        /* für .btn-row und .eyebrow */
.pad-y { padding-block: clamp(20px, 6vw, 70px); }
.gap-sm { margin-bottom: 34px; }
.req { color: var(--warm); }

/* Hinweiskasten in Impressum / Datenschutz */
.notice {
  padding: 16px 18px;
  margin-bottom: 34px;
  border-radius: var(--r);
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: .9375rem;
}

/* aktuelle Seite in der Brotkrümelnavigation */
.crumbs__current { opacity: 1; color: var(--ink-2); }

.form .fine { margin-top: 14px; }
.mt-l { margin-top: clamp(32px, 4vw, 52px); }
.mt-m { margin-top: 26px; }
.nowrap { white-space: nowrap; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1000px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  :root { --nav-h: 54px; }
  .nav__list, .nav__cta { display: none; }
  .burger { display: flex; }
  /* Spezifität muss `.topbar__list li` überbieten */
  .topbar__list li.topbar__hide-sm { display: none; }
  .topbar__in { justify-content: center; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .split--flip .split__media { order: -1; }
  /* Zwei Bilder pro Reihe, alle gleich groß – keine Löcher im Raster */
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .gallery__item,
  .gallery__item:nth-child(1) { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 3; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item:nth-child(1) { grid-column: span 1; aspect-ratio: 4 / 3; }
  .hero { min-height: 78vh; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .topbar, .mobile, .totop, .hero__media, .form, .lightbox { display: none !important; }
  body { color: #000; }
  .section { padding-block: 18px; }
}
