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

:root {
  --ink:       #0c0b0a;
  --paper:     #f5f2ed;
  --amber:     #c8892a;
  --amber-lt:  #e8a84a;
  --dim:       #6b6560;
  --card:      #1a1714;
  --font-disp: Georgia, 'Iowan Old Style', Baskerville, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}

/* ─── Nav ───────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2.5rem;
  backdrop-filter: blur(20px);
  background: rgba(12,11,10,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo { font-family: var(--font-disp); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.02em; color: var(--paper); text-decoration: none; }
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(245,242,237,0.6); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--paper); }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 5rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; top: -20%; right: -10%; width: 70vw; height: 70vw;
  background: radial-gradient(ellipse at center, rgba(200,137,42,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; display: inline-block; width: 2rem; height: 1px; background: var(--amber); }
.hero-title { font-family: var(--font-disp); font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 1.75rem; }
.hero-title em { font-style: italic; color: var(--amber-lt); }
.hero-sub { font-size: 1.1rem; color: rgba(245,242,237,0.65); max-width: 480px; margin-bottom: 2.75rem; line-height: 1.7; }

.btn-anchor {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--paper); color: var(--ink); text-decoration: none;
  padding: 0.875rem 1.75rem; border-radius: 14px; font-weight: 600; font-size: 0.95rem;
  transition: transform .2s, box-shadow .2s;
}
.btn-anchor:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(200,137,42,0.25); }
.btn-anchor svg { width: 18px; height: 18px; }

/* ─── Phone mockups (echte Screenshots) ─────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; min-height: 600px; }

.phone {
  width: 270px; aspect-ratio: 1320 / 2868;
  background: #141210; padding: 9px;
  border-radius: 46px;
  border: 1.5px solid rgba(255,255,255,0.14);
  position: relative; flex-shrink: 0;
  box-shadow: 0 60px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; display: block; }

.phone-secondary {
  position: absolute; right: -10px; bottom: -40px;
  width: 200px; transform: rotate(8deg); z-index: -1;
  border-radius: 36px; padding: 7px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.phone-secondary img { border-radius: 29px; }

/* ─── Sprachumschalter ──────────────────────────────────── */
.nav-right { display: flex; align-items: center; gap: 2rem; }
.lang-switch { display: flex; gap: 0.25rem; font-size: 0.78rem; letter-spacing: 0.08em; }
.lang-switch a, .lang-switch span {
  padding: 0.25rem 0.55rem; border-radius: 6px; text-decoration: none;
  color: rgba(245,242,237,0.55); border: 1px solid transparent; transition: color .2s, border-color .2s;
}
.lang-switch a:hover { color: var(--paper); border-color: rgba(255,255,255,0.15); }
.lang-switch [aria-current] { color: var(--paper); border-color: rgba(200,137,42,0.5); }

.hero-icon { width: 72px; height: 72px; border-radius: 16px; margin-bottom: 1.5rem; box-shadow: 0 12px 30px rgba(0,0,0,0.5); display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-cta .appstore-badge { height: 52px; display: block; }

/* ─── Divider ────────────────────────────────────────────── */
.section-divider { text-align: center; padding: 0 2rem; margin: 2rem 0; position: relative; }
.section-divider::before {
  content: ''; position: absolute; top: 50%; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,137,42,0.3), transparent);
}
.section-divider span {
  position: relative; background: var(--ink); padding: 0 1.5rem;
  font-family: var(--font-disp); font-size: 0.9rem; font-style: italic;
  color: var(--amber); letter-spacing: 0.1em;
}

/* ─── Features ───────────────────────────────────────────── */
.features { padding: 7rem 5rem; max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.section-heading { font-family: var(--font-disp); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.15; margin-bottom: 1rem; }
.section-heading em { font-style: italic; color: var(--amber-lt); }
.section-sub { color: var(--dim); max-width: 560px; margin-bottom: 4rem; font-size: 1rem; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; overflow: hidden;
}
.feature-card { background: var(--card); padding: 2.25rem 2rem; transition: background .25s; }
.feature-card:hover { background: #201d1a; }
.feature-icon { font-size: 1.8rem; margin-bottom: 1.25rem; display: block; filter: saturate(0.8); }
.feature-name { font-family: var(--font-disp); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--paper); }
.feature-desc { font-size: 0.9rem; color: var(--dim); line-height: 1.6; }
.feature-tag {
  display: inline-block; margin-top: 1rem; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber); border: 1px solid rgba(200,137,42,0.3);
  padding: 0.2rem 0.6rem; border-radius: 4px;
}

