/* =========================================================
   Schwabentrupp – Design System
   Tokens, Reset, Components. Shared across the site.
   ========================================================= */

/* ---------- Fonts (lokal gehostet, SIL Open Font License) ---------- */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/lexend-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Color — anchored to the brand navy from the logo (#063263) */
  --ink: #063263;
  --ink-soft: #0B4A86;
  --primary: #0B4A86;
  --primary-strong: #1868B8;
  --primary-soft: #E8EFF7;
  --accent: #A8550A;
  --accent-strong: #8B4507;
  --accent-soft: #F7ECDF;
  --success: #0F7A57;
  --success-soft: #E4F5EE;
  --surface: #FFFFFF;
  --surface-muted: #F6F7F9;
  --surface-ink: var(--ink);
  --text: #1C2534;
  --text-muted: #5B6472;
  --text-on-ink: #F3F5F9;
  --text-on-ink-muted: #A9B4C6;
  --border: #E3E7ED;
  --border-on-ink: #2B3A55;
  --star: #F0A93B;
  --danger: #C0402C;

  /* Type */
  --font-heading: 'Lexend', 'Source Sans 3', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  /* Space (4/8pt rhythm) */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout */
  --container-w: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 27, 45, .06), 0 1px 1px rgba(16, 27, 45, .04);
  --shadow-md: 0 8px 24px -8px rgba(16, 27, 45, .18);
  --shadow-lg: 0 24px 48px -16px rgba(16, 27, 45, .28);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 1.55rem + 2vw, 3.25rem); }
h1, h2 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
h2 { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-muted); }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  vertical-align: -.2em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: var(--accent-strong); box-shadow: var(--shadow-md); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-strong); }

.btn-outline-invert {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
}
.btn-outline-invert:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); background: var(--primary-soft); }

.btn-whatsapp { background: #147A43; color: #fff; }
.btn-whatsapp:hover { background: #0F5F35; }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  color: var(--primary-strong);
  text-decoration: none;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .18s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 100; }

.topbar {
  background: var(--ink);
  color: var(--text-on-ink-muted);
  font-size: .85rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: .5rem 0;
  flex-wrap: wrap;
}
.topbar-contact { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  text-decoration: none;
  color: var(--text-on-ink-muted);
  transition: color .15s var(--ease);
}
.topbar a:hover { color: #fff; }
.topbar-address { display: none; align-items: center; gap: .4em; }

.header-main {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: .7rem 0;
}
.logo { display: inline-flex; }
.logo img { height: 46px; width: auto; }

.nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: var(--space-3) var(--space-5) var(--space-5);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }

.nav a {
  display: block;
  padding: .7rem .5rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color .15s var(--ease);
}
.nav a:last-child { border-bottom: 0; }
.nav a:hover { color: var(--primary-strong); }
.nav a.active { color: var(--primary-strong); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-muted); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-ink);
  padding: var(--space-8) 0 var(--space-9);
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--primary-strong), transparent 70%);
  opacity: .35;
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
.hero-content { max-width: 46rem; }

.hero-media { order: 1; }
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #BFD2F2;
  margin-bottom: var(--space-4);
}

.hero h1 { color: #fff; margin-bottom: var(--space-5); }
.hero h1 .text-accent { color: #F3A85A; }

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-on-ink-muted);
  max-width: 38rem;
  margin-bottom: var(--space-5);
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 1.05rem; height: 1.05rem; }
.hero-rating a {
  color: var(--text-on-ink-muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .3);
  text-underline-offset: 3px;
  font-size: .95rem;
}
.hero-rating a:hover { color: #fff; }

.hero-pricing {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  max-width: 30rem;
}
.hero-pricing-stats {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: .35rem;
}
.hero-pricing-item { display: flex; flex-direction: column; gap: .1rem; }
.hero-pricing-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.1;
}
.hero-pricing-label { font-size: .8rem; color: var(--text-on-ink-muted); }
.hero-pricing-divider { width: 1px; height: 34px; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
.hero-pricing-note { font-size: .85rem; color: var(--text-on-ink-muted); margin: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem;
  font-weight: 500;
}
.hero-badges .icon { color: #7FD8B0; }

/* ---------- Sections (generic) ---------- */
.section { padding: var(--space-9) 0; }
.section-muted { background: var(--surface-muted); }
.section-head { max-width: 44rem; margin: 0 auto var(--space-7); text-align: center; }
.section-head .eyebrow { color: var(--primary-strong); justify-content: center; }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head p { font-size: 1.1rem; }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}
.service-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-strong);
}
.service-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-icon {
  position: absolute;
  left: var(--space-5);
  bottom: -22px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.service-card-icon .icon { width: 26px; height: 26px; }
.service-card-body { padding: var(--space-7) var(--space-6) var(--space-6); }
.service-card h3 { margin-bottom: var(--space-2); font-size: 1.3rem; }
.service-card p { margin-bottom: var(--space-5); }

.phone-panel {
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  text-align: center;
}
.phone-panel h3 { margin-bottom: var(--space-5); }
.phone-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-5);
}
.phone-panel-features {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--text-muted);
}
.phone-panel-features li { display: inline-flex; align-items: center; gap: .45em; }
.phone-panel-features .icon { color: var(--success); }

