/* Lackiererei Ingo Müller – Stylesheet */
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #191919;
  --bg-2: #202020;
  --surface: #262626;
  --line-dark: #3a3a3a;
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --line-light: #e2e2e2;
  --ink: #191919;
  --ink-2: #404040;
  --on-dark: #f5f5f5;
  --on-dark-2: #b0b0b0;
  --accent: #fb2056;
  --accent-strong: #da1c4b; /* Text & Flächen mit weißer Schrift (AA auf Weiß/Hellgrau) */
  --accent-hi: #b8143c;
  --accent-ink: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 20px 50px -24px rgb(0 0 0 / .3);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Farbfächer */
  --sw-1: #da1c4b; --sw-2: #fb2056; --sw-3: #f2b33d; --sw-4: #2d6a4f; --sw-5: #2a6f97; --sw-6: #adb5bd; --sw-7: #191919;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--accent-strong); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.center { text-align: center; margin-top: 40px; }
.muted { color: var(--ink-2); }
.site-footer .muted { color: var(--on-dark-2); }

/* ---------- Typografie ---------- */
h1, h2, h3, .h2, .h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 4.2vw, 50px); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 60ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-strong);
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.hero .kicker { color: var(--accent); }
.kicker--dark { color: #fff; }
.accent-text { color: var(--accent-strong); }
.prose p { margin: 0 0 1.1em; max-width: 64ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .01em;
  border: 2px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent-strong); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hi); }
.btn--ghost { border-color: rgb(255 255 255 / .45); color: #fff; background: rgb(255 255 255 / .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgb(255 255 255 / .14); }
.btn--line { border-color: currentColor; color: inherit; }
.btn--line:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-light); color: var(--ink);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.site-footer .brand { color: #fff; }
.brand-logo { display: block; height: 44px; width: auto; }
.brand--footer .brand-logo { height: 52px; }
@media (max-width: 480px) { .brand-logo { height: 36px; } }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--accent-hi); background: rgb(251 32 86 / .08); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line-light); background: transparent; color: var(--ink); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  [data-open] .bars { background: transparent; }
  [data-open] .bars::before { transform: translateY(6px) rotate(45deg); }
  [data-open] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 2px; padding: 12px var(--gutter) 22px;
    background: #fff; border-bottom: 1px solid var(--line-light); box-shadow: 0 18px 30px -18px rgb(0 0 0 / .18);
    transform-origin: top; transform: scaleY(.96); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  [data-open] .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 18px; padding: 14px 16px; border-radius: 12px; }
}

