/* Seacliff — Tiefsee-Navy mit Türkis. Systemschriften statt Webfonts:
   keine externe Anfrage, kein Layoutsprung, bessere Core Web Vitals. */

:root {
  --bg: #07141c;
  --bg2: #040b10;
  --bg3: #0d2430;
  --flaeche: rgba(255, 255, 255, 0.038);
  --flaeche2: rgba(255, 255, 255, 0.065);
  --rand: rgba(146, 200, 205, 0.16);
  --rand2: rgba(146, 200, 205, 0.3);

  --akzent: #12b5a5;
  --akzent2: #3fe0ce;
  --akzent-weich: rgba(18, 181, 165, 0.14);

  --text: #e8f1f3;
  --muted: #93aab2;
  --faint: #6b8189;

  --breite: 1140px;
  --radius: 16px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--akzent2); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 22px; }
.wrap.schmal { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--akzent); color: #04222020;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; color: #052024; font-weight: 600;
}
.skip:focus { left: 0; }

/* ── Typografie ─────────────────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
h3 { font-size: 1.13rem; letter-spacing: -0.01em; }

.auge {
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--akzent2); font-weight: 600; margin-bottom: 16px;
}
.lead { font-size: clamp(1.02rem, 1.6vw, 1.19rem); color: var(--muted); max-width: 66ch; }
.claim { font-weight: 600; color: var(--text); }
.claim.gross { font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin: 6px 0 14px; }

/* ── Kopf ───────────────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 20, 28, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rand);
}
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 62px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; letter-spacing: -0.02em; font-size: 18px;
}
.brand:hover { text-decoration: none; }
.mark { width: 26px; height: 26px; color: var(--akzent2); flex: none; }
.site-head nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.site-head nav a { color: var(--muted); }
.site-head nav a:hover { color: var(--text); text-decoration: none; }
.site-head nav .lang {
  color: var(--akzent2); border: 1px solid var(--rand2); border-radius: 999px;
  padding: 4px 12px; font-size: 13.5px; font-weight: 600;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--akzent); color: #04222a;
  font-weight: 700; padding: 13px 24px; border-radius: 11px; font-size: 16px;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--akzent2); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--rand2); }
.btn.ghost:hover { background: var(--flaeche2); }

.stores { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--rand2); border-radius: 12px; padding: 10px 18px;
  color: var(--text); font-weight: 600; font-size: 15px; background: var(--flaeche);
}
.store:hover { background: var(--flaeche2); text-decoration: none; }
.store svg { width: 20px; height: 20px; flex: none; }
.store.store-s { padding: 9px 14px; font-size: 14px; width: 100%; }
.soon {
  display: inline-block; margin-top: 20px; border: 1px dashed var(--rand2);
  border-radius: 999px; padding: 7px 16px; color: var(--muted); font-size: 14.5px;
}
/* Eigene Website einer App: Hauptknopf vor den Store-Knöpfen bzw. vor „Bald verfügbar“. */
.btn.website { margin-top: 20px; margin-right: 12px; }
.stores .btn.website { margin-top: 0; margin-right: 0; }
.btn.website-s { display: block; width: 100%; text-align: center; padding: 10px 14px; font-size: 15px; }
.stores .btn.website-s + .store { margin-top: 0; }
.app-card-site { padding: 0 20px 18px; margin-top: -4px; }
.app-card-site .btn.website-s { width: auto; display: inline-block; padding: 8px 16px; font-size: 14px; }

