/* Copyright © 2026 Daniel Lehr. Alle Rechte vorbehalten. */
:root {
  --bg: #f7f5f0; --surface: #ffffff; --ink: #1c1d24; --muted: #5e6170; --line: #e3dfd6;
  --brand: #1f2340; --brand-ink: #ffffff; --accent: #c98a12; --link: #3446c4;
  --app: #f5b942; --app-deep: #272154; --radius: 18px;
  --shadow: 0 1px 2px rgba(20,20,40,.06), 0 8px 24px rgba(20,20,40,.07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111218; --surface: #1a1c25; --ink: #eceef4; --muted: #a2a6b6; --line: #2b2e3b;
    --brand: #f5b942; --brand-ink: #1c1d24; --accent: #f5b942; --link: #9fb0ff;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 124px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .2em 0 .35em; font-weight: 800; }
h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .2em; }
a { color: var(--link); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }


.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand);
  color: var(--brand-ink); font-size: 14px; font-weight: 800; letter-spacing: .02em; }
nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 15px; }
nav a:hover { color: var(--ink); background: var(--line); }
.lang { text-decoration: none; display: inline-block; font: inherit; font-size: 14px; color: var(--ink); background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; margin-left: 6px; cursor: pointer; }

.hero { padding-top: 64px; padding-bottom: 8px; }
.kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.promise { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.promise li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; }
.promise strong { font-size: 1.02rem; }
.promise span { color: var(--muted); font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); text-decoration: none;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--app); }
.card:hover { transform: translateY(-2px); }
.appicon { display: block; flex: none; width: 88px; aspect-ratio: 1 / 1; border-radius: 22%; overflow: hidden;
  background: color-mix(in srgb, var(--app) 30%, var(--line)); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.appicon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.appicon.big { width: 140px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.card p { margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--app, var(--accent)) 22%, transparent); color: var(--ink); }

.support { margin-bottom: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none;
  font-weight: 600; padding: 10px 20px; border-radius: 12px;
  background: var(--brand); color: var(--brand-ink); margin: 4px 8px 4px 0; }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* App-Seiten */
.apphero { background: radial-gradient(120% 140% at 20% 0%, color-mix(in srgb, var(--app-deep) 70%, #fff 10%), var(--app-deep));
  color: #fff; padding: 48px 0 40px; }
.apphero .wrap { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.apphero h1 { margin: 0 0 .15em; }
.apphero .lead { color: rgba(255,255,255,.85); margin: 0 0 12px; }
.apphero .pill { background: var(--app); color: #1c1d24; }
.twocol { display: grid; grid-template-columns: 1fr 300px; gap: 32px; margin-top: 32px; align-items: start; }
.twocol p:first-child { font-size: 1.1rem; }
.sub { color: var(--muted); font-size: 15px; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px 12px; }
.facts h2 { font-size: 1.05rem; margin: 1em 0 .4em; }
.facts ul { margin: 0; padding-left: 1.1em; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 16px; }
.shot { margin: 0; aspect-ratio: 1179 / 2556; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot.skeleton { background: linear-gradient(110deg, var(--surface) 30%, color-mix(in srgb, var(--app) 18%, var(--surface)) 50%, var(--surface) 70%);
  background-size: 250% 100%; animation: shimmer 2.4s ease-in-out infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: .6em 0 .2em; color: var(--muted); }

.prose { max-width: 760px; padding-top: 40px; padding-bottom: 24px; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.prose h2 { font-size: 1.2rem; margin-top: 1.8em; }

.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; font-size: 14px; }
.foot p { margin: 0; }

@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .twocol { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .shot { border-radius: 16px; }
  .actions .button { width: 100%; margin-right: 0; }
  .hero { padding-top: 40px; }
  .appicon.big { width: 104px; }
  nav a { padding: 6px 7px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .shot.skeleton { animation: none; } }

/* Färbeln: Wirtshaus-Look mit Holz und Pergament */
.faerbeln {
  --bg: #f2e8d2; --surface: #fbf5e6; --ink: #3a2717; --muted: #6e5843; --line: #dfcda8;
  --brand: #9b2d20; --brand-ink: #fff8ea; --accent: #a8792a; --link: #9b2d20;
  --shadow: 0 1px 2px rgba(60,35,15,.08), 0 8px 24px rgba(60,35,15,.12);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  .faerbeln {
    --bg: #1c140d; --surface: #2a1e14; --ink: #f1e5cc; --muted: #c2ad8c; --line: #45331f;
    --brand: #c9a24a; --brand-ink: #2a1a0c; --accent: #d9b45e; --link: #e2bd6b;
  }
}
.faerbeln .apphero { background: linear-gradient(rgba(30,16,6,.35), rgba(30,16,6,.6)), url("/img/faerbeln-holz.webp") center / cover, #5a3a20;
  box-shadow: inset 0 0 120px rgba(20,10,2,.65); }
.faerbeln .apphero h1 { color: #fff3dc; text-shadow: 0 2px 6px rgba(0,0,0,.45); }
.faerbeln .apphero .lead { color: #f3e3c3; }
.faerbeln .apphero .pill { background: linear-gradient(#e9c97a, #c9a24a); color: #3a2717; }
.faerbeln .appicon.big { border: 3px solid #c9a24a; }
.faerbeln .facts, .faerbeln .faq details { background-image: linear-gradient(160deg, rgba(255,255,255,.35), transparent 60%); }
.faerbeln .facts { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.faerbeln .button { border-radius: 10px; }
.shots.wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.shots.wide .shot { aspect-ratio: 2868 / 1320; border-radius: 14px; }
@media (max-width: 768px) { .shots.wide { grid-template-columns: 1fr; } }
