/* ============ Schrift (lokal, ohne Google-Server) ============ */
/* Jost by Owen Earl (indestructible type*), SIL Open Font License 1.1 */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../assets/fonts/jost-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../assets/fonts/jost-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;
}

/* ============ Farben & Grundwerte ============ */
:root {
  --paper: #ffffff;
  --sand: #f3ede4;
  --ink: #231c17;
  --stone: #6b6159;
  --gold: #b07a47;
  --gold-light: #ebd3ae;
  --bronze: #8a5530;
  --line: #e6dccd;

  --gold-gradient: linear-gradient(120deg, #8a5530 0%, #b07a47 35%, #d9b183 50%, #b07a47 65%, #8a5530 100%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ink: cubic-bezier(0.55, 0.1, 0.35, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --radius-lg: 28px;
  --radius-md: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-family: inherit; font-size: 1rem; font-weight: 500; letter-spacing: 0.01em;
  border: 0; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: box-shadow 0.3s var(--ease-out), background-color 0.3s, color 0.3s;
}
.btn-gold { color: #fff; background: linear-gradient(135deg, #b88552 0%, #8a5530 100%); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 240, 215, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 5s var(--ease-out) infinite 3.5s;
}
.btn-gold:hover { box-shadow: 0 14px 34px -10px rgba(138, 85, 48, 0.55); }
.btn-gold:hover::after { animation-duration: 1.2s; animation-delay: 0s; }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.btn-lg { min-height: 64px; padding: 0 40px; font-size: clamp(1.05rem, 2.2vw, 1.35rem); }
.btn-label { position: relative; display: inline-block; }

@keyframes sheen {
  0% { transform: translateX(-120%); }
  30%, 100% { transform: translateX(120%); }
}

/* ============ Kopfzeile ============ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.45s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.hide { transform: translateY(-105%); }
.brand { display: block; width: 112px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.5s, transform 0.5s var(--ease-out); }
.site-header.show-brand .brand { opacity: 1; transform: none; pointer-events: auto; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a, .nav-item > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; color: var(--stone); font-weight: 500; transition: color 0.25s;
}
.main-nav > a::after, .nav-item > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-out);
}
.main-nav > a:hover, .nav-item:hover > a, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav > a:hover::after, .nav-item:hover > a::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Untermenü "Leistungen": klappt beim Darüberfahren auf */
.nav-item { position: relative; }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease-out); }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.submenu {
  position: absolute; top: 100%; left: 50%; width: 310px; margin-top: 8px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 28px 60px -28px rgba(90, 60, 30, 0.4);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0.25s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* Brücke, damit das Menü beim Runterfahren offen bleibt */
.nav-item:hover .submenu, .nav-item:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: block; padding: 12px 14px; border-radius: 12px; transition: background-color 0.2s; }
.submenu a:hover, .submenu a:focus-visible, .submenu a[aria-current="page"] { background: var(--sand); }
.submenu strong { display: block; font-weight: 500; color: var(--ink); }
.submenu span { display: block; margin-top: 2px; font-size: 0.9rem; line-height: 1.4; color: var(--stone); }

/* Handy-Menü */
.menu-toggle { display: none; position: relative; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 49; overflow-y: auto;
  display: flex; flex-direction: column; gap: 36px;
  padding: 96px var(--gutter) 40px; background: var(--paper);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mm-main { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.9rem; font-weight: 300; letter-spacing: -0.02em; }
.mm-sub { padding: 9px 0 9px 20px; color: var(--stone); font-size: 1.12rem; }
.mm-sub:last-of-type { padding-bottom: 16px; }
.mobile-menu a[aria-current="page"] { color: var(--bronze); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--paper); box-shadow: none; transform: none; }
body.menu-open .brand { opacity: 1; transform: none; pointer-events: auto; }

