/* Franz Klassen e.K. – Website
   Aufbau: Kopf (Leiste + Navigation) · Hero mit Schwung · Leistungen · Warum ·
   Über uns · Kontakt · Fuß. Schwarz, Weiß, Gold; keine Schatten, keine Verläufe. */

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; text-wrap: balance; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gold); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--raised { background: var(--surface-raised); }
.on-dark { background: var(--panel); color: var(--on-panel); }

.skip-link {
  position: absolute; left: var(--space-3); top: -60px; z-index: 300;
  padding: 10px 16px; background: var(--gold); color: var(--on-gold); font-weight: 600;
  border-radius: var(--radius-md);
}
.skip-link:focus { top: var(--space-3); }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Fotos: immer entsättigt, Gold bleibt die einzige Farbe */
.photo { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); }

/* ---------- Text-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--hairline); }
.on-dark .eyebrow { color: var(--gold); }

.h2 {
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  text-transform: uppercase; letter-spacing: 0.02em;
}
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-muted); max-width: 62ch; }
.on-dark .lead { color: var(--on-panel-muted); }
.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.stack--lg { gap: var(--space-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: var(--radius-md);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--ink); color: var(--on-panel); border-color: var(--ink); }
.on-dark .btn-gold:hover { background: var(--on-panel); color: var(--ink); border-color: var(--on-panel); }
.btn-ghost { color: var(--on-panel); border-color: var(--on-panel); }
.btn-ghost:hover { background: var(--on-panel); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--on-panel); border-color: var(--ink); }
.btn-dark:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn-block { width: 100%; }

/* ---------- Kopf: Leiste ---------- */
.topbar { font-size: 0.875rem; color: var(--on-panel-muted); }
.topbar .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px var(--space-4); padding-block: 9px;
}
.topbar-links { display: flex; flex-wrap: wrap; gap: 6px var(--space-4); }
.topbar-links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar-links a:hover { color: var(--on-panel); }
.topbar-links .icon { color: var(--gold); }

/* ---------- Kopf: Navigation ---------- */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.navbar.is-scrolled { border-bottom-color: var(--line-soft); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding-block: 10px;
}
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; }
.nav-link { position: relative; padding-block: 6px; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--hairline); transition: width .2s ease;
}
.nav-link:hover::after, .nav-link:focus-visible::after { width: 100%; }
.nav-cta { min-height: 44px; padding: 10px 20px; }

.nav-toggle {
  display: none; width: 48px; height: 48px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--radius-md);
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero: schwarzes Feld, goldener Schwung, Foto ---------- */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; left: 52%; }
.hero-curve { position: absolute; top: 0; left: 52%; width: 17%; height: 100%; margin-left: -1px; }
.hero-curve .curve-gold { fill: var(--gold); }
.hero-curve .curve-panel { fill: var(--panel); }
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: var(--space-4);
  padding-block: clamp(64px, 9vw, 112px) calc(clamp(64px, 9vw, 112px) + var(--divider-h) * .6);
}
.hero-content > * { max-width: min(560px, 50%); }
.hero h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.01em; }
.hero-text { font-size: 1.1875rem; color: var(--on-panel-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }

/* Haken-Punkte: weißer Haken auf goldener Scheibe, wie auf dem Flyer */
.checks { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); margin-top: var(--space-3); }
.checks li {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: var(--radius-full);
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
}

/* ---------- Leistungen ---------- */
.band {
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 12px var(--space-4);
  background: var(--gold); color: var(--on-gold); border-radius: var(--radius-md);
  font-size: clamp(1.0625rem, 2.2vw, 1.375rem); font-weight: 700; line-height: 1.3;
  letter-spacing: 0.04em; text-transform: uppercase; text-align: center;
}
.services-intro { margin-block: var(--space-4) var(--space-5); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.service { display: flex; flex-direction: column; background: var(--panel); color: var(--on-panel); }
/* Foto oben, Bezeichnung darunter, wie die Leistungskacheln auf dem Flyer. Ohne <img> bleibt eine reine Textkachel. */
.service-photo { aspect-ratio: 4 / 3; height: auto; background: var(--panel-raised); }
.service-body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); }
.service-body::before { content: ""; width: 28px; height: 2px; background: var(--hairline); margin-bottom: var(--space-2); }
.service h3 { font-size: 1.1875rem; letter-spacing: 0.01em; }
.service p { font-size: 0.9375rem; color: var(--on-panel-muted); }

