/* =========================================================
   MÖSSNER-SCHÄFER — Showroom Editorial
   Tokens, base, components, sections
   ========================================================= */

:root {
  /* surfaces — warm ceramic-cream tones */
  --bone:        #F0EBDE;          /* page base, warm bone/cream */
  --cream:       #FAF6EC;          /* surface, brighter cream */
  --paper:       #E6E0D0;          /* alt surface, deeper cream */
  --ink:         #1E1A14;          /* warm dark charcoal (not cool black) */
  --ink-2:       #2B261E;
  --muted:       #6A6253;
  --line:        #D5CCB7;          /* warm beige line / "fuge" */
  --line-2:      #B9AE92;
  --clay:        #8C6D4F;          /* warm clay accent for borders/details */

  /* dark surfaces — warm ceramic charcoal, not cold black */
  --kiln:        #2A2520;          /* warm dark — base for dark sections */
  --kiln-2:      #1F1B16;          /* deeper */
  --kiln-line:   rgba(232, 220, 196, 0.16);
  --kiln-line-2: rgba(232, 220, 196, 0.08);
  --kiln-text:   #F0EBDE;          /* cream text on kiln */
  --kiln-text-2: rgba(240, 235, 222, 0.72);

  /* brand — all warm ceramic; no green/blue anywhere */
  --moss:        #B69478;          /* warm stone-taupe — replaces all old "moss" */
  --moss-deep:   #8C6D4F;          /* deeper clay tone */
  --moss-tint:   rgba(140, 109, 79, 0.10);
  --slate:       #4A4035;          /* warm deep brown for any "slate" reference */
  --slate-deep:  #2B261E;
  --slate-tint:  rgba(74, 64, 53, 0.08);
  --stone:       #8C6D4F;          /* alias → clay */
  --stone-tint:  rgba(140, 109, 79, 0.10);

  /* typography — single family at multiple weights, German-modern clean */
  --display: "Manrope", "Inter", -apple-system, system-ui, sans-serif;
  --sans:    "Manrope", "Inter", -apple-system, system-ui, sans-serif;
  --mono:    "Manrope", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* spatial */
  --gutter: 24px;
  --max: 1440px;
  --pad: clamp(24px, 5vw, 80px);

  /* radii — intentionally small/precise */
  --r-1: 2px;
  --r-2: 4px;

  /* shadows — color-tinted, layered */
  --shadow-1: 0 1px 0 rgba(27, 26, 21, 0.04),
              0 8px 24px -12px rgba(27, 37, 53, 0.10),
              0 24px 48px -32px rgba(27, 37, 53, 0.18);
  --shadow-2: 0 2px 0 rgba(27, 26, 21, 0.05),
              0 24px 48px -20px rgba(27, 37, 53, 0.22),
              0 60px 120px -40px rgba(27, 37, 53, 0.30);
}

/* =========================================================
   RESET + BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bone);
  background-image:
    linear-gradient(rgba(140, 109, 79, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 109, 79, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: 0 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--moss); color: var(--cream); }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.display {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.display em,
.display .accent {
  font-style: normal;
  font-weight: 500;
  color: inherit;
}
.display.tight { letter-spacing: -0.04em; line-height: 0.96; }

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--clay);
  display: inline-block;
}
.kicker.no-dash::before { display: none; }

.lede {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  font-weight: 300;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

/* =========================================================
   LAYOUT
   ========================================================= */
.shell { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }

/* fuge-line system — the visual fingerprint of the site */
.fuge-row {
  border-top: 1px solid var(--line);
}
.fuge-col {
  border-left: 1px solid var(--line);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(240, 235, 222, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 280ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav.scrolled {
  background: rgba(240, 235, 222, 0.94);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #FAF6EC;
  border: 1px solid var(--line);
  padding: 2px;
  border-radius: 2px;
}
.brand-name {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 500;
  line-height: 1;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}
.brand-stack { display: flex; flex-direction: column; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-self: center;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 8px 0;
  transition: color 220ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { background: var(--moss); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-1);
  transition: background 220ms ease, transform 220ms ease;
}
.nav-cta:hover { background: var(--clay); transform: translateY(-1px); }
.nav-cta:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.nav-cta:active { transform: translateY(0); }
.nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--moss);
}

/* Hamburger toggle — animates into a tile-fuge cross when open */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 110;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bars {
  position: relative;
  width: 22px; height: 16px;
  display: inline-block;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 360ms cubic-bezier(0.65, 0, 0.35, 1),
              top 280ms cubic-bezier(0.65, 0, 0.35, 1) 80ms;
}
.nav-toggle .bars::before { top: 4px; }
.nav-toggle .bars::after  { top: 11px; }
.nav.menu-open .nav-toggle .bars::before {
  top: 7.5px; transform: rotate(45deg);
  transition: top 280ms cubic-bezier(0.65, 0, 0.35, 1),
              transform 360ms cubic-bezier(0.65, 0, 0.35, 1) 240ms;
}
.nav.menu-open .nav-toggle .bars::after {
  top: 7.5px; transform: rotate(-45deg);
  transition: top 280ms cubic-bezier(0.65, 0, 0.35, 1),
              transform 360ms cubic-bezier(0.65, 0, 0.35, 1) 240ms;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    margin-right: calc(var(--pad) * -1 + 4px); /* pull toggle flush to viewport edge */
  }
  .nav-inner {
    grid-template-columns: auto 1fr;     /* only brand + toggle remain on mobile */
    padding: 14px var(--pad);
    gap: 16px;
  }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 9px; }
}

/* lock body scroll when menu open */
body.menu-locked { overflow: hidden; }

/* MOBILE NAV — Tile mosaic full-screen overlay
   Items appear like ceramic samples being placed into a grid */