/* Goldener Lichtschein, der der Maus folgt */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: 200px; height: 200px; margin: -100px 0 0 -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 184, 132, 0.16) 0%, rgba(222, 184, 132, 0) 62%);
  pointer-events: none;
  opacity: 0; transition: opacity 0.6s;
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* ============ Kontakt-Fähnchen am rechten Rand ============ */
.side-tabs {
  position: fixed; right: 0; top: 50%; z-index: 45;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  transform: translateY(-50%);
  animation: tabs-in 0.8s var(--ease-out) both 2.4s;
}
@keyframes tabs-in { from { opacity: 0; transform: translate(100%, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
.side-tab {
  --tab: 56px;
  display: flex; align-items: center; gap: 18px;
  height: var(--tab); padding: 0 22px 0 16px;
  border-radius: 16px 0 0 16px;
  color: #efe8df; font-size: 0.95rem; font-weight: 500; white-space: nowrap;
  background:
    radial-gradient(120px circle at 0% 0%, rgba(176, 122, 71, 0.4), transparent 70%),
    var(--ink);
  box-shadow: -6px 10px 26px -12px rgba(35, 28, 23, 0.55), inset 0 0 0 1px rgba(235, 211, 174, 0.12);
  /* Nur das Icon schaut heraus, die Beschriftung gleitet beim Darüberfahren hinein */
  transform: translateX(calc(100% - var(--tab)));
  transition: transform 0.5s var(--ease-out), background-color 0.3s;
}
.side-tab:focus-visible { transform: none; }
@media (hover: hover) { .side-tab:hover { transform: none; } }
.side-tab:focus-visible { outline-offset: -4px; }
.side-tab svg { flex: none; width: 24px; height: 24px; }
.side-tab .stroke { fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.side-tab .fill { fill: var(--gold-light); }

/* ============ Start ============ */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 110px var(--gutter) 40px;
  overflow: hidden;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; max-width: 900px; }

.signature { width: min(420px, 70vw); height: auto; margin-bottom: clamp(28px, 5vh, 48px); }
.ink { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: ink 0.9s var(--ease-ink) forwards; }
.ink-1 { animation-delay: 0.3s; animation-duration: 0.9s; }
.ink-2 { animation-delay: 1.1s; animation-duration: 0.45s; }
.ink-3 { animation-delay: 1.5s; animation-duration: 0.8s; }
.ink-4 { animation-delay: 2.2s; animation-duration: 0.95s; }
.ink-text { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: wipe 0.9s var(--ease-out) forwards; }
.ink-text-1 { animation-delay: 2.9s; }
.ink-text-2 { animation-delay: 3.1s; }
.signature-full { opacity: 0; animation: fade-in 0.6s ease forwards 3.9s; }
@keyframes ink { to { stroke-dashoffset: 0; } }
@keyframes wipe { to { transform: scaleX(1); } }
@keyframes fade-in { to { opacity: 1; } }

.hero-title {
  font-size: clamp(2.9rem, 8.4vw, 6.6rem);
  font-weight: 300; letter-spacing: -0.035em; line-height: 1;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease-out) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: 1.2s; }
.hero-title .line:nth-child(2) > span { animation-delay: 1.35s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-text {
  max-width: 34rem; margin-top: 26px;
  color: var(--stone); font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  opacity: 0; animation: fade-up 0.9s var(--ease-out) forwards 1.7s;
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px;
  opacity: 0; animation: fade-up 0.9s var(--ease-out) forwards 1.9s;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }


/* ============ Leitgedanke ============ */
.statement { padding: clamp(32px, 5vh, 56px) var(--gutter) clamp(100px, 16vh, 180px); }
.statement-title {
  text-align: center;
  font-size: clamp(2.1rem, 4.6vw, 4.3rem);
  font-weight: 300; letter-spacing: -0.035em; line-height: 1.05;
}
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; }
.reveal-lines .line > span { display: inline-block; text-wrap: balance; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.reveal-lines .line:nth-child(2) > span { transition-delay: 0.15s; }
.reveal-lines.visible .line > span { transform: none; }

/* ============ Allgemeine Einblendung ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* ============ Leistungen ============ */
.services { padding: clamp(80px, 12vh, 140px) 0; background: var(--sand); border-radius: 48px 48px 0 0; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 60px; align-items: end;
  margin-bottom: clamp(40px, 7vh, 72px);
}
.section-head h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.03em; }
.section-head p { max-width: 26rem; color: var(--stone); }

.service-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Wendekarten: drehen sich beim Darüberfahren um */
.flip-card { position: relative; perspective: 1400px; outline: none; }
/* Beide Seiten liegen im selben Rasterfeld: die Karte wird so hoch wie die längere Seite */
.flip-inner {
  position: relative; display: grid; height: 100%; min-height: 440px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.3, 0.7, 0.2, 1);
}
@media (hover: hover) {
  .flip-card:hover .flip-inner { transform: rotateY(180deg); }
}
.flip-card:focus-visible .flip-inner,
.flip-card:has(.card-link:focus-visible) .flip-inner,
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-card:focus-visible .flip-face { outline: 2px solid var(--bronze); outline-offset: 4px; }

.flip-face {
  position: relative; grid-area: 1 / 1;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 38px);
  border-radius: var(--radius-md);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flip-front {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -34px rgba(90, 60, 30, 0.35);
  cursor: pointer;
}
.flip-back {
  justify-content: center;
  color: #efe8df;
  background:
    radial-gradient(420px circle at 85% 0%, rgba(176, 122, 71, 0.35), transparent 60%),
    var(--ink);
  box-shadow: 10px 10px 0 var(--gold-light);
  transform: rotateY(180deg);
}
.flip-card h3 { margin: 24px 0 12px; font-size: clamp(1.7rem, 2.4vw, 2.1rem); font-weight: 400; letter-spacing: -0.02em; }
.flip-front p { color: var(--stone); }
.flip-hint {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  color: var(--bronze); font-size: 0.92rem; font-weight: 500;
}
.flip-hint::before {
  content: ""; width: 28px; height: 1.5px; background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.flip-card:hover .flip-hint::before { width: 44px; }
.hint-touch { display: none; }
@media (hover: none) {
  .hint-mouse { display: none; }
  .hint-touch { display: inline; }
}

.flip-back h3 { margin-top: 0; color: var(--gold-light); }
.back-intro { color: #bfb3a6; font-size: 0.95rem; margin-bottom: 16px; }
.flip-back ul { margin: 0; padding: 0; list-style: none; }
.flip-back li { position: relative; padding-left: 22px; font-size: 0.98rem; line-height: 1.45; }
.flip-back li + li { margin-top: 10px; }
.card-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  color: var(--gold-light); font-size: 0.95rem; font-weight: 500;
}
.card-link::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); transition: width 0.4s var(--ease-out); }
.card-link:hover::before, .card-link:focus-visible::before { width: 44px; }
.flip-back li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #ebd3ae, #b07a47);
}

