/* CREWPIX – Webseite www.crewpix.de. Farben angelehnt an die App (Papier, Petrol, Abendrot).
   Schriften liegen in fonts/ (kein Abruf bei Google). */
@font-face { font-family: Sora; font-weight: 700; font-display: swap; src: url(/fonts/sora-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
  --bg: #F5F1EA; --surface: #FFFFFF; --text: #1B2433; --muted: #5C6472; --line: #DED7CA;
  --accent: #1F6F78; --accent-text: #1A5F67; --sun: #E8875B; --note: #FBEFE3;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141A24; --surface: #1D2431; --text: #F5F1EA; --muted: #A9B0BC; --line: #2E3747;
    --accent: #3A9AA4; --accent-text: #6CC3CC; --sun: #F0A07A; --note: #2A2420;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141A24; --surface: #1D2431; --text: #F5F1EA; --muted: #A9B0BC; --line: #2E3747;
  --accent: #3A9AA4; --accent-text: #6CC3CC; --sun: #F0A07A; --note: #2A2420;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
main, .top, footer { max-width: 960px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { padding-bottom: 64px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; }
.wort { font-family: Sora, Inter, sans-serif; font-weight: 700; letter-spacing: .28em; font-size: 18px; color: var(--text); text-decoration: none; }
.wort::after { content: ""; display: block; width: 28px; height: 2px; background: var(--accent); margin: 4px auto 0; }
.sprache { font-size: 14px; color: var(--muted); }
.sprache a { color: var(--muted); }

h1, h2, h3 { font-family: Sora, Inter, system-ui, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 7vw, 56px); margin: 0 0 16px; }
h2 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 4px; }
p, li { overflow-wrap: anywhere; }
a { color: var(--accent-text); }
.muted { color: var(--muted); }
.eyebrow { color: var(--accent-text); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; font-weight: 600; margin: 0 0 8px; }

.hero { display: grid; gap: 32px; align-items: center; padding: 48px 0 24px; }
.hero .lead { font-size: 20px; max-width: 34em; }
.hero-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 460px; }
.hero-shots img:last-child { margin-top: 40px; }
@media (min-width: 820px) { .hero { grid-template-columns: 1.1fr 1fr; padding-top: 72px; } .hero-shots { justify-self: end; } }

.badge { display: inline-block; font-size: 14px; font-weight: 600; background: var(--note); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; color: var(--text); }
.badge::before { content: "●"; color: var(--sun); margin-right: 8px; }

img.shot { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(27,36,51,.12); }

.block { padding: 56px 0 8px; border-top: 1px solid var(--line); margin-top: 48px; }
.duo { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } .duo.flip > :first-child { order: 2; } }
.duo .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 420px; }
.duo .shots.one { grid-template-columns: 1fr; max-width: 230px; }

.features { display: grid; gap: 14px; margin-top: 24px; padding: 0; list-style: none; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.wide { margin-top: 28px; }

.note { background: var(--note); border-left: 3px solid var(--sun); padding: 14px 18px; border-radius: 0 14px 14px 0; }

footer { padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent-text); }