.nav-mobile {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 105;
  background: var(--bone);
  padding: 96px var(--pad) 36px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 320ms ease, visibility 0s linear 320ms;
}
/* tile-grid background — mirrors the body's pattern but stronger */
.nav-mobile::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 109, 79, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 109, 79, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.nav.menu-open .nav-mobile {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 280ms ease, visibility 0s;
}
.nav-mobile .menu-eyebrow {
  position: relative;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms ease 80ms, transform 320ms ease 80ms;
}
.nav-mobile .menu-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--clay);
}
.nav.menu-open .nav-mobile .menu-eyebrow {
  opacity: 1; transform: translateY(0);
}
.nav-mobile-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  background: var(--line);
  border: 1px solid var(--line);
}
.nav-mobile-grid .tile {
  background: var(--cream);
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--display);
  font-size: clamp(28px, 7vw, 40px);
  letter-spacing: -0.035em;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  /* tile reveal */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
              background 220ms ease,
              color 220ms ease;
}
.nav-mobile-grid .tile .arrow {
  display: inline-block;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.2em; color: var(--clay);
  font-weight: 600;
  opacity: 0.6;
  transition: transform 220ms ease, opacity 220ms ease;
}
.nav-mobile-grid .tile:hover,
.nav-mobile-grid .tile:active {
  background: var(--paper);
  color: var(--clay);
}
.nav-mobile-grid .tile:hover .arrow { transform: translateX(4px); opacity: 1; }
.nav-mobile-grid .tile.cta-tile {
  background: var(--ink);
  color: var(--cream);
}
.nav-mobile-grid .tile.cta-tile:hover {
  background: var(--clay); color: var(--cream);
}
.nav-mobile-grid .tile.cta-tile .arrow { color: var(--moss); opacity: 1; }
.nav-mobile-grid .tile.cta-tile .arrow .pulse {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss); margin-right: 8px; vertical-align: middle;
}
.nav.menu-open .nav-mobile-grid .tile {
  opacity: 1; transform: translateY(0);
}
/* stagger the tile reveal on open — feels like tiles being set */
.nav.menu-open .nav-mobile-grid .tile:nth-child(1) { transition-delay: 80ms; }
.nav.menu-open .nav-mobile-grid .tile:nth-child(2) { transition-delay: 140ms; }
.nav.menu-open .nav-mobile-grid .tile:nth-child(3) { transition-delay: 200ms; }
.nav.menu-open .nav-mobile-grid .tile:nth-child(4) { transition-delay: 260ms; }
.nav.menu-open .nav-mobile-grid .tile:nth-child(5) { transition-delay: 320ms; }
.nav.menu-open .nav-mobile-grid .tile:nth-child(6) { transition-delay: 380ms; }

.nav-mobile-foot {
  position: relative;
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms ease 460ms, transform 320ms ease 460ms;
}
.nav-mobile-foot a { color: var(--ink); font-weight: 600; letter-spacing: 0.04em; text-transform: none; font-family: var(--display); font-size: 16px; }
.nav-mobile-foot .small { font-size: 10.5px; opacity: 0.7; }
.nav.menu-open .nav-mobile-foot { opacity: 1; transform: translateY(0); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--r-1);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              background 220ms ease,
              color 220ms ease,
              box-shadow 220ms ease;
}
.btn:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
}
.btn-primary:hover { background: var(--clay); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn-primary .arrow { transition: transform 220ms ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  font-weight: 600;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-1px); }

.btn-lg { padding: 20px 28px; font-size: 15px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: 100px;
  padding-bottom: 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: stretch;
  padding: 36px 0 72px;
}
.hero-text { position: relative; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.hero-meta .kicker { color: inherit; }
.hero-meta .meta-stat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 20px;
  border-left: 1px solid var(--line-2);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 300;
}
.hero h1 .line { display: block; }
.hero h1 em {
  font-style: normal;
  font-weight: 500;
  color: inherit;
}
.hero h1 .ornament {
  display: inline-block;
  width: 96px;
  height: 1px;
  background: var(--ink);
  vertical-align: middle;
  margin: 0 18px 18px 0;
}

.hero-lede {
  margin-top: 28px;
  max-width: 480px;
  font-family: var(--display);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.trust-cell {
  padding: 20px 18px 4px 0;
  border-right: 1px solid var(--line);
}
.trust-cell:not(:first-child) { padding-left: 22px; }
.trust-cell:last-child { border-right: 0; }
.trust-cell .num {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1;
  display: block;
  color: var(--ink);
}
.trust-cell .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  display: block;
  line-height: 1.4;
}

/* hero image stack — fills the right column from the top */
.hero-visual {
  position: relative;
  min-height: 560px;
  height: 100%;
}
.hero-image {
  position: absolute;
  overflow: hidden;
  border-radius: var(--r-1);
  background: var(--cream);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17, 22, 26, 0) 55%, rgba(17, 22, 26, 0.20) 100%);
}
.hero-image-main {
  inset: 0 0 0 56px;     /* fills top→bottom, slight indent from left to make room for accent */
  z-index: 2;
  box-shadow: var(--shadow-2);
}
.hero-image-accent {
  width: 44%;
  aspect-ratio: 4 / 3;
  bottom: 32px;          /* hovers above the bottom edge of main */
  left: -8px;
  z-index: 3;
  border: 6px solid var(--bone);
  box-shadow: var(--shadow-1);
}
.hero-image-tag {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
}
.hero-image-tag .dot { display: inline-block; width: 6px; height: 6px; background: var(--moss); border-radius: 50%; margin-right: 8px; vertical-align: middle; }

/* hidden — tile motif is now an explicit element below text instead */
.hero-pattern { display: none; }

