/* ════════════════════════════════════════════════════════════
   GNOSEO – Zentrale Stylesheet
   Verwendet von: index.html, impressum.html, datenschutz.html
════════════════════════════════════════════════════════════ */

/* ─── RESET & TOKENS ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --c-indigo:    #3B2D8F;
  --c-indigo-d:  #1a1060;
  --c-violet:    #7B6FE8;
  --c-violet-l:  #A87FD6;
  --c-violet-d:  #6B50CC;
  --c-violet-2:  #9B59B6;
  --c-gold:      #F8B400;
  --c-orange:    #FF8C3C;

  /* Light Theme */
  --bg:          #FFFFFF;
  --bg-2:        #F7F5FF;
  --bg-3:        #EEE9FF;
  --surface:     #FFFFFF;
  --border:      rgba(107,80,204,0.14);
  --text:        #1A1040;
  --text-2:      #4A3E80;
  --text-3:      #8070B0;

  /* Misc */
  --radius:      16px;
  --radius-lg:   24px;
  --shadow:      0 4px 24px rgba(59,45,143,0.10);
  --shadow-lg:   0 12px 48px rgba(59,45,143,0.18);
  --transition:  0.25s ease;
  --max-w:       1200px;
  --max-w-narrow:760px;
  --font:        -apple-system, 'SF Pro Display', 'Helvetica Neue', system-ui, Arial, sans-serif;
}

[data-theme="dark"] {
  --bg:          #0F0B2A;
  --bg-2:        #16103A;
  --bg-3:        #1E1650;
  --surface:     #1A1444;
  --border:      rgba(123,111,232,0.20);
  --text:        #F0ECFF;
  --text-2:      #C4B8F0;
  --text-3:      #7868B8;
  --shadow:      0 4px 24px rgba(0,0,0,0.40);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.50);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── SKIP LINK (Barrierefreiheit) ─────────────────────────── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--c-orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── NAVIGATION (sticky) ─────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
[data-theme="dark"] .nav { background: rgba(15,11,42,0.92); }
.nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--c-indigo);
  letter-spacing: -0.5px;
}
[data-theme="dark"] .nav-logo { color: var(--c-violet); }

.logo-puzzle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 26px;
  height: 26px;
}
.logo-puzzle span {
  width: 11px;
  height: 11px;
  border-radius: 4px;
}
.lp1 { background: var(--c-violet); }
.lp2 { background: var(--c-violet-l); }
.lp3 { background: var(--c-violet-d); }
.lp4 { background: var(--c-violet-2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
}
.nav-links a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--c-indigo); background: var(--bg-3); }
[data-theme="dark"] .nav-links a:hover { color: var(--c-violet); background: var(--bg-3); }
.nav-links a:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
}

.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--c-indigo), var(--c-violet));
  padding: 10px 22px !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(59,45,143,0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--c-indigo), var(--c-violet)) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,45,143,0.4);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}
.icon-btn:hover { border-color: var(--c-violet); color: var(--c-violet); }
.icon-btn:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 2px; }

/* Sprach-Umschalter (DE/EN) – neben dem Theme-Button */
.lang-btn {
  width: auto;
  min-width: 38px;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.lang-btn:hover { color: var(--c-violet); border-color: var(--c-violet); }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-nav-toggle { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; width: 100%; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .nav-links.open a { padding: 12px 16px; }
  .nav-links.open .nav-cta { margin-left: 0; text-align: center; }
  .mobile-nav-toggle { display: flex; }
}

/* ─── SECTION UTILITIES ───────────────────────────────────── */
section { position: relative; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 28px; }

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-violet);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.section-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ─── WAVE DIVIDERS (Zwei-Pfad SVG, kein Mittelband) ──────── */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
  z-index: 1;
  line-height: 0;
  /* Sichert lückenlosen Übergang zwischen Sektionen */
  margin-top: -1px;
  margin-bottom: -1px;
  background: transparent;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave-divider .wave-top    { fill: var(--wave-top); }
.wave-divider .wave-bottom { fill: var(--wave-bottom); }

/* Farbpaare: oben = Farbe der Sektion DARÜBER, unten = Farbe der Sektion DARUNTER */
.wave-hero-usp      { --wave-top: var(--c-violet-2);  --wave-bottom: var(--bg-3); }
.wave-usp-werte     { --wave-top: var(--bg-3);        --wave-bottom: var(--bg); }
.wave-werte-apps    { --wave-top: var(--bg);          --wave-bottom: var(--c-indigo); }
.wave-apps-about    { --wave-top: var(--c-indigo-d);  --wave-bottom: var(--bg-2); }
.wave-about-kontakt { --wave-top: var(--bg-2);        --wave-bottom: var(--bg); }

