/* termi.css — gemeinsames Design-System aller termi.cloud-Websites.
   Quelle: termi-web/termi.css. App-Websites kopieren diese Datei unverändert
   und setzen ihren Akzent über  :root { --tint: r, g, b; }  (z. B. in einer
   kleinen app.css). Komponenten: Kopfzeile, Hero mit Geräte-Bühne, Kennzahlen,
   Abschnitte, Produkt-/Split-Blöcke, Raster, Galerie, FAQ, Kontaktkarte,
   Dokumentseiten (Datenschutz, Support, Impressum) und Fusszeile. */

/* Schriften selbst gehostet (SIL Open Font License, siehe fonts/OFL.txt) —
   keine Verbindung zu Google. Erwartet den Ordner fonts/ neben dieser Datei. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/geist-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/geist-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #08090A;
  --bg-2: #0D0E10;
  --surface: #111214;
  --surface-2: #17181B;
  --ink: #F2F3F5;
  --ink-2: #A1A4AB;
  --ink-3: #80848D;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.20);
  --live: #4ADE80;
  --brand-1: #F4D35E;
  --brand-2: #FF8A65;
  --brand-3: #7EE787;
  --radius: 20px;
  --tint: 244, 211, 94;
  --font-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(244, 211, 94, 0.9); color: #08090A; }
:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }

.label {
  display: inline-block;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}

/* ---------- Kopfzeile ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-stuck {
  background: rgba(8, 9, 10, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; text-decoration: none;
}
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.brand .tld { color: var(--ink-3); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a {
  font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .2s;
}
.nav-links > a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; font-family: var(--font-mono); font-size: 12px; }
.lang a { color: var(--ink-3); text-decoration: none; padding: 4px 6px; transition: color .2s; }
.lang a:hover { color: var(--ink); }
.lang a.is-active { color: var(--ink); }
.lang span { color: var(--line-3); padding: 4px 0; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font-size: 15px; font-weight: 500; text-decoration: none; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background .2s, border-color .2s, transform .3s var(--ease), box-shadow .3s;
}
.btn svg { width: 14px; height: 14px; flex: none; }
.btn-primary { background: var(--ink); color: #08090A; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 8px 24px -8px rgba(255,255,255,.25); }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,.04); color: var(--ink); border: 1px solid var(--line-2); }
.btn-secondary:hover { background: rgba(255,255,255,.08); border-color: var(--line-3); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 88px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%);
}
.hero-bg::after {
  content: ""; position: absolute; left: 50%; top: -280px; width: 1100px; height: 700px; translate: -50% 0;
  background:
    radial-gradient(closest-side at 35% 55%, rgba(244, 211, 94, .16), transparent),
    radial-gradient(closest-side at 55% 50%, rgba(255, 138, 101, .16), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(126, 231, 135, .12), transparent);
  filter: blur(20px);
}
.hero-copy { text-align: center; max-width: 880px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 32px; padding: 4px 14px 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line-2);
  font-size: 13px; color: var(--ink-2); text-decoration: none;
  transition: border-color .2s, background .2s;
}
.badge:hover { border-color: var(--line-3); background: rgba(255,255,255,.06); }
.badge b { color: var(--ink); font-weight: 500; }
.badge .sep { width: 1px; height: 14px; background: var(--line-2); flex: none; }
.badge .arr { color: var(--ink-3); transition: transform .3s var(--ease); }
.badge:hover .arr { transform: translateX(2px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(74,222,128,.18); flex: none; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.04em; }
.hero h1 {
  margin-top: 28px;
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: 1.0;
  background: linear-gradient(180deg, #FFFFFF 30%, rgba(255,255,255,.62) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.lede {
  margin: 24px auto 0; max-width: 640px;
  font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-2);
  text-wrap: pretty;
}
.lede strong { color: var(--ink); font-weight: 500; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Geräte-Bühne */
.stage {
  position: relative; margin: 72px auto 0; max-width: 980px; height: 560px;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.stage .phone { position: absolute; top: 0; left: 50%; }
.stage .p-center { --w: 280px; translate: -50% 0; z-index: 3; }
.stage .p-left  { --w: 250px; translate: calc(-50% - 270px) 56px; rotate: -6deg; z-index: 2; }
.stage .p-right { --w: 250px; translate: calc(-50% + 270px) 56px; rotate: 6deg; z-index: 2; }
.stage .p-left img, .stage .p-right img { filter: brightness(.8); }
.stage::before {
  content: ""; position: absolute; left: 50%; top: 120px; width: 70%; height: 320px; translate: -50% 0; z-index: 0;
  background: radial-gradient(closest-side, rgba(150, 130, 255, .25), transparent);
  filter: blur(30px);
}
@media (max-width: 860px) {
  .stage { height: 460px; margin-top: 56px; }
  .stage .p-center { --w: 230px; }
  .stage .p-left  { --w: 200px; translate: calc(-50% - 170px) 48px; }
  .stage .p-right { --w: 200px; translate: calc(-50% + 170px) 48px; }
}
@media (max-width: 520px) {
  .hero { padding-top: 56px; }
  .stage { height: 400px; }
  .stage .p-center { --w: 200px; }
  .stage .p-left  { --w: 170px; translate: calc(-50% - 118px) 44px; }
  .stage .p-right { --w: 170px; translate: calc(-50% + 118px) 44px; }
  .cta .btn { flex: 1 1 auto; }
}

.phone {
  position: relative; display: block;
  aspect-ratio: 570 / 1240;
  width: var(--w, 280px);
  padding: calc(var(--w, 280px) * 0.03);
  border-radius: calc(var(--w, 280px) * 0.16);
  background: linear-gradient(145deg, #2A2B2F, #121316 40%, #1D1E22);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 50px 100px -30px rgba(0,0,0,.9),
    0 30px 60px -30px rgba(0,0,0,.7);
}
.phone img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: calc(var(--w, 280px) * 0.13);
  background: #000;
}

/* ---------- Kennzahlen ---------- */

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(13, 14, 16, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  margin-top: -64px; position: relative; z-index: 2;
}
.fact { padding: 28px 28px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.fact span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .fact { padding: 20px 18px; } }

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

.section { padding: 128px 0 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 16px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; text-wrap: balance; }
.section-head p { margin: 18px 0 0; color: var(--ink-2); font-size: 18px; text-wrap: pretty; }
.section-head.center p { margin-left: auto; margin-right: auto; max-width: 580px; }
@media (max-width: 640px) { .section { padding-top: 96px; } .section-head { margin-bottom: 40px; } }

/* ---------- Produkte ---------- */

.products { display: grid; gap: 24px; }
.product {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px;
  padding: 56px 56px 0 56px;
  border: 1px solid var(--line); border-radius: 28px;
  background: var(--bg-2);
}
.product::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 75% at 80% 100%, rgba(var(--tint), .22), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(var(--tint), .06), transparent 70%);
}
.product::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 40%);
}
.product:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.product:nth-child(even) .product-copy { order: 2; }
.product:nth-child(even)::before {
  background:
    radial-gradient(55% 75% at 20% 100%, rgba(var(--tint), .22), transparent 70%),
    radial-gradient(40% 50% at 100% 0%, rgba(var(--tint), .06), transparent 70%);
}
.product-copy { padding-bottom: 56px; max-width: 480px; }
.product:nth-child(even) .product-copy { justify-self: end; }
.product-head { display: flex; align-items: center; gap: 14px; }
.product-head img {
  width: 52px; height: 52px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 8px 20px -6px rgba(0,0,0,.6);
}
.product-head .name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.product-head .cat { font-size: 13px; color: var(--ink-3); }
.status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px;
  white-space: nowrap;
}
.status.new .dot { background: var(--brand-1); box-shadow: 0 0 0 3px rgba(244,211,94,.18); }
.product h3 { margin-top: 32px; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; text-wrap: balance; }
.product .desc { margin: 14px 0 0; color: var(--ink-2); font-size: 16.5px; text-wrap: pretty; }
.features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.features li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.features svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: rgb(var(--tint)); }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.platforms span {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-2);
  padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.product-visual { position: relative; align-self: stretch; display: flex; justify-content: center; min-height: 460px; }