/* a tile-sample band that sits between hero text and trust strip */
.hero-tiles {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 460px;
}
.hero-tiles .sample {
  aspect-ratio: 1 / 1;
  background: var(--paper);
  position: relative;
}
.hero-tiles .sample[data-tone="bone"]    { background: #E5DAC4; }
.hero-tiles .sample[data-tone="clay"]    { background: #B69478; }
.hero-tiles .sample[data-tone="ink"]     { background: #2A2520; }
.hero-tiles .sample[data-tone="moss"]    { background: #6E7A4C; }
.hero-tiles .sample[data-tone="cream"]   { background: #F4ECD8; }
.hero-tiles .sample[data-tone="slate"]   { background: #4A5562; }

/* scroll hint */
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-bottom .marquee {
  display: flex;
  gap: 36px;
  overflow: hidden;
}
.hero-bottom .marquee span { white-space: nowrap; }
.hero-bottom .marquee .dot { color: var(--stone); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 480px; order: 2; }
  .hero-image-main { inset: 0 0 40px 30px; }
}
@media (max-width: 640px) {
  .hero-visual { height: 380px; }
  .hero-image-main { inset: 0 0 30px 20px; }
  .hero-trust { grid-template-columns: repeat(3, 1fr); }
  .trust-cell .num { font-size: 24px; }
  .trust-cell { padding: 14px 8px 4px 0; }
  .trust-cell:not(:first-child) { padding-left: 12px; }
  .hero-bottom .marquee span:nth-child(n+3) { display: none; }
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section {
  padding: clamp(80px, 11vw, 160px) 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(38px, 5.6vw, 76px);
  letter-spacing: -0.038em;
  line-height: 1.02;
  font-weight: 300;
}
.section-head h2 em {
  font-style: normal; font-weight: 500; color: inherit;
}
.section-head .right p {
  font-family: var(--display);
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 460px;
  margin: 0 0 0 auto;
}
.section-head .kicker { margin-bottom: 24px; }

@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .section-head .right p { margin: 0; }
}

/* =========================================================
   LEISTUNGEN
   ========================================================= */
.leistungen {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
/* outer "tile" wrapper — visible fuge between tiles */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  background: var(--line);     /* fuge color shows through gap */
  border: 1px solid var(--line);
}
.leistung {
  grid-column: span 4;
  padding: 36px 32px;
  background: var(--cream);
  position: relative;
  transition: background 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.leistung:hover { background: var(--paper); }
.leistung .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--clay);
  font-weight: 600;
}
.leistung h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-top: 18px;
  line-height: 1.15;
  color: var(--ink);
}
.leistung p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 14px;
  max-width: 32ch;
}
.leistung .arrow-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 4px;
  transition: color 220ms ease, border-color 220ms ease;
}
.leistung .arrow-link:hover { color: var(--clay); }
.leistung .arrow-link .arrow { transition: transform 220ms ease; }
.leistung:hover .arrow-link .arrow { transform: translateX(4px); }

@media (max-width: 880px) {
  .leistung { grid-column: span 12; padding-right: 0; border-right: 0; }
  .leistung:nth-child(3n) { padding-right: 0; }
}

/* =========================================================
   FLIESEN-CHECK
   ========================================================= */
.check {
  background: var(--kiln);
  color: var(--kiln-text);
  position: relative;
  overflow: hidden;
}
/* subtle tile-grid pattern in the corners — material, not techy */
.check::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240, 235, 222, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 235, 222, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 80% 60% at 100% 0%, #000 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 0% 100%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 100% 0%, #000 0%, transparent 60%),
                      radial-gradient(ellipse 60% 50% at 0% 100%, #000 0%, transparent 60%);
  pointer-events: none;
}
.check::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
}
.check .shell { position: relative; z-index: 2; }
.check .kicker { color: var(--kiln-text); opacity: 0.78; }
.check .kicker::before { background: var(--moss); }
.check .section-head h2 { color: var(--kiln-text); }
.check .section-head h2 em { color: var(--kiln-text); font-weight: 500; }
.check .section-head .right p { color: var(--kiln-text-2); }

.check-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--kiln-2);
  border: 1px solid var(--kiln-line);
  border-radius: var(--r-2);
  overflow: hidden;
  min-height: 620px;
  position: relative;
}
/* fuge "tile" feel: a thin clay-toned vertical accent on the seam */
.check-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--moss) 30%, var(--moss) 70%, transparent);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.check-side {
  padding: 48px 48px 40px;
  border-right: 1px solid var(--kiln-line);
  background:
    linear-gradient(180deg, rgba(140, 109, 79, 0.10), transparent 70%);
  display: flex; flex-direction: column;
  position: relative;
}
/* subtle tile pattern in the side panel corner */
.check-side::before {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 50%; height: 50%;
  background-image:
    linear-gradient(rgba(240, 235, 222, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 235, 222, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(135deg, transparent 40%, #000 100%);
  -webkit-mask-image: linear-gradient(135deg, transparent 40%, #000 100%);
  pointer-events: none;
}
.check-side .badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--kiln-text);
  padding: 8px 14px;
  border: 1px solid var(--kiln-line);
  border-radius: 100px;
  align-self: flex-start;
  font-weight: 600;
  background: rgba(240, 235, 222, 0.04);
}
.check-side .badge .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--moss);
  position: relative;
}
.check-side .badge .pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--moss); opacity: 0.6;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.check-side h3 {
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-top: 28px;
  font-weight: 300;
  color: var(--kiln-text);
  position: relative; z-index: 2;
}
.check-side h3 em { font-style: normal; font-weight: 500; color: inherit; }
.check-side p {
  color: var(--kiln-text-2);
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 38ch;
  font-weight: 400;
  position: relative; z-index: 2;
}
.check-side .check-meta {
  margin-top: auto;
  padding-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--kiln-line);
  position: relative; z-index: 2;
}
.check-side .check-meta .item .lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--kiln-text); opacity: 0.55;
  display: block; margin-bottom: 6px; font-weight: 600;
}
.check-side .check-meta .item .val {
  font-family: var(--display); font-size: 17px; color: var(--kiln-text); font-weight: 400;
}

.check-form {
  padding: 36px 40px 40px;
  display: flex; flex-direction: column;
  position: relative;
  min-height: 600px;
}

.check-progress {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.check-progress .step-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--kiln-text-2);
}
.check-progress .step-label strong { color: var(--kiln-text); font-weight: 600; }