.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-4);
  margin-top: var(--space-2); padding: var(--space-4);
  background: var(--gold); color: var(--on-gold); border-radius: var(--radius-md);
}
.callout-title { font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.callout-text { font-size: 0.9375rem; }
.callout--stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); }
.callout--stack .callout-text { text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.875rem; }

/* ---------- Zwei Spalten: Warum, Über uns ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split-media { aspect-ratio: 4 / 3; overflow: hidden; }
.split--about { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

.points { display: grid; gap: var(--space-4); margin-top: var(--space-3); }
.point { display: flex; gap: var(--space-3); align-items: flex-start; }
.disc {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: var(--radius-full);
  background: var(--panel); color: var(--gold); font-size: 26px;
}
.on-dark .disc { background: var(--panel-raised); }
.point h3 { font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-1); padding-top: 4px; }
.point p { color: var(--ink-muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: var(--space-3); margin-top: var(--space-3); }
.contact-list li { display: flex; align-items: center; gap: var(--space-3); }
.contact-list a:hover { color: var(--gold); }
.contact-list .disc { width: 48px; height: 48px; font-size: 22px; }

.form { padding: clamp(24px, 4vw, 40px); background: var(--panel-raised); border-radius: var(--radius-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--on-panel-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--panel); color: var(--on-panel);
  border: 1px solid var(--field-line); border-radius: var(--radius-md);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23ce903a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 22px; padding-right: 42px; }
.field select option { color: var(--ink); background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.consent { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 0.875rem; color: var(--on-panel-muted); }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.consent a { color: var(--on-panel); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius-md); font-weight: 500; }
.form-status.is-ok { display: block; background: var(--gold); color: var(--on-gold); }
.form-status.is-error { display: block; background: var(--on-panel); color: var(--ink); }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
[hidden] { display: none !important; }

/* Bestätigung nach dem Absenden: ersetzt die Felder */
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding-block: var(--space-4); outline: none; }
.on-dark .form-done-disc, .form-done-disc { width: 64px; height: 64px; font-size: 34px; background: var(--gold); color: var(--on-gold); }
.form-done-title { font-size: clamp(1.5rem, 3vw, 2rem); text-transform: uppercase; letter-spacing: 0.02em; }
.form-done .lead strong { color: var(--on-panel); font-weight: 600; word-break: break-all; }
.form-done-note { font-size: 0.875rem; color: var(--on-panel-muted); }
.form-done .btn { margin-top: var(--space-2); }
.motion .form-done:not([hidden]) > * { animation: fk-fade-up var(--dur-base) var(--ease-out) both; }
.motion .form-done:not([hidden]) > .form-done-disc { animation: fk-pop .5s var(--ease-out) both; }
.motion .form-done:not([hidden]) > :nth-child(2) { animation-delay: .12s; }
.motion .form-done:not([hidden]) > :nth-child(3) { animation-delay: .2s; }
.motion .form-done:not([hidden]) > :nth-child(4) { animation-delay: .28s; }
.motion .form-done:not([hidden]) > :nth-child(5) { animation-delay: .36s; }
.motion .form-done:not([hidden]) > :nth-child(6) { animation-delay: .44s; }

/* ---------- Fuß ---------- */
.footer { color: var(--on-panel-muted); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 0.8fr; gap: var(--space-5); padding-block: 64px 48px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: var(--space-3); }
.footer h2 { font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-panel); margin-bottom: var(--space-3); }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--on-panel); }
.footer-services { columns: 2; column-gap: var(--space-4); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4);
  padding-block: var(--space-4); border-top: 1px solid var(--line-panel); font-size: 0.875rem;
}
.footer-bottom nav { display: flex; gap: var(--space-4); }