/* ---------- Advantages ---------- */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.advantage { text-align: center; }
.advantage-icon {
  width: 60px; height: 60px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.advantage-icon .icon { width: 26px; height: 26px; }
.advantage h3 { font-size: 1.1rem; margin-bottom: var(--space-2); }
.advantage p { font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; padding: var(--space-7) 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.6rem);
  font-weight: 700;
  color: #F3A85A;
}
.stat-label { color: var(--text-on-ink-muted); font-size: .88rem; margin-top: var(--space-1); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.testimonial .stars { color: var(--star); margin-bottom: var(--space-4); }
.testimonial p { color: var(--text); font-style: italic; margin-bottom: var(--space-5); }
.testimonial-author { border-top: 1px solid var(--border); padding-top: var(--space-4); }
.testimonial-author .name { font-weight: 700; color: var(--ink); font-family: var(--font-heading); font-size: .95rem; }
.testimonial-author .location { color: var(--text-muted); font-size: .85rem; }

.reviews-cta { text-align: center; margin-top: var(--space-6); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 46rem; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--primary-strong); transition: transform .2s var(--ease); flex-shrink: 0; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 var(--space-5) var(--space-5); color: var(--text-muted); }
.faq-item .faq-answer a { color: var(--primary-strong); font-weight: 600; text-decoration: none; }
.faq-item .faq-answer a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.form-row { margin-bottom: var(--space-5); }
.form-row label {
  display: block;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.form-row .required { color: var(--accent-strong); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary-strong);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr; column-gap: var(--space-4); }

