/* =========================================================
   MH Parkett — Design
   Modern-editorial auf der bestehenden Hausfarbe: Taupe #95826c,
   Sandton #f2ece3, dunkelbrauner Fussbereich, Messing als Akzent.

   Gestaltungsprinzipien
   • Grosse, eng gesetzte Display-Typografie (Fraunces) gegen ruhigen
     Inter-Fliesstext – der Kontrast trägt die Seite, nicht Dekor.
   • Haarlinien statt Kartenrahmen und Schatten. Flächen dürfen leer sein.
   • Bilder randlos, gross, mit sanftem Parallaxe-Versatz.
   • Nummerierte Abschnittsmarken (01 — Über uns) als Orientierung.
   • Feine Körnung über allem, damit die Flächen nicht digital-glatt wirken.

   Kontrast: --wood ist FLÄCHE (Kopfzeile). Weisse Schrift auf Farbe nutzt
   --wood-600 (5.3:1), farbiger Text auf Weiss --wood-700 (6.5:1).
   ========================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  --wood:      #95826c;   /* Hausfarbe                               */
  --wood-600:  #7a6955;   /* weisse Schrift darauf: AA               */
  --wood-700:  #6b5b47;   /* farbiger Text auf Weiss: AA             */
  --wood-800:  #4c4033;
  --wood-050:  #faf7f2;
  --wood-100:  #f2ece3;   /* Sandfläche der bisherigen Seite         */
  --wood-200:  #e2d8c9;
  --brass:     #c08a3e;
  --brass-050: #f7ecda;

  --ink:       #1a1713;
  --ink-soft:  #3d372f;
  --muted:     #6e6459;
  --line:      #e6ded2;
  --line-soft: #f0e9df;

  --bg:        #fdfbf7;
  --paper:     #ffffff;
  --surface:   #f7f2ea;
  --footer:    #211d18;

  --radius:     6px;
  --radius-lg:  10px;
  --radius-sm:  4px;
  --shadow-sm:  0 1px 2px rgba(40,30,20,.05);
  --shadow:     0 18px 50px -30px rgba(40,30,20,.42);
  --shadow-lg:  0 34px 80px -40px rgba(40,30,20,.5);

  --font-head: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 78px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Platzhalter-Optik: angedeutete Dielen, falls ein Foto fehlt. */
  --plank:
    repeating-linear-gradient(90deg, rgba(90,60,33,.055) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg,  rgba(90,60,33,.035) 0 1px, transparent 1px 27px),
    linear-gradient(158deg, var(--wood-100), var(--wood-200));
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Feine Körnung – nimmt den Flächen das Sterile. Blockiert keine Klicks. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.026em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h3, h4 { line-height: 1.18; letter-spacing: -.014em; }

::selection { background: var(--wood-200); color: var(--wood-800); }
:focus-visible { outline: 2px solid var(--wood-700); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }

.section { padding: clamp(72px, 11vw, 168px) 0; }
.section-tight { padding: clamp(48px, 7vw, 90px) 0; }
.section.alt { background: var(--wood-100); }
.section.soft { background: var(--wood-050); }
.section + .section:not(.alt):not(.soft) { border-top: 1px solid var(--line-soft); }

