/* nauticapps.pro — Gestaltung „Kartentisch“ mit Tag- und Nachtmodus (Stand 17.11.2026, Entwurf 1) */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-wdth.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-wdth-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrainsmono-wght.woff2") format("woff2-variations");
}

/* ---------- Farben: Tag (Standard) ---------- */
:root {
  color-scheme: light;
  --bg: #F8FAFC;
  --flaeche: #FFFFFF;
  --flaeche-2: #F1F5F9;
  --linie: #E2E8F0;
  --linie-2: #CBD5E1;
  --text: #0F172A;
  --text-2: #475569;
  --kopf: rgba(248, 250, 252, .92);
  --punkt: #D5DEE8;
  --logo: #0F2B40;
  --magenta: #A8106B;
  --magenta-dunkel: #860C55;
  --magenta-weich: #FCE7F3;
  --primaer: #0A2540;
  --auf-primaer: #FFFFFF;
  --schatten: 0 4px 20px -2px rgba(15, 23, 42, .07);
  --geraet: #1B1F26;
  --vertrauen: #0A2540;
  --fokus: #0284C7;

  --pas: #047857; --pas-hell: #ECFDF5; --pas-linie: #A7F3D0; --pas-feld: #D1FAE5;
  --nav: #0369A1; --nav-hell: #F0F9FF; --nav-linie: #BAE6FD; --nav-feld: #E0F2FE;
  --log: #C2410C; --log-hell: #FFF7ED; --log-linie: #FED7AA; --log-feld: #FFEDD5;
  --tag-arbeit-bg: #FEF3C7; --tag-arbeit: #92400E;
  --tag-neu-bg: #D1FAE5; --tag-neu: #065F46;
  --tag-update-bg: #E0F2FE; --tag-update: #075985;

  --schrift: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --breite: 75rem;
  --rand: clamp(1.25rem, 4vw, 2rem);
  --mass: 64ch;

  /* Farbfüllung der Apps (gleich in Tag und Nacht) */
  --pas-f: #10B981; --nav-f: #0284C7; --log-f: #F97316;
}

