/* ============================================================
   clickzauber — geteilte Design-DNA für die Seitenfamilie
   Startseite + 4 Branchenseiten teilen diese Komponenten.
   Jede Seite darf --accent / --bg / Fonts per :root überschreiben.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #ece3d1; --bg-2: #f4eede; --card: #ffffff; --card-2: #f6f0e3;
  --ink: #221f18; --ink-2: rgba(34,31,24,0.66); --ink-3: rgba(34,31,24,0.46);
  --line: rgba(34,31,24,0.12); --line-2: rgba(34,31,24,0.2);
  --accent: #1f8a5b; --accent-2: #35b37e; --accent-ink: #ffffff;
  --radius: 18px; --radius-s: 12px;
  --fd: "Space Grotesk", "Helvetica Neue", Helvetica, "Segoe UI", system-ui, sans-serif;
  --fm: "IBM Plex Mono", ui-monospace, monospace;
  --fh: var(--fd);
  scroll-behavior: smooth; scroll-padding-top: 84px;
}
html { overflow-x: clip; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--fd); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; position: relative; }
::selection { background: var(--accent); color: var(--accent-ink); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px,5vw,48px); position: relative; z-index: 1; }
.blk { padding: clamp(56px,8vw,104px) 0; position: relative; }
.blk.tint { background: var(--card-2); }
.center { text-align: center; }
.eyebrow { font-family: var(--fm); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--accent); }
.eyebrow.center { justify-content: center; }
.sec-head { max-width: 720px; margin: 0 auto clamp(34px,5vw,54px); }
.sec-head.left { margin-left: 0; }
h2.sec-title { font-family: var(--fh); font-weight: 700; font-size: clamp(28px,4.4vw,48px); line-height: 1.06; letter-spacing: -0.035em; margin: 0; }
.sec-lead { font-size: clamp(16px,1.7vw,20px); color: var(--ink-2); line-height: 1.55; margin: 18px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15.5px; font-family: var(--fd); cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s, background .2s, color .2s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px color-mix(in oklab, var(--accent) 45%, transparent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.btn-lg { padding: 17px 34px; font-size: 16.5px; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: color-mix(in srgb, var(--bg) 74%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 12px clamp(20px,5vw,48px); display: flex; align-items: center; gap: 20px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 16px; letter-spacing: -0.02em; margin-right: auto; }
.nav-brand .dot { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); font-size: 15px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--ink-2); font-size: 14.5px; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav .btn { padding: 10px 20px; font-size: 14px; }
@media (max-width: 880px) { .nav-links { display: none; } .nav .btn.nav-cta { padding: 9px 16px; font-size: 13px; } }

/* hero */
.hero { position: relative; padding: clamp(18px,3vh,44px) 0 clamp(40px,7vw,88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px,5vw,64px); align-items: center; }
.hero-eyebrow { font-family: var(--fm); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.hero h1 { font-family: var(--fh); font-weight: 700; font-size: clamp(34px,5.4vw,64px); line-height: 1.03; letter-spacing: -0.04em; margin: 0; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: clamp(16.5px,1.7vw,20px); color: var(--ink-2); max-width: 52ch; margin: 22px 0 0; line-height: 1.55; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 30px 0 0; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; font-size: 13.5px; color: var(--ink-3); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: "✓"; color: var(--accent); font-weight: 700; }
.hero-visual { position: relative; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual .ph-hero, .hero-visual .hero-img { aspect-ratio: 16/10; } .widget-split .hero-trust { display: none; } }

/* media placeholder — realistic imagery slot */
.ph { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 20%, var(--card-2)), var(--card-2)); border: 1px solid var(--line); }
.ph::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; font-family: var(--fm); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ph-16x9 { aspect-ratio: 16/9; }
.ph-4x3 { aspect-ratio: 4/3; }
.ph-1x1 { aspect-ratio: 1/1; }
.ph-hero { aspect-ratio: 5/4; box-shadow: 0 40px 90px -30px color-mix(in oklab, var(--accent) 40%, transparent); }
.hero-img { width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 40px 90px -30px color-mix(in oklab, var(--accent) 40%, transparent); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--card); padding: 26px 22px; text-align: center; }
.stat .v { font-family: var(--fh); font-size: clamp(26px,3.4vw,38px); font-weight: 700; letter-spacing: -0.03em; color: var(--accent); }
.stat .l { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* cards grid */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2.4vw,26px); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(16px,2.4vw,26px); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,3vw,32px); }
.card .n { font-family: var(--fm); font-size: 12px; color: var(--accent); letter-spacing: .12em; margin-bottom: 14px; }
.card h3 { font-size: 20px; margin: 0 0 10px; line-height: 1.25; letter-spacing: -0.01em; }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: color-mix(in oklab, var(--accent) 13%, transparent); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; font-size: 22px; }