/* ─── HERO – Vom griechischen Gnosis ──────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--c-indigo) 0%, var(--c-violet-2) 100%);
  padding: 120px 28px 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(123,111,232,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 25%, rgba(168,127,214,0.3) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 50% 90%, rgba(248,180,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,200,100,0.85);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 36px;
}
.greek-word {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 400;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: 4px;
}
.greek-translation {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,200,100,0.85);
  margin-bottom: 48px;
}
.hero-text {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  color: #fff;
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto 18px;
}
.hero-text strong { font-weight: 800; }
.hero-text-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  margin: 0 auto;
}

/* ─── USP BAR ─────────────────────────────────────────────── */
.usp-bar {
  background: var(--bg-3);
  padding: 24px 28px;
}
.usp-inner {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.usp-icon { font-size: 18px; }

/* ─── WERTE (Mission/Values) ──────────────────────────────── */
#werte {
  background: var(--bg);
  padding: 96px 28px;
  text-align: center;
}
#werte .container { padding: 0; }
#werte .section-sub { margin-left: auto; margin-right: auto; }

.werte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
  text-align: left;
}
.werte-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.werte-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107,80,204,0.3);
}
.werte-icon { font-size: 32px; margin-bottom: 16px; line-height: 1; }
.werte-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.werte-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ─── APPS SECTION ────────────────────────────────────────── */
#apps {
  background: linear-gradient(135deg, var(--c-indigo) 0%, var(--c-indigo-d) 100%);
  padding: 96px 28px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
#apps::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(248,180,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(123,111,232,0.15) 0%, transparent 60%);
  pointer-events: none;
}
#apps .container { position: relative; padding: 0; }
#apps .section-label { color: rgba(255,200,100,0.85); }
#apps .section-title { color: #fff; }
#apps .section-sub { color: rgba(255,255,255,0.72); margin-left: auto; margin-right: auto; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 8px;
  text-align: left;
}
.app-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.app-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}
.app-card-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.app-icon.compono { background: linear-gradient(135deg, var(--c-violet), var(--c-violet-2)); }
.app-icon.memor { background: linear-gradient(135deg, #1D3557, #2E86AB); }
.app-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.app-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,200,100,0.85);
}
.app-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin-bottom: 22px;
}
.app-card-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.app-status {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.status-beta { background: rgba(248,180,0,0.18); color: #FFC761; border: 1px solid rgba(248,180,0,0.35); }
.status-planned { background: rgba(123,111,232,0.18); color: #C4B8F0; border: 1px solid rgba(123,111,232,0.35); }

.app-link {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.app-link:hover { color: var(--c-gold); }

/* Klickbare Karten-Wrapper (z.B. Compono) */
.app-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  transition: transform var(--transition);
}
.app-card-link:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 4px;
}
.app-card-link .app-card { cursor: pointer; }
.app-card-link:hover .app-card {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}
.app-card-link:hover .app-link { color: var(--c-gold); }

/* ─── ABOUT SEBASTIAN ─────────────────────────────────────── */
#about {
  background: var(--bg-2);
  padding: 96px 28px;
}
#about .container { padding: 0; }

.about-grid {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 8px;
}
.about-avatar {
  flex: 0 0 280px;
  max-width: 100%;
  margin: 0 auto;
}
.avatar-box {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-indigo), var(--c-violet-2));
  padding: 48px 32px;
  text-align: center;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.avatar-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 60%);
}
.avatar-emoji { font-size: 96px; line-height: 1; margin-bottom: 12px; }
.avatar-note { color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 500; }

.about-content {
  flex: 1 1 380px;
  min-width: 0;
}
.about-content blockquote {
  border-left: 4px solid var(--c-violet);
  padding-left: 24px;
  margin-bottom: 28px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.3px;
}
.about-content p {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 18px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.about-tag {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--c-violet);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  transition: background var(--transition);
}
.about-tag:hover { background: rgba(123,111,232,0.18); }

/* ─── CTA / KONTAKT ───────────────────────────────────────── */
#kontakt {
  background: var(--bg);
  padding: 80px 28px 120px;
}
.cta-box {
  background: linear-gradient(135deg, var(--c-indigo) 0%, var(--c-violet-2) 100%);
  border-radius: 28px;
  padding: 64px 40px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(248,180,0,0.15) 0%, transparent 60%);
}
.cta-box > * { position: relative; }

.cta-box h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.cta-box p {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.6;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--c-indigo);
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}
.btn-primary:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }
.cta-note {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-top: 20px;
}