/* progress bars styled like a row of tiles with a clay fill */
.check-bars { display: flex; gap: 5px; flex: 1; margin: 0 24px; }
.check-bars .bar {
  flex: 1; height: 3px; background: rgba(240, 235, 222, 0.08);
  position: relative; overflow: hidden; border-radius: 1px;
}
.check-bars .bar .fill {
  position: absolute; inset: 0;
  background: var(--clay);
  transform: scaleX(0); transform-origin: left;
  transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
}
.check-bars .bar.active .fill { transform: scaleX(1); }

.check-screen {
  flex: 1;
  display: none;
  flex-direction: column;
  animation: screenIn 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
.check-screen.active { display: flex; }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.check-screen .q {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--kiln-text);
  font-weight: 400;
  margin-bottom: 22px;
}
/* options laid out like ceramic sample tiles */
.check-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.check-option {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 18px;
  background: rgba(240, 235, 222, 0.03);
  border: 1px solid var(--kiln-line);
  text-align: left;
  font-size: 15px;
  color: var(--kiln-text);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  border-radius: var(--r-1);
}
.check-option:hover { background: rgba(240, 235, 222, 0.07); border-color: rgba(140, 109, 79, 0.7); transform: translateY(-1px); }
.check-option:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.check-option .marker {
  width: 14px; height: 14px;
  border: 1px solid rgba(240, 235, 222, 0.35);
  border-radius: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-option .marker::after {
  content: ""; width: 6px; height: 6px; background: var(--clay);
  opacity: 0; transform: scale(0.4);
  transition: opacity 200ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.check-option.selected { background: rgba(140, 109, 79, 0.16); border-color: var(--clay); }
.check-option.selected .marker { border-color: var(--clay); background: rgba(140, 109, 79, 0.20); }
.check-option.selected .marker::after { opacity: 1; transform: scale(1); }

.check-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 24px;
}
.check-back {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--kiln-text-2);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 0;
  font-weight: 600;
  transition: color 220ms ease;
}
.check-back:hover:not(:disabled) { color: var(--kiln-text); }
.check-back:disabled { opacity: 0.3; cursor: not-allowed; }

.check-next {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--kiln-text); color: var(--kiln-2);
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  border-radius: var(--r-1);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
.check-next:hover:not(:disabled) { background: var(--clay); color: var(--kiln-text); transform: translateY(-1px); }
.check-next:disabled { opacity: 0.4; cursor: not-allowed; }

/* lead form */
.check-lead .lead-intro {
  color: var(--kiln-text-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 50ch;
  font-weight: 400;
}
.check-lead .fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px;
}
.check-lead .field { display: flex; flex-direction: column; gap: 6px; }
.check-lead .field.full { grid-column: 1 / -1; }
.check-lead label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--kiln-text-2); font-weight: 600;
}
.check-lead input, .check-lead textarea {
  font-family: var(--sans); font-size: 15px;
  background: rgba(240, 235, 222, 0.04);
  border: 1px solid var(--kiln-line);
  color: var(--kiln-text);
  padding: 14px 16px;
  border-radius: var(--r-1);
  transition: border-color 220ms ease, background 220ms ease;
}
.check-lead input:focus, .check-lead textarea:focus {
  outline: none;
  border-color: var(--clay);
  background: rgba(140, 109, 79, 0.08);
}
.check-lead .consent {
  font-size: 11.5px;
  color: var(--kiln-text-2);
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 14px;
  line-height: 1.55;
}
.check-lead .consent input { margin-top: 2px; accent-color: var(--clay); }
.check-lead .err {
  font-family: var(--mono); font-size: 11px; color: #E8A07A; letter-spacing: 0.16em; text-transform: uppercase;
  margin-top: 4px; font-weight: 600;
}

/* result */
.check-result { text-align: left; padding-top: 8px; }
.check-result .summary {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--kiln-line);
  margin-top: 22px;
}
.check-result .summary .item {
  padding: 14px 18px 14px 0;
  border-right: 1px solid var(--kiln-line-2);
  border-bottom: 1px solid var(--kiln-line-2);
}
.check-result .summary .item:nth-child(2n) { border-right: 0; padding-left: 18px; }
.check-result .summary .item .lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--kiln-text-2);
  display: block; margin-bottom: 4px; font-weight: 600;
}
.check-result .summary .item .val {
  font-family: var(--display); font-size: 17px; color: var(--kiln-text); font-weight: 400;
}
.check-result .recommendation {
  margin-top: 24px;
  padding: 22px;
  background: rgba(140, 109, 79, 0.14);
  border: 1px solid rgba(140, 109, 79, 0.4);
  border-radius: var(--r-2);
}
.check-result .recommendation .label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--clay); display: block; margin-bottom: 8px; font-weight: 600;
}
.check-result .recommendation .title {
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); color: var(--kiln-text);
  letter-spacing: -0.025em; line-height: 1.2; font-weight: 400;
}
.check-result .recommendation .note {
  margin-top: 10px; color: var(--kiln-text-2); font-size: 14px; line-height: 1.55;
}

.check-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.check-success.active { display: block; }
.check-success .icon {
  width: 56px; height: 56px;
  border: 1px solid var(--clay); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--clay);
}
.check-success h4 {
  font-family: var(--display); font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; line-height: 1.1;
  font-weight: 400; color: var(--kiln-text);
}
.check-success p {
  color: var(--kiln-text-2); max-width: 38ch; margin: 16px auto 0; line-height: 1.6;
}

@media (max-width: 880px) {
  .check-wrap { grid-template-columns: 1fr; min-height: 0; }
  .check-wrap::before { display: none; } /* hide vertical fuge on stacked layout */
  .check-side { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); padding: 32px 28px; }
  .check-form { padding: 28px; min-height: 520px; }
  .check-options { grid-template-columns: 1fr; }
  .check-lead .fields { grid-template-columns: 1fr; }
}