/* Abschnittsmarke: 01 — Über uns */
.eyebrow {
  display: inline-flex; align-items: baseline; gap: .8em;
  font-family: var(--font-body); font-weight: 500; font-size: .74rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.eyebrow::before { content: attr(data-n); color: var(--wood-700); font-weight: 600; }
.eyebrow:not([data-n])::before { content: none; }
.eyebrow.center { justify-content: center; }

.section-head { max-width: 22ch; margin-bottom: clamp(40px, 6vw, 76px); }
.section-head.wide { max-width: 34ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-top: 20px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-top: 22px; max-width: 56ch; text-wrap: pretty; }

/* Kopfzeile eines Abschnitts zweispaltig: Titel links, Text rechts */
.head-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 76px); }
.head-split .section-head { margin-bottom: 0; max-width: 26ch; }
.head-split .section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.head-split > p { color: var(--muted); font-size: 1.06rem; max-width: 54ch; text-wrap: pretty; }
@media (max-width: 900px) { .head-split { grid-template-columns: 1fr; align-items: start; gap: 20px; } }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 15px 30px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wood-600); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-brass { background: var(--brass); color: #1a1713; }
.btn-brass:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--wood-700); border-color: var(--wood-200); }
.btn-ghost:hover { background: var(--wood-700); color: #fff; border-color: var(--wood-700); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brass); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-white:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Textlink mit wanderndem Pfeil */
.link-more {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 600; font-size: .94rem; color: var(--wood-700);
  padding-bottom: 4px; border-bottom: 1px solid var(--wood-200);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.link-more span { transition: transform .3s var(--ease); }
.link-more:hover { color: var(--ink); border-bottom-color: var(--ink); }
.link-more:hover span { transform: translateX(6px); }

/* ---------- Scroll-Fortschritt ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 1200; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--brass); }

/* ---------- Header ----------
   Über dem Hero transparent, beim Scrollen in der Hausfarbe. Auf den
   rechtlichen Seiten (ohne Hero) von Anfang an gefüllt. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled,
.page-sub .site-header {
  background: rgba(149,130,108,.94);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.14);
}
/* Seiten ohne Hero beginnen unterhalb der fixierten Kopfzeile. */
body.page-sub { padding-top: var(--header-h); }
.header-inner { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 26px); min-height: var(--header-h); }
.header-inner .brand { margin-right: auto; }

.brand { display: inline-flex; align-items: center; }
.brand-logo {
  width: clamp(112px, 12vw, 142px); height: 46px; flex: none;
  display: grid; place-items: center;
  background-size: contain; background-repeat: no-repeat; background-position: left center;
}
.brand-mark { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.32rem; white-space: nowrap; }
.brand-mark b { color: var(--brass); }
.brand-logo.has-img .brand-mark { display: none; }

.main-nav { display: flex; align-items: center; gap: clamp(2px, .6vw, 10px); }
.main-nav a {
  position: relative; padding: 8px 4px; font-weight: 500; font-size: .93rem;
  color: rgba(255,255,255,.86); white-space: nowrap; transition: color .25s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: clamp(6px, 1.5vw, 22px); }
.nav-actions a.nav-cta {
  background: #fff; color: var(--ink); padding: 11px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .88rem; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-actions a.nav-cta:hover { background: var(--brass); }
.nav-actions a.nav-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9rem; color: #fff; opacity: .9; }
.nav-actions a.nav-tel:hover { opacity: 1; }
.nav-actions a.nav-tel svg { width: 15px; height: 15px; }
.site-header :focus-visible { outline-color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s ease; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 999; background: var(--wood-800);
  padding: 34px var(--gutter) 44px; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .32s var(--ease), visibility 0s linear .32s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transition: opacity .32s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.7rem, 8vw, 2.4rem);
  letter-spacing: -.02em; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #fff;
  transition: color .25s var(--ease), padding-left .3s var(--ease);
}
.mobile-menu a:hover { color: var(--brass); padding-left: 10px; }
.mobile-menu :focus-visible { outline-color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--wood-800); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: -4% 0 0 0; background: var(--plank); background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-slide:first-child { opacity: 1; }
.hero-slide.is-on { opacity: 1; transform: scale(1); }
.hero-slide.is-off { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; transform: none; } }

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(24,20,16,.42) 0%, rgba(24,20,16,.16) 26%, rgba(24,20,16,.74) 76%, rgba(24,20,16,.93) 100%),
    linear-gradient(100deg, rgba(24,20,16,.72) 0%, rgba(24,20,16,.4) 40%, transparent 74%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(64px, 9vw, 120px) clamp(74px, 9vw, 116px); }
