/* StallBuddy – Website. Schriften lokal (keine externen Server). */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green: #14301f;
  --green-2: #1e4531;
  --green-3: #2c5a40;
  --cream: #fbf8f1;
  --cream-2: #f3ecdc;
  --paper: #ffffff;
  --gold: #c9a15b;
  --gold-ink: #8a6a2e; /* Gold für Text auf hellem Grund (Kontrast) */
  --ink: #212b23;
  --sub: #5d6b61;
  --line: #e6dece;
  --ok: #5b8c6e;
  --amber: #c6923a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 48, 31, .06), 0 8px 24px rgba(20, 48, 31, .07);
  --wrap: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--green); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-variation-settings: "opsz" 144, "SOFT" 30; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 650; letter-spacing: -.005em; color: var(--ink); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .9rem; }
.lead { font-size: 1.15rem; color: var(--sub); max-width: 36em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(251, 248, 241, .92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-family: var(--serif); font-weight: 650; font-size: 1.35rem; }
.brand img { width: 38px; height: 38px; }
.brand span b { color: var(--gold-ink); font-weight: 650; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--ink); }
.nav-links a:hover { color: var(--green); text-decoration: underline; }

.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(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-2); color: #fff; }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: #d8b475; color: var(--green); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--green-3); font-weight: 500; }
.hero .lead { margin-bottom: 1.8em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--sub); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 6px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #efe3c6 0%, rgba(239, 227, 198, 0) 68%); top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Handy-Mockup (reines HTML, keine Screenshots) */
.phone { position: relative; width: 300px; border-radius: 42px; background: #0f1f15; padding: 11px; box-shadow: 0 30px 60px -20px rgba(20, 48, 31, .45), 0 0 0 1px rgba(0,0,0,.2); }
.phone-screen { border-radius: 32px; overflow: hidden; background: var(--cream); font-size: 12px; line-height: 1.4; }
.ph-top { background: var(--green); color: var(--cream); padding: 30px 16px 12px; text-align: center; font-weight: 600; font-size: 13px; }
.ph-body { padding: 12px 12px 10px; }
.ph-hof { text-align: center; margin: 4px 0 12px; }
.ph-hof b { display: block; font-family: var(--serif); color: var(--green); font-size: 15px; }
.ph-hof small { letter-spacing: .18em; color: var(--gold-ink); font-size: 9px; font-weight: 700; }
.ph-label { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: var(--sub); text-transform: uppercase; margin: 12px 2px 6px; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.ph-av { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 12px; }
.ph-card .t { flex: 1; min-width: 0; }
.ph-card .t b { display: block; font-size: 12px; }
.ph-card .t span { color: var(--sub); font-size: 10.5px; }
.ph-card .d { text-align: right; color: var(--gold-ink); font-weight: 650; font-size: 10px; }
.ph-hint { background: #fbf1dc; border: 1px solid #e7cf9e; color: #6d5320; border-radius: 10px; padding: 8px 10px; font-size: 10.5px; }
.ph-nav { display: flex; justify-content: space-around; background: var(--green); color: #a9bdb0; padding: 10px 6px 16px; font-size: 9px; }
.ph-nav span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ph-nav span.on { color: var(--gold); }
.ph-nav i { width: 16px; height: 16px; border: 1.6px solid currentColor; border-radius: 5px; display: block; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.float-card .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e6f0e9; color: var(--ok); font-weight: 800; }
.float-card small { display: block; color: var(--sub); font-size: 11.5px; }
.float-1 { right: -6px; top: 70px; }
.float-2 { left: -18px; bottom: 90px; }

/* Abschnitte */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain div { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; }
.pain b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--green); font-weight: 600; margin-bottom: 4px; }
.pain p { color: var(--sub); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.band .feature { background: var(--cream); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--sub); margin: 0; font-size: .98rem; }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role { border-radius: var(--radius-lg); padding: 28px; background: var(--cream-2); }
.role.main { background: var(--green); color: #d9e3dc; }
.role.main h3 { color: var(--cream); }
.role .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.role.main .tag { color: var(--gold); }
.role ul { margin: 12px 0 0; padding: 0; list-style: none; }
.role li { padding-left: 22px; position: relative; margin-bottom: 7px; font-size: .97rem; }
.role li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--green); font: 600 1.2rem/40px var(--serif); text-align: center; }
.step p { color: var(--sub); }

/* Preise */
.billing { display: inline-flex; background: var(--cream-2); border-radius: 999px; padding: 4px; margin-bottom: 28px; }
.billing button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 .92rem var(--sans); color: var(--sub); cursor: pointer; min-height: 40px; }
.billing button[aria-pressed="true"] { background: var(--green); color: var(--cream); }
.billing small { color: var(--gold); font-weight: 700; }
.billing button[aria-pressed="false"] small { color: var(--gold-ink); }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.price.pop { border: 2px solid var(--gold); position: relative; }
.price.pop::after { content: "Beliebt"; position: absolute; top: -12px; left: 22px; background: var(--gold); color: var(--green); font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.price h3 { margin-bottom: 2px; }
.price .limit { color: var(--sub); font-size: .95rem; }
.price .amount { font-family: var(--serif); font-size: 2.3rem; color: var(--green); font-weight: 600; margin: 18px 0 0; line-height: 1; }
.price .per { color: var(--sub); font-size: .88rem; margin-bottom: 4px; }
.price .alt { font-size: .85rem; color: var(--gold-ink); min-height: 1.4em; }
.price-note { margin-top: 22px; color: var(--sub); font-size: .93rem; }
.all-in { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; }
.all-in span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 7px; }