/* =========================================================
   GALERIE — Featured projects
   ========================================================= */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  grid-auto-rows: minmax(220px, auto);
}
.gal-item {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.0s cubic-bezier(0.22, 1, 0.36, 1), filter 700ms ease;
}
.gal-item:hover img { transform: scale(1.04); }
.gal-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(27, 26, 21, 0.55) 100%);
  pointer-events: none;
}
.gal-item .meta {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--cream);
}
.gal-item .meta .cat {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
}
.gal-item .meta .title {
  font-family: var(--display); font-size: 18px; letter-spacing: -0.012em; font-weight: 300;
}

.gal-1 { grid-column: span 7; grid-row: span 2; }
.gal-2 { grid-column: span 5; }
.gal-3 { grid-column: span 5; }
.gal-4 { grid-column: span 4; }
.gal-5 { grid-column: span 4; }
.gal-6 { grid-column: span 4; }

@media (max-width: 880px) {
  .gal-1 { grid-column: span 12; grid-row: span 1; }
  .gal-2, .gal-3, .gal-4, .gal-5, .gal-6 { grid-column: span 6; }
}

/* =========================================================
   PHILOSOPHIE / ABOUT TEASER
   ========================================================= */
.philo {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.philo-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.philo-text h2 {
  font-family: var(--display);
  font-size: clamp(38px, 5.4vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-weight: 300;
}
.philo-text h2 em { font-style: normal; font-weight: 500; color: inherit; }
.philo-text p {
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
}
.philo-values {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.philo-values .val {
  padding: 22px 22px;
  background: var(--cream);
}
.philo-values .val .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--clay); display: block; margin-bottom: 12px; font-weight: 600;
}
.philo-values .val h4 {
  font-family: var(--display); font-size: 22px; letter-spacing: -0.025em; font-weight: 500;
}
.philo-values .val p {
  font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 8px; font-family: var(--sans);
}

.philo-visual {
  position: relative;
  height: clamp(520px, 64vh, 720px);
}
.philo-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-1);
}
/* "1988" feels like a glazed tile sample stamped onto the photo */
.philo-visual .stamp {
  position: absolute;
  left: 28px; bottom: 28px;
  background: var(--cream);
  padding: 24px 26px 22px;
  border: 1px solid var(--line);
  width: clamp(190px, 22vw, 230px);
  box-shadow: 0 2px 0 rgba(27, 26, 21, 0.04),
              0 16px 36px -12px rgba(27, 26, 21, 0.20),
              0 32px 64px -24px rgba(27, 26, 21, 0.18);
  z-index: 3;
}
.philo-visual .stamp::before {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(140, 109, 79, 0.22);
  pointer-events: none;
}
.philo-visual .stamp .year {
  font-family: var(--display); font-size: clamp(48px, 5.5vw, 60px); letter-spacing: -0.05em; line-height: 1; font-weight: 300; color: var(--ink);
}
.philo-visual .stamp .lbl {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--clay);
  margin-top: 12px; line-height: 1.5; font-weight: 600;
}

@media (max-width: 980px) {
  .philo-grid { grid-template-columns: 1fr; gap: 48px; }
  .philo-visual { height: 480px; }
  .philo-visual .stamp { left: 20px; bottom: 20px; }
}

/* =========================================================
   PARTNER MARQUEE
   ========================================================= */
.partner-strip {
  background: var(--bone);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.partner-strip .head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
  margin-bottom: 36px;
}
.partner-strip h3 {
  font-family: var(--display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.024em; font-weight: 300;
}
.partner-strip h3 em { font-style: normal; font-weight: 500; color: inherit; }
.partner-strip .head .link {
  font-size: 13px; letter-spacing: 0.04em; padding-bottom: 4px; border-bottom: 1px solid var(--ink);
  transition: color 220ms ease, border-color 220ms ease;
}
.partner-strip .head .link:hover { color: var(--moss); border-color: inherit; }

.marquee-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 48px;
  width: max-content;
  animation: scroll 50s linear infinite;
}
.marquee-track .item {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.012em;
  font-weight: 300;
  color: var(--ink-2);
  white-space: nowrap;
  display: flex; align-items: center; gap: 48px;
}
.marquee-track .item::after {
  content: "+";
  font-family: var(--mono); font-size: 14px; color: var(--stone); font-weight: 400;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   STANDORT / KONTAKT
   ========================================================= */
.standort {
  position: relative;
}
.standort-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
}
.standort-info {
  padding: 56px 56px 48px;
  background: var(--cream);
}
.standort-info h2 {
  font-family: var(--display); font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -0.028em; line-height: 1.0; font-weight: 300;
}
.standort-info h2 em { font-style: normal; font-weight: 500; color: inherit; }

.standort-blocks {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.standort-blocks .block {
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.standort-blocks .block:nth-child(2n) { border-right: 0; padding: 24px; }
.standort-blocks .block:nth-child(n+3) { border-bottom: 0; }
.standort-blocks .block .lbl {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--clay);
  display: block; margin-bottom: 14px; font-weight: 600;
}
.standort-blocks .block .val {
  font-family: var(--display); font-size: 16.5px; line-height: 1.55; font-weight: 500; color: var(--ink);
}
.standort-blocks .block .val a:hover { color: var(--clay); }
.standort-blocks .block .small {
  display: block;
  font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.55;
}

/* map area — even if iframe fails, the tile-grid fallback reads as an architectural map */
.standort-map {
  position: relative;
  background: var(--paper);
  background-image:
    linear-gradient(rgba(140, 109, 79, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 109, 79, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  min-height: 480px;
  overflow: hidden;
}
.standort-map iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(0.6) contrast(0.95);
  position: absolute; inset: 0;
}
.standort-map .pin {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}
.standort-map .pin-dot {
  width: 12px; height: 12px; background: var(--moss); border-radius: 50%; position: relative;
  box-shadow: 0 0 0 4px var(--bone);
}
.standort-map .pin-dot::after {
  content: ""; position: absolute; inset: -8px; border: 1px solid var(--moss); border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
}

@media (max-width: 980px) {
  .standort-grid { grid-template-columns: 1fr; }
  .standort-info { padding: 36px; }
  .standort-map { min-height: 360px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--kiln);
  color: var(--kiln-text-2);
  padding: 96px 0 32px;
  position: relative;
  overflow: hidden;
}
/* tile grid in the corner */
.footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240, 235, 222, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 235, 222, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 100% 0%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 100% 0%, #000 0%, transparent 65%);
  pointer-events: none;
}
.footer::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
}
.footer .shell { position: relative; z-index: 2; }
.footer-display {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 104px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-weight: 300;
  color: var(--kiln-text);
  margin-bottom: 64px;
  max-width: 14ch;
}
.footer-display em { font-style: normal; font-weight: 500; color: inherit; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-top: 1px solid var(--kiln-line);
  padding-top: 56px;
  border-bottom: 1px solid var(--kiln-line);
}
.footer-brand {
  display: flex; flex-direction: column;
  gap: 18px;
}
.footer-brand .brand-mark {
  width: 48px; height: 48px;
  background: #FAF6EC; border: 1px solid rgba(0,0,0,0.05);
  padding: 3px; border-radius: 2px;
}
.footer-brand p {
  font-family: var(--display); font-size: 16px; line-height: 1.6; color: var(--kiln-text-2); max-width: 38ch; font-weight: 400;
}

