/* ============================================================
   KHALED HAARSTUDIO — Modern White Studio (schlichte Version)
   Fonts lokal (keine externen Dienste) · Marcellus für Logo-Akzente · Jost für Text
   ============================================================ */

/* ---------- Fonts (self-hosted, kein Google-Request; Jost = variabler Font, wght 100-900) ---------- */
@font-face{font-family:'Jost';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/jost-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Jost';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/jost-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Marcellus';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/marcellus-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Marcellus';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/marcellus-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --white: #ffffff;
  --paper: #ffffff;
  --paper-2: #f2f0ec;
  --ink: #141310;
  --ink-80: rgba(20, 19, 16, 0.80);
  --ink-70: rgba(20, 19, 16, 0.70);
  --ink-45: rgba(20, 19, 16, 0.45);
  --ink-25: rgba(20, 19, 16, 0.22);
  --line: rgba(20, 19, 16, 0.12);
  --line-soft: rgba(20, 19, 16, 0.07);
  --star: #f5b301;
  --disp: "Marcellus", "Times New Roman", serif;
  --sans: "Jost", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: min(92vw, 1120px);
  --wrap-narrow: min(92vw, 820px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* kein scroll-behavior:smooth auf <html> — Chrome verliert damit den #Anker beim Seitenaufruf; sanftes Scrollen macht main.js */
/* Seite darf sich NIE horizontal verschieben lassen (Daumen-Wischen nach rechts):
   overflow-x auf html UND body (clip = kein Scroll-Container), kein Pan-X per touch-action, kein Overscroll-X */
html { overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white); color: var(--ink);
  font-family: var(--sans); font-weight: 400; line-height: 1.65;
  width: 100%; min-width: 0; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom; -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-narrow { width: var(--wrap-narrow); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; scroll-margin-top: 4rem; }
.bg-paper { background: var(--paper-2); }
.center { text-align: center; }

.h-title { font-family: var(--sans); font-weight: 500; font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.12; letter-spacing: -0.01em; }
.lead { font-size: clamp(1rem, 1.3vw, 1.1rem); font-weight: 400; color: var(--ink-80); line-height: 1.7; max-width: 50ch; }
.h-title + .lead { margin-top: 1rem; }
.kicker { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.85rem 1.5rem; border-radius: 6px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; white-space: nowrap; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-light { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.link-underline { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: 0.3rem; border-bottom: 1px solid var(--ink); display: inline-flex; gap: 0.4rem; transition: opacity 0.3s; }
.link-underline:hover { opacity: 0.6; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s, transform 0.4s var(--ease); }
.header.scrolled { border-bottom-color: var(--line-soft); }
.header.hidden { transform: translateY(-110%); }
.header-inner { width: var(--wrap); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; min-height: 3.6rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; transition: opacity 0.4s, visibility 0.4s; }
.logo-mark { font-family: var(--disp); font-size: 1.1rem; letter-spacing: 0.05em; display: flex; align-items: center; gap: 0.28em; }
.logo-mark i { width: 1px; height: 1.05em; background: var(--ink); display: inline-block; }
.logo-word { font-family: var(--disp); font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase; padding-left: 0.4rem; border-left: 1px solid var(--line); color: var(--ink-70); }
/* Startseite: Header-Logo bleibt unsichtbar, solange das große Hero-Logo im Bild ist (kein doppeltes KH) */
.header.logo-hidden .logo { opacity: 0; pointer-events: none; visibility: hidden; }
.nav-links { display: flex; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.nav-link { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-70); position: relative; padding: 0.3rem 0; transition: color 0.3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.header-right { display: flex; align-items: center; gap: 0.7rem; }
.nav-wa { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 6px; border: 1px solid var(--line); color: var(--ink); flex-shrink: 0; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.nav-wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
.nav-call { letter-spacing: 0.04em; text-transform: none; padding: 0.65rem 1rem; font-size: 0.8rem; }
.nav-call svg { flex-shrink: 0; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 0.4rem 0; }
.burger span { width: 24px; height: 1px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile { position: fixed; inset: 0; z-index: 900; background: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.3rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.35s, visibility 0.35s; }
.mobile.open { opacity: 1; visibility: visible; pointer-events: auto; }
/* Offene Overlays: Touch-Gesten nie an die Seite durchreichen (iOS ignoriert overflow:hidden fürs Panning) */
.mobile.open, .lb.open { touch-action: none; overscroll-behavior: contain; }
.mobile a.m-link { font-family: var(--sans); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.04em; color: var(--ink); padding: 0.45rem 0; }
.mobile .btn { margin-top: 1.4rem; }

/* ---------- Hero: nur das Logo, baut sich zusammen ---------- */
.hero { min-height: 82vh; min-height: 82svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 6.5rem 1rem 3rem; background: var(--white); }
/* Logo aus 4 Einzelteilen (Originalproportionen, Maßeinheit --u = 1/1000 der Wortmarken-Breite),
   bewusst weiter auseinander gesetzt als im Original und größer */
.logo-stage { --lw: min(92vw, 720px); --u: calc(var(--lw) / 1000); width: var(--lw); margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.logo-mono { display: flex; align-items: center; justify-content: center; gap: calc(118 * var(--u)); }
.logo-mono img { display: block; height: auto; }
.logo-k   { width: calc(244 * var(--u)); animation: logoSpreadL 1.2s var(--ease) 0.35s both; }
.logo-bar { width: calc(15 * var(--u)); transform-origin: 50% 50%; animation: logoBar 0.7s var(--ease) 0.1s both; }
.logo-h   { width: calc(273 * var(--u)); animation: logoSpreadR 1.2s var(--ease) 0.35s both; }
.logo-wm  { display: block; width: calc(1000 * var(--u)); height: auto; margin-top: calc(80 * var(--u)); animation: logoRise 1s var(--ease) 1.05s both; }
@keyframes logoBar     { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes logoSpreadL { from { transform: translateX(45%);  opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes logoSpreadR { from { transform: translateX(-45%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes logoRise    { from { transform: translateY(35%);  opacity: 0.01; } to { transform: translateY(0); opacity: 1; } }
.hero-sub { margin-top: 1.6rem; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 400; letter-spacing: 0.08em; color: var(--ink-80); animation: fadeUp 0.9s var(--ease) 1.8s both; }
.hero-meta { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-70); animation: fadeUp 0.9s var(--ease) 2.05s both; }
.hero-meta .stars { color: var(--star); letter-spacing: 0.12em; }
.hero-meta b { color: var(--ink); font-weight: 500; }
.gicon { display: inline-flex; align-items: center; vertical-align: middle; }
.gicon svg { display: block; }
@keyframes fadeUp { from { opacity: 0.01; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Split (Über Khaled) ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { overflow: hidden; border-radius: 4px; max-width: 440px; width: 100%; justify-self: center; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.split-body .lead { margin-top: 1rem; }

/* Zertifikate: kleine klickbare Galerie */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-top: 1.6rem; max-width: 420px; }
.cert { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; aspect-ratio: 3 / 4; cursor: zoom-in; }
.cert img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.cert:hover img { transform: scale(1.04); }
.certs-note { font-size: 0.78rem; color: var(--ink-45); margin-top: 0.6rem; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 2000; background: rgba(10,9,8,0.9); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lb.open { display: flex; }
.lb img { max-width: min(92vw, 820px); max-height: 88vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lb-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; opacity: 0.85; }
.lb-close:hover { opacity: 1; }

/* ---------- Leistungen (kompakt) ---------- */
.menu-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.menu-cat { font-family: var(--sans); font-weight: 500; font-size: 1.1rem; margin-bottom: 0.2rem; }
.menu-list { list-style: none; }
.menu-list li { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line-soft); }
.menu-list li:last-child { border-bottom: 0; }
.mi { font-size: 0.95rem; color: var(--ink); }
.mi-fill { flex: 1; border-bottom: 1px dotted var(--ink-25); transform: translateY(-4px); min-width: 1rem; }
.mi-price { font-family: var(--sans); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.menu-note { font-size: 0.82rem; color: var(--ink-45); margin-top: 1rem; }

/* ---------- Produkte ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); margin-top: 2rem; }
.product { text-align: left; }
.product-img { overflow: hidden; border-radius: 4px; background: var(--paper-2); aspect-ratio: 4 / 5; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product h3 { font-family: var(--sans); font-weight: 500; font-size: 1rem; margin-top: 0.9rem; }
.product h3 span { display: block; font-weight: 400; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 0.2rem; }
.product p { font-size: 0.92rem; color: var(--ink-70); margin-top: 0.35rem; }

/* ---------- Studio-Fotos (3) ---------- */
.photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.7rem; }
.photos figure { overflow: hidden; border-radius: 4px; }
.photos figure:first-child { grid-row: span 2; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos figure:first-child img { aspect-ratio: 3 / 2.6; }
.photos figure:not(:first-child) img { aspect-ratio: 3 / 1.95; }

/* ---------- Bewertungen ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.reviews-score { display: flex; align-items: center; gap: 0.8rem; }
.reviews-score .num { font-family: var(--sans); font-weight: 500; font-size: 2.2rem; line-height: 1; }
.reviews-score .stars { color: var(--star); font-size: 0.95rem; letter-spacing: 0.1em; }
.reviews-score .ratesrc { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--ink-45); }
.reviews-grid { columns: 2; column-gap: 1.2rem; }
.review { break-inside: avoid; margin-bottom: 1.2rem; padding: 1.4rem; border: 1px solid var(--line); background: var(--white); border-radius: 4px; }
.review .stars { color: var(--star); font-size: 0.8rem; letter-spacing: 0.1em; }
.review-photo { overflow: hidden; border-radius: 3px 3px 0 0; margin: -1.4rem -1.4rem 1rem; }
.review-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.review p { font-size: 0.95rem; color: var(--ink-80); margin-top: 0.7rem; line-height: 1.6; }
.review footer { margin-top: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.review .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--disp); font-size: 0.85rem; flex-shrink: 0; }
.review .who { font-size: 0.84rem; }
.review .who b { font-weight: 500; display: block; }
.review .who span { color: var(--ink-45); font-size: 0.72rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.contact-col h3 { font-family: var(--sans); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; }
.contact-col p, .contact-col li { font-size: 0.95rem; color: var(--ink-80); }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line-soft); }
.hours li:last-child { border-bottom: 0; }
.hours span:first-child { color: var(--ink); }
.connect { list-style: none; }
.connect li { padding: 0.3rem 0; }
.connect a { color: var(--ink-80); transition: opacity 0.3s; }
.connect a:hover { opacity: 0.6; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--ink); color: var(--white); text-align: center; }
.cta-band .h-title { color: var(--white); }
.cta-band .lead { color: rgba(255,255,255,0.65); margin-inline: auto; }
.cta-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer-logo { font-family: var(--disp); font-size: 0.9rem; letter-spacing: 0.28em; text-transform: uppercase; }
.footer-brand p { color: var(--ink-45); font-size: 0.84rem; margin-top: 0.7rem; max-width: 30ch; }
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav a { font-size: 0.84rem; letter-spacing: 0.04em; color: var(--ink-70); width: fit-content; transition: opacity 0.3s; }
.footer-nav a:hover { opacity: 0.6; }
.footer-bar { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.footer-bar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-45); }

/* ---------- Unterseiten ---------- */
.page-hero { padding: clamp(6.5rem, 12vw, 9rem) 0 clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.page-hero .h-title { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-hero .lead { margin-inline: auto; margin-top: 1rem; }

/* FAQ */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1.05rem 0; font-weight: 500; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--ink); transition: transform 0.35s var(--ease); }
.faq-icon::before { left: 0; top: 5.5px; width: 12px; height: 1px; }
.faq-icon::after { left: 5.5px; top: 0; width: 1px; height: 12px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 0 1.1rem; color: var(--ink-70); font-size: 0.95rem; max-width: 62ch; }

/* Rechtliches */
.legal { max-width: 72ch; margin-inline: auto; }
.legal h2 { font-family: var(--sans); font-weight: 500; font-size: 1.15rem; margin-top: 2rem; margin-bottom: 0.5rem; }
.legal h3 { font-family: var(--sans); font-weight: 500; font-size: 1rem; margin-top: 1.4rem; margin-bottom: 0.3rem; }
.legal p, .legal li { font-size: 0.95rem; color: var(--ink-80); margin-bottom: 0.6rem; }
.legal ul { padding-left: 1.2rem; }

/* ---------- Einblend-Animationen (Klasse .in setzt main.js beim Sichtbarwerden) ----------
   .reveal     Textblöcke: sanft nach oben einblenden
   .img-reveal Fotos: von unten aufdecken + Bild setzt sich (Zoom 1.15 → 1)
   .fade-in    kleine Bilder: einblenden + leicht heranzoomen
   --i         Staffelung innerhalb einer Gruppe */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease-out, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1); transition-delay: calc(var(--i, 0) * 140ms); }
.img-reveal img { transform: scale(1.15); transition: transform 1.5s var(--ease); transition-delay: calc(var(--i, 0) * 140ms); }
.img-reveal.in { clip-path: inset(0 0 0 0); }
.img-reveal.in img { transform: none; }
.fade-in { opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 0.8s ease-out, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.fade-in.in { opacity: 1; transform: none; }
body.no-js .reveal, body.no-js .img-reveal, body.no-js .fade-in { opacity: 1; transform: none; clip-path: none; }
body.no-js .img-reveal img { transform: none; }
/* Ohne JS: Header-Logo sichtbar, Navigation statt Burger */
body.no-js .header.logo-hidden .logo { opacity: 1; pointer-events: auto; visibility: visible; }
body.no-js .burger { display: none; }
@media (max-width: 960px) {
  body.no-js .header-inner { flex-wrap: wrap; }
  body.no-js .nav-links { display: flex; flex-wrap: wrap; order: 3; width: 100%; justify-content: center; gap: 0.4rem 1rem; padding-bottom: 0.5rem; }
  body.no-js .page-hero { padding-top: 8.6rem; }
  body.no-js section[id] { scroll-margin-top: 8.6rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  /* Kein Backdrop-Blur auf Handys/Tablets (bis 960px): spart pro Frame GPU-Arbeit beim Scrollen */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.96); }
  .split { grid-template-columns: 1fr; gap: 1.8rem; }
  .split-media img { aspect-ratio: 4 / 4.2; }
  .menu-wrap { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .section { padding-block: clamp(2.4rem, 8vw, 3.2rem); }
  .h-title { font-size: 1.55rem; line-height: 1.15; }
  .page-hero { padding: 5.6rem 0 1.4rem; }
  .page-hero .h-title { font-size: 1.7rem; }
  .lead { font-size: 0.92rem; line-height: 1.6; }
  .btn { padding: 0.58rem 1rem; font-size: 0.66rem; letter-spacing: 0.09em; gap: 0.4rem; border-radius: 5px; }
  .link-underline { font-size: 0.68rem; letter-spacing: 0.09em; }
  .cta-actions { flex-direction: column; align-items: center; gap: 0.5rem; }
  .cta-actions .btn { width: auto; }
  /* Hero: Logo nie abgeschnitten, kompakt */
  .hero { min-height: 100vh; min-height: 100svh; padding: 5.4rem 1rem 2.4rem; }
  .logo-stage { --lw: min(90vw, 420px); }
  .hero-sub { font-size: 0.92rem; margin-top: 1.2rem; }
  .hero-meta { font-size: 0.7rem; gap: 0.4rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }
  /* Header kompakt: Anruf = Icon */
  /* Header: Logo mittig, Buttons rechts */
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0.6rem 0; min-height: 3.2rem; }
  .logo { grid-column: 2; justify-self: center; }
  .header-right { grid-column: 3; justify-self: end; }
  body.no-js .nav-links { grid-column: 1 / -1; }
  .logo-word { display: none; }
  .nav-call { font-size: 0 !important; gap: 0 !important; padding: 0 !important; width: 2.15rem; height: 2.15rem; justify-content: center; border-radius: 6px; }
  .nav-call svg { width: 15px; height: 15px; }
  .nav-wa { width: 2.15rem; height: 2.15rem; }
  .header-right { gap: 0.45rem; }
  .certs { gap: 0.5rem; max-width: 100%; }
  /* Produkte: Bild links, Text rechts — kompakt statt drei hohe Karten */
  .products { grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.4rem; }
  .product { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto auto; column-gap: 0.9rem; row-gap: 0; align-items: center; }
  .product-img { grid-row: 1 / span 2; }
  .product h3 { font-size: 0.92rem; margin-top: 0; align-self: end; }
  .product p { font-size: 0.85rem; margin-top: 0.25rem; align-self: start; }
  .photos { grid-template-columns: 1fr; grid-template-rows: auto; }
  .photos figure:first-child { grid-row: auto; }
  .photos figure img, .photos figure:first-child img, .photos figure:not(:first-child) img { aspect-ratio: 3 / 2; }
  .menu-cat { font-size: 1rem; }
  .mi, .mi-price { font-size: 0.9rem; }
  .reviews-grid { columns: 1; }
  /* Bewertungen: kompakte Karten */
  .review { padding: 0.9rem 1rem; margin-bottom: 0.7rem; }
  .review-photo { margin: -0.9rem -1rem 0.8rem; }
  .review-photo img { aspect-ratio: 16 / 10; }
  .review .stars { font-size: 0.66rem; }
  .review p { font-size: 0.84rem; line-height: 1.5; margin-top: 0.5rem; }
  .review footer { margin-top: 0.7rem; gap: 0.5rem; }
  .review .avatar { width: 24px; height: 24px; font-size: 0.72rem; }
  .review .who { font-size: 0.76rem; }
  .review .who span { font-size: 0.66rem; }
  .reviews-score .num { font-size: 1.6rem; }
  .contact-col h3 { font-size: 0.85rem; }
  .contact-col p, .contact-col li { font-size: 0.9rem; }
  .footer-inner { gap: 1.5rem; }
  .lb img { max-width: 94vw; max-height: 84vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
  .reveal, .img-reveal, .fade-in { opacity: 1; transform: none; clip-path: none; transition: none; }
  .img-reveal img { transform: none; transition: none; }
}
@media print {
  .logo-k, .logo-bar, .logo-h, .logo-wm, .hero-sub, .hero-meta { animation: none; opacity: 1; transform: none; }
  .reveal, .img-reveal, .fade-in { opacity: 1; transform: none; clip-path: none; transition: none; }
  .img-reveal img { transform: none; transition: none; }
  .header, .mobile, .lb, .scalez-credit { display: none; }
}