.contact-side { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.contact-info h3 { margin-bottom: var(--space-5); }
.contact-method {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.contact-method:last-child { margin-bottom: 0; }
.contact-method-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-method-icon .icon { width: 20px; height: 20px; }
.contact-method h4 { font-size: 1rem; margin-bottom: var(--space-1); }
.contact-method a { color: var(--primary-strong); font-weight: 600; text-decoration: none; }
.contact-method a:hover { text-decoration: underline; }
.contact-method p { font-size: .88rem; margin-top: var(--space-1); }

.promise-box {
  background: var(--success-soft);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.promise-box h4 { color: var(--success); margin-bottom: var(--space-3); font-size: 1rem; }
.promise-box ul { display: flex; flex-direction: column; gap: var(--space-2); font-size: .9rem; color: var(--text); }
.promise-box li { display: flex; align-items: center; gap: .5em; }
.promise-box .icon { color: var(--success); width: 1.05em; height: 1.05em; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}
.map-frame { position: relative; }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.5;
  text-align: center;
}
.map-consent a { color: var(--primary-strong); font-weight: 600; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--text-on-ink-muted); padding: var(--space-8) 0 var(--space-5); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: var(--space-4); }
.footer-col p { color: var(--text-on-ink-muted); font-size: .92rem; margin-bottom: var(--space-3); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); font-size: .92rem; }
.footer-col li { display: flex; align-items: center; gap: .5em; }
.footer-col a { color: var(--text-on-ink-muted); text-decoration: none; transition: color .15s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col .icon { width: 1rem; height: 1rem; flex-shrink: 0; color: #7FA0D6; }

.footer-bottom {
  border-top: 1px solid var(--border-on-ink);
  padding-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
  font-size: .85rem;
}
.footer-links { display: flex; gap: var(--space-5); flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-on-ink-muted); text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* ---------- Mobile Kontaktleiste ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -12px rgba(16, 27, 45, .25);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 56px;
  padding: 0 var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  text-decoration: none;
}
.mobile-bar a + a { border-left: 1px solid var(--border); }
.mobile-bar a { white-space: nowrap; }
@media (max-width: 400px) {
  .mobile-bar a { font-size: .8rem; gap: var(--space-1); }
  .hero h1 { font-size: 1.75rem; }
}
.mobile-bar .mobile-bar-wa { color: #147A43; }
.mobile-bar .mobile-bar-cta { background: var(--accent); color: #fff; border-left: 0; }
@media (max-width: 767px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .sticky-cta { display: none; }
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: 90;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--surface-muted); border-bottom: 1px solid var(--border); padding: var(--space-3) 0; }
.breadcrumb-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .85rem; }
.breadcrumb-nav a { color: var(--primary-strong); text-decoration: none; font-weight: 500; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav .sep { color: var(--text-muted); }
.breadcrumb-nav .current { color: var(--text-muted); }

/* ---------- Simple page hero (subpages) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-ink);
  padding: var(--space-8) 0;
  text-align: center;
  overflow: hidden;
}
.page-hero-inner { position: relative; max-width: 42rem; margin: 0 auto; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { color: #fff; margin-bottom: var(--space-4); }
.page-hero p { color: var(--text-on-ink-muted); font-size: 1.15rem; margin-bottom: var(--space-6); }
.page-hero .btn-group { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ---------- Generic info grid/card (feature & town-hub links) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.info-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-strong); }
.info-card h3 { margin-bottom: var(--space-2); font-size: 1.15rem; }
.info-card p { margin: 0; }

/* ---------- Price table ---------- */
.price-table { background: var(--surface-muted); border-radius: var(--radius-lg); padding: var(--space-6); }
.price-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.price-row:last-child { border-bottom: 0; }
.price-label { font-weight: 600; color: var(--ink); }
.price-value { font-weight: 700; color: var(--primary-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-note { font-size: .85rem; color: var(--text-muted); margin-top: var(--space-4); }

/* ---------- Process steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-5); }
.step { text-align: center; padding: var(--space-5); }
.step-number {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.step p { font-size: .92rem; margin: 0; }

/* ---------- Features list (icon + text row) ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }
.feature-item { display: flex; align-items: flex-start; gap: var(--space-3); }
.feature-item .icon-wrap {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.feature-item .icon-wrap .icon { width: 20px; height: 20px; }
.feature-item strong { display: block; font-family: var(--font-heading); color: var(--ink); margin-bottom: .2rem; }
.feature-item p { margin: 0; font-size: .92rem; }

/* ---------- Content image ---------- */
.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-7) auto;
  box-shadow: var(--shadow-sm);
  max-width: var(--container-w);
}
.content-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* ---------- CTA banner (end of service pages) ---------- */
.cta-banner {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: var(--space-8) var(--space-5);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  max-width: var(--container-w);
  margin: var(--space-8) auto;
}
.cta-banner h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-banner p { color: var(--text-on-ink-muted); margin-bottom: var(--space-6); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 48rem; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: var(--space-8); margin-bottom: var(--space-3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: var(--space-6); margin-bottom: var(--space-2); }
.prose p { margin-bottom: var(--space-4); }
.prose ul, .prose ol { margin: 0 0 var(--space-4) 1.3rem; color: var(--text-muted); }
.prose li { margin-bottom: var(--space-2); }
.prose a { color: var(--primary-strong); font-weight: 600; }
.prose strong { color: var(--ink); }

/* ---------- Utility ---------- */
.text-narrow { max-width: 46rem; margin: 0 auto; text-align: center; }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .topbar-address { display: inline-flex; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }

  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--space-1);
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav a { border-bottom: 0; padding: .5rem .85rem; border-radius: 999px; }
  .nav a:hover { background: var(--surface-muted); }
  .nav a.active { background: var(--primary-soft); }

  .advantages-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-inner { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
  .hero-media { order: 0; max-width: 30rem; margin-left: auto; }
}

@media (max-width: 767px) {
  .hero-actions .btn,
  .phone-panel-actions .btn { flex: 1 1 auto; }
}

/* ---------- Kundenstimmen auf Leistungsseiten ---------- */
.testimonials-grid--single { max-width: 46rem; margin-inline: auto; }
@media (min-width: 1024px) {
  .testimonials-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid--single { grid-template-columns: 1fr; }
}
