/* Heifie-Group · gemeinsames Stylesheet
   Konzept: ruhig, viel Luft, eine Akzentfarbe (Glut-Orange), dunkle Tinte als Marke.
   Schriften lokal: Urbanist (Überschriften), Manrope (Text). */

@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #f7f7fa;
  --surface: #ffffff;
  --ink: #15142a;
  --muted: #5d5b73;
  --line: #e4e3ec;
  --accent: #d9431f;
  --accent-hover: #c23915;
  --accent-ink: #ffffff;
  --accent-soft: #fcebe5;
  --deep: #15142a;
  --on-deep: #f3f2f8;
  --on-deep-muted: #b9b7cc;
  --star: #e8a317;
  --ok: #1f8a4c;
  --radius: 14px;
  --display: "Urbanist", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e1a; --surface: #181726; --ink: #f1f0f7; --muted: #aaa8c0; --line: #2a2940;
    --accent: #ff7a52; --accent-hover: #ff8f6d; --accent-ink: #1b0b05; --accent-soft: rgba(255,122,82,.13);
    --deep: #08070f; --on-deep: #f1f0f7; --on-deep-muted: #a9a7bf; --star: #f2b63d; --ok: #3fc07b;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.eyebrow { font: 700 13px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px/1 var(--body); padding: 15px 22px; border-radius: 12px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 36px; height: 36px; }
