/* ============================================================
   A. Schießl Baugeschäft GmbH — marketing website
   Standalone static site. Design tokens are ported verbatim
   from the design system (project/tokens/*).
   ============================================================ */

/* ---- Webfonts (Google Fonts) ---- */
@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ============================================================
   TOKENS — colors
   ============================================================ */
:root {
  /* --- Anthrazit / graphite grey (PRIMARY) --- */
  --graphite-50:  #f4f5f6;
  --graphite-100: #e7e9eb;
  --graphite-200: #ccd1d5;
  --graphite-300: #a8aeb5;
  --graphite-400: #79818a;
  --graphite-500: #3a424a; /* brand primary — anthracite */
  --graphite-600: #2d343b;
  --graphite-700: #232a30;
  --graphite-800: #1a1f24;
  --graphite-900: #11151a;

  /* --- Ziegelrot / brick red (ACCENT) --- */
  --red-50:  #fbeeec;
  --red-100: #f4d2cd;
  --red-200: #e6a59b;
  --red-300: #d77468;
  --red-400: #cb5042;
  --red-500: #c0392b; /* brand accent */
  --red-600: #a22f23;
  --red-700: #82261c;
  --red-800: #631d15;
  --red-900: #45140f;

  /* --- Stone / warm neutrals (from the cream ground) --- */
  --paper:     #ffffff;
  --stone-50:  #f7f4ee; /* cream — brand ground */
  --stone-100: #efeae0;
  --stone-200: #e2dacb;
  --stone-300: #cfc4af;
  --stone-400: #b0a48c;
  --stone-500: #8a7e68;
  --stone-600: #6b6151;
  --stone-700: #4e463a;
  --stone-800: #332e26;
  --stone-900: #1c1915;

  /* --- Heritage fir green (LOGO ONLY) --- */
  --logo-green:     #1c5234;
  --logo-green-ink: #123a25;

  /* --- Functional --- */
  --success: #2e7d4f;
  --warning: #c08a1e;
  --danger:  #c0392b;
  --info:    #2c6e8f;

  /* --- Semantic aliases --- */
  --brand-primary:    var(--graphite-500);
  --brand-primary-ink:var(--graphite-700);
  --brand-accent:     var(--red-500);
  --brand-accent-ink: var(--red-700);

  --text-strong:   var(--stone-900);
  --text-body:     var(--stone-800);
  --text-muted:    var(--stone-600);
  --text-faint:    var(--stone-500);
  --text-inverse:  var(--stone-50);
  --text-on-green: #f4f6f7;
  --text-link:     var(--graphite-600);

  --surface-page:   var(--stone-50);
  --surface-card:   var(--paper);
  --surface-sunken: var(--stone-100);
  --surface-raised: var(--paper);
  --surface-green:  var(--graphite-500);
  --surface-green-soft: var(--graphite-50);
  --surface-red-soft:   var(--red-50);

  --border-subtle: var(--stone-200);
  --border-default:var(--stone-300);
  --border-strong: var(--stone-400);
  --border-green:  var(--graphite-500);

  --focus-ring: var(--graphite-400);

  /* ---- Typography ---- */
  --font-display: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  --text-2xs:  0.6875rem;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.25rem;
  --text-3xl:  2.875rem;
  --text-4xl:  3.75rem;
  --text-5xl:  4.75rem;

  --leading-tight:   1.08;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-caps:   0.12em;

  /* ---- Spacing / radii / borders / elevation / motion ---- */
  --space-0:  0;
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;

  --radius-none: 0;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  --border-width: 1px;
  --border-width-strong: 2px;

  --shadow-xs: 0 1px 2px rgba(28, 25, 21, 0.06);
  --shadow-sm: 0 1px 3px rgba(28, 25, 21, 0.08), 0 1px 2px rgba(28, 25, 21, 0.06);
  --shadow-md: 0 4px 10px rgba(28, 25, 21, 0.08), 0 2px 4px rgba(28, 25, 21, 0.05);
  --shadow-lg: 0 12px 28px rgba(28, 25, 21, 0.12), 0 6px 10px rgba(28, 25, 21, 0.06);
  --shadow-primary: 0 6px 18px rgba(36, 42, 48, 0.20);

  --ease-standard: cubic-bezier(0.2, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 320ms;

  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1140px;
  --container-xl: 1320px;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: var(--leading-tight);
  font-weight: 600;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--text-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }

img { max-width: 100%; }

::selection { background: var(--graphite-200); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* Recurring brand devices ---------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-accent);
}
.eyebrow::before {
  content: ""; height: 6px; width: 28px; border-radius: 1px;
  background: repeating-linear-gradient(90deg, var(--red-500) 0 12px, transparent 12px 15px);
}
.eyebrow--light { color: rgba(247, 244, 238, .8); }