/* ─── Showcase (real screenshots) ────────────────────────── */
.showcase { padding: 4rem 5rem 7rem; max-width: 1200px; margin: 0 auto; }
.showcase-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; margin-top: 3rem; }

.showcase-phone {
  border-radius: 28px; border: 1.5px solid rgba(255,255,255,0.09);
  overflow: hidden; position: relative; background: #141210;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); transition: transform .3s;
}
.showcase-phone:hover { transform: translateY(-8px); }
.showcase-phone img { width: 100%; display: block; }

.sp-label {
  padding: 0.9rem 0.5rem; text-align: center;
  font-size: 0.8rem; color: rgba(245,242,237,0.65);
}

/* ─── Download strip ─────────────────────────────────────── */
.download-strip {
  background: linear-gradient(135deg, #1a1510 0%, #201a12 50%, #161210 100%);
  border-top: 1px solid rgba(200,137,42,0.2);
  border-bottom: 1px solid rgba(200,137,42,0.2);
  padding: 5rem; text-align: center; position: relative; overflow: hidden;
}
.download-strip::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(200,137,42,0.08) 0%, transparent 70%);
}
.download-strip h2 { font-family: var(--font-disp); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; margin-bottom: 1.25rem; position: relative; }
.download-strip h2 em { font-style: italic; color: var(--amber-lt); }
.download-strip p { color: var(--dim); margin-bottom: 2.5rem; font-size: 1rem; position: relative; }

/* Apple's official "Download on the App Store" badge — used unmodified, no animation/rotation per Apple's marketing guidelines */
.appstore-badge-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.appstore-badge-wrap img { height: 54px; display: block; }
.appstore-badge-wrap a { display: inline-block; transition: opacity .2s; }
.appstore-badge-wrap a:hover { opacity: 0.85; }

/* ─── Legal ──────────────────────────────────────────────── */
.legal { max-width: 860px; margin: 0 auto; padding: 6rem 2.5rem; }

.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.accordion-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; text-align: left; color: var(--paper);
  font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: 0.01em;
  transition: color .2s;
}
.accordion-btn:hover { color: var(--amber-lt); }
.accordion-arrow { width: 20px; height: 20px; color: var(--amber); transition: transform .3s; flex-shrink: 0; }
.accordion-btn[aria-expanded="true"] .accordion-arrow { transform: rotate(180deg); }
.accordion-body { display: none; padding: 0 0 2rem; color: var(--dim); font-size: 0.93rem; line-height: 1.75; }
.accordion-body.open { display: block; }
.accordion-body h3 { color: var(--paper); font-family: var(--font-disp); font-weight: 600; font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.accordion-body h3:first-child { margin-top: 0; }
.accordion-body p { margin-bottom: 0.75rem; }
.accordion-body a { color: var(--amber); }
.accordion-body ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.accordion-body li { margin-bottom: 0.35rem; }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--font-disp); font-size: 1.2rem; font-weight: 600; color: rgba(245,242,237,0.4); }
.footer-logo span { color: rgba(200,137,42,0.6); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { color: var(--dim); text-decoration: none; font-size: 0.8rem; transition: color .2s; }
.footer-links a:hover { color: var(--paper); }
.footer-copy { color: var(--dim); font-size: 0.78rem; }
.footer-trademark { color: rgba(245,242,237,0.3); font-size: 0.68rem; line-height: 1.6; max-width: 720px; }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { animation: fadeUp .6s .1s both; }
.hero-title   { animation: fadeUp .6s .25s both; }
.hero-sub     { animation: fadeUp .6s .4s both; }
.hero-cta     { animation: fadeUp .6s .55s both; }
.hero-visual  { animation: fadeUp .8s .3s both; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 7rem 2rem 4rem; text-align: center; }
  .hero-sub { margin: 0 auto 2.5rem; }
  .hero-visual { min-height: 0; margin-top: 1rem; }
  .phone { width: 220px; }
  .phone-secondary { display: none; }
  .hero-icon { margin: 0 auto 1.5rem; }
  .hero-cta { justify-content: center; }
  .features { padding: 5rem 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase { padding: 3rem 2rem 5rem; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .download-strip { padding: 4rem 2rem; }
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-right { gap: 0; }
  footer { padding: 2rem; }
  .footer-row { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .legal { padding: 4rem 1.5rem; }
}

@media (max-width: 600px) {
  .showcase-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.5rem); }
}
