/* Impresson – warm, modern, minimal (angelehnt an tryandsewme.com) */

/* Schrift lokal ausgeliefert – keine Verbindung zu Google */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --ground: #e3e0d8;
  --paper: #efede8;
  --sheet: #fffdf9;
  --ink: #17181a;
  --dim: #3d4045;
  --line: rgba(23, 24, 26, .18);
  --hot: #b04a26;
  --hot-soft: rgba(176, 74, 38, .10);
  --ok: #2f6b4f;
  --ok-soft: rgba(47, 107, 79, .10);

  --display: "Fraunces", Georgia, serif;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --hairline: 0 1px 0 var(--line);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #121110;
    --paper: #1b1a18;
    --sheet: #252320;
    --ink: #f1efe9;
    --dim: #c9c6bf;
    --line: rgba(241, 239, 233, .18);
    --hot: #e0835f;
    --hot-soft: rgba(224, 131, 95, .14);
    --ok: #7cc39f;
    --ok-soft: rgba(124, 195, 159, .14);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }

/* ---------- App-Panel ---------- */
.app {
  max-width: 600px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
@media (min-width: 640px) {
  .app {
    min-height: 0;
    margin: 24px auto;
    border-radius: 28px;
    box-shadow: 0 30px 60px -20px rgba(23, 24, 26, .18);
  }
}

.masthead { padding: 28px 24px 0; }
.masthead a { text-decoration: none; }
.wordmark {
  font: 700 56px/1 var(--display);
  letter-spacing: -.035em;
}
.wordmark span { color: var(--hot); }
.soon {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--hot);
  color: var(--sheet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.masthead .wordmark { display: block; }

.wrap { flex: 1; padding: 0 24px 8px; }
.kicker { margin: 8px 0 24px; font-size: 19px; font-weight: 400; line-height: 1.4; color: var(--dim); }

/* ---------- Karten ---------- */
.card {
  padding: 18px;
  background: var(--sheet);
  border-radius: 22px;
  box-shadow: var(--hairline);
}

/* Vorher / Nachher */
.swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.45fr);
  gap: 6px;
}
.swap-old, .envelope {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 10px 12px;
  border-radius: 14px;
  container-type: inline-size;
}
.swap-old { background: var(--hot-soft); }
.envelope { background: var(--ok-soft); }
.swap-label {
  display: block;
  margin-bottom: 8px;
  font-size: min(11px, 9cqi);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hot);
}
.swap-label-new { color: var(--ok); }
.addr-old, .addr { font-style: normal; flex: 1; }
.addr-old { font-size: min(14px, 13.5cqi); line-height: 1.45; color: var(--dim); }
.addr-old s { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.addr { font-size: min(17px, 8.4cqi); font-weight: 700; line-height: 1.35; }
.addr > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swap-note { margin-top: 10px; font-size: min(11.5px, 10cqi); font-weight: 600; color: var(--hot); }
.swap-arrow { align-self: center; color: var(--dim); }
.swap-arrow svg { width: 16px; height: 16px; display: block; }
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--sheet);
}
.badge svg { width: 12px; height: 12px; }
.badge-no { background: var(--hot); }
.badge-yes { background: var(--ok); }

/* Tarifwahl */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.plan { position: relative; cursor: pointer; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 48px;
  padding: 6px 8px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--paper);
  color: var(--dim);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}
.plan input:checked + span { border-color: var(--hot); background: var(--sheet); color: var(--ink); }
.plan input:focus-visible + span { outline: 2px solid var(--hot); outline-offset: 2px; }
.save { color: var(--hot); }
.save[hidden] { display: none; }

/* Preis */
.price-row { display: flex; align-items: baseline; justify-content: flex-start; gap: 14px; margin-top: 18px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-shrink: 0; white-space: nowrap; }
.amount, .save { font: 700 56px/1 var(--display); letter-spacing: -.04em; white-space: nowrap; }
.per { font-size: 17px; color: var(--dim); }
.billing { margin: 6px 0 0; font-size: 13.5px; color: var(--dim); }
.nw { white-space: nowrap; }