.hero .eyebrow { color: rgba(255,255,255,.6); flex-wrap: wrap; row-gap: 4px; }
.hero .eyebrow .w { color: rgba(255,255,255,.48); transition: color .7s var(--ease); }
.hero .eyebrow .w.on { color: var(--brass); }
.hero .eyebrow .sep { color: rgba(255,255,255,.26); }
.hero h1 { color: #fff; font-size: clamp(3.4rem, 13vw, 10rem); line-height: .88; letter-spacing: -.045em; margin-top: 22px; }
.hero-lead { display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 4vw, 60px); align-items: end; margin-top: clamp(26px, 4vw, 46px); }
.hero-lead p { color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.35vw, 1.16rem); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .hero-lead { grid-template-columns: 1fr; align-items: start; } }

/* Fortschrittsstriche der Bildfolge */
.hero-dots { position: absolute; z-index: 3; left: var(--gutter); bottom: 26px; display: flex; gap: 8px; }
.hero-dots i { display: block; width: 44px; height: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.hero-dots i::after { content: ""; display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots i.on::after { transform: scaleX(1); transition: transform 5.2s linear; }
@media (prefers-reduced-motion: reduce) { .hero-dots i.on::after { transition: none; } }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 24px; z-index: 3; color: rgba(255,255,255,.6); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; }
.hero-scroll::after { content: ""; width: 46px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.6), transparent); }
@media (max-width: 720px) { .hero-scroll { display: none; } .hero-dots { bottom: 20px; } .hero-dots i { width: 32px; } }

/* ---------- Kennzahlen ---------- */
.hero-bar { background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.hero-bar .inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-bar .stat { padding: clamp(32px, 4.5vw, 58px) clamp(12px, 2vw, 30px); border-left: 1px solid var(--line-soft); }
.hero-bar .stat:first-child { border-left: 0; padding-left: 0; }
.hero-bar .num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--ink); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero-bar .num .suf { color: var(--brass); }
.hero-bar .lbl { margin-top: 14px; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 18ch; }
@media (max-width: 860px) {
  .hero-bar .inner { grid-template-columns: repeat(2, 1fr); }
  .hero-bar .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-bar .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 5/4; background: var(--plank); background-size: cover; background-position: center;
}
.split-media.tall { aspect-ratio: 4/5; }
.split-media:not(.has-img)::after { content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center; color: var(--wood-700); font-family: var(--font-head); font-weight: 600; opacity: .5; font-size: 1.05rem; }
.split-copy h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 20px; }
.split-copy p { color: var(--ink-soft); margin-top: 22px; max-width: 52ch; }
.split-copy p + p { margin-top: 16px; }
.split-copy .btn, .split-copy .link-more { margin-top: 32px; }

.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; }
.check-list li { display: flex; gap: 16px; align-items: baseline; color: var(--ink-soft); padding: 14px 0; border-top: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list li::before { content: "—"; flex: none; color: var(--brass); }

/* Bildunterschrift */
.media-caption { margin-top: 22px !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); line-height: 1.6; }
.media-caption em { color: var(--wood-700); font-style: normal; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; }