.footer-col h5 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--kiln-text); opacity: 0.55;
  margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14.5px; color: var(--kiln-text); opacity: 0.85; line-height: 1.55; }
.footer-col a { transition: color 220ms ease; }
.footer-col a:hover { color: var(--kiln-text); opacity: 1; }
.footer-col .small { font-size: 12.5px; color: var(--kiln-text-2); margin-top: 8px; }

.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--kiln-text-2);
  font-weight: 500;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a:hover { color: var(--kiln-text); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-display { margin-bottom: 48px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-header {
  padding: 130px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-header .kicker { margin-bottom: 22px; }
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(44px, 5.8vw, 92px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-weight: 300;
  max-width: 16ch;
}
.page-header h1 em { font-style: normal; font-weight: 500; color: inherit; }
.page-header .lede {
  margin-top: 36px;
  max-width: 56ch;
}

/* =========================================================
   GALLERY PAGE
   ========================================================= */
.gal-masonry {
  columns: 3;
  column-gap: 8px;
}
.gal-masonry .card {
  break-inside: avoid;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.gal-masonry .card img {
  width: 100%; height: auto; display: block;
  transition: transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}
.gal-masonry .card:hover img { transform: scale(1.04); }
.gal-masonry .card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(27, 26, 21, 0.55));
  pointer-events: none;
}
.gal-masonry .card .meta {
  position: absolute; left: 16px; bottom: 14px;
  z-index: 2; color: var(--cream);
}
.gal-masonry .card .meta .cat {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
}
.gal-masonry .card .meta .title {
  font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; font-weight: 400; margin-top: 4px;
}
@media (max-width: 980px) { .gal-masonry { columns: 2; } }
@media (max-width: 560px) { .gal-masonry { columns: 1; } }

/* gallery filter chips */
.gal-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 48px 0 32px;
}
.gal-chip {
  padding: 10px 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--line-2);
  background: var(--cream);
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.gal-chip:hover { border-color: var(--clay); color: var(--clay); }
.gal-chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* =========================================================
   PARTNER PAGE
   ========================================================= */
.partner-list {
  columns: 3;
  column-gap: 48px;
}
.partner-list .p-item {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  display: flex; align-items: baseline; gap: 14px;
  color: var(--ink);
  transition: color 220ms ease, padding-left 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.partner-list .p-item:hover { color: var(--moss); padding-left: 8px; }
.partner-list .p-item .idx {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--stone);
  min-width: 28px;
}
@media (max-width: 880px) { .partner-list { columns: 1; } }

.partner-cta {
  margin-top: 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--kiln);
  color: var(--kiln-text);
  border-radius: var(--r-2);
  overflow: hidden;
  position: relative;
}
/* tile-grid corner */
.partner-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240, 235, 222, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 235, 222, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 50% 60% at 100% 100%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 100% 100%, #000 0%, transparent 60%);
  pointer-events: none;
}
.partner-cta .left { padding: 64px 56px; position: relative; z-index: 2; }
.partner-cta .left h3 {
  font-family: var(--display); font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.035em; line-height: 1.05; font-weight: 300; color: var(--kiln-text);
}
.partner-cta .left h3 em { font-style: normal; font-weight: 500; color: inherit; }
.partner-cta .left p {
  margin-top: 22px; color: var(--kiln-text-2); font-size: 16px; line-height: 1.6; max-width: 40ch;
}
.partner-cta .right {
  padding: 64px 56px;
  background: rgba(140, 109, 79, 0.10);
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--kiln-line);
  position: relative; z-index: 2;
}
.partner-cta .right .stat { padding: 18px 0; border-bottom: 1px solid var(--kiln-line); }
.partner-cta .right .stat:last-child { border-bottom: 0; }
.partner-cta .right .stat .num {
  font-family: var(--display); font-size: 56px; letter-spacing: -0.04em; line-height: 1; font-weight: 300; color: var(--kiln-text);
}
.partner-cta .right .stat .lbl {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay); display: block; margin-top: 10px; font-weight: 600;
}
@media (max-width: 880px) {
  .partner-cta { grid-template-columns: 1fr; }
  .partner-cta .left, .partner-cta .right { padding: 40px 28px; }
  .partner-cta .right { border-left: 0; border-top: 1px solid var(--kiln-line); }
}

