/* Fore! My Friends — Website. Schriften liegen lokal (keine Verbindung zu Google, DSGVO). Farben wie in der App. */
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(fonts/source-sans-3.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f4f6f1;
  --paper: #ffffff;
  --ink: #15201a;
  --muted: #56645a;
  --line: #d9e0d6;
  --green: #1e5a1e;        /* Text und Links auf hell */
  --green-mid: #1e3a1e;    /* App-Kopf */
  --green-deep: #0d2010;
  --green-accent: #a8d5a2;
  --flag: #d8402b;         /* Fahne im App-Symbol */
  --on-dark: #eef5ee;
  --on-dark-muted: #b4cdb4;
  --bild-a: #e3ece0;
  --bild-b: #cfdfcb;
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0e1510; --paper: #152018; --ink: #e5ece5; --muted: #a1b3a4; --line: #2a3a2e;
    --green: #8fd08a; --green-mid: #12261a; --green-deep: #08140b; --bild-a: #1b2b1f; --bild-b: #12201a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--f-body); }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .95; margin: 0; text-wrap: balance; }

/* Seitenrand: einmal hier, gilt für alle Abschnitte */
.wrap { max-width: var(--wrap); margin: 0 auto;
        padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
       border-radius: 999px; font: 600 1rem/1 var(--f-body); text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--green-accent); color: #0d2010; }
.btn-primary:hover { background: #bfe3ba; }
.btn-ghost { color: var(--on-dark); border: 1.5px solid rgba(238, 245, 238, .45); }
.btn-ghost:hover { border-color: var(--on-dark); }
.dunkel a:focus-visible { outline-color: var(--green-accent); }

/* Kopf + Hero (dunkelgrün wie der App-Kopf) */
.hero-band { background: radial-gradient(120% 90% at 85% 10%, #2a4f2a 0%, var(--green-mid) 45%, var(--green-deep) 100%); color: var(--on-dark); overflow: hidden; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: max(18px, env(safe-area-inset-top, 0px)) 18px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.4rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--on-dark); text-decoration: none; }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.top .btn { min-height: 40px; padding: 0 16px; font-size: .95rem; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: 32px 0; }
.hero-text { padding-bottom: 72px; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
          color: #0d2010; background: var(--green-accent); border-radius: 999px; padding: 5px 12px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(3rem, 6.6vw, 5.4rem); }
.hero h1 em { font-style: normal; color: var(--green-accent); }
.hero .lead { font-size: 1.3rem; margin-top: 22px; max-width: 32ch; }
.hero .note { margin-top: 12px; color: var(--on-dark-muted); max-width: 42ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .small { margin-top: 14px; font-size: .9rem; color: var(--on-dark-muted); }

/* Handy-Ausschnitte: Rahmen wie ein Telefon, unten ausgeblendet — bewusst nur Ausschnitte */
.phone { position: relative; width: 100%; max-width: 300px; border-radius: 34px 34px 0 0; padding: 10px 10px 0;
         background: #0a120c; box-shadow: inset 0 0 0 1.5px #2c3a2f;
         -webkit-mask-image: linear-gradient(#000 70%, transparent 98%); mask-image: linear-gradient(#000 70%, transparent 98%); }
.phone img { border-radius: 25px 25px 0 0; width: 100%; height: auto;
             user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }
.karte { width: 100%; max-width: 340px; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45); }
.karte img { width: 100%; height: auto; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }

.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; align-self: end; }
.hero-phones .phone:first-child { position: absolute; left: 4%; bottom: 0; max-width: 250px; transform: rotate(-6deg); opacity: .85; }
.hero-phones .phone:last-child { position: relative; margin-left: 30%; max-width: 290px; transform: rotate(3deg); }

/* Abschnitte */
.section { padding-block: 88px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2, .band h2 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; display: block; }

/* Zeilen mit Screenshot */
.zeige { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zeige + .zeige { margin-top: 96px; }
.zeige.rechts .zeige-bild { order: 2; }
.zeige-bild { display: flex; justify-content: center; align-items: flex-end; min-height: 380px;
              background: linear-gradient(160deg, var(--bild-a), var(--bild-b)); border-radius: 28px; padding: 40px 24px 0; overflow: hidden; }
.zeige-bild.mitte { padding-bottom: 40px; align-items: center; }
.zeige h3 { font-size: clamp(2rem, 4vw, 2.8rem); }
.zeige p { margin-top: 14px; color: var(--muted); max-width: 42ch; }
.zeige ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.zeige li { padding-left: 26px; position: relative; }
.zeige li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--flag); }

/* Funktionen */
.band { background: var(--green-mid); color: var(--on-dark); }
.band .section-head p { color: var(--on-dark-muted); }
.band .eyebrow { color: var(--green-accent); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; }
.features div { border-top: 2px solid rgba(168, 213, 162, .35); padding-top: 16px; }
.features h3 { font-size: 1.4rem; line-height: 1.05; color: #fff; }
.features p { margin-top: 8px; color: var(--on-dark-muted); font-size: 1rem; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: "Loch " counter(s); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.steps b { font: 700 1.6rem/1 var(--f-display); text-transform: uppercase; }
.steps p { color: var(--muted); font-size: 1rem; }

/* Basis und Pro */
.plaene { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.plan h3 { font-size: 2.2rem; }
.plan .preis { font-weight: 700; color: var(--green); }
.plan ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.plan.pro { background: var(--green-mid); color: var(--on-dark); border-color: var(--green-mid); }
.plan.pro .preis { color: var(--green-accent); }
.plan.pro ul { color: var(--on-dark-muted); }

/* Vertrauen */
.vertrauen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vertrauen div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.vertrauen b { display: block; font-size: 1.05rem; line-height: 1.3; }
.vertrauen span { display: block; margin-top: 4px; color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* Fragen */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding-block: 14px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 700; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* Schluss */
.schluss { text-align: center; display: grid; justify-items: center; gap: 18px; }
.schluss h2 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.schluss h2 em { font-style: normal; color: var(--green-accent); }
.schluss p { color: var(--on-dark-muted); max-width: 46ch; }

footer { padding-block: 28px max(40px, env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .9rem; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }

/* Rechtstexte */
.legal-top { background: var(--green-mid); }
.legal { max-width: 70ch; padding-block: 32px 64px; display: grid; gap: 12px; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 3.4rem); margin-bottom: 6px; }
.legal h2 { font-family: var(--f-body); text-transform: none; font-size: 1.2rem; font-weight: 700; line-height: 1.3; margin-top: 20px; }
.legal h3 { font-family: var(--f-body); text-transform: none; font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin-top: 8px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 8px; padding-top: 16px; }
  .hero-text { padding-bottom: 8px; }
  .hero-phones { min-height: 440px; }
  .hero-phones .phone:first-child { left: 2%; max-width: 210px; }
  .hero-phones .phone:last-child { max-width: 250px; margin-left: 34%; }
  .zeige { grid-template-columns: 1fr; gap: 28px; }
  .zeige.rechts .zeige-bild { order: 0; }
  .zeige + .zeige { margin-top: 72px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .vertrauen { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .section { padding-block: 64px; }
  .steps, .plaene, .features, .vertrauen { grid-template-columns: 1fr; }
  .top .btn { display: none; }
  .kicker { font-size: .72rem; letter-spacing: .06em; }
  .hero-phones { min-height: 380px; }
  .hero-phones .phone:first-child { max-width: 180px; left: 0; }
  .hero-phones .phone:last-child { max-width: 220px; margin-left: 30%; }
  .zeige-bild { min-height: 0; padding: 28px 20px 0; }
  .zeige-bild.mitte { padding-bottom: 28px; }
  .cta .btn { flex: 1 1 100%; }
}