.brick-rule {
  height: 6px; width: 56px; border-radius: 1px;
  background: repeating-linear-gradient(90deg, var(--red-500) 0 14px, var(--paper) 14px 16px);
}

/* In-brand image placeholder (from Media.jsx) -------------- */
.ph {
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--stone-200), var(--stone-300));
}
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(28,25,21,.18) 21px 23px),
    repeating-linear-gradient(90deg, rgba(28,25,21,.18) 0 1px, transparent 1px 64px);
  background-size: auto, 64px 23px;
}
.ph__inner {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--stone-600);
}
.ph img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.ph__inner span {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  font-family: var(--font-body);
}
.ph--green { background: linear-gradient(135deg, var(--graphite-600), var(--graphite-800)); }
.ph--green::before { opacity: 0.12; }
.ph--green .ph__inner { color: rgba(247, 244, 238, .85); }

/* ============================================================
   COMPONENT — Button (from forms/Button.jsx)
   ============================================================ */
.btn {
  font-family: var(--font-body); font-weight: var(--weight-semibold);
  line-height: 1.1; letter-spacing: 0.005em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; font-size: var(--text-base);
  border-radius: var(--radius-md); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard),
              transform var(--duration-fast) var(--ease-standard);
}
.btn--sm { padding: 6px 14px; font-size: var(--text-sm); gap: 6px; }
.btn--lg { padding: 14px 28px; font-size: var(--text-md); gap: 10px; }

.btn--primary   { background: var(--graphite-500); color: var(--text-on-green); border-color: var(--graphite-500); }
.btn--accent    { background: var(--red-500); color: #fff; border-color: var(--red-500); }
.btn--secondary { background: var(--paper); color: var(--graphite-700); border-color: var(--border-default); }
.btn--ghost     { background: transparent; color: var(--graphite-700); border-color: transparent; }

.btn--primary:hover   { background: var(--graphite-600); border-color: var(--graphite-600); transform: translateY(-1px); }
.btn--accent:hover    { background: var(--red-600); border-color: var(--red-600); transform: translateY(-1px); }
.btn--secondary:hover { background: var(--stone-50); border-color: var(--graphite-500); transform: translateY(-1px); }
.btn--ghost:hover     { background: var(--graphite-50); transform: translateY(-1px); }

.btn svg, .btn i { flex-shrink: 0; }

/* ============================================================
   COMPONENT — Card (from display/Card.jsx)
   ============================================================ */
.card {
  background: var(--surface-card); border-radius: var(--radius-lg); overflow: hidden;
  position: relative; font-family: var(--font-body); color: var(--text-body);
  border: 1px solid var(--border-subtle); padding: var(--space-5);
}
.card--raised { box-shadow: var(--shadow-md); }
.card--flat   { border-color: transparent; background: var(--surface-sunken); }
.card--pad-sm { padding: var(--space-4); }
.card--pad-lg { padding: var(--space-6); }
.card--accent::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--red-500) 0 14px, var(--paper) 14px 16px);
}

/* ============================================================
   COMPONENT — Tabs (from navigation/Tabs.jsx)
   ============================================================ */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-subtle); font-family: var(--font-body); }
