/* Fonts are self-hosted on purpose: embedding Google Fonts from Google's servers
   sends visitor IPs to Google, which German courts have ruled a GDPR violation. */
@font-face {
  font-family: "Young Serif";
  src: url("fonts/young-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-italic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f2ede3;
  --paper-2: #e9e2d4;
  --card: #fbf8f2;
  --ink: #1d1c1a;
  --ink-2: #57534b;
  --rule: #d3c9b7;
  --accent: #c0462a;
  --accent-ink: #9c3519;
  --green: #263d31;
  --green-2: #33503f;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }

.header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1;
  display: inline-flex; align-items: baseline;
}
.logo-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  margin-left: 2px;
}

.nav { display: flex; align-items: center; gap: 28px; font-size: 15.5px; }
.nav a { text-decoration: none; }
.nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta {
  border: 1.5px solid var(--ink);
  padding: 7px 14px;
  border-radius: 3px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

.menu-btn {
  display: none;
  font: 600 15px var(--sans);
  background: none; border: 1.5px solid var(--ink); border-radius: 3px;
  padding: 6px 12px; color: var(--ink); cursor: pointer;
}

/* ---------- Shared ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font: 600 16.5px/1 var(--sans);
  padding: 16px 22px;
  border: 0; border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--accent-ink);
  transition: transform .08s, box-shadow .08s, background .15s;
}
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--accent-ink); }

.link-arrow {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.link-arrow::after { content: " →"; }

.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.label::before {
  content: ""; width: 22px; height: 2px; background: currentColor;
}

.section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }

h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 17ch;
}

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-intro { color: var(--ink-2); max-width: 54ch; margin-top: 18px; font-size: 18.5px; }

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.kicker {
  font-size: 15px; color: var(--ink-2);
  margin-bottom: 22px;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(192, 70, 42, .28) 62%, rgba(192, 70, 42, .28) 92%, transparent 92%);
  padding: 0 .06em;
}

.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 46ch; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* Hero mockup */
.hero-visual {
  position: relative;
  margin: 0;
  padding: 0 0 56px 84px;
}

.browser {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--paper-2);
}
.browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 12px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); }
.url {
  font-size: 12px; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--rule); border-radius: 3px;
  padding: 2px 10px; flex: 1; max-width: 230px;
}

