/* ============================================================
   VINCI | Büro für Gestaltung — Stylesheet
   Mobile-first · monochrome editorial · self-hosted fonts
   ============================================================ */

/* ---------- Self-hosted fonts (DSGVO: keine externen CDNs) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/spacegrotesk-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/spacegrotesk-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #0c0c0d;
  --ink-soft: #1c1c1f;
  --graphite: #5b5b60;
  --muted: #8a8a8f;
  --paper: #faf9f6;
  --paper-2: #f1efe9;
  --card: #ffffff;
  --line: #e6e3dc;
  --line-strong: #d6d2c8;
  --accent: #22b8e0; /* nur für wowobot-Branding */

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1180px;
  --gap: clamp(1rem, 4vw, 2rem);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(12,12,13,.04), 0 6px 18px rgba(12,12,13,.05);
  --shadow-md: 0 4px 12px rgba(12,12,13,.06), 0 24px 48px rgba(12,12,13,.08);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 5vw, 2.5rem); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 1000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 500; font-size: .98rem; letter-spacing: -.01em;
  min-height: 48px; padding: .85rem 1.5rem; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,249,246,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: block; background: #fff; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center 36%; transform: scale(1.42); transform-origin: center 36%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.18rem; letter-spacing: -.02em; }
.brand-text small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-top: 2px; }

.nav-desktop { display: none; }
.header-cta { display: none; }

.burger {
  width: 48px; height: 48px; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; border-radius: 12px;
}
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 1rem clamp(1.1rem, 5vw, 2.5rem) 1.6rem;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .32s var(--ease), opacity .28s var(--ease), visibility .28s;
  box-shadow: var(--shadow-md);
}
.mobile-menu[hidden] { display: flex; }
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mm-link {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500;
  padding: .85rem .25rem; border-bottom: 1px solid var(--line); min-height: 44px; display: flex; align-items: center;
}
.mm-link:last-of-type { border-bottom: none; }
.mm-cta { margin-top: 1rem; }
.menu-backdrop {
  position: fixed; inset: 72px 0 0; z-index: 98; background: rgba(12,12,13,.28);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.menu-backdrop[hidden] { display: block; }
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3.5rem, 12vw, 7.5rem) 0 clamp(3rem, 8vw, 5rem); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.eyebrow {
  font-family: var(--font-display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--graphite); margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 8.5vw, 5.4rem); letter-spacing: -.035em; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; font-weight: 500; }
.hero-sub { font-size: clamp(1.05rem, 1rem + .6vw, 1.3rem); color: var(--graphite); max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 6vw, 3.2rem); border-top: 1px solid var(--line); padding-top: 1.8rem; }
.hero-stats dt { font-family: var(--font-display); font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; }
.hero-stats dd { font-size: .82rem; color: var(--graphite); line-height: 1.35; max-width: 9rem; }

.hero-bg {
  position: absolute; z-index: 1; inset: 0;
  background:
    radial-gradient(60% 60% at 88% 8%, rgba(12,12,13,.05), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(12,12,13,.04), transparent 70%);
  pointer-events: none;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  -webkit-mask-image: radial-gradient(70% 60% at 80% 10%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 80% 10%, #000, transparent 75%);
}

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: var(--card); padding: 2rem 0; }
.trust-label { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; }
.trust-logos li {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 3.5vw, 1.35rem);
  color: var(--ink); letter-spacing: -.02em; opacity: .65; transition: opacity .25s var(--ease);
}
.trust-logos li:hover { opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.section-index { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--muted); letter-spacing: .12em; margin-bottom: .9rem; }
.section-head h2, .about-text h2, .standort-text h2, .contact-intro h2 { font-size: clamp(2rem, 5.5vw, 3.1rem); margin-bottom: 1rem; }
.section-lead { color: var(--graphite); font-size: 1.08rem; }

/* ---------- Leistungen (Accordion auf Mobile) ---------- */
.services { display: flex; flex-direction: column; gap: .8rem; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s var(--ease), box-shadow .3s var(--ease); }
.service:hover { box-shadow: var(--shadow-sm); }
.service.open { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.service-toggle { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; text-align: left; min-height: 44px; }
.service-no { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: .9rem; }
.service-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; flex: 1; }
.service-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.service-icon::before, .service-icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.service-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.service-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.service.open .service-icon::after { transform: rotate(90deg); opacity: 0; }
.service-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.service.open .service-body { max-height: 520px; }
.service-body > p { padding: 0 1.4rem; color: var(--graphite); }
.service-body ul { padding: .9rem 1.4rem 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.service-body li { font-size: .9rem; background: var(--paper-2); border: 1px solid var(--line); padding: .35rem .8rem; border-radius: 999px; color: var(--ink-soft); }

/* ---------- Über uns ---------- */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.about-people { display: flex; flex-wrap: wrap; gap: .5rem .7rem; margin-top: 1.6rem; }
.about-people li { font-family: var(--font-display); font-weight: 500; font-size: .92rem; border: 1px solid var(--line-strong); padding: .45rem .95rem; border-radius: 999px; }
.about-text p + p { margin-top: 1rem; }
.about-text .section-index { display: block; }

/* placeholder images */
.ph-image {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    linear-gradient(135deg, #16161a 0%, #2a2a30 55%, #3a3a42 100%);
  display: flex; align-items: flex-end; padding: 1.2rem; min-height: 320px;
  box-shadow: var(--shadow-md);
}
.ph-image::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 38px 38px;
}
.ph-image::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 86px; height: 86px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.4);
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
}
.ph-portrait { aspect-ratio: 4/5; min-height: 0; }
.ph-tag, .map-chip {
  position: relative; z-index: 2; font-family: var(--font-display); font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.35); padding: .4rem .75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
}

