/* Alpinkarte – Landingpage. Markenfarbe wie in der App: Grün #006C4C. Nur Systemschriften (keine externen Fonts). */
:root {
  --green: #006c4c;
  --green-dark: #00513a;
  --green-soft: #88f8c3;
  --mint: #e6f4ec;
  --ink: #171d1a;
  --text: #3f4945;
  --muted: #6f7975;
  --line: #dbe3dd;
  --bg: #ffffff;
  --bg-alt: #f3f7f4;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,40,28,.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--green); }
img, svg { max-width: 100%; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--green); transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--mint); color: var(--green-dark); }
.btn-light { background: #fff; color: var(--green); border-color: #fff; }
.btn-light:hover { background: var(--mint); border-color: var(--mint); color: var(--green-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; margin-top: 36px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: #fff; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: .97rem; }
.nav a:hover { color: var(--green); }
@media (max-width: 760px) { .nav { display: none; } .header-inner .btn { margin-left: auto; } }

/* Hero */
.hero { background: radial-gradient(900px 500px at 85% 20%, var(--mint) 0%, transparent 70%), linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); padding: 64px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: .85rem; font-weight: 650; letter-spacing: .02em; }
.lead { font-size: 1.2rem; max-width: 34em; margin-bottom: 28px; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .93rem; color: var(--text); }
.hero-facts li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 6px; }
.sheet { margin: 0; justify-self: center; transform: rotate(2deg); }
.sheet svg { display: block; width: min(420px, 100%); height: auto; border-radius: 6px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 24px 60px rgba(0,40,28,.18); border: 8px solid #fff; }
.sheet figcaption { margin-top: 12px; text-align: center; font-size: .8rem; color: var(--muted); transform: rotate(-2deg); }
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .sheet { transform: none; } .sheet figcaption { transform: none; }
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { font-size: 1.1rem; max-width: 46em; margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { margin: 0; font-size: .97rem; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 56px 20px 22px; }
.steps li::before { content: counter(s); position: absolute; top: 18px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.steps strong { display: block; color: var(--ink); margin-bottom: 6px; }
.steps span { font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.basemaps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.basemaps li { display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px; background: #fff; font-size: .95rem; }
.basemaps b { color: var(--ink); }

.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 28px; }
.uses div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 48px; position: relative; color: var(--ink); font-weight: 550; }
.uses div::before { content: ""; position: absolute; left: 20px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 3px solid var(--green); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
summary { cursor: pointer; font-weight: 650; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }

.cta { background: linear-gradient(135deg, var(--green) 0%, #0b4f3b 100%); color: #e9f6ef; padding: 64px 0; }
.cta h2 { color: #fff; }
.cta p { margin: 0; max-width: 36em; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }

/* Footer */
.site-footer { background: #101714; color: #c6d1cb; padding: 48px 0 28px; font-size: .95rem; }
.site-footer .muted { color: #8d9a93; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.brand-footer { color: #fff; margin-bottom: 10px; }
.brand-footer .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.footer-nav a { color: #e3ebe6; text-decoration: none; }
.footer-nav a:hover { color: var(--green-soft); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid #25302b; font-size: .85rem; }

/* Rechtstexte */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.todo { background: #fff4d6; border: 1px solid #f0d68a; border-radius: 10px; padding: 12px 16px; color: #5c4a10; }
