/* ============================================================
   Offrendo – Design System
   Lebendig, modern, ohne externe Fonts/Frameworks.
   ============================================================ */
:root {
  --ink: #16143f;
  --ink-soft: #4b4a6b;
  --muted: #8a89a3;
  --bg: #f7f7fd;
  --card: #ffffff;
  --line: #e7e6f4;
  --primary: #5b5bf7;
  --primary-deep: #4340d8;
  --violet: #9b46f5;
  --coral: #ff6b5e;
  --amber: #ffb020;
  --mint: #19c894;
  --grad: linear-gradient(120deg, #5b5bf7 0%, #9b46f5 60%, #c86df3 100%);
  --grad-warm: linear-gradient(120deg, #ff6b5e, #ffb020);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px -18px rgba(22, 20, 63, 0.25);
  --shadow-lg: 0 24px 70px -24px rgba(22, 20, 63, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }

h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
h1 em, h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 0.98rem var(--font); text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -10px rgba(91, 91, 247, 0.65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(91, 91, 247, 0.75); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-deep); transform: translateY(-1px); }
.btn-warm { background: var(--grad-warm); color: #fff; box-shadow: 0 8px 24px -10px rgba(255, 107, 94, 0.6); }
.btn-warm:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.08rem; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 247, 253, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; }
.main-nav { display: flex; gap: 22px; margin-right: auto; }
.main-nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--primary-deep); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { display: flex; gap: 2px; background: var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); }
.lang-switch a.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(22,20,63,0.12); }
.lang-switch a:hover { text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; animation: float 14s ease-in-out infinite alternate; }
.blob-1 { width: 480px; height: 480px; background: #c9c9ff; top: -180px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #ffd9d3; bottom: -160px; left: -120px; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; background: #d9c3ff; top: 30%; left: 42%; opacity: 0.35; animation-delay: -9s; }
@keyframes float { from { transform: translate(0, 0) scale(1); } to { transform: translate(36px, -28px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 0.85rem; font-weight: 700; color: var(--primary-deep);
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(25, 200, 148, 0.5); } 50% { box-shadow: 0 0 0 7px rgba(25, 200, 148, 0); } }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 18px 0 28px; max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }
.trust-row svg { width: 18px; height: 18px; color: var(--mint); flex: none; }

.hero-visual { position: relative; }
.hero-visual > svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(22, 20, 63, 0.18)); }

/* ---------- Suchfeld ---------- */
.searchbox { display: flex; background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); padding: 6px; margin: 26px 0 6px; max-width: 560px; position: relative; }
.searchbox input { flex: 1; border: 0; outline: 0; padding: 12px 20px; font: 500 1rem var(--font); background: none; border-radius: 999px; min-width: 0; }
.search-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 50; display: none; }
.search-suggest.open { display: block; }
.search-suggest button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 12px 18px; background: none; border: 0; cursor: pointer; font: 500 0.95rem var(--font); color: var(--ink); }
.search-suggest button:hover, .search-suggest button.active { background: var(--bg); }
.search-suggest .cat-icon { width: 26px; height: 26px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 12px; }