.tabs__tab {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent;
  cursor: pointer; padding: 12px 16px; margin-bottom: -1px;
  font-size: var(--text-base); font-family: var(--font-body); font-weight: var(--weight-medium);
  color: var(--text-muted); border-bottom: 2px solid transparent;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.tabs__tab.is-active { font-weight: var(--weight-semibold); color: var(--graphite-700); border-bottom-color: var(--graphite-500); }

/* ============================================================
   COMPONENT — Accordion (from navigation/Accordion.jsx)
   ============================================================ */
.accordion {
  font-family: var(--font-body); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden;
}
.accordion__item + .accordion__item { border-top: 1px solid var(--border-subtle); }
.accordion__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 0; background: var(--paper); cursor: pointer; text-align: left;
  padding: 16px 18px; font-family: var(--font-display); font-size: var(--text-md);
  font-weight: var(--weight-semibold); color: var(--text-strong);
  transition: background var(--duration-fast);
}
.accordion__item.is-open .accordion__head { background: var(--graphite-50); }
.accordion__sign {
  flex-shrink: 0; color: var(--graphite-600); font-size: 20px; line-height: 1;
  transition: transform var(--duration-base) var(--ease-standard);
}
.accordion__item.is-open .accordion__sign { transform: rotate(45deg); }
.accordion__panel {
  padding: 0 18px 18px; font-size: var(--text-base); color: var(--text-muted);
  line-height: var(--leading-relaxed);
}
.accordion__item:not(.is-open) .accordion__panel { display: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 20; }

.utility-bar { background: var(--graphite-700); color: rgba(247,244,238,.9); font-size: 13px; }
.utility-bar__inner {
  max-width: 1200px; margin: 0 auto; padding: 7px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.utility-bar .u-left { display: inline-flex; align-items: center; gap: 8px; }
.utility-bar .u-right { display: inline-flex; align-items: center; gap: 18px; }
.utility-bar .u-right span { display: inline-flex; align-items: center; gap: 7px; }
.utility-bar a { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; }

.main-bar { background: var(--surface-page); border-bottom: 1px solid var(--border-subtle); }
.main-bar__inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
.main-bar__logo { display: flex; align-items: center; }
.main-bar__logo img { height: 52px; }

.mobile-toggle {
  display: none; margin-left: auto; border: 1px solid var(--border-default);
  background: var(--paper); border-radius: var(--radius-sm); padding: 8px;
  cursor: pointer; color: var(--graphite-700);
}

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 8px 12px 14px; border-radius: var(--radius-sm);
  text-decoration: none; font-size: 15px; font-weight: 500;
  color: var(--text-body); font-family: var(--font-body);
  transition: color var(--duration-fast) var(--ease-standard);
}
.main-nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 5px;
  border-radius: 1px;
  background: repeating-linear-gradient(90deg, var(--red-500) 0 9px, transparent 9px 11px);
  opacity: 0; transition: opacity var(--duration-fast) var(--ease-standard);
}
.main-nav a:hover, .main-nav a.is-active {
  font-weight: 700; color: var(--graphite-700);
}
.main-nav a:hover::after, .main-nav a.is-active::after { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--graphite-700); color: var(--text-on-green); }
.site-footer__brick { height: 5px; background: repeating-linear-gradient(90deg, var(--red-500) 0 18px, var(--graphite-700) 18px 21px); }
.site-footer__top {
  max-width: 1200px; margin: 0 auto; padding: 52px 28px 28px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
}
.site-footer__logo {
  height: 60px; margin-bottom: 16px; background: var(--stone-50);
  padding: 10px 14px; border-radius: var(--radius-md); box-sizing: content-box;
}
.site-footer p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(247,244,238,.8); max-width: 280px; }
.footer-col__title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 12px; }
.footer-col__links { display: flex; flex-direction: column; gap: 8px; }
.footer-col__links a { color: rgba(247,244,238,.78); text-decoration: none; font-size: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: rgba(247,244,238,.85); }
.footer-contact span { display: inline-flex; gap: 9px; align-items: flex-start; }
.footer-contact a { display: inline-flex; gap: 9px; align-items: center; color: #fff; text-decoration: none; }
.footer-contact i { margin-top: 2px; }
.footer-contact a i { margin-top: 0; }
.site-footer__bottom { border-top: 1px solid rgba(247,244,238,.16); }
.site-footer__bottom-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(247,244,238,.6);
}
.site-footer__bottom-inner .legal { display: flex; gap: 20px; }
.site-footer__bottom-inner a { color: inherit; text-decoration: none; }