/* Leistungen */
.lead { margin: 22px 0 0; font: 700 28px/1.12 var(--display); letter-spacing: -.02em; }
.lead em { font-style: italic; color: var(--hot); }
.intro { margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--dim); }
/* Kostenübersicht */
.costs { list-style: none; margin: 0; padding: 0; background: var(--sheet); border-radius: 18px; box-shadow: var(--hairline); }
.costs li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.costs li + li { border-top: 1px solid var(--line); }
.costs strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.costs small { display: block; font-size: 13.5px; color: var(--dim); }
.costs b { flex-shrink: 0; max-width: 55%; font-size: 15px; font-weight: 800; text-align: right; }
.costs .free { color: var(--ok); }
.costs b span { display: block; white-space: nowrap; }
.info-text-top { margin: 0 0 14px; }

/* Bestellung */
.due {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
}
.due strong { font: 700 26px/1 var(--display); letter-spacing: -.02em; }
.due small { display: block; font-size: 12px; font-weight: 400; color: var(--dim); }

.fields { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.fields legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
}
.group { border-radius: 14px; background: var(--paper); }
.group > * + * { border-top: 1px solid var(--line); }
.pair { display: grid; grid-template-columns: 1fr 1fr; }
.pair-plz { grid-template-columns: 6em 1fr; }
.pair-plz .cell-select { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .pair-plz { grid-template-columns: 5.5em minmax(0, 1fr) 9.5em; }
  .pair-plz .cell-select { grid-column: auto; border-top: 0; border-left: 1px solid var(--line); }
}
.cell input::placeholder { color: var(--dim); opacity: .8; }
.pair > * + * { border-left: 1px solid var(--line); }
.cell {
  position: relative;
  display: block;
  min-width: 0;
  padding: 9px 14px 8px;
  cursor: text;
  transition: background .15s, box-shadow .15s;
}
.cell > span { display: block; font-size: 12px; font-weight: 700; color: var(--dim); }
.cell em { font-style: normal; font-weight: 400; }
.cell input, .cell select {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 1px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font: 600 16px/1.4 var(--font);
  outline: none;
  appearance: none;
}
.cell:focus-within {
  z-index: 1;
  border-radius: 14px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 2px var(--hot);
}
.cell:has(:user-invalid) > span { color: var(--hot); }
.cell-select { cursor: pointer; }
.cell-select select { cursor: pointer; padding-right: 20px; }
.cell-select::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--dim);
  border-bottom: 2px solid var(--dim);
  transform: rotate(45deg);
  pointer-events: none;
}

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--dim); cursor: pointer; }
.check + .check { margin-top: 10px; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--hot); }

.apple-pay {
  width: 100%;
  height: 56px;
  margin-top: 16px;
  border: 0;
  border-radius: 14px;
  background: #000;
  color: #fff;
  font: 700 17px/1 var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
}
@media (prefers-color-scheme: dark) { .apple-pay { background: #fff; color: #000; } }
.apple-pay:disabled { opacity: .45; cursor: not-allowed; }
.apple-pay:not(:disabled):hover { opacity: .88; }
.apple-pay:not(:disabled):active { transform: scale(.985); }
.apple-mark { display: inline-flex; align-items: center; gap: 1px; padding-left: 10px; border-left: 1px solid rgba(127, 127, 127, .5); }
.apple-logo::before { content: "\F8FF"; font-size: 19px; }

.small { margin: 10px 0 0; font-size: 12.5px; color: var(--dim); text-align: center; }
.note { margin: 14px 8px 0; font-size: 13px; color: var(--dim); text-align: center; }

/* ---------- Abschnitte ---------- */
.info { margin-top: 44px; }
.info h2 { margin: 0 0 14px; font: 700 28px/1.1 var(--display); letter-spacing: -.025em; }
.info-text { margin: 14px 0 0; font-size: 15px; color: var(--dim); }

/* So funktioniert's: Zeitleiste statt Kacheln */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px 60px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -2px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hot);
  color: var(--sheet);
  font: italic 700 21px/1 var(--display);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 46px;
  bottom: 4px;
  border-left: 2px dashed var(--hot);
  opacity: .35;
}
.steps strong { display: block; margin-bottom: 4px; font: 700 21px/1.2 var(--display); letter-spacing: -.015em; }
.steps span { display: block; font-size: 15px; line-height: 1.5; color: var(--dim); }

