:root { color-scheme: only light; }
/* SKIN Hafenbyte – Deal: kind=service (Agentur) · Palette: eigene Marke (Ink #1d1d1f, Fläche #f5f5f7,
   Akzent Indigo #5e5ce6 aus dem Logo) · Schrift: Instrument Sans (OFL, lokal, variabel) · Hero: statement + Bühne.
   Begründung: ruhige, produkthafte Optik wie bei Apple – Typografie und echte Screenshots tragen die Seite,
   keine Verläufe, keine Effekte, kein Kartenraster. */
@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #5c5c62;
  --line: rgba(0, 0, 0, .1);
  --accent: #ffd166;
  --accent-ink: #0b0b14;
  --accent-text: #9a6b00;
  --accent-dark: #ffd166;
  --accent-glow: rgba(255,209,102,.4);
  --font-display: "Instrument Sans", -apple-system, system-ui, sans-serif;
  --font-text: "Instrument Sans", -apple-system, system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --wrap: 1120px;
  --header-h: 60px;
  --shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 24px 60px rgba(0, 0, 0, .10);
}

/* ---------- Grundton ---------- */
body { letter-spacing: -.005em; }
h1, h2, h3 { letter-spacing: -.03em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 8.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 5.4vw, 3.4rem); }
.lede { color: var(--muted); font-weight: 400; max-width: 46ch; }
.eyebrow { color: var(--ink); letter-spacing: .06em; }
.eyebrow::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); margin-right: 8px; vertical-align: 0; }
.btn { border-radius: 999px; padding-inline: 24px; }
.btn--secondary { border-color: var(--line); background: var(--bg); }
.btn--secondary:hover { border-color: var(--ink); }
.section > .wrap > h2:first-child, .section > .wrap > .eyebrow:first-child + h2 { margin-bottom: 14px; }
.section-intro { color: var(--muted); max-width: 56ch; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- Header ---------- */
.site-header { background: rgba(255, 255, 255, .8); }
.brand img { height: 28px; }
.brand span { font-weight: 700; letter-spacing: -.02em; }
.nav a { font-weight: 500; }
@media (min-width: 860px) { .nav a { font-size: .95rem; color: var(--ink); } .nav a.btn--primary { color: var(--accent-ink); } }

/* ---------- Hero: Aussage + Bühne ---------- */
.hero { text-align: center; padding-bottom: 0; }
.hero .wrap { justify-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-inline: auto; text-align: center; font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.hero .actions { justify-content: center; }
.hero .proof { color: var(--muted); font-size: .95rem; }
.hero .proof a { color: var(--ink); text-decoration-color: var(--line); }
.hero .wrap > * { min-width: 0; max-width: 100%; }
.stage { position: relative; width: 100%; max-width: 980px; margin-top: clamp(24px, 4vw, 48px); padding-bottom: 8px; }
.frame { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.frame::before { content: ""; display: block; height: 22px; background: #f5f5f7; border-bottom: 1px solid var(--line); background-image: radial-gradient(circle, #d6d6db 3px, transparent 3.5px); background-size: 14px 10px; background-repeat: repeat-x; background-position: 12px center; }
.frame img { display: block; width: 100%; height: auto; }
.frame--desktop { display: none; }
.frame--mobile { width: min(72%, 300px); margin-inline: auto; border-radius: 28px; }
.frame--mobile::before { height: 18px; background-image: none; }
@media (min-width: 860px) {
  .frame--desktop { display: block; }
  .frame--mobile { position: absolute; right: -2%; bottom: -6%; width: 22%; margin: 0; }
  .stage { margin-bottom: 60px; }
}

/* ---------- Faktenband ---------- */
.band { border-block: 1px solid var(--line); padding-block: clamp(24px, 3vw, 36px) !important; }
.band .wrap { display: grid; gap: 20px; grid-template-columns: 1fr; }
.band > .wrap > div { min-width: 0; }
@media (min-width: 480px) { .band .wrap { grid-template-columns: 1fr 1fr; } }
.band strong { display: block; font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 2rem); overflow-wrap: anywhere; letter-spacing: -.03em; line-height: 1; }
.band span { color: var(--muted); font-size: .9rem; }
@media (min-width: 860px) { .band .wrap { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Website-Check Zeile ---------- */
.checkline { display: grid; gap: 14px; max-width: 760px; }
.checkline form { display: grid; gap: 10px; }
.checkline input { min-height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 1rem; }
.checkline input:focus { outline: 3px solid color-mix(in srgb, var(--accent) 25%, transparent); border-color: var(--accent-text); }
@media (min-width: 560px) { .checkline form { grid-template-columns: 1fr auto; } }

/* ---------- Pakete ---------- */
.packs { display: grid; gap: 14px; }
.pack { position: relative; display: grid; gap: 6px; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); cursor: pointer; transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.pack:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pack input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.pack:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pack:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.pack .tag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pack .pn { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.pack .pp { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.2rem); letter-spacing: -.04em; line-height: 1; margin-top: 6px; }
.pack .pm { color: var(--muted); font-size: .9rem; }
.pack .pw { font-weight: 600; margin-top: 12px; }
.pack .pd { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.pack .pick { margin-top: 14px; font-weight: 600; color: var(--ink); background: linear-gradient(transparent 50%, var(--accent) 50%, var(--accent) 92%, transparent 92%); display: inline; }
.pack:has(input:checked) .pick::before { content: "✓ "; }
@media (min-width: 860px) { .packs { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.mods { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 48px); }
.mods h3 { font-size: 1.1rem; margin-bottom: 4px; }
.mods .mh { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.modlist { display: grid; }
.modlist li { border-top: 1px solid var(--line); }
.modlist li:last-child { border-bottom: 1px solid var(--line); }
.modlist label { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 14px 4px; cursor: pointer; min-height: 56px; }
.modlist label:hover { background: var(--surface); }
.modlist input { width: 20px; height: 20px; accent-color: var(--accent-text); margin: 0; }
.modlist small { display: block; color: var(--muted); font-size: .85rem; }
.modlist b { font-weight: 600; white-space: nowrap; text-align: right; font-size: .95rem; }
@media (min-width: 860px) { .mods { grid-template-columns: 1fr 1fr; gap: 48px; } }

.sum { position: static; margin-top: 28px; display: grid; gap: 12px; align-items: center; padding: 16px 20px; border-radius: var(--radius-lg); background: var(--ink); color: #f5f5f7; box-shadow: var(--shadow); }
.sum .sl { font-size: .95rem; color: #c7c7cc; }
.sum .sl b { color: #fff; }
.sum .st { display: flex; gap: 24px; }
.sum .st small { display: block; color: #c7c7cc; font-size: .8rem; }
.sum .st b { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; }
.sum .btn--primary { background: #fff; color: var(--ink); }
.sum .note { grid-column: 1 / -1; font-size: .8rem; color: #c7c7cc; }
.sum .note a { color: #fff; }
@media (min-width: 860px) { .sum { position: sticky; bottom: 12px; z-index: 30; grid-template-columns: 1fr auto auto; gap: 24px; } }

/* ---------- Referenzen ---------- */
.refs { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.ref, .frame { min-width: 0; }
.ref { display: grid; gap: 12px; text-decoration: none; }
.ref .frame::before { height: 18px; }
.ref .frame { transition: transform 320ms var(--ease), box-shadow 320ms var(--ease); }
.ref:hover .frame { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 30px 70px rgba(0,0,0,.14); }
.ref b { font-weight: 600; }
.ref span { color: var(--muted); font-size: .9rem; }
.ref .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
@media (min-width: 560px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .refs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; } }

/* ---------- Kundenstimmen ---------- */
.quotes { display: grid; gap: 28px; }
.quotes figure { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.quotes .stars { color: var(--accent); text-shadow: 0 0 0 var(--accent), 0 .5px 0 rgba(0,0,0,.35); letter-spacing: .1em; font-size: .9rem; }
.quotes blockquote { border: 0; padding: 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.5; letter-spacing: -.01em; }
.quotes figcaption { color: var(--muted); font-size: .9rem; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- Leistungen ---------- */
.services { display: grid; }
.services li { border-top: 1px solid var(--line); }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services a { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 20px 4px; text-decoration: none; min-height: 72px; transition: padding-left var(--t) var(--ease); }
.services a:hover { padding-left: 12px; }
.services b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.02em; font-weight: 600; }
.services span { color: var(--muted); grid-column: 1; }
.services em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 1.4rem; color: var(--accent-text); }
@media (min-width: 860px) { .services a { grid-template-columns: 300px 1fr auto; } .services span { grid-column: 2; } .services em { grid-column: 3; grid-row: 1; } }

/* ---------- Über ---------- */
.about .photo { --ratio: 4 / 5; max-width: 420px; }

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -.04em; line-height: 1; color: var(--ink); background: linear-gradient(transparent 50%, var(--accent) 50%, var(--accent) 92%, transparent 92%); display: inline-block; padding: 0 4px; }
.steps b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.02em; }
.steps p { color: var(--muted); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; padding: 14px 4px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--accent-text); transition: transform var(--t) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 4px 18px; max-width: 70ch; }

/* ---------- Bestellen / Anfragen ---------- */
.tabs { display: inline-flex; padding: 4px; background: var(--surface); border-radius: 999px; margin-bottom: 24px; }
.tab { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; cursor: pointer; color: var(--muted); }
.tab.on { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.contact { display: grid; gap: 40px; align-items: start; }
.contact .aside { display: grid; gap: 18px; }
.contact .aside p { color: var(--muted); }
.contact .sel { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); font-size: .95rem; }
.contact .sel span { color: var(--muted); font-size: .85rem; }
.contact .sel a { font-size: .9rem; display: inline-flex; align-items: center; min-height: 44px; }
.form .note { color: var(--muted); font-size: .9rem; }
.formerr { color: #b3261e; background: #fdecea; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1.4fr; gap: 64px; } }

/* ---------- Mobile Leiste ---------- */
.stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.stick.on { display: grid; }
body.hasbar { padding-bottom: 76px; }
@media (min-width: 860px) { .stick.on { display: none; } body.hasbar { padding-bottom: 0; } }

/* ---------- Abschlussband ---------- */
.close-band { background: var(--ink); color: #f5f5f7; text-align: center; }
.close-band .wrap { display: grid; gap: 20px; justify-items: center; }
.close-band h2 { color: #fff; max-width: 18ch; }
.close-band p { color: #c7c7cc; max-width: 52ch; text-align: center; }
.close-band .btn--primary { background: #fff; color: var(--ink); }
.close-band .btn--secondary { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); }
.site-footer .footer-title { color: var(--muted); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