/* steps (numbered flow) */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,2vw,24px); counter-reset: st; }
.steps.three { grid-template-columns: repeat(3,1fr); }
@media (max-width: 860px) { .steps, .steps.three { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 22px; border-top: 2px solid color-mix(in oklab, var(--accent) 32%, var(--line)); }
.step .sn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--fm); font-size: 14px; margin-bottom: 12px; }
.step h3 { font-size: 17.5px; margin: 0 0 6px; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }

/* proof / testimonials */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,3vw,32px); display: flex; flex-direction: column; gap: 16px; }
.quote p { font-size: 16.5px; line-height: 1.55; margin: 0; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 22%, var(--card-2)); flex: 0 0 auto; }
.quote .who b { font-size: 14.5px; display: block; }
.quote .who span { font-size: 13px; color: var(--ink-3); }
.stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }

/* widget frame — makes the embed look like a real part of the site */
klickzauber-calculator, wedding-planner { display: block; width: 100%; max-width: 100%; box-sizing: border-box; margin: 0 auto; }
.widget-frame { max-width: 560px; margin: 0 auto; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: 0 40px 90px -40px color-mix(in oklab, var(--accent) 42%, transparent), 0 16px 40px rgba(16,18,24,0.08); }
.widget-frame .wf-bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px 12px; }
.widget-frame .wf-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.widget-frame .wf-bar span { margin-left: 8px; font-family: var(--fm); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.widget-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px,4vw,56px); align-items: center; }
@media (max-width: 900px) { .widget-split { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; font-family: var(--fd); font-weight: 600; font-size: clamp(16px,1.9vw,19px); color: var(--ink); padding: 22px 44px 22px 0; cursor: pointer; position: relative; letter-spacing: -0.01em; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); font-weight: 400; transition: transform .3s; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-in { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(36px,5vw,64px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 70%; height: 120%; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 55%, transparent), transparent); opacity: .5; pointer-events: none; }
.cta-band h2 { position: relative; font-family: var(--fh); font-size: clamp(26px,4vw,44px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 14px; }
.cta-band p { position: relative; color: rgba(255,255,255,.78); max-width: 52ch; margin: 0 auto 26px; font-size: 16.5px; }
.cta-band .btn-primary { background: var(--accent); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: clamp(40px,6vw,64px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 14px; font-family: var(--fm); font-weight: 500; }
.foot a { color: var(--ink-2); font-size: 14.5px; display: block; margin-bottom: 9px; }
.foot a:hover { color: var(--accent); }
.foot-brand p { font-size: 14px; color: var(--ink-2); max-width: 34ch; margin: 12px 0 0; }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: var(--ink-3); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  :root { scroll-behavior: auto; }
  .faq-a { transition: none; }
  .btn, .pick, .ex-card { transition: none; }
}

/* breadcrumb */
.crumbs { font-family: var(--fm); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; padding-top: 92px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent); }

/* Stabilität & Mobil-Performance */
.widget-split > * { min-width: 0; }
.widget-frame { min-width: 0; }
klickzauber-calculator, wedding-planner { min-width: 0; contain: layout; }
img { height: auto; }
.cine-gallery img, .hero-cine-media img, .hero-cine-media video { height: 100%; }
@media (pointer:coarse),(max-width:720px){.nav.nav,.nav.nav.scrolled{backdrop-filter:none;-webkit-backdrop-filter:none}.nav.nav.scrolled{background:var(--bg)}}
