/* SeaMemo Website — Design-System
   Farbwelt & Typografie angelehnt an die App (Creme, Navy, Gold). */

:root {
  --bg: #FAFAF7;
  --bg-alt: #F3F1EA;
  --card: #FFFFFF;
  --navy: #17304F;
  --navy-soft: #2C4568;
  --ink: #24303F;
  --muted: #5B6875;
  --gold: #A8894E;
  --gold-soft: #C9B183;
  --blue: #2E6BB5;
  --blue-dark: #245591;
  --line: #E5E1D6;
  --ok: #2E7D4F;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(23, 48, 79, .08);
  --shadow-soft: 0 4px 14px rgba(23, 48, 79, .06);
  --font-serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: var(--shadow-soft);
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--navy-soft);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
}
.site-nav a:hover { background: var(--bg-alt); text-decoration: none; }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

/* ---------- Buttons & Badges ---------- */

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy-soft);
  box-shadow: none;
}
.btn-secondary:hover { background: var(--bg-alt); color: var(--navy); }

.store-badges {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.store-badges img { height: 52px; width: auto; }
.store-badges .badge-play img { height: 78px; margin: -13px 0; } /* Play-Badge hat eingebauten Rand */

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

.hero {
  padding: 64px 0 40px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 18px;
  font-weight: 700;
}

.hero .sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 34em;
}

.hero-trust {
  margin-top: 18px;
  color: var(--muted);
  font-size: .92rem;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-trust span::before { content: "✓ "; color: var(--ok); font-weight: 700; }

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone img {
  width: min(320px, 80vw);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(23, 48, 79, .22);
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-head .kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--navy);
  margin: 10px 0 12px;
  line-height: 1.2;
}

.section-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Feature-Grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  color: var(--navy);
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.feature-card p { color: var(--muted); font-size: .97rem; }

/* ---------- Screenshots ---------- */

.shots {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 4px 22px;
  scroll-snap-type: x mandatory;
}

.shot {
  flex: 0 0 auto;
  width: 236px;
  scroll-snap-align: center;
  text-align: center;
}

.shot img {
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.shot figcaption {
  margin-top: 12px;
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 14px;
}

.step h3 { color: var(--navy); font-size: 1.06rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Guides ---------- */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.guide-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.guide-card .tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.guide-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 10px;
  font-family: var(--font-serif);
}

.guide-card p { color: var(--muted); font-size: .95rem; flex: 1; }

.guide-card .more {
  margin-top: 14px;
  color: var(--blue);
  font-weight: 600;
  font-size: .95rem;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 46px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }

.faq-list .faq-body {
  padding: 0 22px 18px;
  color: var(--muted);
}
.faq-list .faq-body a { font-weight: 600; }

/* ---------- CTA-Band ---------- */

.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: #C7D2E2;
  max-width: 42em;
  margin: 0 auto 28px;
}

.cta-band .store-badges { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  margin-top: 64px;
  background: var(--bg-alt);
  font-size: .93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-grid h4 {
  color: var(--navy);
  font-size: .95rem;
  margin-bottom: 12px;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--blue); }

.footer-about p { color: var(--muted); margin-top: 10px; max-width: 30em; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Guide-Artikel ---------- */

.article-hero {
  padding: 48px 0 12px;
}

.breadcrumb {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.article h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 16px;
}

.article .lead {
  font-size: 1.16rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-meta {
  font-size: .88rem;
  color: var(--muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.article h2 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.55rem;
  margin: 40px 0 14px;
  line-height: 1.25;
}

.article h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 16px 24px; }
.article li { margin-bottom: 8px; }

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .95rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.article th, .article td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.article th { background: var(--navy); color: #fff; font-weight: 600; }
.article tr:last-child td { border-bottom: none; }

.table-scroll { overflow-x: auto; }

.info-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  margin: 24px 0;
}
.info-box strong { color: var(--navy); }
.info-box p:last-child { margin-bottom: 0; }

.app-cta {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  margin: 36px 0;
}
.app-cta h3 { color: #fff; margin: 0 0 8px; font-family: var(--font-serif); font-size: 1.3rem; }
.app-cta p { color: #C7D2E2; margin-bottom: 18px; }
.app-cta .store-badges img { height: 46px; }
.app-cta .store-badges .badge-play img { height: 69px; margin: -11.5px 0; }

.article .screenshot-inline {
  width: min(300px, 85%);
  margin: 26px auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.related {
  max-width: 760px;
  margin: 12px auto 56px;
  padding: 0 20px;
}
.related h2 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-phone { order: -1; }
  .hero-phone img { width: min(240px, 62vw); }
  .feature-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  section { padding: 48px 0; }
  .feature-grid, .guide-grid, .steps { grid-template-columns: 1fr; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 9px; font-size: .88rem; }
  .cta-band { padding: 40px 22px; }
  .store-badges img { height: 46px; }
  .store-badges .badge-play img { height: 69px; margin: -11.5px 0; }
}