/* Kategorien-Grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; text-decoration: none !important;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card .cat-icon { width: 46px; height: 46px; }
.cat-card span { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.cat-icon { color: var(--primary); }
.cat-more { display: flex; justify-content: center; margin-top: 28px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card { background: var(--card); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); position: relative; }
.step-card::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px; background: var(--grad);
  color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px;
  box-shadow: 0 8px 20px -8px rgba(91, 91, 247, 0.7);
}
.step-card p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 8px; }

/* Regionen */
.region-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  text-decoration: none !important; transition: 0.15s;
}
.chip:hover { border-color: var(--primary); color: var(--primary-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.chip-active { background: var(--grad); color: #fff; border-color: transparent; }

/* Provider-CTA-Band */
.band {
  background: var(--ink); border-radius: 28px; color: #fff; overflow: hidden; position: relative;
  padding: 56px 48px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center;
}
.band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--grad); filter: blur(90px); opacity: 0.45; right: -120px; top: -120px; }
.band h2 { color: #fff; }
.band p { color: #c9c8e4; margin: 12px 0 24px; position: relative; z-index: 1; }
.band .btn { position: relative; z-index: 1; }
.band-visual { position: relative; z-index: 1; text-align: center; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq summary { padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; color: var(--ink-soft); }

/* ---------- Funnel ---------- */
.funnel-wrap { max-width: 680px; margin: 0 auto; padding: 48px 20px 90px; }
.funnel-progress { display: flex; gap: 6px; margin: 26px 0 34px; }
.funnel-progress .p-step { flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background 0.3s; }
.funnel-progress .p-step.done { background: var(--grad); }
.funnel-step { display: none; animation: fadeUp 0.35s ease; }
.funnel-step.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.funnel-q { font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.option-card {
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  padding: 18px 12px; cursor: pointer; text-align: center; font: 600 0.9rem var(--font);
  transition: 0.15s; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink);
}
.option-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.option-card.selected { border-color: var(--primary); background: #f2f2ff; box-shadow: 0 0 0 3px rgba(91, 91, 247, 0.15); }
.option-card .cat-icon { width: 34px; height: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips .chip { cursor: pointer; user-select: none; }
.funnel-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }
.funnel-done { text-align: center; padding: 40px 0; }
.funnel-done svg { width: 90px; height: 90px; margin-bottom: 22px; }

/* Forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; font: 500 1rem var(--font); background: #fff; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91, 91, 247, 0.15);
}
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 5px; }
.field-error { color: var(--coral); font-size: 0.85rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--coral); }
.field.invalid .field-error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-pills { display: flex; gap: 10px; }
.radio-pills label {
  flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px;
  text-align: center; cursor: pointer; font-weight: 600; font-size: 0.92rem; background: #fff;
}
.radio-pills input { display: none; }
.radio-pills input:checked + span { color: var(--primary-deep); }
.radio-pills label:has(input:checked) { border-color: var(--primary); background: #f2f2ff; }

/* ---------- SEO-Seiten (Kategorie/Ort) ---------- */
.page-hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.breadcrumbs { font-size: 0.83rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); }
.page-hero .lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 40em; margin: 16px 0 26px; }
.badge-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.badge-row span { display: inline-flex; gap: 8px; align-items: center; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.badge-row svg { width: 17px; height: 17px; color: var(--mint); }
.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 20px; }
.service-list li {
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 18px; font-weight: 600; font-size: 0.93rem; display: flex; gap: 10px; align-items: center;
}
.service-list svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.linklist { columns: 3; gap: 30px; }
.linklist a { display: block; padding: 5px 0; font-size: 0.92rem; color: var(--ink-soft); break-inside: avoid; }
.linklist a:hover { color: var(--primary-deep); }

/* ---------- Portal ---------- */
.portal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 34px; padding: 40px 0 80px; align-items: start; }
.portal-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 90px; }
.portal-nav a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px;
  color: var(--ink-soft); font-weight: 600; font-size: 0.93rem; text-decoration: none !important;
}
.portal-nav a.active, .portal-nav a:hover { background: var(--bg); color: var(--primary-deep); }
.portal-nav svg { width: 18px; height: 18px; }
.portal-nav .sep { border-top: 1px solid var(--line); margin: 10px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card + .card { margin-top: 20px; }
.card h2, .card h3 { margin-bottom: 14px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
}
.stat .num { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }
.stat .lbl { font-size: 0.83rem; color: var(--muted); font-weight: 600; }
.stat-accent { background: var(--grad); border: 0; color: #fff; }
.stat-accent .lbl { color: rgba(255, 255, 255, 0.8); }

.lead-card { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; transition: 0.15s; }
.lead-card:hover { box-shadow: var(--shadow); }
.lead-card .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.lead-card .meta span { display: inline-flex; gap: 6px; align-items: center; }
.tag { display: inline-block; background: #f2f2ff; color: var(--primary-deep); border-radius: 999px; padding: 3px 12px; font-size: 0.78rem; font-weight: 700; }
.tag-warm { background: #fff1ef; color: #d84a3d; }
.tag-mint { background: #e4f9f2; color: #0d8b66; }
.locked-box { background: repeating-linear-gradient(45deg, #f7f7fd, #f7f7fd 12px, #f1f1fa 12px, #f1f1fa 24px); border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 22px; text-align: center; color: var(--muted); font-weight: 600; }

table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.auth-wrap { max-width: 440px; margin: 60px auto 100px; padding: 0 20px; }
.auth-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 38px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 22px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 0.92rem; }

.flash { padding: 13px 0; font-weight: 600; font-size: 0.95rem; }
.flash-success { background: #e4f9f2; color: #0d8b66; }
.flash-error { background: #fdecea; color: #c0392b; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; position: relative; transition: 0.18s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 2px; }
.price-card .per { color: var(--muted); font-size: 0.88rem; }
.price-card .bonus { color: #0d8b66; font-weight: 700; font-size: 0.9rem; margin-top: 8px; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.price-card.featured::before { content: "★"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }

/* Quote-Editor */
.quote-items { width: 100%; border-collapse: collapse; }
.quote-items th { text-align: left; font-size: 0.78rem; color: var(--muted); padding: 6px 8px; }
.quote-items td { padding: 5px 4px; }
.quote-items input { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 11px; font: 500 0.93rem var(--font); }
.quote-items .qty { width: 74px; } .quote-items .price { width: 110px; }
.quote-items .line-total { text-align: right; font-weight: 700; white-space: nowrap; padding-right: 8px; }
.quote-totals { margin-left: auto; margin-top: 18px; max-width: 300px; font-size: 0.98rem; }
.quote-totals div { display: flex; justify-content: space-between; padding: 5px 0; }
.quote-totals .grand { border-top: 2px solid var(--ink); font-weight: 800; font-size: 1.1rem; margin-top: 6px; padding-top: 10px; }

/* Öffentliche Offerten-Seite */
.quote-public { max-width: 720px; margin: 46px auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 46px; }
.quote-public header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 30px; gap: 20px; }

/* Cookie-Banner */
.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 300;
  display: flex; justify-content: center; animation: fadeUp 0.4s ease;
}
.cookie-inner {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 22px 26px; max-width: 620px;
}
.cookie-inner p { font-size: 0.9rem; color: var(--ink-soft); margin: 8px 0 14px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink); color: #b9b8d9; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 56px 20px 34px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.9rem; margin-top: 14px; max-width: 30em; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer nav a { display: block; color: #b9b8d9; padding: 4px 0; font-size: 0.92rem; }
.site-footer nav a:hover { color: #fff; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.footer-bottom a { color: #b9b8d9; }

/* Scroll-Animationen */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .portal-nav .sep { display: none; }
  .linklist { columns: 2; }
}
@media (max-width: 720px) {
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 24px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 0; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .hide-sm { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .linklist { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .lead-card { grid-template-columns: 1fr; }
  .quote-public { padding: 28px 20px; margin: 20px 12px; }
  .hero { padding: 44px 0 60px; }
}

/* ---------- Mobile-Feinschliff (verhindert Mindestbreiten > Viewport) ---------- */
.wrap, .header-inner, .hero-grid > *, .searchbox, .funnel-wrap, .portal-layout > * { min-width: 0; }
.searchbox input { min-width: 0; width: 100%; }
.main-nav .nav-langs { display: none; }
@media (max-width: 720px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .lang-switch { display: none; }                       /* Sprachwahl wandert ins Menü */
  .header-actions .btn-primary { padding: 9px 14px; font-size: 0.86rem; }
  .brand-name { font-size: 1.15rem; }
  .main-nav .nav-langs { display: flex; gap: 8px; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
  .main-nav .nav-langs a { flex: 1; text-align: center; padding: 9px 0; border: 1.5px solid var(--line); border-radius: 999px; font-size: 0.9rem; }
  .main-nav .nav-langs a.active { background: var(--grad); color: #fff; border-color: transparent; }
  .footer-bottom { flex-wrap: wrap; gap: 6px; }
  .funnel-nav .btn, .funnel-nav .btn-lg { padding: 12px 16px; font-size: 0.95rem; }
  .band::after { display: none; }
  .stat .num { font-size: 1.5rem; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-inner { padding: 16px 18px; }
  .cookie-actions .btn { flex: 1; padding: 10px 12px; font-size: 0.9rem; }
  .quote-public header { flex-direction: column; }
  .quote-public header > div:last-child { text-align: left; }
  .trust-row { gap: 10px; flex-direction: column; }
}
@media (max-width: 600px) {
  .searchbox { flex-direction: column; border-radius: 22px; padding: 10px; gap: 6px; }
  .searchbox input { padding: 12px 14px; }
  .searchbox .btn { width: 100%; }
  .search-suggest { top: calc(100% + 6px); }
  .hero-ctas .btn { width: 100%; }
  .btn-lg { padding: 14px 22px; font-size: 1rem; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .page-hero, .section { padding-left: 0; padding-right: 0; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .steps { grid-template-columns: 1fr; }
}
.main-nav .nav-mobile-only { display: none; }
@media (max-width: 720px) { .main-nav .nav-mobile-only { display: block; } }

/* ---------- Footer immer am Seitenende ---------- */
html, body { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main#main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; margin-top: 60px; }
.footer-bottom .dev-credit { color: #b9b8d9; }
.footer-bottom .dev-credit strong { color: #fff; font-weight: 700; }
.footer-bottom .dev-credit:hover { color: #fff; text-decoration: none; }
.welcome-note { display: flex; gap: 10px; align-items: flex-start; background: #e4f9f2; color: #0d8b66; border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: 0.95rem; margin: 0 0 22px; }
.welcome-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.price-table td { padding: 14px 18px; }
.price-table th { padding: 12px 18px; }
.price-table tr:nth-child(even) td { background: #fafaff; }