/* ---------- Warum / Features ---------- */
.features { display: grid; gap: 1rem; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); display: block; margin-bottom: .6rem; line-height: 1; }
.feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { color: var(--graphite); font-size: .96rem; }

/* ---------- Ablauf / Steps ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; }
.step-no { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--line-strong); display: block; margin-bottom: .6rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.step p { color: var(--graphite); font-size: .96rem; }

/* ---------- Referenzen ---------- */
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ref-cell {
  background: var(--card); padding: 1.4rem 1rem; min-height: 92px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.ref-cell:hover { background: var(--ink); color: #fff; }
.ref-note { text-align: center; color: var(--muted); margin-top: 1.4rem; font-size: .95rem; }

/* ---------- Standort ---------- */
.standort-grid { display: grid; gap: clamp(2rem, 5vw, 3rem); }
.standort-text .section-index { display: block; }
.standort-address { font-style: normal; margin: 1.3rem 0; line-height: 1.8; }
.standort-address strong { font-family: var(--font-display); }
.hours { margin-bottom: 1.6rem; }
.hours h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.ph-text { color: var(--muted); font-size: .92rem; }
.ph-text span { color: var(--graphite); }

.map-ph {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; height: 100%;
  background: linear-gradient(135deg, #eef0ee, #e2e6e3); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(12,12,13,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(12,12,13,.06) 1px, transparent 1px); background-size: 32px 32px; }
.map-ph::before { content: ""; position: absolute; top: -20%; left: 30%; width: 140%; height: 50%; background: rgba(34,184,224,.10); transform: rotate(-18deg); }
.map-pin { position: absolute; top: 46%; left: 50%; width: 20px; height: 20px; background: var(--ink); border-radius: 50% 50% 50% 0; transform: translate(-50%,-100%) rotate(-45deg); box-shadow: 0 6px 14px rgba(12,12,13,.3); }
.map-pin::after { content: ""; position: absolute; top: 5px; left: 5px; width: 10px; height: 10px; background: var(--paper); border-radius: 50%; }
.map-chip { background: rgba(255,255,255,.92); color: var(--ink); border-color: var(--line); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.contact-intro .section-index { display: block; }
.contact-list { margin-top: 1.6rem; display: grid; gap: .9rem; }
.contact-list li { display: grid; grid-template-columns: 5.5rem 1fr; align-items: baseline; gap: .6rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.contact-list span { font-family: var(--font-display); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a:hover { text-decoration: underline; }

.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow-sm); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field-row { display: grid; gap: 1.1rem; }
.field label { font-family: var(--font-display); font-size: .85rem; font-weight: 500; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .85rem 1rem; min-height: 48px; width: 100%; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field-check { display: flex; align-items: flex-start; gap: .7rem; }
.field-check input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; accent-color: var(--ink); }
.field-check label { font-size: .88rem; color: var(--graphite); line-height: 1.5; }
.field-check a { text-decoration: underline; color: var(--ink); }
.form-status { font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: #1f7a4d; }
.form-status.err { color: #b3261e; }
.form-hint { font-size: .8rem; color: var(--muted); }
.field input.invalid, .field textarea.invalid, .field-check input.invalid { border-color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d9dd; padding-top: clamp(2.8rem, 7vw, 4rem); }
.footer-top { display: grid; gap: 2.2rem; padding-bottom: 2.4rem; }
.footer-logo { display: flex; flex-direction: column; line-height: 1; margin-bottom: 1rem; }
.footer-logo strong { font-family: var(--font-display); font-size: 1.4rem; color: #fff; letter-spacing: -.02em; }
.footer-logo small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 30ch; }
.footer-nav h4, .footer-contact h4 { font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a, .footer-contact a { color: #d9d9dd; transition: color .2s var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact address { font-style: normal; line-height: 1.9; color: var(--muted); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.soc { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: #d9d9dd; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.soc:hover { background: #fff; color: var(--ink); border-color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem 0 2rem;
  display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
}
.footer-legal { font-size: .85rem; color: var(--muted); }
.footer-legal a { color: #d9d9dd; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-powered { font-size: .9rem; color: var(--muted); }
.wowobot { color: var(--accent); font-weight: 600; }
.wowobot:hover { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem); max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal p { color: var(--ink-soft); margin-bottom: .6rem; }
.legal a { text-decoration: underline; }
.legal-note { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--graphite); font-size: .95rem; margin-bottom: 1.5rem; }
.placeholder-box { background: repeating-linear-gradient(135deg, #fbf7ec, #fbf7ec 12px, #f6f0df 12px, #f6f0df 24px); border: 1px dashed var(--line-strong); border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; color: var(--graphite); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 880px) {
  html:focus-within { scroll-padding-top: 100px; }
  .nav-desktop { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); }
  .nav-desktop a { font-family: var(--font-display); font-weight: 500; font-size: .98rem; position: relative; padding: .3rem 0; }
  .nav-desktop a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--ink); transition: width .25s var(--ease); }
  .nav-desktop a:hover::after { width: 100%; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu, .menu-backdrop { display: none !important; }

  .features { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .ref-grid { grid-template-columns: repeat(4, 1fr); }

  .about-grid { grid-template-columns: .85fr 1.15fr; align-items: center; }
  .standort-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }

  .footer-top { grid-template-columns: 1.6fr 1fr 1.4fr; gap: 3rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  /* Leistungen: auf Desktop als offene Karten im Grid, kein Accordion-Zwang */
  .services { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .service-toggle { cursor: default; }
}

@media (min-width: 1100px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}

/* Desktop: Leistungen immer aufgeklappt zeigen */
@media (min-width: 880px) {
  .service-body { max-height: none; }
  .service-icon { display: none; }
  .service-toggle { padding-bottom: .4rem; }
}

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