@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque-Variable.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../fonts/Karla-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FAF5EC;
  --panel: #F1E7D6;
  --ink: #2A2117;
  --ink-soft: #6E6153;
  --coral: #E85D3B;
  --gold: #D9A441;
  --teal: #1E7A6C;
  --on-accent: #211A12;
  --line: rgba(42,33,23,0.14);
  --font-display: 'Bricolage Grotesque', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Karla', -apple-system, 'Segoe UI', sans-serif;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #201911; --panel: #2A2116; --ink: #F5ECDC; --ink-soft: #B7A88F; --line: rgba(245,236,220,0.16); }
}
:root[data-theme="dark"] { --paper: #201911; --panel: #2A2116; --ink: #F5ECDC; --ink-soft: #B7A88F; --line: rgba(245,236,220,0.16); }
:root[data-theme="light"] { --paper: #FAF5EC; --panel: #F1E7D6; --ink: #2A2117; --ink-soft: #6E6153; --line: rgba(42,33,23,0.14); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0 0 0.4em; font-family: var(--font-display); }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* mark (logo) */
.mark-svg path { stroke: currentColor; stroke-width: 9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mark-svg circle { fill: var(--coral); }

/* header */
header.site { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 28px; max-width: var(--max); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .word { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.brand .word .hl { color: var(--coral); }
nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; }
nav.main a:not(.btn):hover { color: var(--ink); }
nav.main a.active { color: var(--ink); font-weight: 700; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 760px) {
  nav.main { position: fixed; inset: 65px 0 0 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 24px 28px; gap: 22px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; border-top: 1px solid var(--line); }
  nav.main.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  nav.main a.btn { margin-top: 8px; }
  .nav-toggle { display: block; }
}

/* buttons */
.btn { font-family: var(--font-body); font-weight: 700; font-size: 14.5px; padding: 12px 22px; border: 1px solid transparent; border-radius: 100px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.btn-primary { background: var(--coral); color: var(--on-accent); }
.btn-secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* eyebrow / section labels */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; display: block; }

/* hero */
.hero { padding-top: 88px; padding-bottom: 64px; }
.hero h1 { font-weight: 800; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; max-width: 17ch; }
.hero .lede { font-size: 18px; color: var(--ink-soft); max-width: 56ch; margin: 20px 0 32px; }
.hero .cta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero .cta-row .link-secondary { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; }
.hero .cta-row .link-secondary:hover { color: var(--ink); border-color: var(--coral); }

section { padding: 68px 0; border-top: 1px solid var(--line); }
section.no-border { border-top: none; }
section h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; max-width: 20ch; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .see-all { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; white-space: nowrap; }
.section-head .see-all:hover { color: var(--ink); border-color: var(--coral); }

/* cards grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.service-card { border-radius: 18px; padding: 26px 24px; background: var(--panel); }
.service-card .num { font-size: 13px; font-weight: 700; color: var(--teal); }
.service-card h3 { font-size: 18px; margin-top: 10px; }
.service-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 0; }

.work-card { display: block; text-decoration: none; color: inherit; border-radius: 20px; overflow: hidden; background: var(--panel); }
.work-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--line); }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .meta { padding: 18px 20px; }
.work-card .meta .tag { font-size: 11.5px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; }
.work-card .meta h3 { font-size: 18px; margin: 6px 0 4px; }
.work-card .meta p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.work-card.placeholder .thumb { display: flex; align-items: center; justify-content: center; }
.work-card.placeholder .thumb .mark-svg { width: 40px; height: 40px; color: var(--ink-soft); opacity: .5; }

/* browser-chrome mockup frame for portfolio thumbnails */
.browser-frame { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--paper); }
.browser-frame .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--panel); border-bottom: 1px solid var(--line); flex-shrink: 0; }
.browser-frame .chrome .dot { width: 8px; height: 8px; border-radius: 50%; }
.browser-frame .chrome .dot.d1 { background: var(--coral); }
.browser-frame .chrome .dot.d2 { background: var(--gold); }
.browser-frame .chrome .dot.d3 { background: var(--teal); }
.browser-frame .chrome .addr { margin-left: 8px; background: var(--paper); border-radius: 100px; padding: 3px 12px; font-size: 11px; color: var(--ink-soft); flex: 1; }
.browser-frame .frame-content { flex: 1; overflow: hidden; }
.browser-frame .frame-content img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* pricing cards (shared with leistungen page) */
.price-card { border-radius: 20px; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; position: relative; background: var(--panel); }
.price-card.featured { box-shadow: 0 0 0 2px var(--coral) inset; }
.tier-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; position: absolute; top: 16px; right: 16px; background: var(--coral); color: var(--on-accent); padding: 5px 12px; border-radius: 100px; }
.tier-name { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--teal); text-transform: uppercase; }
.tier-price { font-family: var(--font-display); font-size: 32px; font-weight: 800; }
.tier-price sup { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.tier-tagline { font-size: 13.5px; color: var(--ink-soft); margin: -6px 0 4px; }
.tier-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.tier-features li { padding-left: 18px; position: relative; line-height: 1.4; }
.tier-features li::before { content: "+"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* trust strip */
.trust-strip { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft); padding: 24px 0; }
.trust-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* final CTA band */
.cta-band { text-align: left; background: var(--panel); border-radius: 24px; padding: 52px 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { color: var(--ink-soft); margin: 0; }

/* footer */
footer.site { border-top: 1px solid var(--line); margin-top: 40px; }
footer.site .bar { max-width: var(--max); margin: 0 auto; padding: 40px 28px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
footer.site .brand { margin-bottom: 8px; }
footer.site .cols { display: flex; gap: 56px; flex-wrap: wrap; }
footer.site .col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; color: var(--ink-soft); text-transform: uppercase; margin: 0 0 12px; }
footer.site .col a { display: block; text-decoration: none; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
footer.site .col a:hover { color: var(--coral); }
footer.site .legal-line { font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); padding: 18px 28px; max-width: var(--max); margin: 0 auto; }

/* generic content pages (Über mich, Impressum, Datenschutz) */
.prose { max-width: 68ch; }
.prose h2 { font-size: 23px; margin-top: 40px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 15.5px; }
.prose strong { color: var(--ink); }
.callout { border-radius: 14px; padding: 16px 20px; background: var(--panel); font-size: 14px; color: var(--ink-soft); margin: 24px 0; border-left: 3px solid var(--gold); }
.callout strong { color: var(--ink); }
.approach-list { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-direction: column; }
.approach-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.approach-list li:first-child { border-top: none; }
.approach-list .step-num { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--teal); padding-top: 2px; }
.approach-list strong { display: block; margin-bottom: 3px; }
.approach-list span.desc { font-size: 14px; color: var(--ink-soft); }

/* wizard (kontakt.html) */
.wizard { border-radius: 24px; background: var(--panel); padding: 36px; max-width: 640px; }
.wizard-progress { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: 0.03em; margin-bottom: 8px; }
.wizard-bar { height: 4px; background: var(--line); margin-bottom: 32px; position: relative; border-radius: 100px; overflow: hidden; }
.wizard-bar span { position: absolute; left: 0; top: 0; height: 100%; background: var(--coral); transition: width .25s ease; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fade .3s ease; }
.wizard-step.shake { animation: shake .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.wizard-step h3 { font-size: 21px; margin-bottom: 20px; }
.option-grid { display: grid; gap: 10px; margin-bottom: 8px; }
.option-card { border-radius: 14px; border: 2px solid transparent; padding: 14px 16px; cursor: pointer; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 12px; background: var(--paper); transition: border-color .15s ease; }
.option-card:hover { border-color: var(--line); }
.option-card input { accent-color: var(--coral); width: 16px; height: 16px; flex-shrink: 0; }
.option-card:has(input:checked) { border-color: var(--coral); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.field input, .field textarea { font-family: var(--font-body); font-size: 15px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral); }
.field textarea { resize: vertical; min-height: 100px; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; }
.wizard-nav .spacer { flex: 1; }
.form-success, .form-error { display: none; padding: 20px; border-radius: 14px; }
.form-success.show { display: block; background: var(--panel); border: 2px solid var(--teal); }
.form-error.show { display: block; border: 2px solid var(--coral); color: var(--coral); }

@media (max-width: 560px) {
  .hero { padding-top: 56px; padding-bottom: 44px; }
  .cta-band { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .wizard { padding: 24px 18px; }
}