.badge {
  display: inline-block; background: var(--akzent-weich); color: var(--akzent2);
  border: 1px solid rgba(63, 224, 206, 0.28); border-radius: 999px;
  padding: 3px 11px; font-size: 12px; font-weight: 600; white-space: nowrap;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; padding: clamp(56px, 10vw, 108px) 0 clamp(48px, 8vw, 88px);
  background:
    radial-gradient(1100px 420px at 12% -10%, rgba(18, 181, 165, 0.16), transparent 60%),
    radial-gradient(800px 380px at 92% 0%, rgba(63, 224, 206, 0.09), transparent 62%),
    linear-gradient(180deg, var(--bg3) 0%, var(--bg) 52%);
  overflow: hidden;
}
/* Klippenkante als Abschluss — die Bildmarke des Studios, in CSS statt als Bild. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 78px;
  background: var(--bg);
  clip-path: polygon(0 100%, 0 62%, 16% 22%, 27% 46%, 41% 8%, 55% 44%, 68% 26%, 82% 52%, 100% 30%, 100% 100%);
  opacity: .55;
}
.hero h1 { margin-bottom: 20px; max-width: 17ch; }
.hero .lead { max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-fakten {
  display: flex; flex-wrap: wrap; gap: 12px 34px; list-style: none;
  margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--rand);
  color: var(--muted); font-size: 14.5px; position: relative; z-index: 1;
}
.hero-fakten strong { color: var(--text); font-size: 17px; margin-right: 5px; }

/* ── Abschnitte ─────────────────────────────────────────────────────────── */
/* Sprungziele dürfen nicht unter der klebenden Kopfzeile landen. */
[id] { scroll-margin-top: 78px; }
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-block: 1px solid var(--rand); }
.section > .wrap > .lead { margin-bottom: 34px; }

/* ── App-Raster ─────────────────────────────────────────────────────────── */
.app-grid { display: grid; gap: 14px; }
.app-card {
  border: 1px solid var(--rand); border-radius: var(--radius);
  background: var(--flaeche); overflow: hidden;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.app-card:hover { border-color: var(--akzent); background: var(--flaeche2); transform: translateY(-2px); }
.app-card-link { display: flex; align-items: flex-start; gap: 18px; padding: 20px; color: var(--text); }
.app-card-link:hover { text-decoration: none; }
.app-icon { width: 72px; height: 72px; border-radius: 16px; flex: none; border: 1px solid var(--rand); }
.app-card-body { flex: 1; min-width: 0; }
.app-card-top { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin-bottom: 5px; }
.app-card-top h3 { color: var(--text); }
.app-card .claim { margin-bottom: 6px; color: var(--akzent2); font-size: 15px; }
/* Auf der Karte reichen drei Zeilen — der volle Text steht auf der App-Seite. */
.app-card .muted {
  font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.app-card .meta { margin-top: 9px; color: var(--faint); }
.pfeil { color: var(--faint); font-size: 20px; align-self: center; flex: none; transition: transform .18s ease, color .18s ease; }
.app-card:hover .pfeil { color: var(--akzent2); transform: translateX(3px); }
.app-grid.klein .app-icon { width: 52px; height: 52px; border-radius: 12px; }
.app-grid.klein .muted, .app-grid.klein .meta { display: none; }

/* ── Prinzipien ─────────────────────────────────────────────────────────── */
.prinzip-grid { display: grid; gap: 14px; }
.prinzip {
  border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 22px; background: var(--flaeche); position: relative;
}
.prinzip .nr {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--akzent); margin-bottom: 10px;
}
.prinzip h3 { margin-bottom: 8px; }
.prinzip p { font-size: 15.5px; }

/* ── App-Seite ──────────────────────────────────────────────────────────── */
.krumen { padding: 16px 0 0; font-size: 14px; color: var(--faint); }
.krumen a { color: var(--muted); }
.krumen span { margin: 0 7px; }

.app-hero {
  padding: clamp(30px, 5vw, 54px) 0 clamp(38px, 6vw, 62px);
  background:
    radial-gradient(760px 320px at 8% -20%, color-mix(in srgb, var(--akzent) 16%, transparent), transparent 62%),
    linear-gradient(180deg, var(--bg3) 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--rand);
}
.app-hero-in { display: flex; gap: 28px; align-items: flex-start; }
.app-icon-gross {
  width: 112px; height: 112px; border-radius: 24px; flex: none;
  border: 1px solid var(--rand); box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.app-hero .auge { color: color-mix(in srgb, var(--akzent) 78%, white); }

.zwei { display: grid; gap: 34px; }
.haupt h2 { margin-top: 34px; }
.haupt h2:first-child { margin-top: 0; }
.haupt p { margin-bottom: 15px; color: var(--muted); }
.feature-liste { list-style: none; display: grid; gap: 10px; }
.feature-liste li { position: relative; padding-left: 28px; color: var(--muted); }
.feature-liste li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--akzent2); font-weight: 700;
}

