/* seytosh.de – Studio-Seite. Keine externen Schriften oder Skripte (Datenschutz). */
:root {
  --bg: #0b0d14;
  --bg-2: #11141e;
  --surface: #151925;
  --surface-2: #1b2030;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0f6;
  --muted: #9aa3b8;
  --accent: #8b7cff;
  --accent-2: #ff7ab6;
  --ok: #46d39a;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --maxw: 1120px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-2: #eef0f6;
  --surface: #ffffff;
  --surface-2: #f3f4f9;
  --line: rgba(15, 20, 40, 0.08);
  --line-strong: rgba(15, 20, 40, 0.16);
  --text: #141824;
  --muted: #5b6478;
  --accent: #5f4bff;
  --accent-2: #e2468f;
  --shadow: 0 20px 50px rgba(20, 24, 50, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(700px 420px at -10% 20%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 70%);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Sprache: nur die aktive Sprache zeigen */
html[data-lang="de"] [lang="en"]:not(html), html[data-lang="en"] [lang="de"]:not(html) { display: none !important; }

/* Kopfzeile */
.top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; user-select: none; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 0.95rem; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.tools { display: flex; align-items: center; gap: 6px; }
.seg { display: flex; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.seg button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.82rem; font-weight: 600; padding: 6px 10px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.icon-btn { background: none; border: 1px solid var(--line-strong); color: var(--text); width: 36px; height: 34px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: 88px 0 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.05; letter-spacing: -0.03em; margin: 22px 0 18px; max-width: 16ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.12rem; max-width: 58ch; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 12px 18px; font-weight: 600; text-decoration: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--text); color: var(--bg); border-color: transparent; }
.btn.primary:hover { opacity: 0.9; }
.btn svg { width: 18px; height: 18px; }

/* Abschnitte */
section.block { padding: 56px 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.head h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 0; }
.head p { color: var(--muted); margin: 6px 0 0; }

/* App-Karten */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.app-card {
  position: relative; text-align: left; cursor: pointer; font: inherit; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; padding: 0; display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.app-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.app-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.app-banner { aspect-ratio: 1024 / 420; background: var(--bg-2) center / cover no-repeat; border-bottom: 1px solid var(--line); }
.app-body { display: flex; gap: 14px; padding: 18px; align-items: center; }
.app-icon { display: grid; place-items: center; color: #fff; width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; background: var(--surface-2) center / cover; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.app-meta { flex: 1; min-width: 0; }
.app-meta h3 { margin: 0; font-size: 1.12rem; letter-spacing: -0.01em; }
.app-meta p { margin: 2px 0 0; color: var(--muted); font-size: 0.93rem; }
.chev { color: var(--muted); }
.chev svg { width: 20px; height: 20px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 18px 18px; }
.tag { font-size: 0.76rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 9px; }

/* Projekt-Karten */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.proj { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.proj:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.proj .pi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.proj .pi svg { width: 22px; height: 22px; }
.proj h3 { margin: 0; font-size: 1rem; }
.proj p { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface)); border: 1px solid var(--line); }
.contact h2 { margin: 0 0 4px; font-size: 1.4rem; }
.contact p { margin: 0; color: var(--muted); }

/* Fußzeile */
footer.foot { margin-top: auto; border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 0.9rem; }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.foot a { text-decoration: none; }
footer.foot a:hover { color: var(--text); text-decoration: underline; }

/* App-Fenster (wie im Play Store) */
dialog.store {
  width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--line-strong); border-radius: 22px;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow); overflow: hidden;
}
dialog.store::backdrop { background: rgba(4, 6, 12, 0.65); backdrop-filter: blur(4px); }
dialog.store[open] { animation: pop 0.18s ease-out; }
@keyframes pop { from { transform: translateY(10px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.store-scroll { max-height: calc(100dvh - 26px); overflow-y: auto; overscroll-behavior: contain; }
.store-close { position: sticky; top: 0; float: right; margin: 12px 12px 0 0; z-index: 2; background: color-mix(in srgb, var(--surface) 80%, transparent); }
.store-top { display: flex; gap: 18px; padding: 26px 26px 6px; align-items: flex-start; }
.store-top .app-icon { width: 92px; height: 92px; border-radius: 22px; }
.store-top h2 { margin: 0; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; }
.dev { color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-top: 4px; }
.small { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.facts { display: flex; gap: 0; margin: 14px 26px 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts div { flex: 1; text-align: center; padding: 10px 6px; font-size: 0.8rem; color: var(--muted); }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { display: block; color: var(--text); font-size: 0.95rem; }
.store-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 26px 4px; }
.store-actions .btn.primary { background: #01875f; color: #fff; }
.shots { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 26px; scrollbar-width: thin; }
.shots img { width: auto; max-width: none; flex-shrink: 0; scroll-snap-align: start; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); object-fit: cover; }
.shots.land img { height: 210px; aspect-ratio: 16 / 9; }
.shots.port img { height: 300px; aspect-ratio: 9 / 16; }
.store-sec { padding: 4px 26px 6px; }
.store-sec h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.store-sec p { margin: 6px 0; color: var(--muted); }
.store-sec ul { margin: 6px 0 4px; padding-left: 1.2em; color: var(--muted); }
.store-sec li { margin: 3px 0; }
.store-links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 26px 26px; border-top: 1px solid var(--line); margin-top: 14px; font-size: 0.9rem; }
.store-links a { color: var(--muted); }
.store-links a:hover { color: var(--text); }
.ext-note { padding: 0 26px; color: var(--muted); font-size: 0.78rem; }

/* Textseiten (Datenschutz, Impressum) */
.doc { padding: 48px 0 64px; }
.doc .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); max-width: 860px; margin: 0 auto; }
.doc h1 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.2; }
.doc .lead { color: var(--muted); margin: 0 0 22px; }
.doc h2 { font-size: 1.2rem; margin: 30px 0 8px; letter-spacing: -0.01em; }
.doc h3 { font-size: 1.02rem; margin: 18px 0 6px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.doc ul { padding-left: 1.25em; }
.doc a { color: var(--accent); }
.doc .box { border: 1px solid var(--line); background: var(--surface-2); border-radius: 14px; padding: 14px 18px; margin: 14px 0; }
.doc .stand { color: var(--muted); font-size: 0.9rem; margin-top: 26px; }
.back { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); text-decoration: none; margin-bottom: 18px; font-size: 0.92rem; }
.back:hover { color: var(--text); }
.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 14px 0; }
.links-grid a { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); background: var(--surface-2); }
.links-grid a:hover { border-color: var(--line-strong); }
.links-grid .app-icon { width: 40px; height: 40px; border-radius: 10px; }

@media (max-width: 760px) {
  .nav { display: none; }
  .tools { margin-left: auto; }
  .hero { padding: 56px 0 36px; }
  .store-top { padding: 20px 18px 4px; gap: 14px; }
  .store-top .app-icon { width: 72px; height: 72px; border-radius: 18px; }
  .facts { margin: 12px 18px 0; }
  .store-actions, .store-sec, .store-links, .ext-note { padding-left: 18px; padding-right: 18px; }
  .shots { padding: 16px 18px; }
  .shots.land img { height: 160px; }
  .shots.port img { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.app-icon > svg { width: 55%; height: 55%; }
.app-banner > svg { display: block; }