/* ---------- Zitat ---------- */
.pullquote { max-width: 1000px; margin-inline: auto; text-align: center; }
.pullquote p { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.9rem); line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.pullquote .by { display: block; margin-top: 28px; font-family: var(--font-body); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- Randlose Bildstrecke (Showroom) ---------- */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.strip .g-item { aspect-ratio: 3/2; }
@media (max-width: 720px) { .strip { grid-template-columns: 1fr; } }
.bleed { width: 100vw; margin-left: 50%; transform: translateX(-50%); }

/* ---------- Galerie / Mosaik ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery.g-3col { grid-template-columns: repeat(3, 1fr); }
.gallery.g-2col { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery.g-2col .g-item { aspect-ratio: 3/2; }

/* Mosaik: jede fünfte Kachel doppelt hoch – gibt Rhythmus, ohne dass die
   Spalten auseinanderlaufen. Rein positionsbasiert, bleibt deshalb auch
   erhalten, wenn die Galerie im Live-Editor neu aufgebaut wird.
   „dense" füllt entstehende Lücken automatisch auf. */
.gallery.mosaic {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(130px, 12vw, 196px);
  grid-auto-flow: dense; gap: clamp(10px, 1.1vw, 16px);
}
.gallery.mosaic .g-item { aspect-ratio: auto; height: 100%; }
.gallery.mosaic .g-item:nth-child(5n+1) { grid-row: span 2; }

.g-item {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--plank); background-size: cover; background-position: center;
  transition: transform .6s var(--ease), filter .5s var(--ease);
}
.g-item[data-img] { cursor: zoom-in; }
.g-item::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(24,20,16,.4));
  opacity: 0; transition: opacity .45s var(--ease);
}
.g-item:hover { transform: scale(1.015); filter: saturate(1.06); }
.g-item:hover::before { opacity: 1; }
.g-item:not(.has-img)::after {
  content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center;
  padding: 12px; text-align: center; color: var(--wood-700); opacity: .55;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}

/* ---------- Foto-Band ---------- */
.photo-band { position: relative; min-height: clamp(400px, 62vw, 720px); display: grid; place-items: center; overflow: hidden; background: var(--wood-800); }
/* Etwas Überstand oben und unten, damit der Parallaxe-Versatz keine Kante zeigt. */
.photo-band .bg { position: absolute; inset: -9% 0; background: var(--plank); background-size: cover; background-position: center; will-change: transform; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,20,16,.42), rgba(24,20,16,.66)); }
.photo-band .inner { position: relative; z-index: 2; text-align: center; padding: clamp(48px, 8vw, 110px) var(--gutter); max-width: 1000px; }
.photo-band p { font-family: var(--font-head); font-weight: 500; color: #fff; font-size: clamp(1.9rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; }
.photo-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.member { position: relative; }
.member .photo {
  position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius);
  background: var(--plank); background-size: cover; background-position: center top;
  display: grid; place-items: center;
  filter: saturate(.82); transition: filter .5s var(--ease), transform .6s var(--ease);
}
.member:hover .photo { filter: saturate(1.05); transform: translateY(-4px); }
.member .photo .mono { font-family: var(--font-head); font-weight: 600; font-size: 2.2rem; color: var(--wood-700); opacity: .5; }
.member .photo.has-img .mono { display: none; }
.member .body { padding: 18px 2px 0; }
.member h3 { font-size: 1.24rem; }
.member .role { color: var(--muted); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.member .body > p:not(.role) { color: var(--muted); font-size: .94rem; margin-top: 10px; }
.member .member-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .92rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .25s var(--ease); }
.member .member-tel:hover { border-bottom-color: var(--ink); }
.member .member-tel svg { width: 14px; height: 14px; color: var(--brass); }

/* ---------- Leistungs-Karten (verfügbar, aktuell ungenutzt) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.service { padding-top: 26px; border-top: 1px solid var(--line); }
.service .ic { width: 40px; height: 40px; display: grid; place-items: center; color: var(--wood-700); margin-bottom: 20px; }
.service .ic svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.32rem; }
.service p { color: var(--muted); margin-top: 12px; font-size: .97rem; }
.service ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.service ul li { position: relative; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.service ul li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* ---------- Kontakt / Formulare ---------- */
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(34px, 6vw, 92px); align-items: start; }
.contact-info { display: grid; }
.info-card { display: grid; grid-template-columns: 22px 1fr; gap: 18px; align-items: start; padding: 26px 0; border-top: 1px solid var(--line); }
.info-card:last-child { border-bottom: 1px solid var(--line); }
.info-card .ic { color: var(--brass); padding-top: 3px; }
.info-card .ic svg { width: 20px; height: 20px; }
.info-card h3 { font-size: 1.06rem; }
.info-card p { color: var(--ink-soft); font-size: .97rem; margin-top: 8px; }
.info-card a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
.info-card a:hover { border-bottom-color: var(--ink); }