.icon { width: 48px; height: 48px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon.draw * { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-ink); }
.icon.draw *:nth-child(2) { transition-delay: 0.35s; }
.icon.draw *:nth-child(3) { transition-delay: 0.6s; }
.visible .icon.draw * { stroke-dashoffset: 0; }

/* ============ Ablauf ============ */
.process { padding: clamp(24px, 4vh, 48px) 0 clamp(100px, 14vh, 160px); background: var(--sand); scroll-margin-top: 72px; }
.process-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.process-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.03em; margin-bottom: 24px; }
.process-head p { max-width: 26rem; color: var(--stone); }
.process-time { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--gold-light); }
.process-time strong { color: var(--ink); font-weight: 500; }

/* Goldene Linie verbindet die Schritte und füllt sich beim Scrollen */
.steps { --progress: 0; --track: calc(100% - 56px); position: relative; margin: 0; padding: 0; list-style: none; }
.steps::before,
.steps::after {
  content: ""; position: absolute; left: 27px; top: 28px; width: 2px; height: var(--track);
  border-radius: 2px;
}
.steps::before { background: var(--gold-light); }
.steps::after {
  background: linear-gradient(180deg, #d9b183 0%, #b07a47 50%, #8a5530 100%);
  transform: scaleY(var(--progress)); transform-origin: top;
}
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); padding-bottom: clamp(40px, 6vh, 64px); }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--sand); border: 1.5px solid var(--gold-light);
  color: var(--gold); font-size: 1.35rem; font-variant-numeric: tabular-nums;
  transition: background-color 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.step.reached .step-num {
  background: linear-gradient(135deg, #b88552 0%, #8a5530 100%); border-color: transparent; color: #fff;
  box-shadow: 0 10px 24px -10px rgba(138, 85, 48, 0.6);
}
.step h3 { margin: 10px 0 10px; font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 400; }
.step p { max-width: 32rem; color: var(--stone); }

/* ============ Über mich ============ */
.about { padding: clamp(90px, 14vh, 170px) 0; overflow-x: clip; }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.about-visual { position: relative; padding: 9%; }
.photo {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden;
  background: linear-gradient(160deg, #efe4d3 0%, #e2cfb3 100%);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease-out);
}
.portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ring {
  position: absolute; right: -2%; bottom: -2%; width: 42%;
  animation: spin 26s linear infinite;
}
.ring text { font-size: 14px; fill: var(--bronze); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }

.about-copy h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.03em; margin-bottom: 28px; }
.about-copy p { max-width: 34rem; color: var(--stone); font-size: 1.12rem; }
.about-copy p + p { margin-top: 16px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; }
.fact { padding-top: 18px; border-top: 1px solid var(--gold-light); }
.fact dt { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1; color: var(--bronze); font-variant-numeric: tabular-nums; }
.fact dd { margin: 10px 0 0; color: var(--stone); font-size: 0.95rem; line-height: 1.45; }

/* ============ Häufige Fragen ============ */
.faq { padding: clamp(40px, 8vh, 100px) 0 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.faq-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.faq-head p { color: var(--stone); }
.faq-head a { color: var(--bronze); text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 4px; transition: text-decoration-color 0.25s; }
.faq-head a:hover { text-decoration-color: var(--bronze); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; list-style: none; cursor: pointer;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem); line-height: 1.35;
  transition: color 0.25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--bronze); }