/* ---------- Farben: Nacht (Cockpit-Ansicht) ---------- */
:root[data-theme="nacht"] {
  color-scheme: dark;
  --bg: #060D1A; --flaeche: #0F172A; --flaeche-2: #111C30; --linie: #1E293B; --linie-2: #334155;
  --text: #F1F5F9; --text-2: #A3B1C4; --kopf: rgba(6, 13, 26, .92); --punkt: #16233A;
  --logo: #E2E8F0; --magenta: #F0509E; --magenta-dunkel: #D63B87; --magenta-weich: #3A0F27;
  --primaer: #38BDF8; --auf-primaer: #06121F; --schatten: 0 4px 24px -2px rgba(0, 0, 0, .45);
  --geraet: #05101D; --vertrauen: #030812;
  --pas: #34D399; --pas-hell: #0B2A24; --pas-linie: #14533F; --pas-feld: #0B2A24;
  --nav: #38BDF8; --nav-hell: #0A2238; --nav-linie: #0C4A6E; --nav-feld: #0A2238;
  --log: #FB923C; --log-hell: #2E1A0E; --log-linie: #7C2D12; --log-feld: #2E1A0E;
  --tag-arbeit-bg: #3A2A06; --tag-arbeit: #FBBF24;
  --tag-neu-bg: #0B2A24; --tag-neu: #34D399;
  --tag-update-bg: #0A2238; --tag-update: #38BDF8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="tag"]) {
    color-scheme: dark;
    --bg: #060D1A; --flaeche: #0F172A; --flaeche-2: #111C30; --linie: #1E293B; --linie-2: #334155;
    --text: #F1F5F9; --text-2: #A3B1C4; --kopf: rgba(6, 13, 26, .92); --punkt: #16233A;
    --logo: #E2E8F0; --magenta: #F0509E; --magenta-dunkel: #D63B87; --magenta-weich: #3A0F27;
    --primaer: #38BDF8; --auf-primaer: #06121F; --schatten: 0 4px 24px -2px rgba(0, 0, 0, .45);
    --geraet: #05101D; --vertrauen: #030812;
    --pas: #34D399; --pas-hell: #0B2A24; --pas-linie: #14533F; --pas-feld: #0B2A24;
    --nav: #38BDF8; --nav-hell: #0A2238; --nav-linie: #0C4A6E; --nav-feld: #0A2238;
    --log: #FB923C; --log-hell: #2E1A0E; --log-linie: #7C2D12; --log-feld: #2E1A0E;
    --tag-arbeit-bg: #3A2A06; --tag-arbeit: #FBBF24;
    --tag-neu-bg: #0B2A24; --tag-neu: #34D399;
    --tag-update-bg: #0A2238; --tag-update: #38BDF8;
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 760; letter-spacing: -.015em; font-stretch: 90%; }
h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: var(--mass); }
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.mono { font-family: var(--mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.springen {
  position: absolute; left: 1rem; top: -3rem; background: var(--primaer); color: var(--auf-primaer);
  padding: .5rem 1rem; z-index: 30; border-radius: 6px;
}
.springen:focus { top: 1rem; color: var(--auf-primaer); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20; background: var(--kopf);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; min-height: 4.5rem; flex-wrap: wrap; }
.marke {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text);
  font-stretch: 72%; font-weight: 760; font-size: 1.75rem; letter-spacing: -.01em; line-height: 1;
}
.marke:hover { color: var(--text); }
.marke svg { flex: none; }
.marke-pro { font-weight: 400; color: var(--text-2); }
.logo-linie { stroke: var(--logo); }
.logo-licht { fill: var(--logo); }
.logo-schein { fill: var(--magenta); }

.nav { display: flex; align-items: center; gap: 1rem 1.6rem; flex-wrap: wrap; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav ul a { color: var(--text-2); text-decoration: none; font-weight: 540; font-size: .97rem; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--text); }
.werkzeuge { display: flex; align-items: center; gap: .6rem; }
.modus { display: flex; padding: 3px; border-radius: 9px; background: var(--flaeche-2); border: 1px solid var(--linie); }
.modus button {
  font-family: var(--mono); font-size: .75rem; font-weight: 600; padding: .4rem .7rem; border: 0; border-radius: 6px;
  background: transparent; color: var(--text-2); cursor: pointer;
}
.modus button[aria-pressed="true"] { background: var(--flaeche); color: var(--text); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.sprache { display: flex; gap: .25rem; }
.sprache a, .sprache span {
  font-family: var(--mono); font-size: .75rem; font-weight: 600; text-decoration: none; color: var(--text-2);
  padding: .45rem .6rem; border: 1px solid var(--linie); border-radius: 8px;
}
.sprache [aria-current] { color: var(--text); border-color: var(--linie-2); background: var(--flaeche); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem;
  padding: 0 1.4rem; border-radius: 12px; border: 1px solid var(--linie); background: var(--flaeche);
  color: var(--text); text-decoration: none; font: inherit; font-weight: 650; font-size: 1rem; cursor: pointer;
}
.knopf:hover { color: var(--text); border-color: var(--linie-2); }
.knopf-haupt, .knopf-haupt:hover { background: var(--primaer); border-color: var(--primaer); color: var(--auf-primaer); }
.knopf-haupt:hover { filter: brightness(1.12); }
.knopf-magenta, .knopf-magenta:hover { background: #A8106B; border-color: #A8106B; color: #FFFFFF; }
.knopf-magenta:hover { background: #860C55; border-color: #860C55; }
.knopf-neben { background: var(--flaeche); }
.knopf svg { flex: none; }
/* Apples offizielles Abzeichen „Laden im App Store“ (schwarz, in beiden Modi) */
.store-badge { display: inline-block; border-radius: 9px; line-height: 0; }
.store-badge img { display: block; width: 156px; height: 52px; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--bg);
  background-image: radial-gradient(var(--punkt) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}
.hero-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.siegel {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.6rem; padding: .4rem .9rem .4rem .45rem;
  border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten);
  font-size: .9rem; color: var(--text-2); max-width: none;
}
.siegel a { color: var(--text); font-weight: 650; text-decoration: none; }
.siegel a:hover { text-decoration: underline; }
.siegel-zeichen { display: inline-flex; width: 1.65rem; height: 1.65rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--magenta-weich); flex: none; }
.siegel-zeichen svg { stroke: var(--magenta); }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.1rem); line-height: 1.02; font-weight: 780; font-stretch: 88%; letter-spacing: -.02em; }
.hero-unterzeile {
  display: block; margin-top: .75rem; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2;
  font-weight: 560; font-stretch: 100%; letter-spacing: 0; color: var(--text-2);
}
.hero-text { margin: 1.5rem 0 2rem; max-width: 34em; font-size: 1.125rem; color: var(--text-2); }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: .9rem; }