/* ============================================================
   HOME — hero
   ============================================================ */
.hero { background: var(--surface-page); position: relative; overflow: hidden; }
.hero__dots {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(var(--stone-300) 1.1px, transparent 1.1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(900px 480px at 88% 8%, #000, transparent 70%);
  mask-image: radial-gradient(900px 480px at 88% 8%, #000, transparent 70%);
}
.hero__blob {
  position: absolute; top: -160px; right: -140px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(58,66,74,.10), transparent 68%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 52px; align-items: center; padding: 60px 28px 76px; max-width: 1200px; margin: 0 auto;
}

/* mauerwerk "2. GEN." badge */
.gen-badge {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 6px 16px 6px 6px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-default); box-shadow: var(--shadow-sm);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(58,66,74,.12) 13px 14px),
    repeating-linear-gradient(90deg, rgba(58,66,74,.12) 0 1px, transparent 1px 44px);
  font-family: var(--font-body);
}
.gen-badge__brick {
  padding: 5px 9px; border-radius: 2px; background: var(--red-500); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.gen-badge__label {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--graphite-600);
}

.hero__title {
  font-family: var(--font-display); font-size: clamp(40px, 4.8vw, 60px); line-height: 1.03;
  letter-spacing: -0.02em; color: var(--text-strong); margin: 20px 0 0;
}
.hero__title .hl { position: relative; white-space: nowrap; }
.hero__title .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 12px;
  background: var(--red-200); opacity: 0.7; z-index: -1; transform: skewX(-12deg); border-radius: 2px;
}
.hero__title .sub { color: var(--graphite-500); }
.hero__lede { font-size: 19px; line-height: 1.6; color: var(--text-muted); margin: 22px 0 0; max-width: 500px; }
.hero__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.hero__stats { display: flex; align-items: center; gap: 0; margin-top: 40px; }
.hero__stats .sep { width: 1px; height: 42px; background: var(--border-default); margin: 0 26px; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--graphite-600); letter-spacing: -0.01em; }
.stat__label { margin-top: 7px; font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }

.hero__media { position: relative; min-height: 470px; }
.hero__media .accent-square { position: absolute; top: 18px; right: -14px; width: 150px; height: 150px; border-radius: var(--radius-lg); background: var(--red-100); }
.hero__media .accent-ring { position: absolute; bottom: -16px; left: 24px; width: 90px; height: 90px; border-radius: var(--radius-lg); border: 2px solid var(--graphite-200); }
.hero__media .main-img { position: relative; box-shadow: var(--shadow-lg); height: 430px; }
.hero__media .detail-img { position: absolute; right: -18px; bottom: 28px; width: 210px; z-index: 2; }
.hero__media .detail-img .ph { box-shadow: var(--shadow-lg); border: 4px solid var(--paper); height: 150px; }
.hero__media .float-card { position: absolute; top: -18px; left: -18px; z-index: 3; }
.float-card__card {
  display: flex; align-items: center; gap: 12px; background: var(--paper);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: var(--space-4);
}
.float-card__icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--graphite-50); color: var(--graphite-600);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-card__t { font-weight: 700; font-size: 14px; color: var(--text-strong); }
.float-card__d { font-size: 13px; color: var(--text-muted); }

