/* Design der Landingpage (Variante D). Farben und Schrift aus vuture-design.
   Texte stehen nicht hier, sondern in content.json. */

:root {
  --ink: #1c1c1c;
  --accent: #ea6a2c;
  --accent-text: #c94d16; /* Orange als Schrift auf hellem Grund, gut lesbar */
  --paper: #ffffff;
  --soft: #f2f2f0;
  --rule: #e6e6e2;
  --rule-soft: #dcdcd8;
  --line: #c9c9c6;
  --field: #8a8a84;
  --body: #33332f;
  --lead: #55554f;
  --muted: #6b6b66;
  --radius: 22px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 980px; margin: 0 auto; }
.narrow { max-width: 680px; margin: 0 auto; }
.pad { padding: 0 16px; }

/* Kopfleiste */
.bar { border-bottom: 1px solid var(--rule); }
.bar-in {
  max-width: 980px; margin: 0 auto; height: 52px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.bar-name { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.bar-name img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.bar-title { font-size: 15px; font-weight: 500; text-align: right; }
.back {
  display: inline-flex; align-items: center; height: 44px; padding: 0;
  border: 0; background: none; font-size: 16px; text-decoration: none; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; border-radius: 23px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-outline { background: transparent; color: var(--ink); }
.btn-small { height: 32px; padding: 0 14px; border-radius: 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; height: 52px; border-radius: 26px; font-size: 17px; }
.btn[disabled] { opacity: 0.5; cursor: default; }

/* Startseite: Kopf */
.hero { padding: 28px 24px 22px; text-align: center; }
.hero h1, .detail-hero h1 {
  margin: 0; font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06;
}
.lead { margin: 12px auto 0; max-width: 30em; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--lead); }

/* Liste der Ressourcen */
.list { background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  text-decoration: none; color: var(--ink);
}
.row { position: relative; }
.row + .row::before {
  content: ""; position: absolute; top: 0; left: 86px; right: 16px; height: 1px; background: var(--rule-soft);
}
.row:hover .plus, .row:focus-visible .plus { background: var(--ink); }
.row:hover .plus svg, .row:focus-visible .plus svg { stroke: #fff; }
.thumb {
  flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; object-position: top;
  border: 1px solid var(--rule); background: #fff;
}
.row-text { flex: 1; min-width: 0; }
.row-problem { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
.row-title { display: block; font-size: 14px; line-height: 1.35; color: var(--muted); margin-top: 3px; }
.badge { color: var(--accent-text); font-weight: 500; }
.plus {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.plus svg { stroke: var(--ink); }

/* Eingabefeld */
.ask { padding-top: 44px; }
.ask-intro { margin: 0 0 12px; text-align: center; font-size: 15px; color: var(--muted); }
.ask-row { display: flex; gap: 8px; align-items: center; }
.ask-row label { flex: 1; min-width: 0; }
.ask-input {
  width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 25px;
  background: #fff; padding: 0 20px; font-size: 16px;
}
.ask-row .btn { flex: none; height: 50px; border-radius: 25px; }
.ask-result { margin: 12px 0 0; text-align: center; font-size: 15px; line-height: 1.5; color: var(--lead); }
.ask-result:empty { display: none; }
.ask-match { display: block; margin-top: 4px; font-size: 19px; font-weight: 500; color: var(--accent-text); text-decoration: none; }
.link-accent { color: var(--accent-text); font-weight: 500; text-decoration: none; }
.ask-note { margin: 10px 0 0; text-align: center; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* Kontakt-Kasten */
.contact {
  margin-top: 56px; background: var(--soft); border-radius: var(--radius);
  padding: 44px 24px; text-align: center;
}
.contact img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto; }
.contact h2, .section-title {
  margin: 16px 0 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
}
.contact p { margin: 10px auto 0; max-width: 26em; font-size: 17px; line-height: 1.45; color: var(--lead); }
.contact .creds { margin-top: 22px; font-size: 14px; color: var(--muted); }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

/* Detailseite */
.detail-hero { padding: 40px 24px 0; text-align: center; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--accent-text); margin-bottom: 8px; }
.detail-hero .btn { margin-top: 22px; }
.shot {
  margin-top: 36px; background: var(--soft); border-radius: 28px; padding: 36px 0;
  display: flex; justify-content: center;
}
.shot img { border: 1px solid var(--rule); border-radius: 6px; height: auto; }
.cards-title { margin: 52px 24px 18px; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.025em; }
.cards {
  display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 12px;
  scroll-snap-type: x mandatory; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch;
}
.card {
  flex: 0 0 272px; scroll-snap-align: start; background: var(--soft); border-radius: 24px;
  padding: 26px 22px; min-height: 200px;
}
.card p { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.33; }
.card-img { height: 380px; padding-bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; overflow: hidden; }
.card-img p { text-align: center; }
.card-img img { width: 196px; height: 200px; object-fit: cover; object-position: top; border: 1px solid var(--rule); border-bottom: 0; }

.form-section { max-width: 520px; margin: 52px auto 0; padding: 0 24px; }
.form-section h2 { margin: 0; text-align: center; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.form-section > p { margin: 10px 0 0; text-align: center; font-size: 17px; line-height: 1.45; color: var(--lead); }
.form { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.field {
  width: 100%; height: 52px; border: 1px solid var(--field); border-radius: 14px;
  background: #fff; padding: 0 16px; font-size: 17px;
}
.roles { border: 0; margin: 0; padding: 0; }
.roles legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 22px; background: #fff; font-size: 15px; cursor: pointer;
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.check a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 15px; line-height: 1.5; text-align: center; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--ink); background: var(--soft); border-radius: 14px; padding: 14px 16px; }
.form-msg.err { color: #a3330f; }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }
.not-right { margin: 36px 0 0; text-align: center; font-size: 15px; color: var(--muted); }

/* Preis (Phase 2) */
.price { margin-top: 14px; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; }

/* Textseiten (Impressum, Datenschutz, Bestätigung) */
.text-page { max-width: 680px; margin: 0 auto; padding: 40px 24px 0; }
.text-page h1 { margin: 0 0 20px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.text-page h2 { margin: 36px 0 8px; font-size: 21px; letter-spacing: -0.01em; }
.text-page h3 { margin: 22px 0 6px; font-size: 17px; }
.text-page p, .text-page li { font-size: 16px; line-height: 1.6; color: var(--body); }
.text-page ul { padding-left: 0; list-style: none; }
.text-page li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.text-page li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 1.5px; background: var(--accent); }
.center-page { max-width: 520px; margin: 0 auto; padding: 72px 24px 0; text-align: center; }
.center-page h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.center-page p { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--lead); }
.center-page .btn { margin-top: 24px; }

/* Fußzeile */
.foot {
  max-width: 980px; margin: 56px auto 0; padding: 24px 20px 40px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px;
  font-size: 13px; color: var(--muted);
}
.mark { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); line-height: 1; }
.mark i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: var(--lead); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (min-width: 900px) {
  .cards { flex-wrap: wrap; overflow: visible; justify-content: center; padding: 0 16px; }
  .card { flex: 0 0 225px; }
  .card-img img { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