/* ---------- Farbfächer ---------- */
.swatches { display: flex; height: 6px; }
.swatches i { flex: 1; }
.swatches i:nth-child(1) { background: var(--sw-1); }
.swatches i:nth-child(2) { background: var(--sw-2); }
.swatches i:nth-child(3) { background: var(--sw-3); }
.swatches i:nth-child(4) { background: var(--sw-4); }
.swatches i:nth-child(5) { background: var(--sw-5); }
.swatches i:nth-child(6) { background: var(--sw-6); }
.swatches i:nth-child(7) { background: var(--sw-7); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88svh, 860px); display: grid; align-items: end; color: #fff; background: var(--bg); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media .hero-img, .hero-media .img-ph { width: 100%; height: 100%; object-fit: cover; }
/* Rotierende Bilder wie auf der alten Seite: alle 5 s nach links gleiten (0,5 s) */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; transform: translateX(100%); transition: transform .5s ease-in-out; }
.hero-slide.is-active { transform: none; }
.hero-slide.is-leaving { transform: translateX(-100%); }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(18 18 18 / .92) 0%, rgb(18 18 18 / .72) 38%, rgb(18 18 18 / .15) 75%),
    linear-gradient(0deg, rgb(18 18 18 / .85) 0%, transparent 45%);
}
.hero-inner { padding: 120px 0 clamp(64px, 9vw, 110px); }
.hero-title { font-size: clamp(44px, 8.4vw, 104px); line-height: .98; letter-spacing: -.035em; margin-bottom: 24px; max-width: 12ch; }
.hero-lead { font-size: clamp(18px, 1.8vw, 22px); color: #dddddd; max-width: 46ch; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.swatches--hero { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---------- Fakten ---------- */
.facts { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line-light); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 24px 30px 0; border-right: 1px solid var(--line-light); }
.fact + .fact { padding-left: 24px; }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.fact span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 800px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact, .fact + .fact { padding: 22px 16px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .fact:nth-child(odd) { border-right: 1px solid var(--line-light); padding-left: 0; }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--alt { background: var(--paper-2); color: var(--ink); }
.section--alt .prose { color: var(--ink-2); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row .h2 { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split--media { grid-template-columns: 1fr 1fr; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--intro .prose { font-size: 18px; color: var(--ink-2); }
@media (max-width: 860px) {
  .split, .split--media { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; display: block; padding: 30px 26px 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line-light); text-decoration: none; color: var(--ink-2);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
a.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 40px -22px rgb(0 0 0 / .28); }
a.card:hover::after { transform: scaleX(1); }
.card h3 { font-size: 21px; margin: 0 0 10px; color: var(--ink); }
.card p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.cards--six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cards, .cards--six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Bilder ---------- */
.framed { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.img-ph {
  width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg, rgb(0 0 0 / .03) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #ececec, #dcdcdc);
}
.framed--portrait { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.hero-media .img-ph { border-radius: 0; aspect-ratio: auto; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.media-frame { position: relative; }
.media-frame::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 45%;
  border-radius: var(--radius-lg); background: var(--accent); z-index: 0;
}
.media-frame > * { position: relative; z-index: 1; }

/* ---------- Galerie ---------- */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.g-item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--accent); transition: box-shadow .25s var(--ease);
}
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after, .g-item:focus-visible::after { box-shadow: inset 0 0 0 4px var(--accent); }
.g-item[hidden] { display: none; }
.service-gallery { display: grid; gap: 10px; }
.g-item--main { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.g-item--main .framed { border-radius: 0; box-shadow: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.thumbs .g-item { border-radius: 10px; }
.thumbs .g-item img { aspect-ratio: 1; }
.thumbs .g-item { background: var(--line-light); }
.thumbs img:not([src]) { visibility: hidden; }
@media (max-width: 900px) { .g-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (max-width: 480px) { .g-grid--teaser .g-item:nth-child(n+5) { display: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line-light); background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chip span { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active span { background: var(--accent-strong); color: var(--accent-ink); }
.empty { padding: 40px; border: 2px dashed var(--line-light); border-radius: var(--radius-lg); text-align: center; color: var(--ink-2); }

/* Lightbox: zentriertes Fenster statt Vollbild */
.lb {
  width: min(1040px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 20px; overflow: hidden;
  background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .55);
}
.lb::backdrop { background: rgb(15 15 15 / .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb[open] { display: flex; flex-direction: column; animation: lb-in .25s var(--ease); }
.lb[open]::backdrop { animation: lb-fade .25s ease; }
@keyframes lb-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes lb-fade { from { opacity: 0; } }
.lb-stage { position: relative; display: grid; place-items: center; background: #141414; min-height: 0; }
.lb-stage img {
  display: block; width: 100%; height: min(72dvh, 700px); object-fit: contain;
  transition: opacity .2s ease;
}
.lb-stage img.is-loading { opacity: 0; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; font-size: 15px; }
.lb-bar [data-caption] { font-weight: 600; }
.lb-bar [data-count] { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / .92); color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1;
  box-shadow: 0 6px 18px -6px rgb(0 0 0 / .5); transition: background .2s, color .2s, transform .2s;
}
.lb-btn:hover { background: var(--accent-strong); color: #fff; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lb { width: calc(100vw - 16px); border-radius: 16px; }
  .lb-stage img { height: min(60dvh, 520px); }
  .lb-btn { width: 40px; height: 40px; }
}

/* ---------- Unterseiten ---------- */
.page-hero {
  position: relative; background: var(--paper-2); color: var(--ink); padding: clamp(70px, 10vw, 130px) 0 clamp(56px, 7vw, 90px); overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; right: -12%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(251 32 86 / .14), transparent 62%);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--sw-1), var(--sw-2), var(--sw-3), var(--sw-4), var(--sw-5), var(--sw-6), var(--sw-7)); }
.page-title { font-size: clamp(40px, 6.4vw, 80px); line-height: 1; letter-spacing: -.035em; color: var(--ink); max-width: 16ch; }
.page-hero .lead { color: var(--ink-2); }
/* Unterseiten mit Foto hinter der Überschrift (wie auf der alten Seite) */
.page-hero--photo { background: var(--bg); color: #fff; min-height: clamp(340px, 46vw, 520px); display: grid; align-items: end; }
.page-hero--photo::before { display: none; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(18 18 18 / .85) 0%, rgb(18 18 18 / .6) 45%, rgb(18 18 18 / .25) 100%),
    linear-gradient(0deg, rgb(18 18 18 / .6) 0%, transparent 55%);
}
.page-hero--photo .page-title { color: #fff; }
.page-hero--photo .lead { color: #e2e2e2; }
.page-hero--photo .kicker { color: var(--accent); }
/* Kontakt: Logo neben der Überschrift */
.page-hero--logo { background: #fff; }
.page-hero--logo::before { display: none; }
.page-hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.page-hero-logo { width: 100%; max-width: 460px; height: auto; justify-self: end; }
@media (max-width: 860px) {
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-logo { justify-self: start; max-width: 300px; order: -1; }
}
.page-hero--slim { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero--404 { min-height: 70vh; display: grid; align-items: center; }

.services { display: grid; gap: clamp(56px, 8vw, 104px); }
.service { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: 100px; }
.service:nth-child(even) .service-media { order: 2; }
.service-body p { font-size: 18px; color: var(--ink-2); max-width: 52ch; }
.service-body .h3 { margin-top: 0; }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service-media { order: 0; }
}
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: translateY(-1px); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.contact-card {
  display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line-light); text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card--primary { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
.contact-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.contact-value { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
.contact-value--sm { font-size: clamp(19px, 1.8vw, 22px); word-break: break-word; }
.contact-hint { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Kontaktformular */
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.form-intro { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: 15px; }
.field label span[aria-hidden] { color: var(--accent-strong); }
.optional { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper-2);
  border: 1.5px solid var(--line-light); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #6b6b6b; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-strong); background: #fff; box-shadow: 0 0 0 3px rgb(218 28 75 / .15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 14px; color: var(--ink-2); }
.form-note a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.is-ok { background: #e7f5ec; color: #14532d; }
.form-status.is-error { background: #fdecef; color: #7a0f2a; }
.form-status a { color: inherit; }
.contact-aside .h3 { margin-top: 0; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 32px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--ink-2); }
.social-intro { margin: 0 0 14px; color: var(--ink-2); }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 14px; border-radius: 999px;
  color: #fff; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), filter .2s;
}
.social-btn svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social-btn--fb { background: #0866ff; }
.social-btn--ig { background: linear-gradient(45deg, #8a3ab9, #bc2a8d 50%, #d62a5a); }

/* Rechtstexte */
.prose--legal { max-width: 760px; }
.prose--legal h2 { font-size: 22px; margin: 2em 0 .6em; }
.prose--legal h2:first-child { margin-top: 0; }
.prose--legal h3 { font-family: var(--font-body); font-size: 17px; letter-spacing: 0; margin: 1.6em 0 .4em; }
.prose--legal ul { margin: 0 0 1.1em; padding-left: 1.2em; max-width: 64ch; }
.prose--legal li { margin-bottom: .4em; }
.prose--legal a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta { background: var(--accent-strong); color: var(--accent-ink); padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-title { font-size: clamp(34px, 5vw, 60px); line-height: 1; margin-bottom: 12px; }
.cta p { margin: 0; font-size: 18px; max-width: 44ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta-phone {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.03em; line-height: 1;
  text-decoration: none; padding: 18px 30px; border-radius: 999px; background: var(--ink); color: #fff; transition: transform .2s var(--ease);
}
.cta-phone:hover { transform: translateY(-3px); }
.cta-mail { font-weight: 600; padding-left: 30px; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); color: var(--on-dark-2); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.brand--footer { margin-bottom: 16px; }
.footer-h { font-family: var(--font-body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Anruf-Button mobil ---------- */
.callfab { display: none; }
@media (max-width: 700px) {
  .callfab {
    position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--accent-strong); color: var(--accent-ink);
    font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px -8px rgb(0 0 0 / .5);
  }
  .callfab svg { width: 20px; height: 20px; fill: currentColor; }
  .site-footer { padding-bottom: 76px; }
}

/* ---------- Animationen ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes wipe { from { clip-path: inset(-.2em 100% -.3em -.1em); } to { clip-path: inset(-.2em -.1em -.3em -.1em); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes settle { from { transform: scale(1.12); } }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgb(251 32 86 / .55), 0 12px 30px -8px rgb(0 0 0 / .5); } 70%, 100% { box-shadow: 0 0 0 16px rgb(251 32 86 / 0), 0 12px 30px -8px rgb(0 0 0 / .5); } }

/* Startseite: Text läuft nacheinander ein, die rote Zeile wird „aufgesprüht“ */
.hero-inner > * { animation: rise .9s var(--ease) both; }
.hero-inner > :nth-child(1) { animation-delay: .1s; }
.hero-inner > :nth-child(2) { animation-delay: .22s; }
.hero-inner > :nth-child(3) { animation-delay: .5s; }
.hero-inner > :nth-child(4) { animation-delay: .64s; }
.hero-title .accent-text { display: inline-block; animation: wipe 1.1s cubic-bezier(.7, 0, .2, 1) .55s both; }
.kicker::before { transform-origin: left; }
.hero .kicker::before, .page-hero .kicker::before { animation: grow-x .7s var(--ease) .4s both; }
/* Bilder zoomen langsam heraus (Ken Burns) */
.hero-slide.is-active .hero-img, .hero-slide.is-leaving .hero-img { animation: kenburns 6s cubic-bezier(.25, .6, .3, 1) both; }
.hero-media { will-change: transform; }
/* Farbfächer wächst Streifen für Streifen */
.swatches--hero i { transform-origin: bottom; animation: grow-y .5s var(--ease) both; animation-delay: calc(.7s + var(--n, 0) * 70ms); }
.swatches i:nth-child(2) { --n: 1; } .swatches i:nth-child(3) { --n: 2; } .swatches i:nth-child(4) { --n: 3; }
.swatches i:nth-child(5) { --n: 4; } .swatches i:nth-child(6) { --n: 5; } .swatches i:nth-child(7) { --n: 6; }
.fact { animation: rise .8s var(--ease) both; animation-delay: calc(.85s + var(--n, 0) * 90ms); }
.fact:nth-child(2) { --n: 1; } .fact:nth-child(3) { --n: 2; } .fact:nth-child(4) { --n: 3; }

/* Unterseiten: Überschrift, Kopfbild und Farbleiste */
.page-hero .wrap:not(.page-hero-split) > *, .page-hero-split > div > * { animation: rise .85s var(--ease) both; }
.page-hero .wrap:not(.page-hero-split) > :nth-child(2), .page-hero-split > div > :nth-child(2) { animation-delay: .12s; }
.page-hero .wrap:not(.page-hero-split) > :nth-child(3), .page-hero-split > div > :nth-child(3) { animation-delay: .24s; }
.page-hero .wrap:not(.page-hero-split) > :nth-child(4), .page-hero-split > div > :nth-child(4) { animation-delay: .36s; }
.page-hero-split > .page-hero-logo { animation: rise 1s var(--ease) .2s both; }
.page-hero-media img { animation: settle 1.8s cubic-bezier(.25, .6, .3, 1) both; }
.page-hero::after { transform-origin: left; animation: grow-x 1.2s cubic-bezier(.7, 0, .2, 1) .3s both; }
.page-hero::before { animation: fade 1.5s ease .2s both; }

/* Header bekommt beim Scrollen einen Schatten und eine Fortschrittsleiste in den Fächerfarben */
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgb(0 0 0 / .35); background: rgb(255 255 255 / .96); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--sw-1), var(--sw-2), var(--sw-3), var(--sw-4), var(--sw-5));
  transform-origin: left; transform: scaleX(var(--progress, 0));
}

/* Glanzstreifen über rote Buttons */
.btn--accent { position: relative; overflow: hidden; isolation: isolate; }
.btn--accent::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--accent:hover::after { transform: translateX(120%); transition: transform .75s var(--ease); }
.btn:active { transform: translateY(0) scale(.97); }

/* Karten: Überschrift rückt beim Hovern leicht ein */
.card h3 { transition: color .25s, transform .3s var(--ease); }
a.card:hover h3 { color: var(--accent-hi); transform: translateX(4px); }

/* Anruf-Button pulsiert dezent */
@media (max-width: 700px) {
  .callfab { animation: rise .6s var(--ease) 1.2s both, ring 2.8s ease-out 2.2s infinite; }
}

/* ---------- Einblenden beim Scrollen ---------- */
.reveal-init { opacity: 0; transform: translateY(32px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.g-item.reveal-init { transform: translateY(24px) scale(.96); }
/* Abschnitte mit Bild: das Bild bleibt immer sichtbar (nie auf die Animation warten),
   nur der Text daneben gleitet herein und der rote Farbblock „springt“ hinterher */
/* seitlich hereingleitender Text darf die Seite nicht verbreitern (sonst seitliches Wischen am Handy) */
main { overflow-x: clip; }
.reveal-init:is(.service, .split--media) { opacity: 1; transform: none; }
.reveal-init.service > .service-body, .reveal-init.split--media > :not(.media-frame) { opacity: 0; transform: translateX(32px); }
.reveal-init.service:nth-child(even) > .service-body, .reveal-init.split--reverse > :not(.media-frame) { transform: translateX(-32px); }
.reveal-init.reveal-in.service > .service-body, .reveal-init.reveal-in.split--media > :not(.media-frame) {
  opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s);
}
.reveal-init .media-frame::before { transform: scale(0); transform-origin: 100% 100%; }
.reveal-in .media-frame::before { transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--d, 0s) + .55s); }
.reveal-init .kicker::before { transform: scaleX(0); }
.reveal-in .kicker::before { transition: transform .7s var(--ease); transition-delay: calc(var(--d, 0s) + .35s); }
.reveal-init .checks li { opacity: 0; transform: translateX(-12px); }
.reveal-in .checks li { transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--d, 0s) + .45s + var(--n, 0) * 70ms); }
.checks li:nth-child(2) { --n: 1; } .checks li:nth-child(3) { --n: 2; } .checks li:nth-child(4) { --n: 3; }
.checks li:nth-child(5) { --n: 4; } .checks li:nth-child(6) { --n: 5; } .checks li:nth-child(7) { --n: 6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .reveal-init { opacity: 1; transform: none; }
  .hero-media { transform: none !important; }
}

/* Bildschwerpunkte aus images/ausschnitte.json */
.fp-start-hero-01-img-9121 { object-position: 65% 50%; }
.fp-start-hero-02-img-5616 { object-position: 45% 50%; }
.fp-start-hero-03-img-9634 { object-position: 55% 50%; }
.fp-start-hero-04-img-8389 { object-position: 75% 50%; }
.fp-start-hero-05-img-7205 { object-position: 45% 50%; }
.fp-start-hero-07-img-7661 { object-position: 55% 50%; }
.fp-start-hero-08-img-8273 { object-position: 62% 70%; }
.fp-leistungen-kopfbild { object-position: 50% 30%; }
.fp-galerie-kopfbild { object-position: 50% 60%; }
.fp-ueber-uns-kopfbild { object-position: 40% 45%; }
.fp-ueber-uns-bei-der-arbeit-1 { object-position: 50% 5%; }
.fp-leistungen-06-lackpflege-polierarbeiten-07-img-9416 { object-position: 50% 85%; }
.fp-galerie-oldtimer-img-6222 { object-position: 50% 65%; }
.fp-galerie-sonstige-img-5635 { object-position: 50% 45%; }
.fp-galerie-autos-img-5738 { object-position: 50% 60%; }