.logo-word { font: 800 21px/1 var(--display); letter-spacing: -.02em; }
.logo-word span { font-weight: 600; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 700 14px var(--body); color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 14px; }
}

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; display: grid; gap: 14px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-deep { background: var(--deep); color: var(--on-deep); }
.band-deep .muted, .band-deep .lead { color: var(--on-deep-muted); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 78px); font-weight: 900; margin: 18px 0 22px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23d9431f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.mock { position: relative; min-width: 0; margin-bottom: 38px; }
.mock-window { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(21,20,42,.35); }
.mock-bar { display: flex; gap: 6px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: var(--bg); padding: 5px 10px; border-radius: 6px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-hero { background: var(--deep); color: var(--on-deep); border-radius: 12px; padding: 22px; }
.mock-hero small { font-size: 12px; color: var(--on-deep-muted); }
.mock-hero b { display: block; font: 800 23px/1.15 var(--display); margin: 6px 0 14px; }
.mock-hero .pill { display: inline-block; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 99px; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-row div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 12px; font-weight: 700; }
.mock-row div i { display: block; height: 6px; border-radius: 3px; background: var(--line); margin-top: 8px; }
.mock-hours { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.price-tag { position: absolute; right: -14px; bottom: -38px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: 0 18px 40px -20px rgba(21,20,42,.35); }
.price-tag small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.price-tag b { font: 800 26px/1.1 var(--display); }

/* Bewertungen */
.reviews-box { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 44px); }
.reviews-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-bottom: 28px; }
.reviews-top h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; }
.score { display: flex; align-items: center; gap: 14px; }
.score b { font: 900 46px/1 var(--display); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 18px; white-space: nowrap; }
.stars .off { color: var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review { border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.review blockquote { margin: 0; font-size: 16px; }
.review footer { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.review footer strong { color: var(--ink); }
.reviews-empty { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 24px; border: 1.5px dashed var(--line); border-radius: 16px; }
.reviews-empty .badge { width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 900 22px var(--display); }
.reviews-empty h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.reviews-source { margin-top: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .reviews-empty { grid-template-columns: 1fr; } }

/* Karten / Raster */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card h3 { font-size: 22px; font-weight: 800; }
.card p { color: var(--muted); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.icon svg { width: 22px; height: 22px; }

/* Preise */
.switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; }
.switch button { font: 700 15px/1 var(--body); padding: 11px 16px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.switch-note { font-size: 15px; color: var(--muted); margin-bottom: 30px; min-height: 1.6em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan.featured { border: 2px solid var(--accent); }
.plan .badge-top { position: absolute; top: -13px; left: 26px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 6px 11px; border-radius: 99px; }
.plan h3 { font-size: 26px; font-weight: 800; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price { font: 900 44px/1 var(--display); letter-spacing: -.03em; }
.price small { font: 600 15px/1 var(--body); color: var(--muted); letter-spacing: 0; }
.price-sub { font-size: 15px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plans[data-mode="einmalig"] .m-abo, .plans[data-mode="abo"] .m-once { display: none; }
.fineprint { font-size: 14px; color: var(--muted); margin-top: 22px; }
.teaser-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.teaser-prices div { padding: 26px; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.teaser-prices div:last-child { border-right: 0; }
.teaser-prices h3 { font-size: 20px; font-weight: 800; }
.teaser-prices b { font: 900 34px/1 var(--display); }
.teaser-prices span { font-size: 14px; color: var(--muted); }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--line); padding-top: 18px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--bg); font: 800 15px var(--display); margin-bottom: 14px; }
.steps li:first-child { border-color: var(--accent); }
.steps li:first-child::before { background: var(--accent); color: var(--accent-ink); }
.steps h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.steps p { font-size: 15.5px; color: var(--muted); }

/* Abläufe (So läuft's) */
.process-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.process-nav a { text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); }
.process-nav a:hover { border-color: var(--ink); }
.process { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); margin-bottom: 22px; scroll-margin-top: 96px; }
.process-head { display: flex; gap: 16px; align-items: baseline; margin-bottom: 8px; }
.process-head .no { font: 900 15px var(--display); color: var(--accent); }
.process h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.process > p { color: var(--muted); max-width: 64ch; margin-bottom: 22px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding-bottom: 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); display: grid; place-items: center; font: 800 14px var(--display); color: var(--accent); position: relative; z-index: 1; }
.timeline h4 { font-size: 18px; font-weight: 800; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.timeline h4 small { font: 700 13px var(--body); color: var(--muted); background: var(--bg); border: 1px solid var(--line); padding: 3px 9px; border-radius: 99px; }
.timeline p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.case .tag { font: 800 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.case h4 { font-size: 19px; font-weight: 800; }
.case ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 15.5px; }
.note { margin-top: 20px; background: var(--accent-soft); border-radius: 12px; padding: 14px 18px; font-size: 15.5px; }
.note strong { color: var(--accent); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 800 24px/1 var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Kontakt */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-line { display: grid; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact-line span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-line a, .contact-line b { font-weight: 700; font-size: 18px; text-decoration: none; }
form.kontakt { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.6vw, 36px); display: grid; gap: 16px; min-width: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 700; font-size: 14.5px; }
label .opt { font-weight: 500; color: var(--muted); }
input, select, textarea { font: 16px/1.4 var(--body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-status { border-radius: 12px; padding: 14px 16px; font-size: 15.5px; font-weight: 600; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.form-status.err { background: var(--accent-soft); color: var(--accent); }

/* CTA + Footer */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; max-width: 18ch; }
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font: 800 14px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--muted); font-weight: 600; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Rechtstexte */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 5vw, 54px); hyphens: auto; overflow-wrap: anywhere; font-weight: 900; margin-bottom: 12px; }
.legal h2 { font-size: 26px; font-weight: 800; margin: 44px 0 12px; }
.legal h3 { font-size: 19px; font-weight: 800; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 6px; }
.legal strong { color: var(--ink); }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; }
.legal .stand { font-size: 14px; color: var(--muted); }
.page-head { padding: 72px 0 24px; }
.page-head h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 900; margin: 14px 0 16px; letter-spacing: -.03em; }

@media (max-width: 960px) {
  .hero .wrap, .contact { grid-template-columns: 1fr; }
  .hero .wrap { gap: 56px; }
  .grid-3, .plans, .cases { grid-template-columns: 1fr; }
  .plans { max-width: 520px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .teaser-prices { grid-template-columns: 1fr; }
  .teaser-prices div { border-right: 0; border-bottom: 1px solid var(--line); }
  .teaser-prices div:last-child { border-bottom: 0; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 56px; }
  .steps, .row2 { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .price-tag { right: 8px; }
}

/* Hauptüberschrift auf Unterseiten (gleiche Optik wie Abschnittsüberschriften) */
.section-head h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; }