.geraete { position: relative; aspect-ratio: 560 / 470; margin: 0; }
.abschnitt-wunsch { padding-top: 0; }
.geraete-ipad { position: absolute; right: 0; top: 2%; width: 92%; transform: perspective(1800px) rotateY(-16deg) rotateX(5deg) rotate(-1.5deg); transform-origin: 70% 50%; }
.geraete-iphone { position: absolute; left: 0; bottom: -2%; width: 24%; transform: rotate(-4deg); }
.ipad, .iphone { background: var(--geraet); box-shadow: 0 30px 60px rgba(2, 10, 25, .35), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.ipad { padding: 10px; border-radius: 24px; }
.ipad img { border-radius: 14px; width: 100%; }
.iphone { padding: 6px; border-radius: 26px; }
.iphone img { border-radius: 20px; width: 100%; }
.bild-hinweis { margin: .9rem 0 0; font-family: var(--mono); font-size: .75rem; color: var(--text-2); text-align: right; max-width: none; }

/* Törn in drei Schritten: Karten auf einer gestrichelten Kurslinie */
.schritte { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.schritte::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; border-top: 2px dashed var(--magenta); }
.schritt a {
  position: relative; display: flex; gap: 1rem; align-items: center; height: 100%;
  padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--linie);
  box-shadow: var(--schatten); text-decoration: none; color: var(--text);
}
.schritt a:hover { color: var(--text); border-color: var(--app-f); }
.schritt img { width: 3.5rem; height: 3.5rem; border-radius: 13px; flex: none; }
.schritt-nr { display: block; font-family: var(--mono); font-size: .75rem; font-weight: 600; color: var(--app); }
.schritt-app { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.schritt-text { display: block; font-size: .9rem; line-height: 1.4; color: var(--text-2); }

/* Farbe je App */
.app-pas { --app: var(--pas); --app-f: var(--pas-f); --app-hell: var(--pas-hell); --app-linie: var(--pas-linie); --app-feld: var(--pas-feld); }
.app-nav { --app: var(--nav); --app-f: var(--nav-f); --app-hell: var(--nav-hell); --app-linie: var(--nav-linie); --app-feld: var(--nav-feld); }
.app-log { --app: var(--log); --app-f: var(--log-f); --app-hell: var(--log-hell); --app-linie: var(--log-linie); --app-feld: var(--log-feld); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.abschnitt-kopf { margin-bottom: 2.75rem; max-width: 40rem; }
.abschnitt-kopf p { margin-top: .8rem; font-size: 1.125rem; color: var(--text-2); }

/* ---------- Produktkarten ---------- */
.app-liste { display: grid; gap: 2.25rem; }
.app-karte {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 22px; background: var(--flaeche);
  border: 1px solid var(--linie); border-top: 4px solid var(--app-f); box-shadow: var(--schatten);
}
.app-karte.bild-links .app-bild { order: -1; }
.app-text { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.app-text p { margin: 0; }
.app-titel { display: flex; align-items: center; gap: .9rem; }
.app-titel img { width: 4rem; height: 4rem; border-radius: 15px; flex: none; }
.app-schritt { display: block; font-family: var(--mono); font-size: .75rem; font-weight: 600; color: var(--app); }
.app-titel h3 { font-size: 2.1rem; line-height: 1.05; font-stretch: 90%; margin-top: .1rem; }
.app-geraete { font-size: .95rem; font-weight: 600; color: var(--text-2); }
.app-beschreibung { color: var(--text-2); }
.merkmale { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.merkmale li { position: relative; padding-left: 1.85rem; line-height: 1.45; }
.merkmale li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 1.25rem; height: 1.25rem; background: var(--app);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.preise { list-style: none; margin: .3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.preise li {
  font-family: var(--mono); font-size: .8rem; font-weight: 500; padding: .35rem .7rem; border-radius: 999px;
  background: var(--app-hell); color: var(--app); border: 1px solid var(--app-linie);
}
.kauf { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.kauf a:not(.store-badge) { font-size: .95rem; font-weight: 600; }
.kauf .link-leise { color: var(--text-2); font-weight: 500; text-decoration: none; }
.kauf .link-leise:hover { text-decoration: underline; }
.kauf .link-funktionen { text-decoration-color: var(--app-f); text-decoration-thickness: 2px; }

.app-bild { position: relative; border-radius: 18px; background: var(--app-feld); padding: clamp(1.25rem, 3vw, 2.25rem); min-width: 0; }
.app-bild-pas { padding-left: clamp(2.5rem, 5vw, 4rem); }
.app-bild-pas .iphone { position: absolute; left: .4rem; bottom: .4rem; width: 26%; }
.app-bild-log { display: flex; justify-content: center; padding-right: 30%; }
.app-bild-log .ipad { width: 70%; }
.app-bild-log .iphone { position: absolute; right: 8%; bottom: 1.25rem; width: 27%; }

/* ---------- Was für alle drei gilt ---------- */
.vertrauen { background: var(--vertrauen); color: #F1F5F9; }
.vertrauen h2 { color: #F1F5F9; margin-bottom: 2.25rem; }
.zusagen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.zusage { padding: 1.9rem; border-radius: 18px; background: #0F172A; border: 1px solid #1E293B; }
.zusage-zeichen { display: flex; width: 3.25rem; height: 3.25rem; align-items: center; justify-content: center; border-radius: 14px; background: rgba(255, 255, 255, .06); margin-bottom: 1.4rem; }
.zusage h3 { font-size: 1.35rem; font-stretch: 100%; letter-spacing: -.005em; margin-bottom: .6rem; color: #F1F5F9; }
.zusage p { margin: 0; color: #A7B4C6; }

/* ---------- Zeitleiste: aus der Entwicklung ---------- */
.entwicklung-raster { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 3rem; }
.entwicklung-raster .abschnitt-kopf { margin-bottom: 0; }
.zeitleiste { list-style: none; margin: 0; padding: .25rem 0 0 2.5rem; border-left: 2px dashed var(--linie-2); }
.zeitleiste li { position: relative; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .5rem 1.75rem; padding-bottom: 2.1rem; }
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste li::before {
  content: ""; position: absolute; left: calc(-2.5rem - 8px); top: .35rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--app-f);
}
.zeit-datum { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; font-family: var(--mono); font-size: .875rem; font-weight: 500; }
.zeit-app { margin: 0 0 .3rem; font-size: 1.05rem; font-weight: 700; }
.zeit-version { font-family: var(--mono); font-size: .875rem; font-weight: 500; color: var(--app); margin-left: .35rem; }
.zeit-text { margin: 0; color: var(--text-2); }
.tag { font-family: var(--mono); font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 6px; }
.tag-arbeit { background: var(--tag-arbeit-bg); color: var(--tag-arbeit); }
.tag-neu { background: var(--tag-neu-bg); color: var(--tag-neu); }
.tag-update { background: var(--tag-update-bg); color: var(--tag-update); }

/* ---------- Wunsch ---------- */
.wunsch-kasten {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem); border-radius: 22px;
  background: var(--flaeche-2); border: 1px solid var(--linie);
}
.wunsch-kasten h2 { font-size: clamp(1.6rem, 3vw, 1.9rem); margin-bottom: .6rem; }
.wunsch-kasten p { margin: 0; color: var(--text-2); }
.wunsch-kasten > div { flex: 1 1 26rem; }

/* ---------- Fuß (immer dunkel) ---------- */
.fuss { background: #061A2E; color: #B6C6D6; border-top: 1px solid #16365A; padding: 3.25rem 0 2.5rem; font-size: .95rem; }
.fuss a { color: #B6C6D6; text-decoration: none; }
.fuss a:hover { color: #FFFFFF; text-decoration: underline; }
.fuss-raster { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; }
.fuss-marke { flex: 1 1 18rem; max-width: 27rem; }
.fuss-marke .marke { color: #FFFFFF; font-size: 1.5rem; margin-bottom: .9rem; }
.fuss-marke .marke-pro { color: #9FB3C8; }
.fuss-marke .logo-linie { stroke: #E2E8F0; }
.fuss-marke .logo-licht { fill: #E2E8F0; }
.fuss-marke .logo-schein { fill: #F0509E; }
.fuss-marke p { margin: 0 0 .4rem; line-height: 1.55; }
.fuss-spalten { display: flex; flex-wrap: wrap; gap: 3.5rem; }
.fuss h2 { font-size: .95rem; font-stretch: 100%; letter-spacing: 0; color: #FFFFFF; font-weight: 700; margin-bottom: .6rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fuss-unten { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid #16365A; font-size: .85rem; color: #8DA2B8; max-width: none; }
.fuss :focus-visible { outline-color: #38BDF8; }

/* ---------- Rechtstexte ---------- */
.recht > * { max-width: 48rem; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
.recht h2 { font-size: 1.4rem; font-stretch: 95%; margin: 2.2rem 0 .6rem; }
.recht-stand { color: var(--text-2); font-size: .95rem; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 64rem) {
  .hero-raster { grid-template-columns: 1fr; gap: 2.5rem; }
  .geraete { max-width: 40rem; width: 100%; margin: 0 auto; }
  .app-karte { grid-template-columns: 1fr; gap: 2rem; }
  .app-karte.bild-links .app-bild { order: 0; }
  .zusagen { grid-template-columns: 1fr; }
  .entwicklung-raster { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 52rem) {
  .schritte { grid-template-columns: 1fr; gap: 1rem; }
  .schritte::before { left: 2.9rem; right: auto; top: 1.5rem; bottom: 1.5rem; border-top: 0; border-left: 2px dashed var(--magenta); }
  .nav ul { gap: 1.1rem; }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .kopf .innen { padding-block: .6rem; }
  .marke { font-size: 1.5rem; }
  .nav { width: 100%; justify-content: space-between; }
  .geraete-ipad { transform: none; width: 94%; }
  .geraete-iphone { left: 3%; }
  .bild-hinweis { display: none; }
  .zeitleiste { padding-left: 1.75rem; }
  .zeitleiste li { grid-template-columns: 1fr; }
  .zeitleiste li::before { left: calc(-1.75rem - 8px); }
  .zeit-datum { flex-direction: row; align-items: center; gap: .6rem; }
  .app-titel h3 { font-size: 1.75rem; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Ein einziger Moment: die Kurslinie wird beim Laden gezogen */
  .schritte::before { animation: kurs-ziehen 1.4s cubic-bezier(.4, 0, .2, 1) .3s both; }
  @keyframes kurs-ziehen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 52rem) {
  @keyframes kurs-ziehen { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------- Kontakt (seit 17.11.2026) ---------- */

.kontakt-kopf { margin-bottom: 2.5rem; }
.kontakt-kopf h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.kontakt-kopf p { margin-top: 1rem; font-size: 1.15rem; max-width: 52ch; }

.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; align-items: start; }

.kontakt-form { display: grid; gap: 1.75rem; max-width: 46rem; }
.kontakt-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.kontakt-form legend { font-stretch: 95%; font-weight: 700; font-size: 1.3rem; margin-bottom: .8rem; padding: 0; }

/* Themen und Apps als Auswahlschilder; das Radio bleibt für Tastatur und Vorleser erhalten */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border: 1.5px solid var(--linie-2); border-radius: 999px;
  background: var(--flaeche); font-weight: 560; font-size: 1rem; line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip span img { width: 1.6rem; height: 1.6rem; border-radius: 22%; }
.chip--app span { padding-left: .5rem; }
.chip:hover span { border-color: var(--text); }
.chip input:checked + span { background: var(--primaer); border-color: var(--primaer); color: var(--auf-primaer); }
.chip input:focus-visible + span { outline: 3px solid var(--magenta); outline-offset: 2px; }

.thema-hinweis {
  border-left: 3px solid var(--magenta); background: var(--flaeche-2);
  padding: .9rem 1.1rem; font-size: 1rem; max-width: var(--mass);
}
.thema-hinweis p { margin: 0; }
.thema-hinweis a { font-weight: 600; }

.feldgruppe legend { font-size: 1.05rem; color: var(--text-2); }
.felder-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.felder-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.feld { display: grid; gap: .4rem; align-content: start; }
.feld > span { font-weight: 600; font-size: 1rem; }
.feld em { font-style: normal; font-weight: 400; color: var(--text-2); }
.feld input, .feld textarea {
  font: inherit; font-size: 1.05rem; color: var(--text);
  background: var(--flaeche); border: 1.5px solid var(--linie-2); border-radius: 8px;
  padding: .7rem .8rem; width: 100%;
}
.feld textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.feld input::placeholder { color: var(--text-2); }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(168, 16, 107, .25); }
.feld [aria-invalid="true"] { border-color: var(--magenta); }
.feld-fehler { color: var(--magenta); font-size: .95rem; font-weight: 560; margin: .2rem 0 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.senden { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.senden .knopf { min-width: 14rem; }
.senden .knopf[disabled] { opacity: .6; cursor: progress; }
.kleingedruckt { font-size: .92rem; color: var(--text-2); margin: 0; max-width: 38ch; }

.formular-status { padding: 1rem 1.2rem; border-radius: 8px; font-size: 1.02rem; }
.formular-status.ist-fehler { background: var(--magenta-weich); border-left: 3px solid var(--magenta); }
.formular-status p { margin: 0; }

.kontakt-danke { background: var(--flaeche); border: 1px solid var(--linie-2); border-top: 4px solid var(--magenta); padding: 2rem; max-width: 46rem; }
.kontakt-danke h2 { font-size: 2rem; margin-bottom: .8rem; }
.kontakt-danke p { margin-bottom: 1.25rem; }

.kontakt-seite { background: var(--flaeche-2); border: 1px solid var(--linie-2); padding: 1.5rem; }
.kontakt-seite h2 { font-size: 1.4rem; font-stretch: 95%; margin-bottom: .6rem; }
.kontakt-seite p { font-size: 1rem; }
.faq-links { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.faq-links a { display: flex; align-items: center; gap: .7rem; font-weight: 600; text-decoration: none; padding: .35rem 0; }
.faq-links a:hover { text-decoration: underline; }
.faq-links img { width: 2.2rem; height: 2.2rem; border-radius: 22%; }
.kontakt-mail { margin: 0; font-size: .98rem; }
.kontakt-noscript { background: var(--magenta-weich); padding: 1rem; }

@media (max-width: 60rem) {
  .kontakt-raster { grid-template-columns: 1fr; }
  .kontakt-seite { max-width: 46rem; }
}
@media (max-width: 42rem) {
  .felder-2, .felder-3 { grid-template-columns: 1fr; }
  .senden .knopf { width: 100%; }
}

/* ---------- Verkaufsseiten der Apps (seit 17.11.2026) ---------- */
.brotkrumen { margin: 0 0 1.5rem; font-size: .9rem; color: var(--text-2); max-width: none; }
.brotkrumen a { color: var(--text-2); text-decoration: none; }
.brotkrumen a:hover { color: var(--text); text-decoration: underline; }
.produkt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.produkt-titel { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.25rem; }
.produkt-titel img { width: 5.5rem; height: 5.5rem; border-radius: 21px; flex: none; box-shadow: 0 10px 24px rgba(15, 23, 42, .18); }
.produkt-titel h1 { font-size: clamp(2.6rem, 5.5vw, 3.75rem); line-height: 1; font-weight: 780; font-stretch: 88%; letter-spacing: -.02em; }
.produkt-unterzeile { display: block; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 560; font-stretch: 100%; letter-spacing: 0; color: var(--text-2); margin-top: .5rem; line-height: 1.25; }
.produkt-lead { font-size: 1.125rem; color: var(--text-2); margin: 0 0 1.25rem; }
.produkt-kopf .preise { margin-bottom: 1.4rem; }
.produkt-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1.1rem 0 0; font-size: .95rem; max-width: none; }
.produkt-links a { color: var(--text-2); }
.produkt-links a:hover { color: var(--text); }
.produkt-bild .ipad { transform: perspective(1800px) rotateY(-12deg) rotateX(4deg); transform-origin: 70% 50%; }

.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.1rem; }
.kachel { padding: 1.4rem 1.4rem 1.5rem; border-radius: 16px; background: var(--flaeche); border: 1px solid var(--linie); }
.kachel-zeichen { display: flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 12px; background: var(--app-hell); border: 1px solid var(--app-linie); margin-bottom: 1rem; }
.kachel-zeichen svg { stroke: var(--app); }
.kachel h3 { font-size: 1.15rem; font-stretch: 100%; letter-spacing: -.005em; margin-bottom: .45rem; line-height: 1.25; }
.kachel p { margin: 0; font-size: .97rem; color: var(--text-2); }

.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.75rem; }
.galerie figure { margin: 0; }
.galerie figcaption { margin-top: .8rem; font-size: .92rem; color: var(--text-2); }
.galerie .breit { grid-column: 1 / -1; }
.mac { background: var(--geraet); padding: 8px 8px 0; border-radius: 14px 14px 4px 4px; box-shadow: 0 24px 48px rgba(2, 10, 25, .3); }
.mac img { border-radius: 7px 7px 0 0; width: 100%; }
.mac-fuss { height: 14px; margin: 0 -4%; background: linear-gradient(var(--linie-2), var(--text-2)); border-radius: 0 0 14px 14px; }

.funktionsliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.funktionsgruppe { padding: 1.5rem 1.6rem; border-radius: 16px; background: var(--flaeche); border: 1px solid var(--linie); }
.funktionsgruppe h3 { font-size: 1.2rem; font-stretch: 100%; margin-bottom: 1rem; }
.funktionsgruppe .merkmale { gap: .5rem; font-size: .97rem; }

.start-schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: schritt; }
.start-schritte li { counter-increment: schritt; padding: 1.25rem; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--linie); }
.start-schritte li::before { content: counter(schritt); display: flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--app-f); color: #FFFFFF; font-family: var(--mono); font-size: .85rem; font-weight: 600; margin-bottom: .9rem; }
.start-schritte h3 { font-size: 1.05rem; font-stretch: 100%; margin-bottom: .4rem; }
.start-schritte p { margin: 0; font-size: .92rem; color: var(--text-2); }

.preis-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.preis-karte { padding: 1.75rem; border-radius: 18px; background: var(--flaeche); border: 1px solid var(--linie); }
.preis-karte h3 { font-size: 1.25rem; font-stretch: 100%; margin-bottom: .7rem; }
.preis-karte p { font-size: .97rem; color: var(--text-2); }
.preis-karte p:last-child { margin-bottom: 0; }
.preis-haupt { border-top: 4px solid var(--app-f); }
.preis-gross { display: block; font-family: var(--mono); font-size: 2.1rem; font-weight: 600; color: var(--text); margin: .2rem 0 .8rem; }

.offline-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; max-width: 52rem; }
.offline-liste li { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 1rem 1.2rem; border-radius: 12px; background: var(--flaeche); border: 1px solid var(--linie); }
.offline-liste .tag { justify-self: start; }

.abschluss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: 22px; background: var(--vertrauen); color: #F1F5F9; }
.abschluss h2 { color: #F1F5F9; font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .5rem; }
.abschluss p { margin: 0; color: #B6C6D6; }
.abschluss a:not(.store-badge) { color: #FFFFFF; }
.abschluss > div:first-child { flex: 1 1 26rem; }

@media (max-width: 64rem) {
  .produkt-kopf { grid-template-columns: 1fr; gap: 2.5rem; }
  .preis-raster { grid-template-columns: 1fr; }
  .start-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .galerie, .funktionsliste { grid-template-columns: 1fr; }
  .offline-liste li { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 40rem) {
  .start-schritte { grid-template-columns: 1fr; }
  .produkt-bild .ipad { transform: none; }
  .produkt-titel img { width: 4.25rem; height: 4.25rem; border-radius: 17px; }
}
.abschnitt-folge { padding-top: 0; }
.produkt-bild { margin: 0; }
.iphone-einzeln { max-width: 18rem; margin: 0 auto; }
.pro-marke { display: inline-block; vertical-align: .15em; margin-left: .35rem; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .02em; padding: .1rem .4rem; border-radius: 5px; background: var(--app-hell); color: var(--app); border: 1px solid var(--app-linie); }
.galerie.galerie-hoch { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
.hinweis-kasten { padding: 1.5rem 1.75rem; border-radius: 16px; background: var(--flaeche-2); border: 1px solid var(--linie); max-width: 52rem; }
.hinweis-kasten h2 { font-size: 1.35rem; font-stretch: 100%; margin-bottom: .6rem; }
.hinweis-kasten p { margin: 0; color: var(--text-2); }
.produkt-bild.kopf-hoch { display: flex; align-items: flex-end; justify-content: center; gap: 1.5rem; }
.produkt-bild.kopf-hoch .ipad { width: 58%; transform: none; }
.produkt-bild.kopf-hoch .iphone { width: 27%; }
@media (max-width: 52rem) { .galerie.galerie-hoch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