/* ─── PAGE HEADER (für Unterseiten) ───────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--c-indigo) 0%, var(--c-violet-2) 100%);
  padding: 80px 28px 64px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(123,111,232,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.page-header > * { position: relative; }
.page-header .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,200,100,0.85);
  margin-bottom: 16px;
}
.page-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #fff;
}

/* ─── LEGAL CONTENT (Impressum, Datenschutz) ──────────────── */
.legal-page main {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 64px 28px 96px;
}
.legal-page a { color: var(--c-violet); }
.legal-page a:hover { color: var(--c-indigo); }
[data-theme="dark"] .legal-page a:hover { color: var(--c-violet-l); }

.legal-content h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 10px;
}
.legal-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 16px;
}
.legal-content strong { color: var(--text); font-weight: 700; }
.legal-content ul {
  margin: 16px 0 16px 24px;
  color: var(--text-2);
}
.legal-content li { margin-bottom: 8px; line-height: 1.6; }
.legal-content .address-block {
  background: var(--bg-2);
  border-left: 4px solid var(--c-violet);
  padding: 20px 24px;
  border-radius: 8px;
  margin: 16px 0;
  font-style: normal;
}
.legal-content .address-block p { margin-bottom: 4px; color: var(--text); }
.legal-content .highlight-box {
  background: linear-gradient(135deg, rgba(59,45,143,0.06), rgba(155,89,182,0.06));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0;
}
.legal-content .highlight-box p:last-child { margin-bottom: 0; }
.legal-content .meta-info {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-3);
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #1A1040;
  color: rgba(255,255,255,0.75);
  padding: 64px 28px 32px;
}
[data-theme="dark"] footer { background: #08051A; }
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; opacity: 0.7; max-width: 380px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ─── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

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

/* ─── PRINT ───────────────────────────────────────────────── */
@media print {
  .nav, .nav-controls { display: none; }
  .cta-box { background: none; color: var(--text); box-shadow: none; }
  .cta-box h2, .cta-box p { color: var(--text); }
}


/* ─── COMPONO PAGE ────────────────────────────────────────── */
.compono-hero {
  background: linear-gradient(135deg, var(--c-indigo) 0%, var(--c-violet-2) 100%);
  padding: 100px 28px 90px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.compono-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(123,111,232,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 25%, rgba(168,127,214,0.3) 0%, transparent 55%);
  pointer-events: none;
}
.compono-hero > * { position: relative; }

.puzzle-logo {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
}
.puzzle-logo .pp { border-radius: 14px; }
.puzzle-logo .pp1 { background: var(--c-violet); }
.puzzle-logo .pp2 { background: var(--c-violet-l); }
.puzzle-logo .pp3 { background: var(--c-violet-d); }
.puzzle-logo .pp4 { background: var(--c-violet-2); }

.compono-hero .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,200,100,0.85);
  margin-bottom: 18px;
}
.compono-hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: #fff;
  margin-bottom: 22px;
}
.compono-hero .tagline {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.compono-hero .description {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.compono-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.compono-badge {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
}
.compono-badge.beta {
  background: rgba(248,180,0,0.25);
  border-color: rgba(248,180,0,0.4);
  color: #FFD580;
}
.compono-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.30);
  color: #fff;
  padding: 15px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.20); color: #fff; }

/* Section: Features (light) */
#features {
  background: var(--bg);
  padding: 96px 28px;
  text-align: center;
}
#features .section-sub { margin-left: auto; margin-right: auto; }

/* Section: Accessibility (dark) */
#accessibility {
  background: linear-gradient(135deg, var(--c-indigo) 0%, var(--c-indigo-d) 100%);
  padding: 96px 28px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
#accessibility::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(248,180,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
#accessibility .container { position: relative; padding: 0; }
#accessibility .section-label { color: rgba(255,200,100,0.85); }
#accessibility .section-title { color: #fff; }
#accessibility .section-sub { color: rgba(255,255,255,0.72); margin-left: auto; margin-right: auto; }

.a11y-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
  text-align: left;
}
.a11y-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background var(--transition);
}
.a11y-item:hover { background: rgba(255,255,255,0.12); }
.a11y-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
.a11y-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.a11y-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

/* ─── COMPONO PAGE EXTRAS ─────────────────────────────── */

/* Auf einen Blick — Facts Grid */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.fact-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.fact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fact-number {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-indigo), var(--c-violet-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.fact-label {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Vision Grid (2 columns) */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
  text-align: left;
}
@media (max-width: 720px) { .vision-grid { grid-template-columns: 1fr; } }
.vision-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.vision-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vision-card h3 .ic { font-size: 22px; }
.vision-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
}