/* =========================================================
   ÜBER UNS PAGE
   ========================================================= */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 80px;
}
.story-grid .text p {
  font-family: var(--display);
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  margin: 0 0 24px;
  font-weight: 300;
}
.story-grid .img {
  position: relative;
}
.story-grid .img img { width: 100%; object-fit: cover; height: 100%; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 80px;
}
.values-grid .val {
  padding: 36px 28px;
  background: var(--cream);
}
.values-grid .val .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--clay); display: block; margin-bottom: 24px; font-weight: 600;
}
.values-grid .val h4 {
  font-family: var(--display); font-size: 22px; letter-spacing: -0.025em; font-weight: 500; line-height: 1.15;
}
.values-grid .val p {
  font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 14px;
}
@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   KONTAKT PAGE
   ========================================================= */
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
  margin-top: 64px;
}
.kontakt-info { padding: 56px 56px 48px; border-right: 1px solid var(--line); }
.kontakt-info h3 {
  font-family: var(--display); font-size: 32px; letter-spacing: -0.022em; line-height: 1.05; font-weight: 400;
}
.kontakt-info .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line);
}
.kontakt-info .item .lbl {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--clay); display: block; margin-bottom: 10px; font-weight: 600;
}
.kontakt-info .item .val {
  font-family: var(--display); font-size: 16.5px; line-height: 1.55; color: var(--ink); font-weight: 500;
}
.kontakt-info .item .val a:hover { color: var(--clay); }

.kontakt-form { padding: 56px 56px 48px; background: var(--paper); }
.kontakt-form h3 {
  font-family: var(--display); font-size: 32px; letter-spacing: -0.035em; font-weight: 500;
}
.kontakt-form p { color: var(--muted); margin-top: 10px; font-size: 14.5px; line-height: 1.6; }
.kontakt-form form { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.kontakt-form label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--clay);
  display: block; margin-bottom: 8px; font-weight: 600;
}
.kontakt-form input, .kontakt-form textarea {
  font-family: var(--sans); font-size: 15px;
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2);
  padding: 8px 0 12px;
  color: var(--ink);
  transition: border-color 220ms ease;
}
.kontakt-form input:focus, .kontakt-form textarea:focus { outline: none; border-color: var(--clay); }
.kontakt-form textarea { resize: vertical; min-height: 110px; }
.kontakt-form .submit-row {
  display: flex; align-items: center; justify-content: space-between; margin-top: 12px;
}
.kontakt-form .consent {
  font-size: 11.5px; color: var(--muted); line-height: 1.55; margin-top: 8px;
}
@media (max-width: 980px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-info { border-right: 0; border-bottom: 1px solid var(--line); padding: 40px 28px; }
  .kontakt-form { padding: 40px 28px; }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
/* HERO ENTRANCE — auto-plays on page load (no scroll needed)
   Each child of .hero[data-reveal] gets its own staggered keyframe.
   `both` keeps the from-state visible until animation begins, so
   nothing flashes before the animation runs. Gated on html.js so
   non-JS users see content immediately. */
@keyframes heroLineIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroTileIn {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: none; }
  to   { opacity: 1; clip-path: inset(0 0 0 0);    transform: none; }
}
@keyframes heroTagIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroAccentIn {
  from { opacity: 0; transform: translate(-12px, 12px); }
  to   { opacity: 1; transform: translate(0, 0); }
}