.faq-list summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat;
  transition: transform 0.4s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-answer p { max-width: 40rem; padding-bottom: 26px; color: var(--stone); }

/* Sanftes Aufklappen in Browsern, die das können */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
  }
  .faq-list details[open]::details-content { block-size: auto; }
}

/* ============ Kontakt ============ */
.contact { padding: clamp(110px, 18vh, 200px) 0; text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(2.8rem, 8vw, 6.4rem); letter-spacing: -0.035em; padding-bottom: 0.08em; }
.shimmer {
  background: var(--gold-gradient);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.contact p { max-width: 32rem; margin: 26px 0 40px; color: var(--stone); font-size: 1.15rem; }

/* Kontaktformular */
.contact-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px;
  width: min(720px, 100%); text-align: left;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.98rem; }
.field .optional { color: var(--stone); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #a39a91; }
.field input:hover, .field textarea:hover { border-color: var(--gold-light); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(235, 211, 174, 0.55); }
.field.invalid input, .field.invalid textarea { border-color: #b4472f; }
.field-error { color: #a33c25; font-size: 0.9rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 6px; }
.contact .form-note { max-width: 22rem; margin: 0; font-size: 0.92rem; line-height: 1.5; }
.form-note a, .contact-alt a { color: var(--bronze); text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
.form-note a:hover, .contact-alt a:hover { text-decoration-color: var(--bronze); }
.contact-form button[disabled] { opacity: 0.65; cursor: progress; }
.contact .form-status { max-width: none; margin: 0; font-size: 1rem; }
.contact .form-status:empty { display: none; }
.form-status.error { color: #a33c25; }

.form-done { width: min(720px, 100%); padding: 40px clamp(24px, 4vw, 48px); border-radius: var(--radius-md); background: var(--sand); }
.form-done h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 400; margin-bottom: 12px; }
.contact .form-done p { margin: 0 auto; }
.contact .contact-alt { margin: 32px 0 0; font-size: 1rem; }

/* ============ Unterseiten ============ */
.page-hero { padding: clamp(130px, 20vh, 190px) 0 clamp(70px, 11vh, 120px); }
.page-hero:has(+ .contact-sub) { padding-bottom: clamp(36px, 6vh, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; color: var(--stone); font-size: 0.95rem; }
.crumbs a { color: var(--bronze); font-weight: 500; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-hero .icon { width: 56px; height: 56px; margin-bottom: 26px; }
.page-hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 7vw, 5.6rem); letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
.page-hero .lead { max-width: 38rem; margin-top: 28px; color: var(--stone); font-size: clamp(1.1rem, 1.6vw, 1.25rem); }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.detail { padding: clamp(80px, 12vh, 140px) 0; background: var(--sand); border-radius: 48px 48px 0 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 34px; }
.feature { padding-top: 20px; border-top: 1px solid var(--gold-light); }
.feature h3 { margin-bottom: 10px; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.25; }
.feature p { color: var(--stone); }
.detail-note { max-width: 42rem; margin-top: 56px; padding-left: 20px; border-left: 2px solid var(--gold); color: var(--stone); }
.detail-note strong { color: var(--ink); font-weight: 500; }

.split-section { padding: clamp(80px, 12vh, 140px) 0; }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.split h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); letter-spacing: -0.03em; }
.split-body p { color: var(--stone); font-size: 1.1rem; }
.split-body p + p { margin-top: 16px; }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 1.3em; width: 14px; height: 7px;
  border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg);
}

.more-services { padding: 0 0 clamp(40px, 8vh, 80px); }
.more-services h2 { margin-bottom: 28px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
.service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-link {
  display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.service-link:hover, .service-link:focus-visible { border-color: var(--gold-light); box-shadow: 0 24px 50px -34px rgba(90, 60, 30, 0.45); }
.service-link h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; }
.service-link p { color: var(--stone); }
.service-link .more { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--bronze); font-size: 0.95rem; font-weight: 500; }
.service-link .more::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); transition: width 0.4s var(--ease-out); }
.service-link:hover .more::before { width: 44px; }