.product-visual .phone {
  --w: 290px; align-self: end; margin-bottom: -140px;
  transition: transform .8s var(--ease);
}
.product:hover .product-visual .phone { transform: translateY(-10px); }

.c-nachtlicht { --tint: 167, 139, 250; }
.c-nokka { --tint: 244, 211, 94; }
.c-cosmo { --tint: 96, 165, 250; }
.c-falt { --tint: 255, 112, 90; }

@media (max-width: 920px) {
  .product, .product:nth-child(even) { grid-template-columns: 1fr; gap: 8px; padding: 36px 28px 0; }
  .product:nth-child(even) .product-copy { order: 0; justify-self: stretch; }
  .product-copy { padding-bottom: 24px; max-width: none; }
  .product-visual { min-height: 0; height: 340px; overflow: hidden; }
  .product-visual .phone { --w: 250px; margin-bottom: 0; align-self: start; }
}
@media (max-width: 520px) {
  .product, .product:nth-child(even) { padding: 24px 20px 0; border-radius: 22px; }
  .product h3 { margin-top: 24px; }
  .product-visual { height: 280px; }
  .product-visual .phone { --w: 220px; }
  .product-actions .btn { flex: 1 1 auto; }
}

/* ---------- Arbeitsweise ---------- */

.grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--line); gap: 1px;
}
.cell { background: var(--bg); padding: 32px 28px 36px; transition: background .3s; }
.cell:hover { background: var(--bg-2); }
.cell .ico {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--ink);
}
.cell .ico svg { width: 18px; height: 18px; }
.cell .label { margin-top: 36px; }
.cell h3 { margin-top: 8px; font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }
.cell p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.cell .tags { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); line-height: 1.8; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } .cell .label { margin-top: 24px; } }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.promise {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
}
.promise h3 { font-size: 17px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.promise h3 svg { width: 18px; height: 18px; color: var(--live); flex: none; }
.promise p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Über mich ---------- */

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.about-text p { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.about-text p:first-child { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--ink); letter-spacing: -0.015em; }
.about-text a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line-3); }
.about-text a:hover { text-decoration-color: var(--ink); }
.stack { margin: 36px 0 0; border-top: 1px solid var(--line); }
.stack-row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.stack-row dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.stack-row dd { margin: 0; color: var(--ink); }
@media (max-width: 920px) { .about { grid-template-columns: 1fr; gap: 40px; } .about .section-head { position: static; } }
@media (max-width: 480px) { .stack-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Kontakt ---------- */

.contact { padding: 128px 0; }
.contact-card {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); border-radius: 28px;
  padding: clamp(48px, 8vw, 96px) 24px;
  text-align: center;
  background: var(--bg-2);
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent);
}
.contact-card::after {
  content: ""; position: absolute; left: 50%; bottom: -260px; width: 820px; height: 420px; translate: -50% 0; z-index: -1;
  background:
    radial-gradient(closest-side at 35% 50%, rgba(244, 211, 94, .22), transparent),
    radial-gradient(closest-side at 55% 50%, rgba(255, 138, 101, .22), transparent),
    radial-gradient(closest-side at 72% 50%, rgba(126, 231, 135, .16), transparent);
  filter: blur(20px);
}
.contact-card h2 { margin-top: 16px; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.05; }
.contact-card p { margin: 18px auto 0; max-width: 520px; color: var(--ink-2); font-size: 18px; }
.contact-card .cta { margin-top: 32px; }
@media (max-width: 640px) { .contact { padding: 96px 0; } }

