/* ==========================================================
   Friedhelm Seiler – Unternehmerehepaar-Coaching
   Statische Website, ohne externe Abhängigkeiten (DSGVO-freundlich)
   ========================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --teal-900: #002f2f;
  --teal-800: #003b3b;
  --teal: #004c4c;
  --teal-600: #0b6262;
  --teal-100: #e3eeee;
  --gold: #db9238;
  --gold-600: #c47d24;
  --brown: #a66d3f;
  --cream: #fbf7f3;
  --sand: #f3ece3;
  --ink: #142424;
  --muted: #536565;
  --line: #e2dcd3;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0,40,40,.06), 0 12px 32px -12px rgba(0,40,40,.18);
  --wrap: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--teal-900); font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease; cursor: pointer; line-height: 1.2; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--gold); color: var(--teal-900); box-shadow: 0 8px 20px -8px rgba(219,146,56,.7); }
.btn-primary:hover { background: var(--gold-600); color: var(--white); transform: translateY(-1px); }
.btn-ghost { border-color: currentColor; color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-light { background: var(--white); color: var(--teal-900); }
.btn-light:hover { background: var(--gold); color: var(--teal-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,247,243,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,40,40,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal-900); }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem; padding: .5em .9em; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); background: var(--teal-100); }
.nav .btn { margin-left: 8px; padding: .65em 1.2em; }
.nav .btn:hover { background: var(--gold-600); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--teal-900); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,40,40,.35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .85em 1em; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero::before { content: ""; position: absolute; right: -12%; top: -30%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--sand), transparent 65%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--brown); font-weight: 500; }
.hero .lead { margin-bottom: 2rem; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 1.6rem; font-size: .92rem; color: var(--muted); }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e6a; box-shadow: 0 0 0 4px rgba(47,158,106,.15); }
.hero-media { position: relative; }
.photo-frame { position: relative; border-radius: 28px 28px 28px 120px; overflow: hidden; background: linear-gradient(150deg, var(--teal-600), var(--teal-900)); aspect-ratio: 4 / 4.2; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85); font-family: var(--serif); font-size: clamp(4rem, 10vw, 7rem); letter-spacing: .02em; }
.photo-frame img + .ph { display: none; }
.badge-float { position: absolute; left: -24px; bottom: 32px; background: var(--white); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 260px; }
.badge-float strong { font-family: var(--serif); font-size: 2rem; color: var(--teal); line-height: 1; }
.badge-float span { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.ring { position: absolute; right: -28px; top: -28px; width: 120px; height: 120px; border: 2px dashed var(--gold); border-radius: 50%; opacity: .55; z-index: -1; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; }
  .badge-float { left: 12px; }
}

/* ---------- Cards / Angebote ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 28px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-100); color: var(--teal); margin-bottom: 20px; }
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); flex: 1; }
.card .more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }
.card .num { position: absolute; top: 24px; right: 26px; font-family: var(--serif); font-size: 1rem; color: var(--line); font-weight: 600; }
.card.featured { background: var(--teal); border-color: var(--teal); color: #d6e6e6; }
.card.featured h3 { color: var(--white); }
.card.featured p { color: #c7dbdb; }
.card.featured .icon { background: rgba(255,255,255,.1); color: var(--gold); }
.card.featured .more { color: var(--gold); }
.card.featured .num { color: rgba(255,255,255,.25); }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote-band { background: var(--teal); color: var(--white); position: relative; overflow: hidden; }
.quote-band::after { content: "“"; position: absolute; left: 4%; top: -.25em; font-family: var(--serif); font-size: 26rem; line-height: 1; color: rgba(255,255,255,.05); pointer-events: none; }
.quote { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 980px; margin-inline: auto; }
.quote img, .quote .avatar { width: clamp(96px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.15); background: var(--teal-600); }
.quote .avatar { display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); }
.quote img + .avatar { display: none; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 1.95rem); line-height: 1.38; font-weight: 400; font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--gold); letter-spacing: .04em; }
@media (max-width: 640px) { .quote { grid-template-columns: 1fr; text-align: center; } .quote img, .quote .avatar { margin-inline: auto; } }

/* ---------- Mission ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media { position: relative; }
.split-media .photo-frame { border-radius: 120px 28px 28px 28px; aspect-ratio: 668 / 547; background: var(--sand); }
.split-media .photo-frame img { object-fit: contain; }
.split-media .photo-frame .ph { color: var(--brown); font-size: 1rem; font-family: var(--sans); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(40px, 6vw, 64px) 0 clamp(32px, 4vw, 48px); }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--teal); line-height: 1; margin-bottom: 8px; font-weight: 600; }
.stat strong small { font-size: .55em; color: var(--gold-600); }
.stat span { font-size: .92rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004c4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { background: var(--teal-900); color: #cfe0e0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -200px; bottom: -260px; width: 620px; aspect-ratio: 1; border-radius: 50%; border: 80px solid rgba(219,146,56,.08); }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.contact .lead { color: #b9d0d0; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--white); text-decoration: none; transition: background .2s, transform .2s, border-color .2s; }
.contact-card:hover { background: rgba(255,255,255,.1); border-color: var(--gold); color: var(--white); transform: translateX(4px); }
.contact-card .icon { width: 50px; height: 50px; border-radius: 14px; background: var(--gold); color: var(--teal-900); display: grid; place-items: center; flex: none; }
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card small { display: block; color: #9fbcbc; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-card b { font-weight: 600; font-size: 1.08rem; word-break: break-word; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Unterseite ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
@media (max-width: 880px) { .page-hero-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.price-card .label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); font-weight: 600; }
.price { font-family: var(--serif); font-size: 3.2rem; color: var(--teal); line-height: 1; margin: 10px 0 4px; font-weight: 600; }
.price small { font-family: var(--sans); font-size: .95rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; color: var(--muted); font-size: .97rem; }
.price-card li::before { content: "✓"; color: var(--gold-600); font-weight: 700; margin-right: 10px; }
.price-card .btn { width: 100%; justify-content: center; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag { padding: .45em 1em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--teal); }

.prose { max-width: 720px; }
.prose p { color: #304242; }
.feature-rows { display: grid; gap: 22px; }
.feature-row { display: grid; grid-template-columns: 64px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.feature-row .n { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; font-weight: 600; }
.feature-row h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.feature-row p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .feature-row { grid-template-columns: 1fr; gap: 8px; } }
.intro-box { background: var(--sand); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); margin-bottom: 22px; font-size: 1.12rem; }
.intro-box p:last-child { margin: 0; }

.values { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.values span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); background: var(--teal-100); padding: .55em 1.1em; border-radius: 999px; font-size: .95rem; }
.values span::before { content: "◆"; color: var(--gold); font-size: .7em; }
.testimonials { columns: 3 300px; column-gap: 22px; }
.testimonial { break-inside: avoid; margin: 0 0 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.testimonial::before { content: "“"; font-family: var(--serif); font-size: 4rem; line-height: .6; color: var(--gold); display: block; height: 26px; }
.testimonial blockquote { margin: 0 0 18px; font-size: 1.02rem; color: #2a3b3b; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.testimonial .ini { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: .9rem; flex: none; }
.testimonial b { display: block; color: var(--teal-900); font-size: .97rem; }
.testimonial small { color: var(--muted); font-size: .85rem; line-height: 1.35; display: block; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; font-family: var(--sans); font-weight: 650; }
.legal p, .legal li { color: #304242; }
.legal address { font-style: normal; }
.legal .box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #9fbcbc; border-top: 1px solid rgba(255,255,255,.08); padding: 32px 0; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer a { color: #cfe0e0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links button { background: none; border: 0; padding: 0; color: #cfe0e0; font: inherit; cursor: pointer; }
.footer-links button:hover { color: var(--gold); }

/* ---------- Cookie-Hinweis (nur aktiv, wenn Google Analytics konfiguriert ist) ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-left: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px -12px rgba(0,40,40,.35); padding: 22px 24px; display: none; }
.consent.show { display: block; animation: up .3s ease; }
.consent h2 { font-size: 1.2rem; margin-bottom: .4em; }
.consent p { font-size: .93rem; color: var(--muted); margin-bottom: 16px; }
.consent .btn-row .btn { padding: .7em 1.2em; font-size: .95rem; }
@keyframes up { from { transform: translateY(16px); opacity: 0; } }

/* ---------- Animation beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Originalbilder (freigestellte Collagen) ohne Rahmen darstellen */
.photo-frame:has(img) { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.photo-frame:has(img) img { object-fit: contain; }
.hero .photo-frame:has(img) { aspect-ratio: 824 / 735; }
@media (max-width: 420px) { .brand-sub { font-size: .62rem; letter-spacing: .08em; } .brand-name { font-size: 1.1rem; } }