/* Über-mich-Seite */
.about-page { padding-top: clamp(120px, 18vh, 170px); }
.about-copy h1 { margin-bottom: 20px; font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -0.035em; }
.about-copy .about-lead { margin-bottom: 22px; color: var(--bronze); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.35; text-wrap: balance; }

/* Kontaktseite */
.contact-page { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-page .contact-form { width: 100%; }
.contact-aside { padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-md); background: var(--sand); }
.contact-aside h2 { margin-bottom: 18px; font-size: 1.6rem; font-weight: 400; }
.contact-aside dl { margin: 0; }
.contact-aside dt { margin-top: 18px; color: var(--stone); font-size: 0.9rem; }
.contact-aside dd { margin: 2px 0 0; font-size: 1.08rem; }
.contact-aside dd a { color: var(--bronze); text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
.contact-aside dd a:hover { text-decoration-color: var(--bronze); }
.contact-sub { padding: 0 0 clamp(90px, 14vh, 160px); }
.contact-sub .form-note { max-width: 22rem; margin: 0; color: var(--stone); font-size: 0.92rem; line-height: 1.5; }
.contact-sub .form-status { margin: 0; }
.contact-sub .form-status:empty { display: none; }
.contact-sub .contact-form p { color: var(--stone); }

/* Platzhalter: markiert Stellen, an denen noch echter Text von Mike fehlt */
.todo { margin-top: 18px; padding: 16px 18px; border: 1.5px dashed var(--gold); border-radius: 14px; background: rgba(235, 211, 174, 0.18); color: var(--bronze); font-size: 0.98rem; }
.todo::before { content: "Platzhalter: "; font-weight: 600; }

/* ============ Impressum & Datenschutz ============ */
.page-legal .brand, .page-sub .brand { opacity: 1; transform: none; pointer-events: auto; }
.legal { padding: clamp(120px, 18vh, 170px) var(--gutter) clamp(80px, 12vh, 140px); }
.legal-inner { width: min(760px, 100%); margin-inline: auto; }
.legal-back {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  color: var(--bronze); font-size: 0.95rem; font-weight: 500;
}
.legal-back::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); transition: width 0.4s var(--ease-out); }
.legal-back:hover::before { width: 44px; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: -0.035em; margin-bottom: clamp(36px, 6vh, 56px); hyphens: manual; }
.legal section { padding-block: 28px; border-top: 1px solid var(--line); }
.legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 400; line-height: 1.25; margin-bottom: 14px; }
.legal p, .legal li { color: var(--stone); }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0; padding-left: 1.2em; }
.legal li + li { margin-top: 4px; }
.legal li::marker { color: var(--gold); }
.legal section a { color: var(--bronze); text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal section a:hover { text-decoration-color: var(--bronze); }
.legal-date { padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.footer-inner a[aria-current="page"] { color: var(--bronze); }

/* ============ Fußzeile ============ */
.site-footer { border-top: 1px solid var(--line); color: var(--stone); font-size: 0.92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 26px; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a:hover { color: var(--bronze); }

/* ============ Handy & Tablet ============ */
@media (max-width: 1140px) and (min-width: 901px) {
  .flip-inner { min-height: 480px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .process-grid, .faq-grid, .split, .contact-page, .service-links { grid-template-columns: 1fr; }
  .process-head { position: static; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .service-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .flip-inner { min-height: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .ring { right: 0; bottom: 0; }
}
@media (max-width: 640px) {
  .brand { width: 92px; }
  .header-cta { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .page-actions .btn { width: 100%; }
  .contact-form { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .side-tab { --tab: 46px; padding-left: 12px; border-radius: 12px 0 0 12px; }
  .side-tab svg { width: 22px; height: 22px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .step-num { width: 44px; height: 44px; font-size: 1.1rem; }
  .steps::before, .steps::after { left: 21px; top: 22px; }
  .step h3 { margin-top: 4px; }
  .hero { min-height: auto; padding-top: 104px; padding-bottom: 24px; }
  .hero-actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .fact { display: grid; grid-template-columns: 5.5rem 1fr; align-items: center; gap: 16px; padding-block: 16px; }
  .fact dd { margin: 0; }
  .services { border-radius: 32px 32px 0 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ============ Weniger Bewegung ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-lines .line > span { transform: none; }
  .cursor-glow { display: none; }
  .btn-gold::after { display: none; }
}