.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 14px; border-radius: 999px; background: var(--sheet); box-shadow: var(--hairline); font-size: 14px; font-weight: 600; }

.faq { background: var(--sheet); border-radius: 18px; box-shadow: var(--hairline); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 15px 48px 15px 18px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--hot);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 16px; font-size: 15px; color: var(--dim); }

/* Kurze Punkte statt Kacheln */
.points { list-style: none; margin: 0; padding: 0; display: grid; }
.points li { padding: 14px 0; border-top: 1px solid var(--line); }
.points li:first-child { border-top: 0; padding-top: 0; }
.points strong { display: block; margin-bottom: 3px; font: 700 20px/1.2 var(--display); letter-spacing: -.015em; }
.points span { display: block; font-size: 15px; line-height: 1.5; color: var(--dim); }

/* ---------- Fußzeile ---------- */
.foot {
  margin-top: 44px;
  padding: 18px 24px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--dim);
}
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---------- Unterseiten ---------- */
.legal { padding-bottom: 32px; }
.legal h1 { margin: 20px 0 18px; font: 700 34px/1.1 var(--display); letter-spacing: -.03em; }
.legal h2 { margin: 28px 0 6px; font-size: 18px; font-weight: 800; }
.legal p { margin: 0 0 12px; color: var(--dim); }
.back { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--dim); }

.form { display: grid; gap: 14px; margin-top: 16px; padding: 18px; background: var(--sheet); border-radius: 22px; box-shadow: var(--hairline); }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--font);
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}
.btn {
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--hot);
  color: var(--sheet);
  font: 700 16px/1 var(--font);
  cursor: pointer;
}
/* Kontaktformular */
.contact-form .fields { margin-bottom: 14px; }
.contact-form .check { margin-bottom: 14px; }
.check strong { color: var(--ink); }
.check-callback { padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 15px; }
.cell textarea {
  display: block;
  width: 100%;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 400 16px/1.45 var(--font);
  outline: none;
  resize: vertical;
}
.cell textarea::placeholder { color: var(--dim); opacity: .8; }
.contact-form .btn { width: 100%; }
.form-done { padding: 14px 16px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); font-weight: 700; }

