/* Erlediko – Dachseite. Ruhig, klar, ohne externe Schriften (keine Datenübertragung an Dritte). */
:root {
  --bg: #f6f7f5; --surface: #ffffff; --line: #dfe3df;
  --ink: #15212b; --text-2: #4e5a63; --text-3: #5d6870;
  --accent: #2c6e52; --accent-soft: #e3efe8;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11181d; --surface: #182128; --line: #2a353d; --ink: #edf1ee; --text-2: #b4bec4; --text-3: #a3adb3; --accent: #7cc4a1; --accent-soft: #1e3329; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 880px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.narrow { max-width: 680px; }

header.top { padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; min-height: 44px; }
.brand svg { width: 30px; height: 30px; }

/* Kopfbereich mit Bild: Handy = Bildstreifen über dem Text, ab 760 px = Bild rechts, läuft nach links in die Seitenfarbe aus */
.hero { position: relative; padding: 0; }
.hero-img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: 72% 50%; }
.hero-text { padding-block: 28px 36px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 18px; text-wrap: balance; }
.hero p { font-size: 1.15rem; color: var(--text-2); max-width: 36em; margin: 0; }
@media (prefers-color-scheme: dark) { .hero-img { filter: brightness(.82) saturate(.95); } }
@media (min-width: 760px) {
  .hero { min-height: 480px; display: flex; align-items: center; overflow: hidden; }
  .hero-img { position: absolute; top: 0; right: 0; width: 72%; height: 100%; object-position: 70% 50%; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, color-mix(in srgb, var(--bg) 70%, transparent) 46%, transparent 62%); }
  .hero-text { position: relative; z-index: 2; width: 100%; padding-block: 64px; }
  .hero-text h1, .hero-text p { max-width: 15.5em; }
  .hero-text p { max-width: 26em; }
}

h2 { font-size: 1.35rem; letter-spacing: -.01em; margin: 0 0 14px; }
section { padding: 28px 0; }

.product { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.product img { width: 56px; height: 56px; border-radius: 13px; }
.product h3 { margin: 0 0 4px; font-size: 1.15rem; }
.product p { margin: 0 0 10px; color: var(--text-2); }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.more { color: var(--text-3); font-size: .95rem; margin: 14px 0 0; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.points div { border-top: 2px solid var(--accent); padding-top: 12px; }
.points b { display: block; margin-bottom: 4px; }
.points span { color: var(--text-2); font-size: .97rem; }

footer.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 0 40px; font-size: .9rem; color: var(--text-3); }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer.foot a { color: var(--text-2); display: inline-block; padding: 10px 0; }

/* Rechtstexte */
/* padding-block statt padding: sonst überschreibt es den seitlichen Rand von .wrap (Text klebte am Handy am Rand) */
.legal { padding-block: 20px 10px; }
.legal h1 { font-size: 1.9rem; letter-spacing: -.02em; margin: 0 0 20px; }
.legal h2 { font-size: 1.15rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal .muted { color: var(--text-3); font-size: .9rem; }
.back { display: inline-block; padding: 10px 0; }

@media (max-width: 480px) { .product { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
