/* Sotto Note Produktseite – eigenständig, Systemschriften, keine externen Ressourcen. */
:root {
  --wine-1: #C72A52; --wine-2: #8E1446; --wine-3: #3E0830;
  --cream: #FFF1DE;
  --bg: #FFF8EE; --surface: #FFF1DE; --ink: #2B0B1E; --muted: #6B4657;
  --accent: #B0194A; --on-accent: #fff; --line: rgba(62, 8, 48, .14); --frame: #1d0715;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --gutter: max(20px, 4vw);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A0412; --surface: #2A0A1F; --ink: #FFF1DE; --muted: #D6B6C2;
    --accent: #F06386; --on-accent: #1A0412; --line: rgba(255, 241, 222, .16); --frame: #07020a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
/* Auf dem weinroten Verlauf wäre die Akzentfarbe unsichtbar */
.hero a:focus-visible, .hero .btn:focus-visible, .privacy a:focus-visible, .site-head-bar a:focus-visible { outline-color: var(--cream); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--wine-3); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Kopfzeile (Startseite und Rechtstexte) */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 650; font-size: 19px; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.head-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.head-nav a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; font-size: 15px; }
.head-nav a:hover { text-decoration: underline; }
.langs { display: flex; gap: 6px; }
/* Sprachwahl: Tippfläche 44 px hoch, die sichtbare Pille (34 px) zeichnet ::before */
.head-nav .langs a { position: relative; isolation: isolate; padding: 0 14px; }
.head-nav .langs a::before { content: ""; position: absolute; inset: 5px 0; z-index: -1; border: 1px solid currentColor; border-radius: 999px; }
.head-nav .langs a[aria-current] { color: var(--wine-3); font-weight: 600; }
.head-nav .langs a[aria-current]::before { background: var(--cream); border-color: var(--cream); }
@media (max-width: 640px) { .head-nav .hide-s { display: none; } }

/* Hero */
.hero { position: relative; color: var(--cream); isolation: isolate;
  background: linear-gradient(155deg, var(--wine-1), var(--wine-2) 55%, var(--wine-3)); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6; pointer-events: none;
  background: url("assets/pattern.svg") center top / 620px auto repeat; }
