/* Beutel – öffentliche Website. Farben wie in der App (iOS-Blau/-Grün), Systemschrift (auf Apple-Geräten SF) */
:root {
  --text: #1C1C1E;
  --text-2: #5F5F66;
  --bg: #FAFAFC;
  --bg-card: #FFFFFF;
  --bg-soft: #F2F2F7;
  --border: #E5E5EA;
  --accent: #007AFF;
  --green: #34C759;
  --grad-soft: linear-gradient(180deg, #EEF4FF 0%, #FAFAFC 100%);
  --radius: 20px;
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 6vw, 48px); font-weight: 700; margin: 0 0 16px; }
h2 { font-size: clamp(26px, 4vw, 32px); font-weight: 600; margin: 48px 0 12px; }
h3 { font-size: 20px; margin: 0 0 6px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Kopf */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px var(--border); }
.site-nav { display: flex; gap: 18px; margin-left: auto; font-size: 15px; }
.site-nav a { color: var(--text-2); text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-inner .btn-small { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.25);
}
.btn:hover { filter: brightness(1.06); }
.btn-small { padding: 8px 16px; font-size: 15px; box-shadow: none; }
.btn-ghost { background: none; color: var(--accent); box-shadow: none; padding-left: 8px; }

/* Startbereich */
.hero { background: var(--grad-soft); padding: 72px 0 64px; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--text-2); max-width: 640px; margin: 0 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.hero .note { font-size: 14px; color: var(--text-2); margin-top: 16px; }
.page-hero { background: var(--grad-soft); padding: 56px 0 40px; }
.page-hero p { font-size: 19px; color: var(--text-2); margin: 0; max-width: 680px; }

/* Abschnitte */
section { padding: 8px 0 24px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; }
.card .icon { font-size: 28px; line-height: 1; margin-bottom: 10px; }
.card p { margin: 0; color: var(--text-2); font-size: 16px; }
.card a.more { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; text-decoration: none; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

.prose { padding-bottom: 32px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .updated { color: var(--text-2); font-size: 15px; }

.callout { background: var(--grad-soft); border-radius: var(--radius); padding: 28px; margin: 40px 0; }
.callout h2 { margin-top: 0; }
.callout p { margin: 0 0 18px; }

.chat { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; margin: 20px 0; }
.chat .msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 16px; }
.chat .me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chat .ai { justify-self: start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; }

/* Fragen */
.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--text-2); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 10px 0 0; color: var(--text-2); }

/* Fuß */
.site-footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 28px 0 40px; font-size: 15px; color: var(--text-2); }
.footer-links a { color: var(--text-2); }

/* App-Screenshots im iPhone-Rahmen (Bild im Format 393 × 852 mit Statusleiste) */
.shot { margin: 0; flex: none; }
.phone {
  width: 260px; max-width: 100%; margin: 0 auto;
  border-radius: 17% / 7.8%; padding: 3.4%; background: #1C1C1E;
  box-shadow: 0 30px 60px rgba(30, 40, 80, 0.20), 0 6px 16px rgba(0, 0, 0, 0.12), inset 0 0 0 1.5px #3A3A3C;
}
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 393 / 852; border-radius: 14% / 6.5%; background: #fff; }
.shot figcaption { color: var(--text-2); font-size: 15px; text-align: center; margin-top: 16px; }

/* Kopfbereich mit Bild: Text links, Handy rechts (auf dem Handy darunter) */
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-grid .phone { width: 240px; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr auto; gap: 56px; }
  .hero-grid .phone { width: 280px; }
  .page-hero .hero-grid .phone { width: 250px; }
}

/* Bild neben dem Text in Unterseiten */
.shot.float .phone { width: 220px; }
.shot.float { margin: 8px 0 24px; }
@media (min-width: 760px) {
  .shot.float { float: right; margin: 6px 0 24px 32px; }
}

/* Galerie auf der Startseite */
.gallery { display: flex; gap: 32px; justify-content: center; margin-top: 32px; }
.gallery .phone { width: 230px; }
@media (max-width: 860px) {
  .gallery { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 28px; margin: 24px -20px 0; }
  .gallery .shot { scroll-snap-align: center; }
  .gallery .phone { width: 210px; }
}

/* Startseite */
.block { padding: 64px 0; }
@media (min-width: 860px) { .block { padding: 100px 0; } }
.block > .wrap > h2:first-child, .block h2.center { margin-top: 0; }
.center { text-align: center; }
.hero { padding: 64px 0 72px; }
.hero .summary { font-size: 15px; color: var(--text-2); max-width: 600px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }
.hero .summary strong { color: var(--text); }

.story { background: var(--bg-card); }
.story blockquote { margin: 28px 0 0; padding: 0 0 0 24px; border-left: 4px solid var(--accent); font-size: 19px; }
.story blockquote p { margin: 0 0 16px; }
.story blockquote footer { color: var(--text-2); font-size: 16px; }

.feature { display: grid; gap: 32px; align-items: center; margin-top: 72px; }
.feature .phone { width: 250px; }
.feature-text p { color: var(--text-2); margin: 8px 0 0; }
.feature-text h3 { font-size: clamp(22px, 3vw, 26px); }
.feature a.more, a.more { display: inline-block; margin-top: 12px; font-size: 16px; font-weight: 600; text-decoration: none; }
.feature .chat { max-width: 420px; width: 100%; margin: 0 auto; background: var(--bg-card); box-shadow: 0 20px 50px rgba(30, 40, 80, 0.10); }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 100px; }
  .feature.reverse .feature-text { order: 2; }
  .feature-text { max-width: 460px; justify-self: center; }
  .feature .phone { width: 280px; }
}
.feature-wide { grid-template-columns: 1fr !important; text-align: center; }
.feature-wide .feature-text { max-width: 640px; margin: 0 auto; }

.tiles-title { text-align: center; font-size: 24px; margin: 100px 0 24px; }
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .tiles { grid-template-columns: 1fr 1fr 1fr; } }
.tile { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px;
  display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; align-items: baseline; }
.tile .icon { font-size: 22px; line-height: 1; grid-row: span 2; }
.tile h4 { margin: 0 0 4px; font-size: 17px; }
.tile p { margin: 0; font-size: 16px; color: var(--text-2); }

.install { background: var(--bg-card); }
.install .intro { max-width: 680px; margin: 0 auto 36px; color: var(--text-2); }
.install-grid { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
@media (min-width: 760px) { .install-grid { grid-template-columns: 1fr 1fr; } }
.install-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; }
.install-card ol { margin: 12px 0 0; padding-left: 22px; }
.install-card li { margin: 8px 0; }
.install .note { font-size: 16px; color: var(--text-2); margin-top: 24px; }

.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { position: relative; padding-left: 30px; margin: 8px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