/* ---------- Fusszeile ---------- */

.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin: 14px 0 0; max-width: 320px; color: var(--ink-3); }
.foot h4 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.swiss { display: inline-flex; align-items: center; gap: 8px; }
.swiss i { width: 13px; height: 13px; border-radius: 2px; background: #DA291C; position: relative; display: inline-block; }
.swiss i::before, .swiss i::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.swiss i::before { width: 7.5px; height: 2.2px; }
.swiss i::after { width: 2.2px; height: 7.5px; }
@media (max-width: 720px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Einblenden ---------- */

.rise { animation: rise 1s var(--ease) both; animation-delay: var(--delay, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.stage.rise { animation-name: stage-rise; animation-duration: 1.4s; }
@keyframes stage-rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* =====================================================================
   Erweiterungen für App-Websites und Unterseiten
   ===================================================================== */

/* App-Marke in der Kopfzeile: Icon + Name, dahinter «by termi.cloud» */
.brand .app-icon { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.brand .by { color: var(--ink-3); font-weight: 400; font-size: 13px; margin-left: 2px; }
@media (max-width: 520px) { .brand .by { display: none; } }

/* Hero mit App-Akzent */
.hero.tinted .hero-bg::after {
  background:
    radial-gradient(closest-side at 40% 55%, rgba(var(--tint), .22), transparent),
    radial-gradient(closest-side at 62% 50%, rgba(var(--tint), .12), transparent);
}
.hero.tinted .stage::before { background: radial-gradient(closest-side, rgba(var(--tint), .28), transparent); }
.hero-icon {
  width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 28px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 24px 48px -16px rgba(0,0,0,.8), 0 0 80px -10px rgba(var(--tint), .45);
}
.hero-icon + .badge, .hero-icon + h1 { margin-top: 0; }
.hero.compact { padding-bottom: 32px; }
.hero.compact .hero-copy { padding-bottom: 24px; }
.cta-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }

/* Akzentfarbe für Häkchen, Links, Labels */
.accent { color: rgb(var(--tint)); }
.label.accent { color: rgb(var(--tint)); }

/* Merkmale: 3er- oder 2er-Raster mit gleicher Optik wie .grid-4 */
.grid-3, .grid-2 {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.cell .ico.tint { color: rgb(var(--tint)); background: rgba(var(--tint), .08); border-color: rgba(var(--tint), .25); }
.cell h3:first-child { margin-top: 0; }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Split: Text + Gerät (wie .product, aber ohne Rahmen-Karte möglich) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-copy h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; margin-top: 16px; text-wrap: balance; }
.split-copy p { color: var(--ink-2); font-size: 17px; margin: 16px 0 0; text-wrap: pretty; }
.split-visual { display: flex; justify-content: center; }
.split-visual .phone { --w: 300px; }
.check { color: rgb(var(--tint)); }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-copy { order: 0; }
  .split-visual .phone { --w: 250px; }
}

/* Galerie: Reihe von Geräten, auf schmalen Bildschirmen wischbar */
.gallery {
  display: flex; gap: 28px; justify-content: center;
  padding: 8px 0 40px;
}
.gallery figure { margin: 0; flex: none; }
.gallery .phone { --w: 240px; }
.gallery figcaption { margin-top: 18px; text-align: center; font-size: 14px; color: var(--ink-2); max-width: 240px; }
@media (max-width: 1080px) {
  .gallery {
    justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -32px; padding: 8px 32px 40px; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { scroll-snap-align: center; }
}
@media (max-width: 640px) {
  .gallery { margin: 0 -16px; padding: 8px 16px 32px; gap: 18px; }
  .gallery .phone { --w: 210px; }
}

/* FAQ mit <details> */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 4px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: #fff; }
.faq .answer { padding: 0 4px 24px; color: var(--ink-2); font-size: 16px; max-width: 680px; }
.faq .answer p { margin: 0 0 12px; }
.faq .answer a { color: var(--ink); text-underline-offset: 3px; }

/* Store-Badge im Apple-Stil (Alternative zu .btn-primary) */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 12px;
  background: #fff; color: #000; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 10px 30px -10px rgba(255,255,255,.3);
  transition: transform .3s var(--ease);
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge svg { width: 22px; height: 22px; }
.store-badge span { display: grid; line-height: 1.1; }
.store-badge small { font-size: 11px; font-weight: 500; }
.store-badge b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }

/* Brotkrumen / Zurück-Link auf Unterseiten */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line-3); }

/* ---------- Dokumentseiten: Datenschutz, Support, Impressum ---------- */

.doc-hero { position: relative; padding: 72px 0 48px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.doc-hero .hero-bg::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000 20%, transparent 75%);
}
.doc-hero .hero-bg::after { top: -420px; opacity: .8; }
.doc-hero.tinted .hero-bg::after { background: radial-gradient(closest-side at 50% 55%, rgba(var(--tint), .22), transparent); }
.doc-hero h1 { margin-top: 18px; font-size: clamp(30px, 8vw, 60px); line-height: 1.05; hyphens: auto; overflow-wrap: break-word; }
.doc-hero .doc-lede { margin: 18px 0 0; max-width: 640px; color: var(--ink-2); font-size: 18px; text-wrap: pretty; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }

.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 120px; align-items: start; }
.doc-layout.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.toc { position: sticky; top: 96px; font-size: 13.5px; }
.toc .label { margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-3); text-decoration: none; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: rgb(var(--tint)); }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: 1fr 1fr; border-left: 0; gap: 0 16px; }
  .toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) { .toc ol { grid-template-columns: 1fr; } }

.prose { max-width: 720px; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { color: var(--ink); font-size: 24px; letter-spacing: -0.025em; line-height: 1.25; margin: 56px 0 14px; scroll-margin-top: 96px; }
.prose h3 { color: var(--ink); font-size: 18px; letter-spacing: -0.015em; line-height: 1.35; margin: 32px 0 10px; scroll-margin-top: 96px; }
.prose h4 { color: var(--ink); font-size: 16px; margin: 24px 0 8px; letter-spacing: -0.01em; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; padding-left: 4px; }
.prose li::marker { color: var(--ink-3); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(var(--tint), .6); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose code { font-family: var(--font-mono); font-size: .88em; padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose blockquote { margin: 24px 0; padding: 16px 20px; border-left: 2px solid rgb(var(--tint)); background: rgba(255,255,255,.025); border-radius: 0 10px 10px 0; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; font-size: 13px; background: rgba(255,255,255,.03); }
.prose address { font-style: normal; }

/* Hinweis-/Info-Box in Dokumenten */
.callout {
  display: flex; gap: 14px; padding: 18px 20px; margin: 0 0 32px;
  border: 1px solid rgba(var(--tint), .25); border-radius: 14px;
  background: rgba(var(--tint), .06); color: var(--ink); font-size: 15.5px; line-height: 1.6;
}
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: rgb(var(--tint)); }
.callout p { margin: 0; }

/* Support: Kontaktkarten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 48px; }
.card-link {
  display: block; padding: 22px; border-radius: 16px; text-decoration: none;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  transition: border-color .2s, transform .3s var(--ease);
}
.card-link:hover { border-color: var(--line-3); transform: translateY(-2px); }
.card-link .ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(var(--tint), .1); color: rgb(var(--tint)); margin-bottom: 18px; }
.card-link .ico svg { width: 17px; height: 17px; }
.card-link b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.card-link span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 14px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* Einheitliche Fusszeile mit Rechtslinks */
.foot .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot .legal a { color: var(--ink-3); }
.foot .legal a:hover { color: var(--ink); }
.foot .made-by { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); text-decoration: none; }
.foot .made-by img { width: 18px; height: 18px; border-radius: 5px; }
.foot-top.cols-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 720px) { .foot-top.cols-4 { grid-template-columns: 1fr 1fr; } }

/* Hilfsklassen */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.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; }
.product-copy > .label + h3 { margin-top: 14px; }

/* Kontaktkarte im App-Akzent statt im termi-Markenverlauf */
.contact-card.tinted::after {
  background:
    radial-gradient(closest-side at 40% 50%, rgba(var(--tint), .28), transparent),
    radial-gradient(closest-side at 62% 50%, rgba(var(--tint), .16), transparent);
}

/* Offizielles Apple-Badge (Dateien unter /assets/badges/app-store-<lang>.svg) */
.app-badge { display: inline-flex; align-items: center; border-radius: 9px; transition: transform .3s var(--ease), opacity .2s; }
.app-badge:hover { transform: translateY(-1px); }
.app-badge img { display: block; height: 44px; width: auto; }
.app-badge.lg img { height: 52px; }