/* Anonymes Interesse unter der Warteliste */
.interest { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.interest p { margin: 0 0 10px; font-size: 13px; line-height: 1.45; color: var(--dim); }
.interest-btn {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: 700 14px/1 var(--font);
  cursor: pointer;
}
.interest-btn:hover { border-color: var(--hot); }
.interest-btn:disabled { opacity: .5; cursor: default; }
.interest .interest-done { margin: 0; color: var(--ok); font-weight: 700; }

/* ---------- Mobil ---------- */
@media (max-width: 480px) {
  .masthead { padding: 22px 16px 0; }
  .wrap { padding: 0 16px 8px; }
  .wordmark { font-size: 48px; }
  .kicker { font-size: 17px; }
  .amount, .save { font-size: 44px; }
  .price-row { gap: 10px; }
  .card { padding: 14px; }
}

/* ---------- Mobil: Einstieg auf dem Seitengrund, darunter zwei Buttons und die Bestellkarte ---------- */
html { scroll-behavior: smooth; }
.card-buy { scroll-margin-top: 16px; }
.card-buy .plans { margin-top: 0; }
.card-buy .soon { align-self: flex-start; margin-bottom: 16px; }
.order { margin-top: 20px; }
.cta { margin: 18px 0 24px; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hot);
  font: italic 700 22px/1.2 var(--display);
  letter-spacing: -.01em;
  text-decoration: none;
}
.more svg { transition: transform .2s; }
.more:hover svg, .more:focus-visible svg { transform: translateY(3px); }
.info { scroll-margin-top: 16px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { font-size: 17px; }
  /* Kein abgesetztes Panel: Seite läuft über die volle Breite */
  body { background: var(--paper); }
  .app {
    max-width: 1360px;
    min-height: 100vh;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
  }
  .masthead { display: flex; align-items: center; gap: 16px; padding: 40px 56px 0; }
  .masthead .wordmark { order: -1; font-size: 72px; }
  .soon { margin: 6px 0 0; }
  .wrap { padding: 0 56px 8px; }
  .kicker { margin: 10px 0 32px; font-size: 22px; }

  /* Startseite zweispaltig: links Kopf und Inhalt auf dem Seitengrund,
     rechts nur die Bestellung als Karte – von ganz oben, über die volle Fensterhöhe */
  .app-shop {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    column-gap: 24px;
    align-items: start;
    align-content: start;
    padding: 0 24px;
  }
  .app-shop > *, .shop > * { grid-column: 1; }
  .app-shop .masthead { justify-content: center; padding: 24px 0 0; }
  .app-shop .kicker { text-align: center; }
  .app-shop .shop { display: contents; }
  .cta { display: none; }
  .app-shop .foot { justify-content: flex-start; padding: 24px 0 40px; }
  .card-main { display: block; grid-column: 1; }
  .card-buy {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 20;
    position: sticky;
    top: 24px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 24px;
    background: var(--sheet);
    border-radius: 28px;
    box-shadow: var(--hairline), 0 30px 60px -30px rgba(23, 24, 26, .22);
  }
  .plans { margin-top: 0; }

  .swap { gap: 12px; }
  .swap-old, .envelope { padding: 24px 20px 20px; border-radius: 22px; }
  .addr-old { font-size: min(18px, 13.5cqi); }
  .addr { font-size: min(26px, 8.4cqi); }
  .swap-label { font-size: min(12px, 9cqi); }
  .swap-note { font-size: min(13px, 10cqi); }
  .badge { top: 14px; right: 14px; width: 24px; height: 24px; }
  .badge svg { width: 14px; height: 14px; }

  /* Leitsatz unter den Adressen */
  .lead { margin: 28px 0 0; font-size: 36px; letter-spacing: -.025em; }
  .intro { max-width: 760px; margin: 14px 0 0; font-size: 17px; }

  /* Wartelisten-Karte: so hoch wie ihr Inhalt, höchstens Fensterhöhe */
  .card-buy .plan span { min-height: 40px; }
  .card-buy .price-row { margin-top: 14px; }
  .amount, .save { font-size: 52px; }
  .order { flex: 1; display: flex; flex-direction: column; margin-top: 12px; }
  .order .fields { padding: 0 0 10px; }
  .order .group { flex: 1; display: grid; grid-auto-rows: minmax(min-content, 1fr); }
  .order .cell { display: flex; flex-direction: column; justify-content: center; padding-top: 7px; padding-bottom: 6px; }
  .due { margin-bottom: 12px; padding: 10px 14px; }
  .due strong { font-size: 22px; }
  .card-buy .check { font-size: 12.5px; line-height: 1.45; }
  .card-buy .check + .check { margin-top: 8px; }
  .card-buy .apple-pay { height: 52px; margin-top: 14px; }

  .note { margin: 14px 0 0; text-align: left; }

  /* Abschnitte */
  .points { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .points li:nth-child(2) { border-top: 0; padding-top: 0; }
  .faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .faq details { background: var(--sheet); border-radius: 18px; box-shadow: var(--hairline); }
  .faq details + details { border-top: 0; }
  .info { margin-top: 64px; }
  .info h2 { font-size: 36px; margin-bottom: 20px; }
  .info-text { font-size: 16px; }


  .foot { margin-top: 72px; padding: 24px 56px 40px; }

  /* Rechtstexte in angenehmer Lesebreite */
  .legal { max-width: 760px; }
  .legal h1 { font-size: 44px; }
}

/* Schmaler Desktop: rechte Karte etwas schmaler, links einspaltige Kacheln */
@media (min-width: 900px) and (max-width: 1199px) {
  .app-shop { grid-template-columns: minmax(0, 1fr) 420px; }
  .points { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .points li:nth-child(2) { border-top: 1px solid var(--line); padding-top: 14px; }
  .card-buy { padding: 22px; }
}

/* Breiter Desktop: Zeitleiste waagerecht */
@media (min-width: 1200px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .steps li { padding: 64px 0 0; }
  .steps li::before { top: 0; width: 48px; height: 48px; font-size: 24px; }
  .steps li:not(:last-child)::after { left: 60px; right: -16px; top: 23px; bottom: auto; border-left: 0; border-top: 2px dashed var(--hot); }
}