/* ---- Trust strip ---- */
.trust-strip { background: var(--graphite-700); color: var(--text-on-green); }
.trust-strip__inner {
  max-width: 1200px; margin: 0 auto; padding: 20px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.trust-strip__inner span {
  display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500;
}
.trust-strip i { color: var(--red-300); }

/* ---- Section shells ---- */
.section { padding: 72px 0; }
.section--page { background: var(--surface-page); }
.section--paper { background: var(--paper); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-family: var(--font-display); font-size: 40px; margin: 14px 0 0; color: var(--text-strong); }
.section-head p { font-size: 18px; color: var(--text-muted); margin: 14px 0 0; }
.center-eyebrow { display: flex; justify-content: center; }

/* ---- Leistungen grid (home) ---- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; gap: 12px; }
.service-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--graphite-50);
  color: var(--graphite-600); display: inline-flex; align-items: center; justify-content: center;
}
.service-card h3 { font-family: var(--font-display); font-size: 20px; margin: 0; color: var(--text-strong); }
.service-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* ---- About split ---- */
.about { background: var(--paper); padding: 8px 0 80px; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.about h2 { font-family: var(--font-display); font-size: 38px; margin: 14px 0 0; color: var(--text-strong); }
.about p { font-size: 17px; line-height: 1.7; color: var(--text-body); margin: 18px 0 0; }
.about__list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text-body); }
.about__check {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--graphite-100);
  color: var(--graphite-700); display: inline-flex; align-items: center; justify-content: center;
}
.about .ph { height: 380px; }

/* ---- Referenzen ---- */
.section--ref { background: var(--surface-page); padding: 72px 0; border-top: 1px solid var(--border-subtle); }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ref-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); background: var(--paper); }
.ref-card .ph { border-radius: 0; height: 210px; }
.ref-card__body { padding: 14px 16px; }
.ref-card__type { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-strong); }
.ref-card__ort { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13.5px; color: var(--text-muted); }
.ref-card__ort i { color: var(--graphite-400); }

/* ---- Testimonial ---- */
.testimonial { background: var(--graphite-600); color: var(--text-on-green); padding: 64px 0; }
.testimonial__inner { max-width: 880px; margin: 0 auto; padding: 0 28px; text-align: center; }
.testimonial i { color: var(--red-300); }
.testimonial p { font-family: var(--font-display); font-size: 30px; line-height: 1.4; margin: 16px 0 0; color: #fff; }
.testimonial__by { margin-top: 22px; font-size: 15px; color: rgba(247,244,238,.85); }

/* ---- FAQ ---- */
.faq { background: var(--surface-page); padding: 72px 0; }
.faq__inner { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.faq__head { text-align: center; margin-bottom: 32px; }
.faq__head h2 { font-family: var(--font-display); font-size: 36px; margin: 14px 0 0; color: var(--text-strong); }

/* ---- White closing block ---- */
.closing { background: var(--paper); padding: 64px 0 80px; border-top: 1px solid var(--border-subtle); }
.closing__inner { max-width: 900px; margin: 0 auto; padding: 0 28px; text-align: center; }
.closing__brick { display: flex; justify-content: center; margin-bottom: 16px; }
.closing__brick span { height: 6px; width: 56px; border-radius: 1px; background: repeating-linear-gradient(90deg, var(--red-500) 0 14px, var(--paper) 14px 16px); }
.closing h2 { font-family: var(--font-display); font-size: 30px; margin: 0; color: var(--text-strong); }
.closing p { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 14px auto 0; max-width: 600px; }
.closing__contacts { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 26px; }
.closing__contacts a {
  display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong);
  text-decoration: none; font-family: var(--font-display); font-size: 20px; font-weight: 600;
}
.closing__contacts i { color: var(--graphite-500); }

/* ============================================================
   SUBPAGE — dark hero (Leistungen / Kontakt)
   ============================================================ */
.page-hero { background: var(--graphite-700); color: var(--text-on-green); padding: 52px 0 56px; }
.page-hero .crumbs { font-size: 13px; color: rgba(247,244,238,.7); margin-bottom: 14px; }
.page-hero .crumbs strong { color: #fff; }
.page-hero h1 { font-family: var(--font-display); margin: 0; color: #fff; line-height: 1.08; }
.page-hero p { color: rgba(247,244,238,.85); margin: 16px 0 0; }

/* ---- Leistungen detail ---- */
.leist-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 36px; }
.leist-detail .ph { height: 360px; }
.leist-detail .ph img { object-position: center 75%; }
.leist-detail h2 { font-family: var(--font-display); font-size: 32px; margin: 0; color: var(--text-strong); }
.leist-detail p { font-size: 17px; line-height: 1.7; color: var(--text-body); margin: 14px 0 0; }
.leist-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 0; }
.leist-points > div { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-body); }
.leist-points__check {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--graphite-100);
  color: var(--graphite-700); display: inline-flex; align-items: center; justify-content: center;
}