/* Formular: Unterstrich-Felder statt Kästen */
.form-card { background: transparent; padding: 0; }
.form-card > h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.form-card > p { color: var(--muted); margin-top: 10px; margin-bottom: 34px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 26px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; width: 100%; max-width: 100%; min-width: 0; padding: 10px 0;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink);
  transition: border-color .25s var(--ease);
}
.field input:hover, .field textarea:hover { border-bottom-color: var(--wood-200); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); border-bottom-width: 2px; padding-bottom: 9px; }
.field input::placeholder, .field textarea::placeholder { color: #b6ab9c; }
.field textarea { resize: vertical; min-height: 132px; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus,
textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  transition: background-color 99999s ease-out 0s;
}
.checkbox-row { grid-column: 1 / -1; display: flex; gap: 13px; align-items: flex-start; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--wood-600); }
.checkbox-row label { font-weight: 400; color: var(--ink-soft); font-size: .92rem; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--ink-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 18px; cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.radio-row label:has(input:checked) { border-color: var(--ink); background: var(--wood-050); }
.radio-row input { accent-color: var(--wood-600); width: 16px; height: 16px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form-actions { margin-top: 12px; }
.form-actions .btn { width: 100%; padding-block: 18px; }
.form-embed :where(input, textarea, select) { max-width: 100%; }

/* Eigenes <label> im Feld – darf die Versalien der Feldbeschriftung nicht erben. */
.filedrop {
  position: relative; display: block; cursor: pointer;
  border: 1px dashed var(--wood-200); border-radius: var(--radius-sm); padding: 24px;
  text-align: center; color: var(--muted);
  font-size: .95rem; font-weight: 400; letter-spacing: normal; text-transform: none; line-height: 1.6;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.filedrop:hover { border-color: var(--wood-700); background: var(--wood-050); }
.filedrop b { color: var(--ink); }
.filedrop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.filedrop .dz-files { display: block; margin-top: 8px; font-weight: 600; color: var(--wood-700); }

.mhp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-flash { border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 24px; font-weight: 500; }
.form-flash.ok { background: #eaf5ec; color: #1d5230; border: 1px solid #c3e2cc; }
.form-flash.err { background: #fdecec; color: #7a1f1f; border: 1px solid #f3c5c5; }

/* ---------- Seiten-Kopf (rechtliche Seiten) ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(28px, 4vw, 52px); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-top: 18px; }
.page-hero p { color: var(--muted); font-size: 1.06rem; margin-top: 18px; max-width: 60ch; }
.crumbs { color: var(--muted); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.crumbs a:hover { color: var(--ink); }
.page-legal .page-hero + .section-tight { padding-top: clamp(6px, 1.6vw, 18px); }
.page-legal .legal > h2:first-child { margin-top: 0; }

/* ---------- Legal-Seiten ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.5rem; margin: 46px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin-top: 14px; }
.legal h2 + p, .legal h3 + p { margin-top: 0; }
.legal ul { margin: 14px 0 14px 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--ink); border-bottom: 1px solid var(--line); }
.legal a:hover { border-bottom-color: var(--ink); }
.legal .muted { color: var(--muted); font-size: .88rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 30px; margin-top: 18px; }
.legal dt { font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.legal dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 14px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: rgba(255,255,255,.62); }
.site-footer a { color: rgba(255,255,255,.62); transition: color .25s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: clamp(30px, 5vw, 70px); padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 60px); }
.footer-brand .brand-logo { width: clamp(140px, 15vw, 180px); height: 58px; }
.footer-brand .brand-mark { color: #fff; }
.footer-slogan { margin-top: 26px; font-family: var(--font-head); font-weight: 500; color: #fff; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.28; letter-spacing: -.02em; max-width: 20ch; }
.footer-col h4 { color: rgba(255,255,255,.5); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; font-family: var(--font-body); font-weight: 500; }
.footer-col a { display: block; padding: 6px 0; font-size: .97rem; }
.footer-contact p { margin-bottom: 14px; font-size: .97rem; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }

.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .25s var(--ease), border-color .25s var(--ease); }
.socials a:hover { background: var(--brass); border-color: var(--brass); }
.socials svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Floating buttons ---------- */
.to-top, .phone-fab { position: fixed; bottom: 24px; z-index: 900; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; transition: all .35s var(--ease); }
.to-top { right: 24px; background: var(--ink); color: #fff; font-size: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(10px); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.phone-fab { right: 24px; bottom: 86px; background: var(--brass); color: #1a1713; }
.phone-fab svg { width: 21px; height: 21px; }
.phone-fab:hover, .to-top:hover { transform: translateY(-3px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(18,15,12,.96); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius-sm); }
.lb-btn { position: absolute; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.22); width: 50px; height: 50px; border-radius: 50%; font-size: 1.6rem; display: grid; place-items: center; transition: background .25s var(--ease), border-color .25s var(--ease); }
.lb-btn:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* ---------- Reveal-Animation ----------
   Ausfallsicher: Inhalte sind standardmässig sichtbar. Nur wenn JS aktiv ist
   (html.js) werden sie vor dem Einblenden versteckt. Hakt oder fehlt das
   Skript (html.js-broke), bleiben alle Inhalte sichtbar. */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(30px); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js-broke .reveal, html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

/* ---------- Barrierefreiheit-Werkzeugleiste ---------- */
.mhp-a11y { position: fixed; left: 24px; bottom: 24px; z-index: 950; }
.mhp-a11y-toggle { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.mhp-a11y-toggle svg { width: 24px; height: 24px; }
.mhp-a11y-panel { position: absolute; left: 0; bottom: 60px; width: 254px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; }
.mhp-a11y-panel h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 500; margin-bottom: 12px; }
.mhp-a11y-panel .row { display: flex; gap: 8px; flex-wrap: wrap; }
.mhp-a11y-panel button { flex: 1 1 auto; min-width: 68px; padding: 9px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: transparent; font-weight: 500; font-size: .83rem; color: var(--ink); transition: border-color .2s ease, background .2s ease; }
.mhp-a11y-panel button:hover { border-color: var(--ink); background: var(--wood-050); }
.mhp-a11y-panel .reset { width: 100%; margin-top: 8px; flex: none; }

html.mhp-fs-1 body { font-size: 18px; }
html.mhp-fs-2 body { font-size: 19.5px; }
html.mhp-fs-3 body { font-size: 21px; }
html.mhp-contrast { --muted: #3a3229; --ink-soft: #14100c; --line: #cdc2b2; }
html.mhp-grayscale body { filter: grayscale(1); }
html.mhp-underline a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1300; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: rgba(255,255,255,.9); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg); max-width: 880px; margin-inline: auto; }
.cookie-banner p { margin: 0; font-size: .88rem; line-height: 1.55; flex: 1 1 340px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 11px 22px; font-size: .86rem; }

/* ---------- Live-Editor (nur für angemeldete Redakteure sichtbar) ---------- */
.mhp-editbar { position: fixed; left: 24px; bottom: 86px; z-index: 1500; display: flex; gap: 8px; align-items: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 12px; box-shadow: var(--shadow); font-size: .86rem; }
.mhp-editbar button { border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 600; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; transition: background .2s ease; }
.mhp-editbar button:hover { background: var(--brass); color: #1a1713; }
.mhp-editbar [data-ed="save"] { background: var(--brass); color: #1a1713; }
.mhp-editbar [data-ed="reset"] { background: rgba(255,80,80,.25); }
.mhp-editbar.saved [data-ed="toggle"]::after { content: " ✓ gespeichert"; }
.mhp-ed-tools { display: inline-flex; gap: 8px; }
html.mhp-editing [data-eid][contenteditable] { outline: 1px dashed rgba(107,91,71,.6); outline-offset: 3px; border-radius: 2px; min-height: 1em; }
html.mhp-editing [data-eid][contenteditable]:hover, html.mhp-editing [data-eid][contenteditable]:focus { outline-color: var(--ink); background: rgba(149,130,108,.08); }
html.mhp-editing [data-img][data-eid], html.mhp-editing img[data-eid] { cursor: pointer; }
html.mhp-editing [data-img][data-eid]:hover, html.mhp-editing img[data-eid]:hover { outline: 2px solid var(--brass); outline-offset: 3px; }
html.mhp-editing .reveal { opacity: 1 !important; transform: none !important; }
.mhp-linktip { position: fixed; z-index: 1600; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: 8px 10px; box-shadow: var(--shadow); font-size: .8rem; max-width: min(92vw, 460px); }
.mhp-linktip .mhp-lt-url { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .7; }
.mhp-linktip button { border: 0; border-radius: 4px; padding: 6px 10px; font-weight: 600; cursor: pointer; background: rgba(255,255,255,.14); color: #fff; }
.mhp-linktip button:hover { background: var(--brass); color: #1a1713; }

.mhp-gal-edit .g-item { position: relative; }
.mhp-g-del { position: absolute; top: 8px; right: 8px; z-index: 5; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(180,30,30,.92); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.mhp-g-del:hover { background: #d32f2f; }
.mhp-g-add { aspect-ratio: 1/1; border-radius: var(--radius-sm); border: 1px dashed var(--wood-700); background: var(--wood-050); color: var(--wood-700); font-family: var(--font-body); font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; transition: background .2s ease; }
.mhp-g-add b { font-size: 1.6rem; line-height: 1; }
.mhp-g-add span { font-size: .84rem; }
.mhp-g-add:hover { background: var(--wood-100); }
.gallery.mosaic .mhp-g-add { aspect-ratio: auto; height: 100%; min-height: 130px; }

/* ---------- Teaser-Kacheln (Startseite → Unterseiten) ---------- */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.teaser {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(320px, 34vw, 460px); padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate;
  background: var(--wood-800);
}
.teaser .bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--plank); background-size: cover; background-position: center;
  transition: transform .9s var(--ease);
}
.teaser::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(24,20,16,.12) 30%, rgba(24,20,16,.82) 100%);
  transition: background .5s var(--ease);
}
.teaser:hover .bg { transform: scale(1.05); }
.teaser:hover::after { background: linear-gradient(180deg, rgba(24,20,16,.24) 20%, rgba(24,20,16,.88) 100%); }
/* Weiss statt Messing: auf dem braunen Verlauf deutlich besser lesbar. */
.teaser .t-eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.teaser h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.05rem); margin-top: 12px; }
.teaser p { color: rgba(255,255,255,.78); font-size: .95rem; margin-top: 12px; max-width: 34ch; }
.teaser .t-go { display: inline-flex; align-items: center; gap: .6em; margin-top: 22px; font-weight: 600; font-size: .9rem; color: #fff; }
.teaser .t-go span { transition: transform .3s var(--ease); }
.teaser:hover .t-go span { transform: translateX(6px); }
@media (max-width: 960px) { .teasers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .teasers { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-s { margin-top: 20px; }
.mt-m { margin-top: 40px; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav, .nav-actions { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery.mosaic { grid-template-columns: repeat(3, 1fr); }
  .gallery.mosaic .g-item:nth-child(8n+4) { grid-column: auto; }
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .service-grid, .form-grid, .team-grid { grid-template-columns: 1fr; }
  .gallery, .gallery.g-3col, .gallery.g-2col { grid-template-columns: repeat(2, 1fr); }
  .gallery.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 40vw; }
  .gallery.mosaic .g-item:nth-child(5n+1) { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 86svh; }
  .hero-actions .btn { flex: 1 1 auto; }
  .to-top, .phone-fab { right: 16px; }
  .mhp-a11y { left: 16px; }
}