/* ---------- Rechtliche Seiten ---------- */
.page-head .container { display: flex; flex-direction: column; gap: var(--space-3); padding-block: clamp(48px, 7vw, 80px); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); text-transform: uppercase; letter-spacing: 0.02em; }
.breadcrumb { font-size: 0.875rem; color: var(--on-panel-muted); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 760px; display: flex; flex-direction: column; gap: var(--space-3); }
.legal h2 { font-size: 1.25rem; margin-top: var(--space-4); }
.legal p, .legal li { color: var(--ink-legal); }
.legal ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 6px; }
.legal a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; padding: var(--space-3) var(--space-4); background: var(--surface-raised); border-radius: var(--radius-md); }
/* Offene Angaben: vor dem Livegang ersetzen, dann fällt die Markierung weg */
.todo { background: var(--todo-bg); outline: 2px dashed var(--gold-text); outline-offset: 2px; padding: 0 4px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--about, .contact { grid-template-columns: minmax(0, 1fr); }
  .split-media { order: -1; aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-media { position: relative; left: auto; height: 260px; }
  .hero-curve { display: none; }
  .hero-content > * { max-width: 100%; }
  .hero-content { padding-block: 56px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82%, 340px); z-index: 150;
    flex-direction: column; align-items: stretch; gap: var(--space-2);
    padding: 96px 28px 40px; background: var(--surface); border-left: 1px solid var(--line-soft);
    transform: translateX(100%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .nav-links.is-open { transform: translateX(0); visibility: visible; transition: transform .25s ease; }
  .nav-links a { padding-block: 12px; font-size: 1.125rem; }
  .nav-cta { margin-top: var(--space-3); }
  .nav-toggle { position: relative; z-index: 160; }
  .brand img, .navbar.is-scrolled .brand img { height: 44px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); padding-block: 48px 32px; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-place { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Geschwungene Übergänge ----------
   Der Schwung vom Flyer trennt die Abschnitte: zwischen Schwarz und Weiß mit goldener
   Kante, zwischen den hellen Flächen als ruhige Welle. --from = Fläche darüber, --to = darunter. */
.divider { display: block; height: var(--divider-h); background: var(--from, transparent); margin-block: -1px; line-height: 0; position: relative; z-index: 1; }
.divider svg { width: 100%; height: 100%; display: block; }
.divider .d-gold { fill: var(--gold); }
.divider .d-fill { fill: var(--to); }
.divider--hero { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; margin: 0; --to: var(--surface); }
.divider--media { display: none; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; margin: 0; --to: var(--panel); }
@media (max-width: 860px) { .divider--media { display: block; } }
.divider--to-raised { --from: var(--surface); --to: var(--surface-raised); }
.divider--to-surface { --from: var(--surface-raised); --to: var(--surface); }
.divider--to-panel { --from: var(--surface); --to: var(--panel); }
.divider--from-panel { --from: var(--panel); --to: var(--surface); }
/* Neben einem Übergang braucht der Abschnitt weniger Luft */
.divider + .section { padding-top: calc(var(--space-section) * .55); }
.section:has(+ .divider) { padding-bottom: calc(var(--space-section) * .55); }
.page-head:has(+ .divider) .container { padding-bottom: var(--space-4); }
#kontakt { padding-bottom: calc(var(--space-section) * 1.1); }
.footer-grid { border-top: 1px solid var(--line-panel); }

/* ---------- Feinschliff ---------- */
/* Navigation wird beim Scrollen schlanker */
.brand img { transition: height .3s var(--ease-out); }
.navbar .container { transition: padding .3s var(--ease-out); }
.navbar.is-scrolled .container { padding-block: 6px; }
.navbar.is-scrolled .brand img { height: 48px; }

/* Fotos neben Text: feiner Goldrahmen nach innen versetzt */
.split-media { position: relative; }
.split-media::after {
  content: ""; position: absolute; inset: var(--space-3); pointer-events: none;
  border: 1px solid var(--gold); transition: inset .6s var(--ease-out);
}
.split:hover .split-media::after { inset: calc(var(--space-3) + 6px); }

/* Leistungskacheln: ruhiger Rhythmus, goldene Kante beim Überfahren */
.service { position: relative; transition: transform .4s var(--ease-out); }
.service::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.service:hover::after { transform: scaleX(1); }
.service-body { flex: 1; }

/* Symbol-Scheibe mittig auf der oberen Kante der Kachel: weißes Symbol auf Gold */
.service-body { position: relative; align-items: center; text-align: center; padding-top: calc(var(--space-4) + 30px); }
.on-dark .service-disc, .service-disc {
  position: absolute; top: -30px; left: 50%; margin-left: -30px;
  width: 60px; height: 60px; font-size: 30px;
  background: var(--gold); color: var(--on-panel); border: 4px solid var(--panel);
}
.service:hover .service-disc .icon { transform: rotate(-10deg) scale(1.08); }
.service-disc .icon { transition: transform .4s var(--ease-out); }

/* ---------- Animationen ----------
   Nur aktiv, wenn JavaScript läuft (html.motion) und der Besucher keine reduzierte
   Bewegung eingestellt hat. Ohne JavaScript ist alles sofort sichtbar.
   Nur Deckkraft, Verschiebung und Maßstab: keine Schatten, keine Verläufe. */

/* Hero: Foto zieht sanft auf, Schwung gleitet herein, Inhalt baut sich gestaffelt auf */
@keyframes fk-fade-up { from { opacity: 0; transform: translateY(var(--reveal-shift)); } to { opacity: 1; transform: none; } }
@keyframes fk-photo-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes fk-curve-in { from { transform: translateX(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fk-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes fk-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.motion .hero-media .photo { animation: fk-photo-in var(--dur-slow) var(--ease-out) both; }
.motion .hero-curve { animation: fk-curve-in 1s var(--ease-out) .15s both; }
.motion .hero-content > * { animation: fk-fade-up var(--dur-base) var(--ease-out) both; }
.motion .hero-content > :nth-child(1) { animation-delay: .25s; }
.motion .hero-content > :nth-child(2) { animation-delay: .35s; }
.motion .hero-content > :nth-child(3) { animation-delay: .45s; }
.motion .hero-content > :nth-child(4) { animation-delay: .55s; }
.motion .hero-content > :nth-child(5) { animation-delay: .65s; }
.motion .hero .eyebrow::before { transform-origin: left; animation: fk-line .6s var(--ease-out) .45s both; }
.motion .checks li::before { animation: fk-pop .45s var(--ease-out) both; }
.motion .checks li:nth-child(1)::before { animation-delay: .85s; }
.motion .checks li:nth-child(2)::before { animation-delay: .95s; }
.motion .checks li:nth-child(3)::before { animation-delay: 1.05s; }

/* Kopf der Unterseiten */
.motion .page-head .container > * { animation: fk-fade-up var(--dur-base) var(--ease-out) both; }
.motion .page-head .container > :nth-child(2) { animation-delay: .1s; }
.motion .page-head .container > :nth-child(3) { animation-delay: .2s; }
.motion .page-head .container > :nth-child(4) { animation-delay: .3s; }

/* Beim Scrollen einblenden. site.js setzt .reveal und --i (Reihenfolge in der Gruppe). */
.motion .reveal {
  opacity: 0; transform: translateY(var(--reveal-shift));
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.motion .reveal.is-visible { opacity: 1; transform: none; }

/* Goldband öffnet sich von der Mitte */
.motion .band.reveal { transform: scaleX(.6); transform-origin: center; }
.motion .band.reveal.is-visible { transform: none; }

/* Fotos neben Text: leichter Zoom beim Einblenden */
.motion .split-media.reveal { transform: none; }
.motion .split-media.reveal .photo { transform: scale(1.06); transition: transform var(--dur-slow) var(--ease-out); }
.motion .split-media.reveal.is-visible .photo { transform: none; }

/* Symbol-Scheiben poppen kurz nach ihrem Text auf */
.motion .reveal .disc { transform: scale(.5); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger) + .15s); }
.motion .reveal.is-visible .disc { transform: none; opacity: 1; }

/* Leistungskacheln: Foto zoomt beim Überfahren, Goldstrich wird länger */
.service { overflow: hidden; }
.service-photo { transition: transform .6s var(--ease-out), filter .6s var(--ease-out); }
.service-body::before { transition: width .4s var(--ease-out); }
.service:hover .service-photo { transform: scale(1.05); filter: grayscale(1) contrast(1.1); }
.service:hover .service-body::before { width: 56px; }

/* Buttons und Kontaktpunkte: kleine, spürbare Rückmeldung */
.btn { transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .3s var(--ease-out); }
.btn:hover .icon { transform: rotate(-12deg); }
.disc { transition: background-color .25s ease, color .25s ease, transform .3s var(--ease-out); }
.point:hover .disc, .contact-list li:hover .disc { background: var(--gold); color: var(--on-gold); transform: scale(1.06); }
.eyebrow::before { transition: width .4s var(--ease-out); }
.footer a, .topbar-links a, .contact-list a { transition: color var(--dur-fast) ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Platzhalterfläche, solange ein Foto lädt */
.hero-media { background: var(--panel-raised); }
.split-media { background: var(--line-soft); }
