/* MedAT ONE — Landing Page. Schlicht und zentriert, Farben und Schriften wie
   in der App (Papiergrund, Tinte, Markenrot). Keine externen Schriften. */

@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/schriften/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("/schriften/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("/schriften/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 400; font-display: swap; src: url("/schriften/work-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 500; font-display: swap; src: url("/schriften/work-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 600; font-display: swap; src: url("/schriften/work-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --grund: #f7f2eb;
  --grund-tief: #efe7dc;
  --flaeche: #fdfbf7;
  --tinte: #2a2521;
  --tinte-leise: #5b5248;
  --tinte-blass: rgba(42, 37, 33, 0.55);
  --linie: rgba(42, 37, 33, 0.1);
  --marke: #c2543c;
  --marke-tief: #9e4230;
  --marke-hauch: #f7e9e3;
  --verlauf-one: linear-gradient(160deg, #e8906f 0%, #cf5a3d 45%, #a8432c 100%);
  --schatten: rgba(58, 42, 34, 0.22);
  --geraet: #1b1816;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #1f1b18;
    --grund-tief: #181513;
    --flaeche: #29241f;
    --tinte: #f3eee7;
    --tinte-leise: #c9c0b4;
    --tinte-blass: rgba(243, 238, 231, 0.55);
    --linie: rgba(243, 238, 231, 0.1);
    --marke: #d8816e;
    --marke-tief: #e9a08e;
    --marke-hauch: #3a2622;
    --verlauf-one: linear-gradient(160deg, #eea38a 0%, #dd7f68 45%, #bd5a45 100%);
    --schatten: rgba(0, 0, 0, 0.55);
    --geraet: #0b0a09;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--grund); color: var(--tinte); font: 400 16px/1.6 "Work Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.innen { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.nur-dunkel { display: none !important; }
@media (prefers-color-scheme: dark) {
  .nur-hell { display: none !important; }
  .nur-dunkel { display: block !important; }
}

/* --------------------------------------------------------------- Kopf */

.kopf { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--grund) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--linie); }
.kopf .innen { display: flex; align-items: center; gap: 24px; height: 60px; }
.marke { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.marke img { width: 30px; height: 30px; }
.wortmarke { font: 600 18px/1 "Manrope", sans-serif; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 0.3em; }
.wortmarke b { font-weight: 800; font-size: 0.86em; letter-spacing: 0.02em; background: var(--verlauf-one); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kopf nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.kopf nav a { text-decoration: none; color: var(--tinte-leise); }
.kopf nav a:hover { color: var(--tinte); }

/* --------------------------------------------------------------- Knopf */

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 12px;
  background: var(--marke); color: #f7f2eb; text-decoration: none;
  font: 600 15px/1 "Work Sans", sans-serif;
}
.knopf:hover { background: var(--marke-tief); }
.knopf[aria-disabled="true"] { cursor: default; }
.knopf-klein { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* ------------------------------------------------------------- Abschnitte */

section { padding: 72px 0; text-align: center; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -0.03em; margin: 0; }
h1 { font-weight: 800; font-size: clamp(38px, 6vw, 60px); line-height: 1.05; }
h1 em { font-style: normal; background: var(--verlauf-one); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin-bottom: 32px; }
h3 { font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; }
.schmal .innen { max-width: 760px; }
.fussnote { margin: 20px 0 0; font-size: 14px; color: var(--tinte-blass); }

/* Bühne */
.buehne {
  padding: 64px 0 80px; text-align: left;
  background:
    radial-gradient(ellipse 820px 600px at 85% 10%, rgba(202, 167, 104, 0.3), transparent 70%),
    radial-gradient(ellipse 600px 480px at 0% 90%, rgba(194, 84, 60, 0.08), transparent 70%);
}
.buehne .innen { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; max-width: 1120px; }
.eins { width: 72px; height: 72px; margin: 0 0 20px -4px; filter: drop-shadow(0 14px 22px var(--schatten)); }
.buehne h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.04em; }
.slogan { margin: 18px 0 0; font: 600 clamp(17px, 1.8vw, 20px)/1.4 "Manrope", sans-serif; color: var(--tinte-leise); }
.slogan span { white-space: nowrap; }
.aktionen { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.knopf-leise { background: transparent; color: var(--tinte); border: 1px solid var(--linie); }
.knopf-leise:hover { background: var(--flaeche); }

.kennzahlen { display: flex; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--linie); }
.kennzahlen div { display: flex; flex-direction: column; padding-right: 22px; }
.kennzahlen div + div { padding-left: 22px; border-left: 1px solid var(--linie); }
.kennzahlen dd { margin: 0; font: 800 22px/1.15 "Manrope", sans-serif; letter-spacing: -0.02em; }
.kennzahlen dt { font-size: 13px; color: var(--tinte-blass); }

.buehne-bild { position: relative; height: 600px; }
.fenster { position: absolute; left: 0; right: 0; top: 40px; height: 500px; border-radius: 36px; overflow: hidden; box-shadow: 0 40px 80px -46px var(--schatten), inset 0 0 0 1px var(--linie); }
.fenster img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 80%; }
.buehne-bild .geraet {
  position: absolute; aspect-ratio: 440 / 956; padding: 9px; border-radius: 44px; background: var(--geraet);
  box-shadow: 0 0 0 1px #4a4440, 0 44px 70px -26px var(--schatten);
}
.buehne-bild .geraet img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.buehne-bild .geraet::after { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 21px; margin-left: -15%; border-radius: 999px; background: #000; }
.geraet-vorne { left: 56%; top: 66px; width: 252px; margin-left: -126px; z-index: 2; }
.geraet-hinten { right: -2%; top: 140px; width: 196px; transform: rotate(9deg); }
.geraet-hinten img { border-radius: 28px !important; }
.geraet-hinten::after { top: 14px !important; height: 16px !important; }
.plakette {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 16px; background: var(--flaeche);
  box-shadow: 0 18px 40px -16px var(--schatten), inset 0 0 0 1px var(--linie);
  font: 600 13px/1.2 "Work Sans", sans-serif;
}
.plakette-oben { top: 86px; left: -16px; flex-direction: column; align-items: flex-start; gap: 2px; }
.plakette-oben strong { font: 800 28px/1 "Manrope", sans-serif; letter-spacing: -0.03em; color: var(--marke); }
.plakette-oben > span { color: var(--tinte-leise); font-weight: 500; }
.plakette-unten { bottom: 64px; left: 4%; }
.punkt { width: 9px; height: 9px; border-radius: 50%; background: #6e8a52; box-shadow: 0 0 0 4px rgba(110, 138, 82, 0.2); }

/* Download-Abzeichen */
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.schluss .download { justify-content: center; margin-top: 24px; }
.abzeichen { position: relative; display: inline-flex; align-items: center; height: 48px; text-decoration: none; }
.abzeichen img { height: 48px; width: auto; }
.abzeichen .play { height: 69px; margin: -10px -11px; } /* PNG mit Schutzraum laut Google */
.abzeichen-bald { cursor: default; }
.abzeichen-bald img { opacity: 0.8; }
.abzeichen-bald small {
  position: absolute; top: -9px; right: -8px; padding: 3px 7px; border-radius: 999px;
  background: var(--marke); color: #f7f2eb; font: 700 10px/1 "Work Sans", sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Preis */
.preis-abschnitt { background: var(--grund-tief); padding: 80px 0 88px; }
.preis-abschnitt h2 { margin-bottom: 36px; }
.preise { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; max-width: 760px; margin: 0 auto; text-align: left; align-items: stretch; }
.tarif { position: relative; padding: 30px; border-radius: 24px; background: var(--flaeche); border: 1px solid var(--linie); display: flex; flex-direction: column; }
.tarif-premium {
  border: 1.5px solid color-mix(in srgb, var(--marke) 50%, transparent);
  background: radial-gradient(ellipse 420px 260px at 100% 0%, rgba(202, 167, 104, 0.22), transparent 70%), var(--flaeche);
  box-shadow: 0 34px 70px -44px var(--schatten);
}
.tarif-kachel { position: absolute; top: 26px; right: 26px; width: 44px; height: 44px; }
.tarif-name { margin: 0 0 8px; font: 600 13px/1 "Work Sans", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tinte-blass); }
.tarif-premium .tarif-name { color: var(--marke); }
.betrag { font: 800 46px/1.05 "Manrope", sans-serif; letter-spacing: -0.035em; }
.betrag small { font: 500 15px/1 "Work Sans", sans-serif; letter-spacing: 0; color: var(--tinte-blass); margin-left: 6px; }
.tarif-zusatz { margin: 8px 0 0; font-size: 14px; color: var(--tinte-leise); }
.liste { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; flex: 1; align-content: start; }
.liste li { display: flex; gap: 10px; }
.liste li::before { content: "✓"; color: var(--marke); font-weight: 700; }
.tarif .knopf { margin-top: 26px; align-self: flex-start; }

/* --------------------------------------------------------------- Fuß */

.fuss { padding: 32px 0 48px; border-top: 1px solid var(--linie); font-size: 13px; color: var(--tinte-blass); }
.fuss .innen { display: grid; gap: 14px; }
.fuss-oben { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.fuss nav a { text-decoration: none; color: var(--tinte-leise); font-weight: 500; }
.fuss nav a:hover { color: var(--tinte); text-decoration: underline; }
.fuss p { margin: 0; max-width: 64em; }

/* ------------------------------------------------- Kontakt & Rechtsseiten */

.kontakt-raster { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; padding-top: 56px; padding-bottom: 80px; }
.kontakt-raster h1 { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 14px; }
.ueberzeile { margin: 0 0 12px; font: 600 12px/1 "Work Sans", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marke); }
.einleitung { margin: 0; color: var(--tinte-leise); }
.kontakt-wege { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.kontakt-wege li { padding: 14px 16px; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--linie); }
.kontakt-wege strong { display: block; font: 700 15px/1.3 "Manrope", sans-serif; margin-bottom: 2px; }
.kontakt-wege span { color: var(--tinte-leise); font-size: 14px; }
.formular { padding: 26px; border-radius: 20px; background: var(--flaeche); border: 1px solid var(--linie); display: grid; gap: 16px; }
.feld { display: grid; gap: 6px; }
.feld label { font: 600 14px/1.2 "Work Sans", sans-serif; }
.feld input, .feld select, .feld textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linie); background: var(--grund); color: var(--tinte); font: 400 16px/1.4 "Work Sans", sans-serif; }
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--marke); box-shadow: 0 0 0 3px color-mix(in srgb, var(--marke) 18%, transparent); }
.feld small { color: var(--tinte-blass); font-size: 13px; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular .knopf { justify-self: start; border: 0; cursor: pointer; }
.formular-meldung { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.formular-meldung[data-art="ok"] { background: color-mix(in srgb, #6e8a52 16%, transparent); }
.formular-meldung[data-art="fehler"] { background: var(--marke-hauch); }
.formular-meldung:empty { display: none; }
.formular .klein { margin: 0; font-size: 13px; color: var(--tinte-blass); }

.rechtstext { max-width: 860px; padding: 48px 24px 72px; }
.rechtstext h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 24px; }
.rechtstext h3 { margin-top: 32px; }
.rechtstext p, .rechtstext li { color: var(--tinte-leise); }
.rechtstext strong { color: var(--tinte); }
.rechtstext table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0; }
.rechtstext th, .rechtstext td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.rechtstext th { color: var(--tinte); font-weight: 600; }
.tabelle { overflow-x: auto; }
.zurueck { display: inline-block; margin-bottom: 20px; color: var(--marke); text-decoration: none; font-weight: 600; }

/* -------------------------------------------------------------- Kleiner */

@media (max-width: 900px) {
  .buehne .innen { grid-template-columns: 1fr; gap: 36px; }
  .buehne-bild { max-width: 520px; width: 100%; margin: 0 auto; }
  .kontakt-raster { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .kopf nav, .kopf .knopf { display: none; }
  section { padding: 52px 0; }
  .buehne { padding: 36px 0 52px; }
  .eins { width: 60px; height: 60px; }
  .aktionen .knopf { flex: 1 1 auto; }
  .kennzahlen div { padding-right: 12px; }
  .kennzahlen div + div { padding-left: 12px; }
  .kennzahlen dd { font-size: 17px; }
  .buehne-bild { height: 500px; }
  .fenster { top: 30px; height: 420px; border-radius: 28px; }
  .geraet-vorne { width: 206px; margin-left: -103px; top: 50px; }
  .geraet-hinten { width: 150px; top: 110px; right: -6%; }
  .plakette-oben { left: 6px; top: 60px; }
  .plakette-oben strong { font-size: 22px; }
  .plakette-unten { bottom: 40px; left: 6px; }
  .preise { grid-template-columns: 1fr; }
  .tarif { padding: 24px; }
  .tarif .knopf { align-self: stretch; }
  .formular { padding: 20px; }
  .formular .knopf { justify-self: stretch; }
}
