/* Öffentliche Angebotswebseite */

/* ---------- Kopf ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 236, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand-logo { height: 40px; width: auto; }
/* Zusatz bündig unter dem Schriftzug (Glocke nimmt ca. 18 % der Logobreite ein) */
.brand-sub { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; padding-left: 18.6%; white-space: nowrap; }
.site-nav { display: flex; gap: 6px; }
.site-nav a { padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 500; color: var(--ink); }
.site-nav a:hover, .site-nav a[aria-current] { background: rgba(18, 52, 59, .07); color: var(--ink); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background .2s ease; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.mobile-nav[open] .burger { background: transparent; }
.mobile-nav[open] .burger::before { transform: translateY(7px) rotate(45deg); }
.mobile-nav[open] .burger::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav-panel { position: fixed; left: 12px; right: 12px; top: 80px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; display: grid; gap: 4px; border: 1px solid var(--line); }
.mobile-nav-panel a:not(.btn) { padding: 14px 16px; text-decoration: none; font-weight: 600; font-size: 1.1rem; border-radius: 10px; }
.mobile-nav-panel a:not(.btn):hover { background: rgba(18, 52, 59, .06); }
.mobile-nav-panel .btn { margin-top: 8px; }

@media (max-width: 920px) {
  .site-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .site-header-inner { min-height: 68px; }
  .brand-logo { height: 32px; }
  .brand-sub { font-size: .52rem; letter-spacing: .16em; }
}

/* ---------- Abschnitte ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.narrow .wrap { max-width: 760px; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy .display { margin-bottom: .35em; }
.hero-copy .lead { max-width: 30em; margin-bottom: 1.8em; }
.hero-media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 990 / 772; background: #e9dfcd; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }
.rule-label { display: flex; align-items: center; gap: 22px; margin: clamp(40px, 6vw, 72px) 0 0; color: var(--muted); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.rule-label::before, .rule-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 4 / 3; border-radius: 18px; }
  .hero-copy .btn-row .btn { flex: 1 1 220px; }
  .rule-label { font-size: .68rem; gap: 12px; letter-spacing: .14em; }
}

/* ---------- Leistungen ---------- */
.leistungen { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 34px); margin-top: clamp(32px, 5vw, 56px); }
.leistung img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.leistung:hover img { transform: translateY(-4px); }
.leistung h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 650; letter-spacing: -.01em; }
.leistung p { color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .leistungen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .leistungen { grid-template-columns: 1fr; gap: 36px; }
  .leistung img { aspect-ratio: 16 / 10; }
}

/* ---------- Ablauf ---------- */
.ablauf { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ablauf-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ablauf-media { margin: 0; border-radius: 20px; overflow: hidden; }
.ablauf-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; position: relative; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; position: relative; padding-bottom: 28px; }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 23px; top: 50px; bottom: 4px; width: 2px; background: var(--line); }
.steps h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 8px 0 4px; }
.steps p { color: var(--muted); margin: 0; }
.step-num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--sage-ink); font-weight: 700; font-size: 1.1rem; }
@media (max-width: 860px) { .ablauf-grid { grid-template-columns: 1fr; } }

/* ---------- Angebote ---------- */
.angebote-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.angebot { padding: 28px 28px 8px 0; display: flex; flex-direction: column; }
.angebot + .angebot { padding-left: 28px; border-left: 1px solid var(--line); }
.angebot h3 { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: .2em; }
.angebot-for { color: var(--muted); min-height: 3.2em; }
.angebot ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.angebot li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; }
.angebot li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 1000px) {
  .angebote-list { grid-template-columns: repeat(2, 1fr); }
  .angebot:nth-child(3) { padding-left: 0; border-left: 0; }
  .angebot:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .angebote-list { grid-template-columns: 1fr; }
  .angebot, .angebot + .angebot { padding: 26px 0 6px; border-left: 0; }
  .angebot + .angebot { border-top: 1px solid var(--line); }
  .angebot-for { min-height: 0; }
}

/* ---------- Brauereien ---------- */
.brauereien { background: var(--ink); color: #e9efe9; position: relative; overflow: hidden; }
.brauereien::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(221, 227, 200, .12), transparent 70%); pointer-events: none; }
.brauereien h2, .brauereien .eyebrow { color: #fff; }
.brauereien .eyebrow { color: var(--sage); }
.brauereien .lead { color: #d6e0dc; }
.brauereien-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.nutzen { list-style: none; padding: 0; margin: 0; }
.nutzen li { padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #d6e0dc; }
.nutzen li:first-child { padding-top: 0; }
.nutzen strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; }
.brauereien-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
@media (max-width: 860px) { .brauereien-grid { grid-template-columns: 1fr; } .brauereien-cta .btn { flex: 1 1 260px; } }

/* ---------- CTA-Band ---------- */
.cta-band { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--ink); color: #dfe8e5; border-radius: 20px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 56px); }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; }
.sketch { width: 200px; color: #9fb7b2; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; text-align: left; }
  .sketch { width: 150px; }
  .cta-band .btn { width: 100%; }
}

/* ---------- Formularseite ---------- */
.form-section { padding-top: clamp(36px, 6vw, 80px); }
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.form-intro { position: sticky; top: 110px; }
.card-form { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } .form-intro { position: static; } }

.message-page .btn-row { margin-top: 1.6em; }

/* ---------- Rechtliches ---------- */
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.draft-banner { background: var(--error-bg); color: #6e1a12; border: 2px dashed #d98b7e; border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 28px; }

/* ---------- Demo ---------- */
.demo-hero { padding-bottom: 0; }
.demo-hero .lead { max-width: 40em; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.demo-step { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.demo-step p { color: var(--muted); flex: 1; }
.demo-step .step-num { margin-bottom: 10px; }
.demo-step .btn { margin-top: 8px; }
.demo-qr { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 12px; padding: 12px; border: 1px solid var(--line); margin-bottom: 8px; }
.demo-qr svg { width: 120px; height: 120px; flex: 0 0 auto; }
.demo-qr p { margin: 0; }
.demo-reset { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.demo-reset p { margin: 0; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } .demo-step .btn { width: 100%; } }
@media (max-width: 560px) { .demo-qr { display: none; } }

/* ---------- Fuß ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.site-footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.footer-logo { height: 30px; width: auto; }
.footer-note { color: var(--muted); font-size: .88rem; margin: 4px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 0; }