/* CTA-Band */
.cta-band { background: var(--green); color: #d6e0d9; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--cream); }
.cta-band .eyebrow { color: var(--gold); }
.cta-band ul { margin: 0; padding: 0; list-style: none; }
.cta-band li { margin-bottom: 8px; padding-left: 26px; position: relative; }
.cta-band li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.cta-side { text-align: center; }
.cta-side img { width: 120px; margin: 0 auto 18px; opacity: .95; }
.cta-side small { display: block; margin-top: 12px; color: #a9bdb0; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--serif); color: var(--gold-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--sub); padding-right: 40px; }

/* Footer */
.site-footer { background: var(--green); color: #a9bdb0; padding: 52px 0 32px; margin-top: 84px; font-size: .94rem; }
.site-footer a { color: #d6e0d9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: var(--cream); margin-bottom: 10px; }
.site-footer .brand span b { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.foot-h { color: var(--cream); font-weight: 650; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; }

/* Rechtstexte / Unterseiten */
.page { padding: 56px 0 24px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; }
.prose p, .prose li { color: #37433a; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.draft { background: #fbf1dc; border: 1px solid #e7cf9e; color: #5e4618; border-radius: var(--radius); padding: 14px 18px; margin: 0 0 28px; font-size: .95rem; }
.ph { background: #fff3c4; padding: 0 4px; border-radius: 4px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin: 28px 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 12px; }
  .features, .roles { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta-side { text-align: left; }
  .cta-side img { display: none; }
}
@media (max-width: 760px) {
  .nav-links li:not(:last-child) { display: none; }
  .pain, .features, .roles, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 32px 0 56px; }
  .float-1 { right: -4px; top: 40px; }
  .float-2 { left: -4px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .prices { grid-template-columns: 1fr; }
  .phone { width: 272px; }
  .float-card { display: none; }
  .brand span { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Hilfsklassen (statt Inline-Styles, wegen CSP) */
.av1 { background: #8a6a2e; } .av2 { background: #2c5a40; } .av3 { background: #5b8c6e; }
.float-card .dot-gold { background: #fbf1dc; color: var(--gold-ink); }
.more { margin-top: 28px; }
.mt0 { margin-top: 0 !important; } .mb0 { margin-bottom: 0; }

/* Hofgemeinschaft */
.comm-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.comm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.comm-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.comm-list b { display: block; color: var(--green); margin-bottom: 2px; }
.comm-list span { color: var(--sub); font-size: .96rem; }
.hint-small { font-size: .88rem; color: var(--sub); margin-top: 12px; }
.nav-links a.btn-primary { color: var(--cream); text-decoration: none; }
.nav-links a.btn-primary:hover { color: #fff; }
@media (max-width: 960px) { .comm-grid { grid-template-columns: 1fr; gap: 28px; } }