.seiten {
  border: 1px solid var(--rand); border-radius: var(--radius);
  background: var(--flaeche); padding: 20px; align-self: start;
}
.klein-h { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.fakten { display: grid; gap: 0; }
.fakt {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--rand); font-size: 14.5px;
}
.fakt:last-child { border-bottom: 0; }
.fakt dt { color: var(--faint); }
.fakt dd { color: var(--text); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--rand); border-radius: 13px;
  background: var(--flaeche); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 16px 46px 16px 18px; position: relative;
  list-style: none; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; font-size: 16.5px; font-weight: 600; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--akzent2); font-size: 22px; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 18px; color: var(--muted); }
.faq details[open] { border-color: var(--rand2); }

/* ── Dokumentseiten ─────────────────────────────────────────────────────── */
.doku h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 22px; }
.doku h2 { font-size: 1.16rem; margin: 30px 0 9px; }
.doku p { color: var(--muted); margin-bottom: 12px; }
.doku ul { color: var(--muted); margin: 0 0 14px 22px; display: grid; gap: 6px; }
/* Verweis auf die Datenschutzerklärung einer App, unter den Store-Knöpfen. */
.app-ds { margin-top: 14px; }
.hinweis-box {
  border: 1px solid rgba(251, 191, 36, .42); background: rgba(251, 191, 36, .08);
  border-radius: 13px; padding: 16px 18px; margin: 20px 0 8px;
}
.hinweis-box p { color: #fbd57a; margin: 0; font-size: 15px; }

/* ── Fuß ────────────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--rand); background: var(--bg2); padding: 48px 0 26px; margin-top: 20px; }
.foot-in { display: grid; gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 40ch; }
.foot-h { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; font-weight: 600; }
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot-col a { color: var(--muted); font-size: 15px; }
.foot-col a:hover { color: var(--text); }
.foot-note {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rand);
}
.foot-note p { max-width: 62ch; }

/* ── Ab Tablet ──────────────────────────────────────────────────────────── */
@media (min-width: 700px) {
  .prinzip-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 2fr 1fr 1fr; }
}
/* Zwei App-Karten nebeneinander erst, wenn die Textspalte breit genug bleibt. */
@media (min-width: 940px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .prinzip-grid { grid-template-columns: repeat(3, 1fr); }
  .zwei { grid-template-columns: minmax(0, 1fr) 316px; gap: 46px; }
  .app-grid.klein { grid-template-columns: repeat(4, 1fr); }
  .app-grid.klein .app-card-link { flex-direction: column; gap: 12px; }
}
@media (max-width: 640px) {
  .site-head nav { gap: 14px; font-size: 14px; }
  .site-head nav a:not(.lang) { display: none; }
  .app-hero-in { flex-direction: column; gap: 20px; }
  .app-icon-gross { width: 84px; height: 84px; border-radius: 19px; }
  .app-card-link { gap: 14px; padding: 16px; }
  .app-icon { width: 56px; height: 56px; border-radius: 13px; }
  .pfeil { display: none; }
}


/* Akzentfarben je App — erzeugt von build.mjs */
.akz-immowert-ai { --akzent: #D4AF37; }
.akz-gold-silver-ai { --akzent: #C9A227; }
.akz-bewerbung-ai { --akzent: #5B8DEF; }
.akz-minesweeper-royale { --akzent: #4ADE80; }
.akz-nostradamus-ai { --akzent: #A78BFA; }
.akz-aktien-portfolio-tracker-ai { --akzent: #56A8FF; }
.akz-peekafish { --akzent: #FF7A1F; }