html.js .hero [data-reveal] {
  animation: heroLineIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.js .hero [data-reveal][data-delay="1"] { animation-delay: 120ms; }
html.js .hero [data-reveal][data-delay="2"] { animation-delay: 240ms; }
html.js .hero [data-reveal][data-delay="3"] { animation-delay: 360ms; }
html.js .hero [data-reveal][data-delay="4"] { animation-delay: 480ms; }

/* hero-visual = tile-snap clip-path slide */
html.js .hero [data-reveal="tile"] {
  animation: heroTileIn 1100ms cubic-bezier(0.62, 0.05, 0.18, 0.98) 200ms both;
}
/* The accent image inside hero-visual gets its own subtle delayed slide */
html.js .hero .hero-image-accent {
  animation: heroAccentIn 720ms cubic-bezier(0.22, 1, 0.36, 1) 1100ms both;
}
/* The tag floats in last */
html.js .hero .hero-image-tag {
  animation: heroTagIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 1300ms both;
}
/* The trust strip parent doesn't animate — children stagger instead */
html.js .hero .hero-trust[data-reveal] {
  animation: none;
  opacity: 1;
  transform: none;
}
html.js .hero .hero-trust .trust-cell {
  animation: heroLineIn 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.js .hero .hero-trust .trust-cell:nth-child(1) { animation-delay: 560ms; }
html.js .hero .hero-trust .trust-cell:nth-child(2) { animation-delay: 640ms; }
html.js .hero .hero-trust .trust-cell:nth-child(3) { animation-delay: 720ms; }

/* hero-bottom marquee fades in last */
html.js .hero .hero-bottom {
  animation: heroLineIn 600ms cubic-bezier(0.22, 1, 0.36, 1) 900ms both;
}

/* Page-header on inner pages — same entrance pattern */
html.js .page-header [data-reveal] {
  animation: heroLineIn 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.js .page-header [data-reveal][data-delay="1"] { animation-delay: 100ms; }
html.js .page-header [data-reveal][data-delay="2"] { animation-delay: 200ms; }
html.js .page-header [data-reveal][data-delay="3"] { animation-delay: 300ms; }

/* SAFE REVEAL SYSTEM ----------------------------------------
   Default: every reveal element is visible.
   On load, JS adds `.pre` to elements that are BELOW the fold,
   then on intersect adds `.in` to animate them up + fade.
   Above-fold elements are never hidden. If JS fails, content shows. */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
              clip-path 1100ms cubic-bezier(0.62, 0.05, 0.18, 0.98);
}
html.js [data-reveal].pre {
  opacity: 0;
  transform: translateY(20px);
}
html.js [data-reveal].pre[data-reveal="tile"] {
  /* tile-snap: clip from left like a tile being placed */
  opacity: 0;
  transform: none;
  clip-path: inset(0 100% 0 0);
}
html.js [data-reveal].in {
  opacity: 1;
  transform: translateY(0);
  clip-path: none;
}

[data-reveal][data-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-delay="3"] { transition-delay: 240ms; }
[data-reveal][data-delay="4"] { transition-delay: 320ms; }
[data-reveal][data-delay="5"] { transition-delay: 400ms; }
[data-reveal][data-delay="6"] { transition-delay: 480ms; }

/* Stagger reveal — children of [data-reveal-stagger] each animate sequentially */
html.js [data-reveal-stagger] > * {
  opacity: 1;
  transform: none;
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
html.js [data-reveal-stagger].pre > * {
  opacity: 0;
  transform: translateY(14px);
}
html.js [data-reveal-stagger].in > *:nth-child(1) { transition-delay: 0ms;   opacity: 1; transform: none; }
html.js [data-reveal-stagger].in > *:nth-child(2) { transition-delay: 70ms;  opacity: 1; transform: none; }
html.js [data-reveal-stagger].in > *:nth-child(3) { transition-delay: 140ms; opacity: 1; transform: none; }
html.js [data-reveal-stagger].in > *:nth-child(4) { transition-delay: 210ms; opacity: 1; transform: none; }
html.js [data-reveal-stagger].in > *:nth-child(5) { transition-delay: 280ms; opacity: 1; transform: none; }
html.js [data-reveal-stagger].in > *:nth-child(6) { transition-delay: 350ms; opacity: 1; transform: none; }
html.js [data-reveal-stagger].in > *:nth-child(7) { transition-delay: 420ms; opacity: 1; transform: none; }
html.js [data-reveal-stagger].in > *:nth-child(8) { transition-delay: 490ms; opacity: 1; transform: none; }

/* respect motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* =========================================================
   UTILITY
   ========================================================= */
.center { text-align: center; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* =========================================================
   MOBILE TIGHTENING
   ========================================================= */
@media (max-width: 880px) {
  :root { --pad: clamp(20px, 5vw, 32px); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; gap: 20px; }
  .section-head h2 { font-size: clamp(28px, 7vw, 40px); letter-spacing: -0.035em; }
  .lede { font-size: 17px; }

  .hero { padding-top: 84px; }
  .hero-grid { padding: 24px 0 56px; gap: 32px; }
  .hero-meta { flex-wrap: wrap; gap: 12px; }
  .hero-meta .meta-stat { padding-left: 0; border-left: 0; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); line-height: 0.98; letter-spacing: -0.04em; }
  .hero h1 .ornament { display: none; }
  .hero-lede { margin-top: 20px; max-width: none; font-size: 15.5px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn-lg { padding: 16px 22px; font-size: 14px; flex: 1 1 auto; justify-content: center; }
  .hero-trust { margin-top: 36px; }
  .trust-cell { padding: 16px 12px 4px 0; }
  .trust-cell:not(:first-child) { padding-left: 14px; }
  .trust-cell .num { font-size: 22px; }
  .trust-cell .lbl { font-size: 9.5px; letter-spacing: 0.12em; }

  .hero-bottom { padding: 18px 0; flex-wrap: wrap; gap: 8px; font-size: 9.5px; letter-spacing: 0.12em; }

  .leistung { padding: 28px 22px; }
  .leistung h3 { font-size: 22px; }

  .check { padding-bottom: 56px; }
  .check-side { padding: 28px 22px; }
  .check-side h3 { font-size: 26px; line-height: 1.1; }
  .check-form { padding: 24px 22px; min-height: 0; }
  .check-progress { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
  .check-bars { margin: 0; width: 100%; }
  .check-screen .q { font-size: 20px; line-height: 1.25; margin-bottom: 18px; }
  .check-option { padding: 16px 14px; font-size: 14.5px; }
  .check-next { padding: 14px 20px; font-size: 13px; }
  .check-back { font-size: 10.5px; }

  .standort-blocks { grid-template-columns: 1fr; }
  .standort-blocks .block,
  .standort-blocks .block:nth-child(2n) {
    padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .standort-blocks .block:last-child { border-bottom: 0; }
  .standort-info { padding: 32px 24px; }
  .standort-map { min-height: 320px; }

  .partner-strip { padding: 56px 0; }
  .partner-strip .head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .partner-strip h3 { font-size: 26px; }

  .gal-filters { gap: 6px; margin: 32px 0 20px; }
  .gal-chip { padding: 8px 12px; font-size: 10.5px; letter-spacing: 0.18em; }

  .page-header { padding: 96px 0 48px; }
  .page-header h1 { font-size: clamp(36px, 9vw, 56px); line-height: 1.0; max-width: none; }
  .page-header .lede { font-size: 16px; }

  .philo-grid { gap: 36px; }
  .philo-text h2 { font-size: clamp(28px, 7vw, 42px); }
  .philo-visual { height: 380px; }
  .philo-visual .stamp { left: 16px; bottom: 16px; padding: 18px 20px 16px; max-width: 180px; }
  .philo-visual .stamp .year { font-size: 40px; }

  .footer { padding: 64px 0 28px; }
  .footer-display { font-size: clamp(40px, 11vw, 64px); margin-bottom: 40px; max-width: 12ch; }
  .footer-grid { gap: 32px; padding-top: 36px; padding-bottom: 36px; }
  .footer-bottom { font-size: 9.5px; letter-spacing: 0.16em; }

  .kontakt-grid { margin-top: 36px; }
  .kontakt-info, .kontakt-form { padding: 32px 24px; }
  .kontakt-info h3, .kontakt-form h3 { font-size: 24px; }
  .kontakt-info .row { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; margin-top: 24px; }
}

@media (max-width: 480px) {
  .gal-item .meta .title { font-size: 14px; }
  .gal-item .meta .cat { font-size: 9px; letter-spacing: 0.18em; }
  .gal-1, .gal-2, .gal-3, .gal-4, .gal-5, .gal-6 { grid-column: span 12; }
  .galerie-grid { grid-auto-rows: 240px; }

  .leistungen-grid { grid-template-columns: 1fr; }
  .leistung { grid-column: span 1; }

  .values-grid { grid-template-columns: 1fr; }
  .philo-values { grid-template-columns: 1fr; }
  .check-meta { grid-template-columns: 1fr; }

  .partner-cta .left, .partner-cta .right { padding: 32px 22px; }
  .partner-cta .right .stat .num { font-size: 44px; }
}