.mock-site { padding: 16px 18px 20px; font-size: 12px; }
.mock-nav {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.mock-nav b { font-family: var(--serif); font-weight: 400; font-size: 15px; }
.mock-nav span { color: var(--ink-2); font-size: 11px; }

.mock-hero {
  margin: 14px 0;
  padding: 22px 18px;
  background: #e7d3b5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cpath d='M0 50 Q30 20 60 50 T120 50' fill='none' stroke='%23d9bf98' stroke-width='10'/%3E%3C/svg%3E") repeat-x bottom / 120px 60px;
  border-radius: 3px;
}
.mock-eyebrow { font-size: 10.5px; color: #6d5434; margin: 0 0 6px; }
.mock-h { font-family: var(--serif); font-size: 26px; line-height: 1.05; margin: 0 0 12px; color: #3a2a18; }
.mock-h.small { font-size: 17px; margin: 8px 0 10px; }
.mock-btn {
  display: inline-block; background: #3a2a18; color: #f6efe3;
  font-size: 10.5px; font-weight: 600; padding: 6px 10px; border-radius: 2px;
}
.mock-btn.wide { display: block; text-align: center; }

.mock-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-hours p { font-weight: 700; margin: 0 0 6px; font-size: 11px; }
.mock-hours dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; }
.mock-hours dt { color: var(--ink-2); }
.mock-hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.mock-map {
  position: relative; border-radius: 3px; min-height: 74px;
  background:
    linear-gradient(90deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%),
    linear-gradient(0deg, transparent 55%, #fff 55%, #fff 61%, transparent 61%),
    linear-gradient(35deg, transparent 70%, #fff 70%, #fff 74%, transparent 74%),
    #dfe3d3;
}
.pin {
  position: absolute; left: 46%; top: 22%;
  width: 14px; height: 14px; border-radius: 50% 50% 50% 0;
  background: var(--accent); transform: rotate(-45deg);
}

.phone {
  position: absolute; left: 0; bottom: 0;
  width: 128px;
  background: var(--ink);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 6px 6px 0 var(--paper-2);
  transform: rotate(-3deg);
}
.phone-screen {
  background: #f6efe3; border-radius: 11px;
  padding: 16px 10px 14px; font-size: 10px; min-height: 196px;
}
.phone-screen b { font-family: var(--serif); font-weight: 400; font-size: 12px; }
.mock-line { display: block; height: 6px; background: var(--rule); border-radius: 2px; margin-top: 10px; }
.mock-line.short { width: 60%; margin-top: 6px; }

.note {
  position: absolute; right: -10px; bottom: 22px;
  background: #fff6c9;
  padding: 16px 18px 14px;
  font-size: 14px; line-height: 1.3;
  transform: rotate(4deg);
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 8px 18px -10px rgba(0,0,0,.3);
}
.note strong { font-family: var(--serif); font-weight: 400; font-size: 26px; display: block; margin-top: 4px; }
.tape {
  position: absolute; top: -10px; left: 50%; width: 58px; height: 20px;
  transform: translateX(-50%) rotate(-6deg);
  background: rgba(235, 225, 200, .75);
  border-left: 1px dashed rgba(0,0,0,.08); border-right: 1px dashed rgba(0,0,0,.08);
}

.hero-visual figcaption {
  position: absolute; right: 0; bottom: -30px;
  font-size: 13px; color: var(--ink-2);
}

/* ---------- Problem ---------- */
.finds { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.finds li {
  counter-increment: f;
  display: grid; grid-template-columns: 54px 1fr;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}
.finds li:last-child { border-bottom: 1px solid var(--rule); }
.finds li::before {
  content: counter(f);
  font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--accent);
  grid-row: span 2;
}
.finds h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.finds p { color: var(--ink-2); margin: 0; max-width: 52ch; }

/* ---------- Leistungen ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink);
}
.service {
  padding: 28px 28px 34px 0;
  border-bottom: 1px solid var(--rule);
}
.service:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--rule); }
.num { font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.service h3 { font-family: var(--serif); font-size: 23px; line-height: 1.2; margin: 10px 0 10px; }
.service p { color: var(--ink-2); margin: 0; font-size: 16.5px; }

/* ---------- Für wen ---------- */
.for-whom { background: var(--paper-2); border-top: 0; }
.trades {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.45;
  margin-bottom: 26px;
}
.trades span { white-space: nowrap; }
.trades span:not(:last-child)::after { content: " ·"; color: var(--accent); }
.aside-text { color: var(--ink-2); max-width: 50ch; }

/* ---------- Ablauf ---------- */
.ablauf { background: var(--green); color: #efe9dc; border-top: 0; }
.ablauf .label { color: #f0a58c; }
.ablauf h2 { color: #fbf6ec; }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px;
  height: 4px; background: #e9a48b; border-radius: 2px;
}
.steps li { position: relative; padding: 46px 28px 0 0; counter-increment: s; }
.stop {
  position: absolute; top: 0; left: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); border: 4px solid #fbf6ec;
}
.steps li:last-child .stop { background: #fbf6ec; }
.steps h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-bottom: 10px; color: #fbf6ec; }
.steps h3::before {
  content: counter(s) ". ";
  color: #f0a58c;
}
.steps { counter-reset: s; }
.steps p { margin: 0; color: #cfd6cd; font-size: 16.5px; max-width: 30ch; }

/* ---------- Preise ---------- */
.prices {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: stretch;
}
.price {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 30px 28px 32px;
}
.price.featured { border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--paper-2); }
.price.care { background: transparent; border-style: dashed; border-color: #b9ad97; }
.badge {
  position: absolute; top: -13px; left: 24px;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 4px 10px; border-radius: 2px; margin: 0;
}
.price h3 { font-family: var(--serif); font-size: 26px; }
.price-sub { color: var(--ink-2); font-size: 15.5px; margin: 4px 0 20px; }
.amount {
  font-family: var(--serif); font-size: 22px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.amount span { font-size: 52px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.amount small { font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin-left: 4px; }
.price ul { list-style: none; margin: 0; padding: 0; }
.price li { padding: 7px 0 7px 22px; position: relative; font-size: 16px; }
.price li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.fineprint { color: var(--ink-2); font-size: 15px; margin-top: 26px; max-width: 70ch; }

/* ---------- Über uns ---------- */
.about p { max-width: 50ch; }
.about h2 { margin-bottom: 26px; }
.route-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 26px 26px 22px;
}
.route-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.route { width: 100%; max-width: 380px; margin: 0 auto; }
.route .line { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.route .line.dashed { stroke-dasharray: 2 12; }
.route .station { fill: var(--card); stroke: var(--ink); stroke-width: 3.5; }
.route .station.big { fill: var(--ink); }
.route text { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: var(--ink); }
.route text.km { font-size: 12.5px; font-weight: 400; fill: var(--ink-2); }
.route-note { color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 22px 0;
  font-family: var(--serif); font-size: 21px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--sans); font-size: 26px; line-height: 1;
  color: var(--accent); flex: none; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { color: var(--ink-2); margin: -6px 0 24px; max-width: 58ch; }

/* ---------- Kontakt ---------- */
.contact { background: var(--paper-2); border-top: 0; }
.contact-grid {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.contact h2 { margin-bottom: 22px; }
.contact p { max-width: 42ch; }
.contact-direct { color: var(--ink-2); }
.contact-direct a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

.form {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 34px);
  display: grid; gap: 18px;
}
.form label { display: grid; gap: 6px; }
.form label span { font-weight: 600; font-size: 15px; }
.form label em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.form input, .form textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  background: #fff;
  border: 1px solid #bfb39e; border-radius: 3px;
  padding: 12px 13px;
  width: 100%;
}
.form input::placeholder, .form textarea::placeholder { color: #9b9384; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { justify-self: start; margin-top: 4px; }
.form-hint { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc8ba; padding: 44px 0; }
.site-footer .logo { color: #fbf6ec; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.site-footer p { margin: 12px 0 0; font-size: 15px; }
.footer-links { display: flex; gap: 24px; font-size: 15px; flex-wrap: wrap; }
.footer-links a { text-underline-offset: 4px; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(40px, 7vw, 90px) 0 100px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); }
.legal h2 { font-size: 24px; margin: 38px 0 10px; max-width: none; }
.legal p, .legal li { color: var(--ink-2); }
.todo {
  background: #fff6c9; border-left: 4px solid #e2c24a;
  padding: 12px 16px; color: var(--ink); font-size: 15.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:not(:nth-child(3n+1)) { padding: 26px 24px 30px 0; border-left: 0; }
  .service:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .prices { grid-template-columns: 1fr; max-width: 520px; gap: 26px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .steps li { padding-top: 40px; }
  .steps li::after {
    content: ""; position: absolute; left: 24px; right: 0; top: 10px;
    height: 4px; background: #e9a48b;
  }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 6px var(--gutter) 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .nav a.nav-cta { margin-top: 14px; text-align: center; border: 1.5px solid var(--ink); }

  .hero-visual { padding-left: 56px; }
  .phone { width: 104px; }
  .phone-screen { min-height: 160px; }
  .note { right: -4px; padding: 12px 14px 10px; font-size: 13px; }
  .note strong { font-size: 21px; }
  .mock-site { padding: 12px 12px 14px; }
  .mock-h { font-size: 21px; }

  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(2n), .service:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; }

  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding: 0 0 34px 46px; }
  .steps li::after { left: 10px; right: auto; top: 24px; bottom: 0; width: 4px; height: auto; }
  .steps li:last-child::after { display: none; }
  .steps p { max-width: none; }

  .finds li { grid-template-columns: 40px 1fr; }
  .faq summary { font-size: 19px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
