:root {
  color-scheme: light dark;
  --bg: #fbf6ec; --bg2: #fff; --text: #1e2433; --muted: #5d6474;
  --line: rgba(30, 36, 51, .1); --glass: rgba(255, 255, 255, .72);
  --sun: #ff9a1f; --sky: #2f6fe0; --leaf: #2f9e44; --spec: rgba(255, 255, 255, .85);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10131c; --bg2: #1a1f2c; --text: #f4f1ea; --muted: #a9afbf;
    --line: rgba(255, 255, 255, .12); --glass: rgba(26, 31, 44, .72); --spec: rgba(255, 255, 255, .14);
  }
}
:root[data-theme="dark"] {
  --bg: #10131c; --bg2: #1a1f2c; --text: #f4f1ea; --muted: #a9afbf;
  --line: rgba(255, 255, 255, .12); --glass: rgba(26, 31, 44, .72); --spec: rgba(255, 255, 255, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 clamp(1rem, .96rem + .2vw, 1.125rem)/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sky); }
.wrap { width: min(1120px, 100% - 2rem - env(safe-area-inset-left) - env(safe-area-inset-right)); margin-inline: auto; }

.nav {
  position: sticky; top: 0; z-index: 10; background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; color: inherit; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav nav { display: flex; align-items: center; gap: .25rem; }
.nav nav a { color: inherit; text-decoration: none; padding: .55rem .7rem; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.nav nav a:hover { background: var(--line); }
.chip {
  font: inherit; font-weight: 700; font-size: .9rem; color: inherit; background: none; cursor: pointer;
  min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px;
}
.chip:hover { background: var(--line); }

.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem); }
.hero .wrap { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; }
.eyebrow { font-weight: 700; color: var(--sun); letter-spacing: .02em; margin: 0 0 .6rem; }
h1 { font: 800 clamp(2.6rem, 1.6rem + 5.2vw, 5.2rem)/1.02 -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", sans-serif; letter-spacing: -.02em; margin: 0 0 1.1rem; overflow-wrap: anywhere; }
h2 { font: 800 clamp(1.8rem, 1.2rem + 2.6vw, 3rem)/1.08 -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; letter-spacing: -.015em; margin: 0 0 .8rem; }
h3 { font-size: 1.2rem; line-height: 1.25; margin: 0 0 .4rem; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--muted); margin: 0 0 1.6rem; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .7rem 1.4rem;
  background: var(--leaf); color: #fff; font-weight: 800; border-radius: 16px; text-decoration: none;
  border: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.97); }
.btn.soon { background: var(--bg2); color: var(--text); border-color: var(--line); box-shadow: none; }
.note { color: var(--muted); font-size: .95rem; margin: .9rem 0 0; }
.phone { margin: 0 auto; width: min(320px, 74vw); border-radius: 34px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -28px rgba(20, 30, 60, .55); }

section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.intro { max-width: 40em; margin-bottom: 1.8rem; color: var(--muted); }
.bento { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card {
  container-type: inline-size; background: var(--bg2); border: 1px solid var(--line); border-top-color: var(--spec);
  border-radius: 24px; padding: 1.4rem;
}
.card p { margin: 0; color: var(--muted); }
.card.num strong { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; font-weight: 800; color: var(--sun); margin-bottom: .45rem; }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(250px, 66vw); gap: 1rem; overflow-x: auto; padding: .25rem .25rem 1rem; scroll-snap-type: x proximity; }
.shots img { border-radius: 24px; border: 1px solid var(--line); scroll-snap-align: center; }

.price { background: linear-gradient(135deg, #2f6fe0, #ff9a1f); color: #fff; border-radius: 28px; padding: clamp(1.6rem, 5vw, 3rem); }
.price p { color: rgba(255, 255, 255, .92); margin: 0 0 .6rem; max-width: 38em; }

details { background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: .9rem 1.2rem; margin-bottom: .7rem; }
summary { font-weight: 700; cursor: pointer; min-height: 28px; }
details p { color: var(--muted); margin: .6rem 0 0; }

.legal { padding: clamp(2rem, 5vw, 3.5rem) 0; max-width: 46em; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal .stand { color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 1.8rem 0 calc(2.2rem + env(safe-area-inset-bottom)); color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between; }
footer a { color: inherit; }

/* Im aufgeklappten Duo und anderen Falt-Geräten bleibt nichts in der Falz hängen. */
@media (horizontal-viewport-segments: 2) {
  .hero .wrap { grid-template-columns: env(viewport-segment-width 0 0) env(viewport-segment-width 1 0); gap: 0; }
  .hero .wrap > * { padding-inline: 1.25rem; }
}
html[lang="de"] .en, html[lang="en"] .de { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

.devpill { position: fixed; right: 12px; bottom: 12px; z-index: 50; display: none; gap: 6px; flex-wrap: wrap; max-width: 92vw; padding: 8px; border-radius: 16px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--line); font-size: 13px; }
.devpill button { font: inherit; padding: 6px 9px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); cursor: pointer; }
html.dev .devpill { display: flex; }
html.hinge body::after { content: ""; position: fixed; inset: 0 auto 0 50%; width: 6px; margin-left: -3px; background: rgba(0, 0, 0, .55); z-index: 40; }
html.narrow body { max-width: 390px; margin-inline: auto; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .4); }
html.fold body { max-width: 800px; margin-inline: auto; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .4); }
