/* Audialta – Produktwebsite (de im Wurzelverzeichnis; en/fr/it folgen in Unterordnern).
   Aufbau und Tonalität übernommen von domalta.app: dunkler Hero mit schrägem Telefon,
   Eyebrow mit Nummer, Serifen-Akzent in Überschriften, ruhige Abschnitte.
   Farben aus Design-Uebergabe/02-Farbsystem.md (Palette A «Bordeaux»).
   Keine Webfonts, keine Skripte, kein Build. */

:root {
  --bg: #F6F3F3;            /* AppBackground */
  --card: #FFFFFF;          /* CardBackground */
  --text: #241519;          /* TextPrimary */
  --muted: #6A5A5F;         /* TextSecondary */
  --brand: #6B2540;         /* BrandPrimary */
  --brand-deep: #4A1D2E;    /* BrandPrimaryDeep, weisse Schrift darauf */
  --soft: #F1E4E7;          /* AccentSoft */
  --line: #E6DCDF;          /* Separator */
  --mint: #9BE3D6;          /* AccentHighlight: nur Fläche, nie Text auf hell */
  --mint-ink: #0F3A33;      /* AccentHighlightInk */
  --warn: #8A5A0C;          /* StatusWarning */
  --warn-bg: #FCF1DA;       /* StatusWarningSurface */
  --hero: #4A1D2E;          /* Hero-Fläche, in beiden Modi dunkel (Icon-Hintergrund) */
  --hero-2: #6B2540;
  --hero-text: #F7F3E8;     /* Band im Icon */
  --hero-muted: #E2CDD3;
  --frame: #1E0E14;         /* Telefonrahmen */
  --focus: #6B2540;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #150E11;
    --card: #231A1E;
    --text: #F5EFF1;
    --muted: #BDAEB3;
    --brand: #E8B9C4;
    --brand-deep: #8A2F52;
    --soft: #3A2430;
    --line: #3D2C33;
    --warn: #F4C15F;
    --warn-bg: #352C1B;
    --hero: #2E1220;
    --hero-2: #4A1D2E;
    --focus: #9BE3D6;
  }
}

* { 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: #9BE3D6; }

.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 */
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 var(--frame); 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 var(--frame); border-radius: 38px; transform: rotate(-6deg); box-shadow: 18px 24px 44px #1E0E1433; }
.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 (Handbuch, Testen, 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: #150E11; }
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; }

/* --- Mac-Seite: breite Fensterbilder (1200 × 750, Fensterecken transparent) --- */
.mac-shot { margin: 44px 0 0; min-width: 0; }
.mac-shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 40px #1E0E1440); }
.mac-shot figcaption { color: var(--muted); font-size: .85rem; margin-top: 14px; text-align: center; }
.mac-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 44px; }
.mac-pair .mac-shot { margin: 0; }
.mac-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; align-items: start; }
.mac-intro .list { margin-top: 0; }
kbd {
  font: inherit; font-weight: 650; font-size: .9em; white-space: nowrap;
  padding: 2px 8px; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; background: var(--card);
}
.section.alt kbd { background: var(--bg); }
.keys { max-width: 46rem; margin-top: 36px; }
.keys td:first-child { width: 7.5rem; }
.keys td:last-child { color: var(--muted); }

@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; }
  .mac-pair, .mac-intro { grid-template-columns: 1fr; gap: 28px; }
  .mac-shot { margin-top: 32px; }
  .keys td:first-child { width: auto; }
  .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; }
  .chapter figure.shot.wide { max-width: 100%; }
  .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; }

video { max-width: 100%; height: auto; }
/* Erste-Schritte-Videos (16.10.2026): selbst gehostet, kein Autoplay, kein Tracking */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
figure.video { margin: 0; }
figure.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid var(--line); background: #150E11; }
figure.video figcaption { margin-top: 10px; font-weight: 600; }
figure.video figcaption span { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.section .note { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* --- Bildschirmfotos mit eigenem Geräterahmen (22.10.2026) ---
   Die Bilder aus Screenshots/de/web bringen Rahmen, Schatten und transparenten Rand mit:
   kein zusätzlicher Telefonrahmen, keine Drehung. */
.hero-visual { align-items: center; padding: 48px 2vw 48px 0; }
.hero-devices { display: block; width: 112%; max-width: none; margin-left: -4%; }
.hero-visual .hero-label { right: auto; left: 8%; bottom: 56px; }
.stage { align-items: center; }
.stage img.device { width: 330px; margin: 64px 0 28px; border: 0; border-radius: 0; transform: none; box-shadow: none; align-self: center; }
.stage img.device.wide { width: 114%; max-width: none; margin: 48px -7% 8px; }  /* Bild hat 7.6 % transparenten Rand je Seite */
figure.shot.framed img { border: 0; border-radius: 0; background: none; }
.section > .mac-shot { max-width: 1100px; margin-left: auto; margin-right: auto; }
.mac-shot img { filter: none; }
@media (max-width: 1050px) {
  .hero-devices { width: 100%; margin-left: 0; }
}
@media (max-width: 760px) {
  .hero-visual { min-height: 0; padding: 8px 8px 36px; }
  .hero-visual .hero-label { display: none; }
  .stage { min-height: 0; }
  .stage img.device { width: 240px; margin: 52px 0 16px; }
  .stage img.device.wide { width: 114%; }
}

/* --- Augenzwinkern unter dem Streifen (22.10.2026) --- */
.aside { padding: 64px 7% 8px; text-align: center; }
.aside p { margin: 0; text-wrap: balance; }
.aside-q { font-size: 1.05rem; color: var(--muted); letter-spacing: .01em; }
.aside-a { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin-top: 6px !important; }
.aside-a em { margin-left: .12em; font-family: "New York", Georgia, serif; font-style: italic; font-weight: 400; color: var(--brand); }
@media (max-width: 760px) { .aside { padding: 48px 16px 0; } }

/* Breites Bild im Text (CarPlay-Bildschirm, quer) */
.chapter figure.shot.wide { max-width: 560px; margin: 18px 0 6px; }
.chapter figure.shot.wide img { border-radius: 14px; }