.hero .site-head { color: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px 48px; align-items: center; padding-block: 36px 0; }
.hero-text { padding-bottom: 72px; }
.hero h1 { font: 700 clamp(2.5rem, 6.4vw, 4.9rem)/1.02 var(--serif); letter-spacing: -.02em; margin: 0 0 22px; text-wrap: balance; }
.hero p.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.5; max-width: 34ch; margin: 0 0 30px; color: rgba(255, 241, 222, .92); }
.cta { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.btn { display: inline-flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 8px 26px; border-radius: 14px; background: var(--cream); color: var(--wine-3); text-decoration: none; font-weight: 650; font-size: 1.1rem; line-height: 1.15; }
.btn small { font-weight: 500; font-size: .72rem; opacity: .8; }
.btn:hover { background: #fff; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent); filter: brightness(1.1); }
.cta .note { font-size: .95rem; color: var(--cream); }
.hero-shot { justify-self: center; width: min(340px, 78%); margin-bottom: -90px; position: relative; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .hero-shot { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { transform: translateY(32px); } }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 24px; }
  .hero-shot { margin-bottom: -70px; }
}

/* Geräterahmen (selbst gezeichnet) */
.phone, .pad, .mac, .watch, .vision { background: var(--frame); box-shadow: 0 30px 60px -28px rgba(30, 4, 20, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.phone { border-radius: 15% / 7%; padding: 2.6%; position: relative; }
.phone::before { content: ""; position: absolute; top: 3.3%; left: 50%; width: 27%; height: 2.3%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 1; }
.phone img { border-radius: 12.5% / 5.8%; width: 100%; }
.pad { border-radius: 26px; padding: 12px; }
.pad img { border-radius: 16px; width: 100%; }
.mac { border-radius: 12px; padding: 0; overflow: hidden; background: var(--frame); }
.mac .bar { display: flex; gap: 7px; padding: 9px 12px; background: #2a1a24; }
.mac .bar i { width: 11px; height: 11px; border-radius: 50%; background: #5b4452; }
.mac img { width: 100%; }
.watch { width: 150px; border-radius: 42px; padding: 9px; position: relative; margin-inline: auto; }
.watch img { border-radius: 33px; width: 100%; }
.watch::before, .watch::after { content: ""; position: absolute; left: 18%; right: 18%; height: 54px; background: linear-gradient(var(--frame), #3a2230); z-index: -1; }
.watch::before { top: -40px; border-radius: 18px 18px 0 0; }
.watch::after { bottom: -40px; border-radius: 0 0 18px 18px; background: linear-gradient(#3a2230, var(--frame)); }
.vision { border-radius: 64px; padding: 16px 26px; background: linear-gradient(160deg, #3a2230, var(--frame)); }
.vision img { border-radius: 44px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 32%; }
.cap { text-align: center; margin: 14px 0 0; font-size: .95rem; color: var(--muted); }

/* Abschnitte */
section { padding-block: clamp(32px, 4vw, 48px); }
h2, .row h3 { font: 700 clamp(1.8rem, 4vw, 2.9rem)/1.1 var(--serif); letter-spacing: -.015em; margin: 0 0 16px; text-wrap: balance; }
h3 { font-size: 1.15rem; margin: 0 0 6px; }
p { margin: 0 0 1em; }
.intro { max-width: 52ch; color: var(--muted); font-size: 1.12rem; }
.row { display: grid; grid-template-columns: 1fr minmax(0, 300px); gap: 32px clamp(32px, 7vw, 96px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.row:nth-of-type(even) { grid-template-columns: minmax(0, 300px) 1fr; }
.row:nth-of-type(even) .row-shot { order: -1; }
.row h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.row-text p { max-width: 46ch; color: var(--muted); font-size: 1.08rem; }
.row-text ul { margin: 0; padding-left: 1.2em; color: var(--muted); max-width: 46ch; }
.row-text li { margin-bottom: .35em; }
.row-shot .phone { width: min(280px, 100%); margin-inline: auto; }
.row-shot.duo { display: flex; gap: 16px; justify-content: center; }
.row-shot.duo .phone { width: min(200px, 46%); margin: 0; }
.row-shot.duo .phone:last-child { margin-top: 36px; }
@media (max-width: 760px) {
  .row, .row:nth-of-type(even) { grid-template-columns: 1fr; }
  .row:nth-of-type(even) .row-shot { order: 0; }
}
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 36px; margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); }
.more p { color: var(--muted); margin: 0; }
.more h4, .more h3 { font-size: 1.15rem; margin: 0 0 6px; }
.more-group { margin-top: clamp(28px, 4vw, 40px); padding-top: 24px; border-top: 1px solid var(--line); }
.more-group .more { margin-top: 24px; padding-top: 0; border-top: 0; }
.more-title { font: 700 clamp(1.4rem, 3vw, 1.9rem)/1.15 var(--serif); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.more-group .more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.more-group .more-link { margin: 14px 0 0; font-weight: 600; }
@media (min-width: 1000px) {
  /* Überschrift und Link links, drei Einträge rechts */
  .more-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 40px; align-items: start; }
  .more-group .more { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .more-title { grid-column: 1; }
  .more-group .more-link { grid-column: 1; grid-row: 2; }
}
@media (max-width: 999px) { .more-group .more { grid-template-columns: 1fr; } }
#details > .wrap > h2 { margin-bottom: 0; }
.more kbd { font: inherit; font-size: .92em; white-space: nowrap; }

.devices { background: var(--surface); }
.dev-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 32px; margin-top: 32px; align-items: end; }
.dev-grid figure { margin: 0; }
.d-mac { grid-column: span 8; } .d-pad { grid-column: span 4; }
.d-phone { grid-column: span 3; } .d-watch { grid-column: span 3; } .d-vision { grid-column: span 6; }
.d-phone .phone { width: min(160px, 100%); margin-inline: auto; }
@media (max-width: 820px) { .dev-grid { column-gap: 16px; } .d-mac, .d-pad, .d-vision { grid-column: span 12; } .d-phone, .d-watch { grid-column: span 6; } }

.privacy { background: linear-gradient(155deg, var(--wine-1), var(--wine-2) 55%, var(--wine-3)); color: var(--cream); }
.privacy .intro { color: rgba(255, 241, 222, .9); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 28px; margin: 40px 0 0; padding: 0; list-style: none; }
.facts li { padding: 18px 0; border-top: 1px solid rgba(255, 241, 222, .3); }
.facts strong { display: block; font: 700 1.35rem/1.2 var(--serif); margin-bottom: 4px; }
.facts span { color: var(--cream); font-size: .98rem; }
.privacy a { color: var(--cream); }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: start; }
/* Preiszeile: Zahl in der Serifenschrift, je Kauf eine Zeile */
.price-tag { display: grid; gap: 6px; margin: 0 0 18px; color: var(--muted); }
.price-tag strong { font: 700 1.7rem/1.1 var(--serif); color: var(--ink); margin-right: 8px; }
.price ul { margin: 0; padding: 0; list-style: none; }
.price li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.price li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .6em; border-radius: 50%; background: var(--accent); }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }

.faq { background: var(--surface); }
.faq .wrap { max-width: 780px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); max-width: 62ch; }

/* Funktionszeilen: auf dem Desktop zweispaltig, damit die Seite kurz bleibt */
@media (min-width: 1000px) {
  .rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; margin-top: 32px; }
  .rows .row, .rows .row:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px 24px; margin-top: 0; align-items: center; }
  .rows .row:nth-of-type(even) .row-shot { order: 0; }
  .rows .row h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
  .rows .row-text p, .rows .row-text ul { font-size: .96rem; }
  .rows .row-shot .phone { width: 200px; }
  .rows .row:last-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 520px) 200px; justify-content: center; }
}

/* Absatz unter Listen und Fragen, Rechtshinweis in der Fußzeile */
.spaced { margin-top: 28px; }
.site-foot small.legal { flex-basis: 100%; }

/* Fußzeile */
.site-foot { padding-block: 40px 56px; color: var(--muted); font-size: .95rem; background: var(--bg); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--ink); }

/* Alleinstellungsmerkmale direkt unter dem Hero */
.usp { background: var(--surface); }
/* Erster Abschnitt unter dem Hero: Platz für das überlappende Hero-Bild */
.after-hero { padding-top: calc(clamp(32px, 4vw, 48px) + 76px); }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 20px; margin-top: 28px; }
.usp-grid > div { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; }
.usp-grid h3 { font: 700 1.25rem/1.2 var(--serif); margin: 0 0 8px; text-wrap: balance; }
.usp-grid p { margin: 0; color: var(--muted); }
.row-shot .watch { width: 150px; margin-block: 8px; }
.row-text .more-link { margin-top: 1.2em; font-weight: 600; }

/* Handbuch */
.hero.slim { padding-bottom: 56px; }
.hero.slim h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); margin: 28px 0 14px; }
.hero.slim p.lead { max-width: 50ch; margin: 0; }
.head-nav a[aria-current="page"] { text-decoration: underline; }
.manual { padding-block: 56px 96px; }
.manual-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.toc { background: var(--surface); border-radius: 16px; padding: 18px 20px; }
.toc h2 { font: 700 .85rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2 250px; column-gap: 28px; }
.toc li { break-inside: avoid; }
.toc a { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 2px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; line-height: 1.3; font-size: .98rem; }
.toc a:hover { background: var(--bg); text-decoration: underline; }
.toc .n { flex: none; min-width: 1.7em; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) {
  .manual-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
  .toc { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
  .toc ol { columns: 1; }
}
@media (min-width: 960px) and (pointer: fine) { .toc a { min-height: 34px; } }
.chapter { padding-block: 0; display: grid; grid-template-columns: minmax(0, 1fr); scroll-margin-top: 20px; }
.chapter + .chapter { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.chapter h2 { display: flex; gap: 14px; align-items: baseline; font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.chapter h2 .num { color: var(--accent); font-variant-numeric: tabular-nums; }
.chapter h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.chapter p, .chapter .steps, .chapter .tips, .chapter .example { max-width: 60ch; }
.purpose { font-size: 1.12rem; color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1em; }
.steps li { counter-increment: step; position: relative; padding: 0 0 12px 46px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .05em; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--bg); font-weight: 700; font-size: .95rem; line-height: 30px; text-align: center; }
.tips { margin: 0 0 1em; padding-left: 1.2em; color: var(--muted); }
.tips li { margin-bottom: .45em; }
.tips strong { color: var(--ink); }
.example { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 18px 0; }
.example p { margin: 0; }
.example .label { display: block; margin-bottom: 4px; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.m-shot { margin: 8px 0 22px; width: 150px; }
.m-shot .phone { width: 150px; }
.m-shot .watch { margin-block: 44px; }
@media (min-width: 700px) {
  .chapter.has-shot { grid-template-columns: minmax(0, 1fr) 170px; column-gap: 40px; }
  .chapter.has-shot > * { grid-column: 1; }
  .chapter.has-shot > .m-shot { grid-column: 2; grid-row: 1 / span 8; margin: 0; width: 170px; }
  .chapter.has-shot > .m-shot .phone { width: 170px; }
  .chapter.has-shot > .m-shot .watch { width: 150px; }
}
.flow { margin: 22px 0; max-width: 420px; color: var(--ink); }
.flow svg { display: block; width: 100%; height: auto; }
.flow .dot { fill: var(--accent); }
.flow .num { fill: var(--bg); font: 700 17px var(--sans); }
.flow .t { fill: currentColor; font: 650 17px var(--sans); }
.flow .s { fill: var(--muted); font: 14px var(--sans); }
.flow .arrow { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Abschnitt „Eine App statt vieler“: als Kasten abgesetzt, mit kleinen Mac-Ausschnitten unter jeder Kachel */
.one-app > .wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 52px); }
.one-app .more { margin-top: clamp(28px, 4vw, 40px); padding-top: 0; border-top: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px 32px; }
.one-app .more > div { display: flex; flex-direction: column; }
.one-app .more p { margin-bottom: 12px; }
.one-app .more picture { display: block; margin-top: auto; }
.one-app .more img { display: block; width: 100%; height: auto; margin-top: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.one-app .more picture img { margin-top: 0; }
