/* Curalta – Produktwebsite (vorerst nur Deutsch, ohne Handbuch).
   Aufbau und Stil von domalta.app übernommen (dort nach der Voyalta-Seite):
   dunkler Hero mit schrägem Telefon, Eyebrow mit Nummer, Serifen-Akzent in
   Überschriften, ruhige Abschnitte.
   Farben aus docs/Design-System-2026-11-01/tokens/curalta.css.
   Keine Webfonts, keine Skripte, kein Build. */

:root {
  --bg: #F7F3E8;            /* canvas */
  --card: #FFFCF5;          /* surface */
  --text: #173F46;          /* text */
  --muted: #52635F;         /* textSecondary */
  --brand: #2C716F;         /* accent */
  --brand-deep: #2C716F;    /* accent, weisse Schrift darauf (onAccent) */
  --soft: #DFEAE2;          /* selected (sanfte Akzentfläche) */
  --line: #D6D9D0;          /* separator */
  --mint: #A5D3C5;          /* Akzent auf dunklem Grund (accent dunkel) */
  --mint-ink: #173F46;      /* Schrift auf --mint */
  --warn: #8A4524;          /* important */
  --warn-bg: #F8EBDD;       /* importantBg */
  --hero: #173F46;          /* Hero-Fläche, in beiden Modi dunkel */
  --hero-2: #1F5257;
  --hero-text: #F7F3E8;
  --hero-muted: #C9D6D0;
  --focus: #173F46;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101E21;
    --card: #1B2D30;
    --text: #F7F3E8;
    --muted: #B6C6BE;
    --brand: #A5D3C5;
    --brand-deep: #2C716F;
    --soft: #263B3D;
    --line: #3D5352;
    --warn: #F2BB89;
    --warn-bg: #453127;
    --hero: #0B1719;
    --hero-2: #173033;
    --focus: #D9EEE2;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 100%/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
.hero :focus-visible, .page-hero :focus-visible, .skip:focus-visible { outline-color: #A5D3C5; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--mint); color: var(--mint-ink); padding: 10px 16px; border-radius: 8px; font-weight: 650; }
.skip:focus { top: 12px; }

/* Serifen-Akzent wie bei Voyalta und Domalta */
h1 em, h2 em { font-family: "New York", Georgia, serif; font-style: italic; font-weight: 400; }

/* --- Kopf --- */
.site-header {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 18px 5%; background: var(--bg);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em;
  color: var(--text); text-decoration: none;
}
.brand img { border-radius: 23%; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; font-weight: 600; }
.site-header nav a { color: var(--text); text-decoration: none; padding: 6px 0; }
.site-header nav a:hover { color: var(--brand); }
.site-header nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
/* Sprachumschalter: einfache Links, keine Skripte */
.site-header nav.lang { gap: 2px 4px; font-size: .78rem; letter-spacing: .06em; }
.site-header nav.lang a { color: var(--muted); padding: 6px 7px; border-radius: 6px; }
.site-header nav.lang a:hover { color: var(--brand); }
.site-header nav.lang a[aria-current="true"] { color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.translation-note { font-size: .9rem; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint); color: var(--mint-ink);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  padding: 5px 12px; border-radius: 40px;
}

/* --- Hero --- */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--hero); color: var(--hero-text); overflow: hidden;
}
.hero-copy { padding: 72px 5vw 72px; }
.eyebrow { font-size: .75rem; letter-spacing: .14em; font-weight: 650; margin: 0 0 22px; text-transform: uppercase; text-wrap: balance; }
.hero .eyebrow { color: var(--hero-muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-right: 8px; vertical-align: 1px; }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.9rem); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 600; margin: 18px 0 26px;
}
.hero h1 em { color: var(--mint); }
.intro { font-size: 1.15rem; color: var(--hero-muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 30px; }
[hidden] { display: none !important; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; gap: 18px; min-height: 44px;
  border-radius: 40px; padding: 13px 22px; font-weight: 650; font-size: .92rem;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.mint { background: var(--mint); color: var(--mint-ink); }
.button.ghost { color: #fff; box-shadow: inset 0 0 0 1px #ffffff55; }
.button.ghost:hover { background: #ffffff14; }
.button.solid { background: var(--brand-deep); color: #fff; }
.hero-note { color: var(--hero-muted); font-size: .85rem; margin-top: 18px; }

.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  background: linear-gradient(150deg, var(--hero-2) 0%, var(--hero) 75%); isolation: isolate; min-width: 0;
}
.orbit { position: absolute; width: 640px; height: 640px; border: 1px solid #ffffff22; border-radius: 50%; top: 150px; left: -60px; z-index: -1; }
.orbit::after { content: ""; position: absolute; inset: 70px; border: 1px solid #ffffff22; border-radius: 50%; }
.phone {
  width: 290px; border: 7px solid #0E2427; border-radius: 46px;
  box-shadow: 24px 34px 70px #00000066; transform: rotate(7deg);
  margin: 120px 0 -90px;
}
.hero-label {
  position: absolute; right: 22px; bottom: 120px; transform: rotate(-5deg);
  background: var(--mint); color: var(--mint-ink); padding: 13px 20px;
  font-weight: 700; box-shadow: 0 14px 36px #00000040; line-height: 1.3;
}
.hero-label small { display: block; font-weight: 400; font-size: .78rem; }

.strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px;
  padding: 20px 5%; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted);
}
.strip strong { color: var(--text); font-weight: 600; }

/* --- Abschnitte --- */
.section { padding: 88px 7%; }
.section.alt { background: var(--card); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 20px; text-wrap: balance; }
h2 em { color: var(--brand); }
h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.01em; font-weight: 650; margin: 0 0 10px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40rem; }
.section .eyebrow { color: var(--brand); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; }
.grid3 article { border-top: 1px solid var(--line); padding-top: 18px; }
.grid3 p { color: var(--muted); margin: 0 0 12px; }
.num { font-size: .82rem; color: var(--brand); font-weight: 600; }
.more { font-weight: 650; font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
.stage {
  position: relative; display: flex; justify-content: center; overflow: hidden;
  min-height: 560px; background: var(--soft); border-radius: 6px;
}
.stage img { width: 260px; align-self: flex-start; margin: 80px 0 -60px; border: 6px solid #0E2427; border-radius: 38px; transform: rotate(-6deg); box-shadow: 18px 24px 44px #0E242733; }
.stage-caption { position: absolute; top: 20px; left: 22px; font-size: .7rem; letter-spacing: .14em; color: var(--muted); font-weight: 650; }

.list { list-style: none; padding: 0; margin: 26px 0; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list li span[aria-hidden] { color: var(--brand); margin-right: 10px; }

.notice {
  background: var(--warn-bg); color: var(--text); border-left: 4px solid var(--warn);
  border-radius: 10px; padding: 14px 18px; margin: 22px 0;
}
.notice strong { color: var(--warn); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }

/* --- Fuss --- */
.site-footer {
  border-top: 1px solid var(--line); padding: 40px 5%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center;
}
.site-footer .claim { justify-self: end; margin: 0; font-family: "New York", Georgia, serif; font-style: italic; font-size: 1.4rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; }
.site-footer nav a { color: var(--text); padding: 6px 0; }
.site-footer small { justify-self: end; color: var(--muted); }

/* --- Inhaltsseiten (Fragen, Datenschutz) --- */
.page-hero { background: var(--hero); color: var(--hero-text); padding: 64px 7% 56px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; margin: 10px 0 18px; }
.page-hero h1 em { color: var(--mint); }
.page-hero p { color: var(--hero-muted); max-width: 40rem; font-size: 1.08rem; margin: 0; }
.page-hero .eyebrow { color: var(--hero-muted); }

.doc { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 56px; padding: 56px 7% 80px; max-width: 1200px; margin: 0 auto; }
.doc.single { grid-template-columns: minmax(0, 46rem); justify-content: center; }
.toc { position: sticky; top: 24px; align-self: start; font-size: .92rem; }
.toc h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.3rem; }
.toc li { margin: 4px 0; }
.toc a { text-decoration: none; color: var(--text); display: inline-block; padding: 3px 0; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

.chapter { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 36px; align-items: start; padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.chapter:first-of-type { border-top: 0; padding-top: 0; }
.chapter.noshot { grid-template-columns: minmax(0, 1fr); }
.chapter h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.chapter h2 .n { color: var(--brand); font-weight: 600; }
.chapter p, .chapter li { color: var(--text); }
.chapter p { margin: 0 0 12px; }
.chapter ul { padding-left: 1.2rem; margin: 0 0 12px; }
figure.shot { margin: 0; }
figure.shot img { display: block; width: 100%; border-radius: 26px; border: 1px solid var(--line); background: #0E131A; }
figure.shot figcaption { color: var(--muted); font-size: .82rem; margin-top: 8px; text-align: center; }
.shots { display: grid; gap: 28px; }

.checklist { list-style: none; padding: 0; margin: 0 0 8px; }
.checklist li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 20px; height: 20px;
  border: 2px solid var(--brand); border-radius: 6px;
}
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: .95rem; }
.doc h2.block { font-size: 1.6rem; margin: 40px 0 8px; }
.doc h2.block:first-child { margin-top: 0; }
.draft { font-size: .85rem; }
table { border-collapse: collapse; width: 100%; margin: 10px 0 16px; font-size: .95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 650; }

@media (max-width: 1050px) {
  .hero-copy { padding: 56px 5vw; }
  .phone { width: 250px; margin-top: 150px; }
  .grid3 { gap: 24px; }
  .section { padding: 70px 5%; }
  .doc { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 2rem; }
}
@media (max-width: 760px) {
  .site-header { padding: 14px 16px; gap: 10px 16px; }
  .brand { font-size: 1.3rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 44px 16px 40px; }
  .hero-visual { min-height: 520px; }
  .phone { width: 230px; margin-top: 70px; margin-bottom: -80px; }
  .hero-label { bottom: 60px; right: 16px; }
  .orbit { width: 460px; height: 460px; top: 90px; }
  .strip { padding: 18px 16px; flex-direction: column; }
  .section { padding: 56px 16px; }
  .grid3 { grid-template-columns: 1fr; margin-top: 32px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stage { min-height: 500px; }
  .stage img { width: 230px; }
  .site-footer { grid-template-columns: 1fr; padding: 32px 16px; }
  .site-footer .claim, .site-footer small { justify-self: start; }
  .page-hero { padding: 44px 16px 40px; }
  .doc { padding: 36px 16px 60px; }
  .toc ol { columns: 1; }
  .chapter { grid-template-columns: 1fr; gap: 18px; }
  .chapter figure.shot { max-width: 260px; }
  .button { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .button:hover { transform: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: var(--text); }
  .card, figure.shot img { border-width: 2px; }
}
@media print {
  .site-header nav, .hero-visual, .toc, .skip { display: none; }
  .hero, .page-hero { background: none; color: #000; }
}
.card > :first-child { margin-top: 0; }

/* --- Fragen, Deine Daten, Etiketten-Ratgeber (16.10.2026) --- */
.chapter ol { padding-left: 1.3rem; margin: 0 0 12px; }
.chapter li + li { margin-top: 4px; }
.chapter h3 { font-size: 1.1rem; margin: 22px 0 6px; }
.chapter .lead-in { font-size: 1.08rem; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 6px 0 14px; }
.table-wrap table { margin: 0; }
@media (max-width: 760px) { .table-wrap table { font-size: .88rem; } .table-wrap th, .table-wrap td { padding: 8px 6px; } }
.small { font-size: .88rem; color: var(--muted); }
/* Häufige Fragen: <details> ohne Skript */
.faq { margin: 4px 0 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 14px 40px 14px 0; font-weight: 650; font-size: 1.04rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 9px;
  color: var(--brand); font-size: 1.5rem; font-weight: 400; line-height: 1.4;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--brand); }
.faq details > div { padding: 0 0 14px; }
.faq details > div > :last-child { margin-bottom: 0; }
@media print {
  .faq details > div { display: block; }
}
.page-hero p a { color: var(--hero-text); }
/* Kopf mit fünf Einträgen (Fragen dazu): auf dem Telefon enger, damit er auf 390 px in eine Zeile passt */
@media (max-width: 760px) {
  .site-header nav { gap: 4px 13px; font-size: .84rem; }
}

/* --- Handbuch (16.10.2026): Tabelle über die ganze Kapitelbreite, unter Text und Bild --- */
.chapter > .span-all { grid-column: 1 / -1; }
/* Grid-Kinder dürfen schmaler werden als ihr Inhalt, sonst schiebt eine breite Tabelle
   (min-width in .table-wrap) auf dem Telefon die ganze Spalte über den Rand. */
.doc > *, .chapter > * { min-width: 0; }

/* --- Curalta (6.11.2026) --- */
/* Grössere Grundschrift: Die Kernzielgruppe ist 50–70. */
body { font-size: 106.25%; }
.hero-label { border-radius: 4px; }
/* Notfallblatt als Blatt Papier statt im Telefon */
.paper-stage { background: var(--soft); border-radius: 6px; padding: 56px 6% 0; overflow: hidden; display: flex; justify-content: center; }
.paper-stage img { width: 100%; max-width: 620px; display: block; background: #fff; box-shadow: 0 18px 44px #0E242733; transform: rotate(-1.5deg); margin-bottom: -24px; border-radius: 2px; }
.price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.price .card h3 { margin-bottom: 4px; }
.price .card .amount { font-size: 1.6rem; font-weight: 650; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--brand); }
.price .card ul { list-style: none; padding: 0; margin: 0; }
.price .card li { padding: 9px 0; border-top: 1px solid var(--line); }
.price .card li:first-child { border-top: 0; }
.price .card li span[aria-hidden] { color: var(--brand); margin-right: 10px; }
.section .note { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } .paper-stage { padding: 32px 16px 0; } }