/* ---- Process ---- */
.process { background: var(--paper); padding: 64px 0 80px; border-top: 1px solid var(--border-subtle); }
.process__head { text-align: center; margin-bottom: 40px; }
.process__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-accent); }
.process__head h2 { font-family: var(--font-display); font-size: 34px; margin: 12px 0 0; color: var(--text-strong); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-card .n { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--stone-300); }
.process-card h3 { font-family: var(--font-display); font-size: 19px; margin: 6px 0 8px; color: var(--text-strong); }
.process-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* ---- Kontakt ---- */
.kontakt { background: var(--surface-page); padding: 56px 0 80px; }
.kontakt__inner { display: grid; grid-template-columns: .95fr 1.15fr; gap: 44px; align-items: stretch; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.kontakt__aside { display: flex; flex-direction: column; gap: 18px; }
.kontakt__aside .card { padding: 40px; }
.kontakt__aside h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 20px; color: var(--text-strong); }
.kontakt__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.kontakt__note {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  background: var(--stone-100); border-radius: var(--radius-md);
  font-size: var(--text-sm); color: var(--text-body);
}
.kontakt__note i { color: var(--brand-accent); flex-shrink: 0; }
.kontakt__map {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  min-height: 420px; border: 1px solid var(--border-subtle);
}
.kontakt__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-rows { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; gap: 13px; align-items: flex-start; }
.contact-row__icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--graphite-50);
  color: var(--graphite-600); display: inline-flex; align-items: center; justify-content: center;
}
.contact-row__label { font-size: 13px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; }
.contact-row__val { font-size: 15px; color: var(--text-body); white-space: pre-line; line-height: 1.5; }

/* ============================================================
   SUBPAGE — legal content (Impressum / Datenschutz)
   ============================================================ */
.legal-content { padding: 56px 0 80px; }
.legal-content .wrap { max-width: 820px; }
.legal-content section { margin-bottom: 40px; }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 {
  font-family: var(--font-display); font-size: 24px; color: var(--text-strong);
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle);
}
.legal-content h3 {
  font-family: var(--font-body); font-weight: var(--weight-semibold); font-size: 16px;
  color: var(--text-strong); margin: 22px 0 8px;
}
.legal-content p { color: var(--text-body); line-height: 1.7; margin: 0 0 12px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { margin: 0 0 12px; padding-left: 20px; color: var(--text-body); line-height: 1.7; }
.legal-content li { margin-bottom: 4px; }
.legal-content a { color: var(--brand-accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-content .legal-meta { font-size: 13px; color: var(--stone-500); margin-top: -6px; margin-bottom: 24px; }

/* ============================================================
   RESPONSIVE — light-touch collapse (design is desktop-first)
   ============================================================ */
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { min-height: 360px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .leist-detail { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt__inner { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .utility-bar__inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mobile-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); padding: 8px 16px 16px;
  }
  .main-nav.is-open { display: flex; }
  .main-bar__inner { position: relative; }
  .services-grid, .ref-grid, .process__grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 30px; }
  .hero__stats .sep { margin: 0 16px; }
  .site-footer__top { grid-template-columns: 1fr; }

  /* Push the "2. Gen." badge below the headline on mobile instead of leading with it */
  .hero__inner > div:first-child { display: flex; flex-direction: column; }
  .hero__inner > div:first-child .hero__title { order: 1; margin-top: 0; }
  .hero__inner > div:first-child .hero__lede { order: 2; }
  .hero__inner > div:first-child .gen-badge { order: 3; align-self: flex-start; margin-top: 22px; }
  .hero__inner > div:first-child .hero__cta { order: 4; }
  .hero__inner > div:first-child .hero__stats { order: 5; }
}