/* Screens Grid */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
  text-align: left;
}
.screen-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.screen-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.screen-mockup {
  background: linear-gradient(160deg, var(--c-indigo), var(--c-indigo-d));
  border-radius: 12px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.screen-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.screen-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.45;
}

/* Gallery */
.gallery-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-violet);
  margin-bottom: 14px;
  margin-top: 32px;
}
.gallery-cat:first-child { margin-top: 8px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.gallery-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 10px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}
.gallery-item:hover {
  transform: translateY(-2px);
  background: var(--bg-3);
}
.gallery-emoji {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}
.gallery-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  display: block;
}

/* Tech Stack */
.tech-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-top: 8px;
  text-align: left;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tech-tag {
  display: inline-block;
  background: linear-gradient(135deg, #f0f0f7, #e8e8f5);
  border: 1px solid rgba(107,80,204,0.18);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-indigo);
  font-family: 'SF Mono', Menlo, Monaco, monospace;
}
[data-theme="dark"] .tech-tag {
  background: linear-gradient(135deg, var(--bg-3), var(--surface));
  color: var(--c-violet);
}
.tech-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.tech-meta-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.tech-meta-emoji { font-size: 28px; margin-bottom: 6px; line-height: 1; }
.tech-meta-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.tech-meta-value {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ─── COMPONO SCREENSHOTS GALLERY ─────────────────────── */
.screenshots-section {
  background: linear-gradient(135deg, var(--c-indigo) 0%, var(--c-violet-2) 100%);
  padding: 96px 28px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.screenshots-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(123,111,232,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 25%, rgba(168,127,214,0.3) 0%, transparent 55%);
  pointer-events: none;
}
.screenshots-section .container { position: relative; padding: 0; }
.screenshots-section .section-label { color: rgba(255,200,100,0.9); }
.screenshots-section .section-title { color: #fff; }
.screenshots-section .section-sub { color: rgba(255,255,255,0.78); margin-left: auto; margin-right: auto; }

.screenshots-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 24px;
  margin-top: 16px;
  /* nice scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.screenshots-track::-webkit-scrollbar { height: 8px; }
.screenshots-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); border-radius: 4px; }
.screenshots-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.35); border-radius: 4px; }

.screenshots-track img {
  flex: 0 0 auto;
  width: 80%;
  max-width: 800px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  scroll-snap-align: center;
  background: rgba(0,0,0,0.2);
  transition: transform var(--transition);
}
@media (min-width: 900px) {
  .screenshots-track img { width: 60%; max-width: 900px; }
}
.screenshots-track img:hover { transform: translateY(-4px); }

.screenshots-hint {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}

/* ─── APP STORE BADGE (offizielles Apple-SVG) ─────────────── */
.appstore-badge {
  display: inline-block;
  position: relative;
  line-height: 0;
  border-radius: 10px;
  transition: transform var(--transition), opacity var(--transition);
}
.appstore-badge img {
  height: 60px;
  width: auto;
  display: block;
}
.appstore-badge:hover { transform: translateY(-2px); opacity: 0.92; }
.appstore-badge:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 4px;
}
.appstore-badge--cta img { height: 68px; }
@media (max-width: 480px) {
  .appstore-badge img { height: 52px; }
  .appstore-badge--cta img { height: 56px; }
}

/* „Bald verfügbar"-Etikett, solange  data-soon  gesetzt ist */
.appstore-badge[data-soon] {
  cursor: default;
  padding-top: 22px; /* Platz fürs Etikett */
}
.appstore-badge[data-soon] .appstore-soon-eyebrow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-gold);
  color: #1A1040;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.appstore-badge:not([data-soon]) .appstore-soon-eyebrow { display: none; }

/* ─── TESTFLIGHT INLINE-LINK (dezent unter dem Badge) ────── */
.testflight-inline {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.testflight-inline a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--transition);
}
.testflight-inline a:hover { color: var(--c-gold); }
.testflight-inline a:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.testflight-inline--cta {
  margin-top: 14px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
}

/* ─── APP PREVIEW VIDEO SECTION (klein & zentriert) ──────── */
.preview-section {
  background: var(--bg);
  padding: 72px 28px;
  text-align: center;
}
.preview-inner {
  max-width: 720px;
  margin: 0 auto;
}
.preview-section .section-title { margin-bottom: 32px; }
.preview-video-el {
  display: block;
  margin: 0 auto;
  width: 140px;
  height: auto;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(59,45,143,0.16);
  background: #000;
}
@media (max-width: 480px) {
  .preview-video-el { width: 120px; }
}
