@charset "utf-8";
/* Anschluss an basis.css
   =====================
   basis.css ist das Stylesheet von google-my-business.de und gibt Tokens,
   Raster, Typografie, Buttons, Karten, Kopf, Hero und Fuss vor.
   Diese Datei bringt die Bausteine mit, die es dort nicht gibt: Akkordeon,
   Siegel, Bewertungen, Schritte, Referenzen, Blog, Formular, Tabellen und
   die Hilfsklassen. Alle Werte kommen aus den Tokens von basis.css.
   Umgestellt am 12.10.2026. */

/* ---------- 3 Layout ---------- */
/* .container ist der alte Name von .wrap und muss sich genau gleich verhalten.
   Eine abweichende Breite liess Abschnitte gegeneinander verrutschen. */
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }

.section { padding-block: 64px; }
@media (min-width: 768px) { .section { padding-block: 80px; } }
.section--tight { padding-block: 48px; }
.section--subtle { background: var(--bg-alt); }
.section--muted { background: var(--line-soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p { color: rgba(255,255,255,.8); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.grid--split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .grid--split { grid-template-columns: 1fr 1fr; } }

.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }
.center { text-align: center; }
.measure { max-width: 65ch; }
.measure-center { max-width: 65ch; margin-inline: auto; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }

/* ---------- 4 Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; stroke-width: 1.5; }
.icon--16 { width: 16px; height: 16px; }
.icon--20 { width: 20px; height: 20px; }
.icon--32 { width: 32px; height: 32px; }
.icon--48 { width: 48px; height: 48px; }
.icon-tile {
  width: 48px; height: 48px; border-radius: var(--r-card);
  background: var(--coral-light); color: var(--coral);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.icon-tile--navy { background: #EBF3FA; color: var(--navy); }
.icon-tile--sm { width: 40px; height: 40px; border-radius: var(--r); }
.icon-tile--circle { border-radius: 99px; }

/* ---------- 6 Buttons ---------- */
/* Die Grundform des Knopfes steht in basis.css. Hier stehen nur die
   Spielarten, die der Bestand unter alten Namen anspricht. Eine zweite
   Grundform wuerde border-color der Spielarten ueberschreiben. */
.btn { min-width: 120px; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); color: #fff; }
.btn--secondary { background: var(--coral); color: #fff; }
.btn--secondary:hover { background: var(--coral-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); min-width: 0; padding-inline: 12px; }
.btn--ghost:hover { color: var(--coral); }
.btn--on-dark { background: #fff; color: var(--navy); }
.btn--on-dark:hover { background: var(--line-soft); color: var(--navy-dark); }
.btn--outline-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-on-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 16px 32px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* ---------- 7 Karten ---------- */
.card {
  background: #fff; border: 1px solid #D1D5DB;
  border-radius: var(--r-card); padding: 24px; box-shadow: var(--sh);
  transition: box-shadow 300ms ease, transform 300ms ease;
  height: 100%;
}
.card--hover:hover { box-shadow: var(--sh-hover); transform: translateY(-2px); }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.card p { font-size: .875rem; }
.card__icon { margin-bottom: 20px; }
.card--accent { border-left: 4px solid var(--coral); }
.card--flat { box-shadow: none; }
.card--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.card--navy h3, .card--navy h4 { color: #fff; }
.card--navy p { color: rgba(255,255,255,.8); }

/* Panel: ruhige Fläche ohne Kartenschatten */
.panel {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 24px;
}
.panel--accent { border-left: 4px solid var(--coral); }
.panel--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.panel--navy h2, .panel--navy h3, .panel--navy h4 { color: #fff; }
.panel--navy p { color: rgba(255,255,255,.8); }

/* ---------- 14 CTA-Banner ---------- */
.cta-band { background: var(--navy); color: #fff; padding-block: 64px; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band__inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
@media (min-width: 900px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-note { font-size: .875rem; color: var(--soft); margin-top: 12px; }
.cta-band .cta-note { color: rgba(255,255,255,.8); }


/* ---------- Buttons: alte Namen auf die Varianten von basis.css ---------- */
/* basis.css kennt btn--coral, btn--navy, btn--weiss und btn--breit.
   Der Bestand benutzt btn--primary und Verwandte. Beide Namen fuehren
   ab jetzt zum selben Ergebnis, damit keine Seite angefasst werden muss. */
.btn--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn--secondary { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn--secondary:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); min-width: 0; padding-inline: 12px; border-color: transparent; }
.btn--ghost:hover { color: var(--coral); }
.btn--on-dark { background: #fff; color: var(--navy); border-color: #fff; }
.btn--on-dark:hover { background: var(--line-soft); color: var(--navy-dark); }
.btn--outline-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-on-dark:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .8125rem; }
.btn--lg { min-height: 56px; padding: 16px 32px; }
.btn--block, .btn--breit { width: 100%; }
.btn-row, .btnreihe { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-row--center { justify-content: center; }

/* ---------- 8 Badges und Tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--fh); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px;
  background: var(--line-soft); color: var(--muted);
}
.badge--gefoerdert { background: var(--coral-light); color: #92400E; }
.badge--neu { background: #DBEAFE; color: #1E40AF; }
.badge--beliebt { background: #D1FAE5; color: #065F46; }
.badge--premium { background: var(--navy); color: var(--coral); }
.badge--prozent { background: var(--coral); color: #fff; }
.badge--google { background: #EBF3FA; color: var(--navy); }
.badge--tech { background: #E8F4FD; color: var(--navy); }
.badge--warn { background: #FFF3E0; color: #D97706; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 99px;
  background: var(--coral-light); color: var(--navy);
  font-family: var(--fh); font-size: .875rem; font-weight: 600;
}
.pill .icon { color: var(--coral); }
.pill--navy { background: #EBF3FA; }
.pill--on-dark { background: rgba(255, 255, 255, .12); color: #fff; }
.pill--on-dark .icon { color: var(--coral); }

/* ---------- 9 Listen ---------- */
.list { list-style: none; }
.list li {
  position: relative; padding-left: 28px; margin-bottom: 12px;
  font-size: 1rem; color: var(--muted);
}
.list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--coral); font-weight: 700;
}
.list--tight li { margin-bottom: 8px; font-size: .875rem; }
.list--on-dark li { color: rgba(255,255,255,.8); }
.list--x li::before { content: "✗"; color: #9CA3AF; }
.list--dot li::before { content: ""; top: 10px; left: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.list-hair li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }

/* ---------- 10 Kennzahlen ---------- */
.stat { text-align: center; }
.stat__value { font-family: var(--fh); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); line-height: 1.1; }
.stat__label { font-size: .875rem; color: var(--soft); margin-top: 8px; }
.stat--coral .stat__value { color: var(--coral); }
.section--navy .stat__value { color: #fff; }
.section--navy .stat__label { color: rgba(255,255,255,.8); }
.stat-box { background: var(--bg-alt); border-radius: var(--r-card); padding: 24px; text-align: center; border-left: 4px solid var(--coral); }

/* ---------- 11 Tabellen ---------- */
.table-wrap { overflow-x: auto; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--r-card); }
table { border-collapse: collapse; width: 100%; font-size: .875rem; background: #fff; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
th { font-family: var(--fh); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--bg-alt); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- 15 Akkordeon als details ---------- */
/* Ohne JavaScript bedienbar. Der Pfeil dreht sich ueber das open-Attribut. */
.accordion { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.accordion + .accordion { margin-top: 12px; }
.accordion__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 24px; cursor: pointer;
  font-family: var(--fh); font-weight: 600; font-size: 1.0625rem;
  color: var(--navy); text-align: left; list-style: none;
}
.accordion__head::-webkit-details-marker { display: none; }
.accordion__head h3 { font-size: inherit; font-weight: inherit; margin: 0; color: inherit; }
.accordion__head:hover { background: var(--bg-alt); }
.accordion__head:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
.accordion__head .icon { flex: none; color: var(--coral); transition: transform 300ms ease; }
.accordion[open] { border-left: 4px solid var(--coral); box-shadow: var(--sh-hover); }
.accordion[open] .accordion__head .icon { transform: rotate(180deg); }
.accordion__body { padding: 0 24px 24px; font-size: 1rem; }

/* ---------- 16 Formular ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block; font-family: var(--fh); font-weight: 600; font-size: .875rem;
  color: var(--navy); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 16px; font-family: var(--fb); font-size: 1rem;
  color: var(--text); background: #fff; border: 1px solid #D1D5DB;
  border-radius: var(--r); min-height: 48px;
  transition: border-color 100ms ease, box-shadow 100ms ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #9CA3AF; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(1,71,119,.1);
}
.field__hint { font-size: .8125rem; color: var(--soft); margin-top: 4px; }
.field--error input, .field--error textarea { border: 2px solid #DC2626; }
.field__error { font-size: .8125rem; color: #DC2626; margin-top: 4px; }
.checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: .875rem; }
.checkbox input { width: 20px; height: 20px; min-height: 0; accent-color: var(--coral); margin-top: 2px; flex: none; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }

.alert { border-radius: var(--r-card); padding: 16px 20px; font-size: .875rem; border-left: 4px solid; margin-bottom: 24px; }
.alert--success { background: var(--ok-bg); border-color: var(--ok); color: #15803D; }
.alert--error { background: #FEF2F2; border-color: #DC2626; color: #DC2626; }
.alert--info { background: #EFF6FF; border-color: #2563EB; color: #1E40AF; }

/* ---------- 17 Bewertungen ---------- */
.ratings { display: flex; flex-wrap: wrap; gap: 12px; }
.ratings--center { justify-content: center; }
.rating {
  display: flex; align-items: center; gap: 12px;
  background: var(--line-soft); border-radius: var(--r); padding: 8px 12px;
}
.rating img { width: 40px; height: 40px; flex: none; }
.rating__name { font-family: var(--fh); font-weight: 700; font-size: .875rem; color: var(--navy); }
.rating__score { display: flex; align-items: center; gap: 4px; font-family: var(--fh); font-weight: 700; font-size: 1.125rem; color: var(--text); }
.rating__stars { color: var(--coral); letter-spacing: -1px; }
.rating__meta { font-size: 11px; color: var(--soft); white-space: nowrap; }
.rating > span { min-width: 0; }
.section--navy .rating { background: rgba(255, 255, 255, .1); }
.section--navy .rating__name { color: #fff; }
.section--navy .rating__score { color: #fff; }
.section--navy .rating__meta { color: rgba(255,255,255,.8); }

.stars { color: var(--coral); letter-spacing: -1px; font-size: 1.125rem; }

/* ---------- 18 Siegel ---------- */
.seals { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }
.seal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; box-shadow: var(--sh); }
.seal img { height: 64px; width: auto; object-fit: contain; }

/* ---------- 19 Zitate ---------- */
blockquote.quote {
  margin: 0 0 16px; padding-left: 20px;
  border-left: 4px solid var(--coral); font-size: 1.125rem; color: var(--text);
}
.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial__head { font-family: var(--fh); font-weight: 700; font-size: 1.0625rem; color: var(--navy); margin-bottom: 12px; }
.testimonial__text { flex: 1; font-size: .875rem; margin-bottom: 16px; }
.testimonial__person { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.testimonial__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }

/* ---------- 20 Schritte ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid #D1D5DB; border-left: 4px solid var(--coral); border-radius: var(--r-card); padding: 24px; box-shadow: var(--sh); }
.step__num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-weight: 700; font-size: .875rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step p { font-size: .875rem; }

/* Entscheidungs-Checks. Drei Zeilen mit Icon-Kachel, Haarlinien oben und unten. */
.checks {
  list-style: none; margin: 0 0 32px; padding: 20px 0;
  display: grid; gap: 16px; border-block: 1px solid var(--line);
}
.checks > li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.checks .icon-tile { flex: none; width: 36px; height: 36px; }
.checks strong { font-family: var(--fh); color: var(--navy); }

/* Zeilenvariante: drei Schritte untereinander, Haarlinien statt Karten. */
.steps--rows { display: block; counter-reset: none; border-block: 1px solid var(--line); }
@media (min-width: 640px) { .steps--rows { grid-template-columns: none; } }
.steps--rows .step {
  display: grid; gap: 16px; align-items: start;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; box-shadow: none; padding: 24px 0;
}
.steps--rows .step:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .steps--rows .step { grid-template-columns: 2.5rem 2.75rem 1fr; gap: 20px; }
}
.steps--rows .step > * { min-width: 0; }
.steps--rows .step__num {
  width: auto; height: auto; border-radius: 0; background: none;
  color: var(--coral); font-size: .875rem; margin-bottom: 0;
  justify-content: flex-start; font-variant-numeric: tabular-nums;
}
.steps--rows .step h3 { font-size: 1.25rem; }
.steps--rows .step p { font-size: 1rem; }

/* Schmale linke Spalte, wenn rechts eine Liste steht. */
@media (min-width: 1024px) {
  .grid--split-narrow { grid-template-columns: 0.8fr 2.2fr; gap: 64px; align-items: start; }
}

/* ---------- 21 Wechselnde Bild-Text-Blöcke ---------- */
.feature-row { display: grid; gap: 32px; align-items: center; margin-bottom: 48px; }
@media (min-width: 1024px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row--flip .feature-row__media { order: 2; }
}
.feature-row__media img { border-radius: var(--r-card); border: 1px solid var(--line); }

/* ---------- 22 Preise ---------- */
.price { font-family: var(--fh); font-weight: 800; font-size: clamp(2.25rem, 4vw, 3rem); color: var(--navy); line-height: 1.1; }
.price--sm { font-size: 1.75rem; }
.price-note { font-size: .8125rem; color: var(--soft); }

/* ---------- 24 Breadcrumb ---------- */
.breadcrumb { padding-block: 16px; font-size: .8125rem; color: var(--soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "·"; margin-left: 8px; color: #9CA3AF; }
.breadcrumb a { color: var(--soft); }
.breadcrumb a:hover { color: var(--coral); }

/* ---------- 25 Blog ---------- */
.blog-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; height: 100%; }
.blog-card__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8125rem; color: var(--soft); margin-bottom: 12px; }
.blog-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 12px; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--coral); }
.blog-card__excerpt {
  font-size: .875rem; color: var(--muted); flex: 1; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card__more { font-family: var(--fh); font-weight: 600; font-size: .875rem; color: var(--coral); display: inline-flex; align-items: center; gap: 8px; }

.article { max-width: 50rem; }
.article-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 68% 1fr; gap: 48px; } }
.article__body { font-size: 1.125rem; line-height: 1.75; }
.article__body h2 { font-size: 1.75rem; margin-top: 48px; margin-bottom: 16px; padding-left: 16px; border-left: 4px solid var(--coral); }
.article__body h3 { font-size: 1.375rem; margin-top: 32px; margin-bottom: 12px; }
.article__body ul, .article__body ol { margin: 0 0 24px 0; padding-left: 24px; }
.article__body ul li, .article__body ol li { margin-bottom: 8px; }
.article__body ul { list-style: none; padding-left: 0; }
.article__body ul li { position: relative; padding-left: 28px; }
.article__body ul li::before { content: ""; position: absolute; left: 6px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.article__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .8125rem; color: var(--soft); margin-bottom: 24px; }
.toc { background: var(--bg-alt); border-left: 4px solid var(--coral); border-radius: var(--r-card); padding: 20px 24px; margin-bottom: 32px; }
.toc h2 { font-size: 1rem; font-family: var(--fh); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; padding: 0; border: 0; }
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 8px; font-size: .875rem; }
.toc li::before { content: counter(toc) ". "; color: var(--coral); font-weight: 700; }
.author-box { display: flex; gap: 20px; align-items: flex-start; background: var(--bg-alt); border-left: 4px solid var(--coral); border-radius: var(--r-card); padding: 24px; margin-top: 48px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.sidebar-cta { position: sticky; top: 80px; }

/* ---------- 26 Scroll-to-top und WhatsApp ---------- */
.to-top, .wa-btn {
  position: fixed; right: 24px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-hover); border: 0; cursor: pointer;
  transition: background 200ms ease, opacity 200ms ease;
}
.to-top { bottom: 88px; background: var(--coral); color: #fff; opacity: 0; pointer-events: none; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--coral-dark); }
.wa-btn { bottom: 24px; background: #25D366; color: #fff; }
.wa-btn:hover { background: #1FAF52; }

/* Feste Fördercheck-Leiste, nur auf dem Handy. Erscheint unterhalb des Heros. */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 39;
  padding: 12px; background: #fff;
  border-top: 1px solid #D1D5DB; box-shadow: var(--sh-hover);
  transform: translateY(110%); transition: transform 300ms ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { min-height: 48px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
/* Solange die Leiste steht, ruecken die runden Knoepfe darueber. */
@media (max-width: 767px) {
  .to-top { bottom: 152px; }
  .wa-btn { bottom: 88px; }
}

/* ---------- 27 Logo-Laufband ---------- */
.logo-strip { overflow: hidden; }
.logo-strip__track { display: flex; gap: 48px; align-items: center; width: max-content; animation: strip 40s linear infinite; }
.logo-strip__track img { height: 40px; width: auto; object-fit: contain; opacity: .7; }
.logo-strip:hover .logo-strip__track { animation-play-state: paused; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 28 Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms cubic-bezier(.4,0,.2,1), transform 600ms cubic-bezier(.4,0,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 29 Antwortblock für KI-Antworten ---------- */
.answer {
  background: var(--bg-alt); border-left: 4px solid var(--coral);
  border-radius: var(--r-card); padding: 20px 24px; margin-bottom: 24px;
  font-size: 1rem;
}
.answer p:last-child { margin-bottom: 0; }

/* ---------- 30 Karte und Einbettungen ---------- */
.embed { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.embed iframe { display: block; width: 100%; border: 0; }
.map-embed { aspect-ratio: 16 / 9; }
.map-embed iframe { height: 100%; }

/* ---------- 31 Cookie-Hinweis ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: #fff; border: 1px solid #D1D5DB; border-left: 4px solid var(--coral);
  border-radius: var(--r-card); box-shadow: var(--sh-hover); padding: 24px; display: none;
}
.cookie.is-open { display: block; }
@media (min-width: 768px) { .cookie { max-width: 520px; left: auto; } }

/* ---------- 32 Hilfsklassen ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin-block: 48px; }
.nowrap { white-space: nowrap; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
/* .wrap ist der Seitenrahmen aus basis.css. Die Flex-Hilfe heisst umbruch. */
.umbruch { flex-wrap: wrap; }
.full { width: 100%; }

/* Abstaende im 4px-Raster. Ersetzen die frueheren style-Attribute in den Seiten. */
.m-0 { margin: 0; }
.mt-1 { margin-top: 4px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-4-0 { margin: 16px 0 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-12 { margin-bottom: 48px; }
.mx-auto { margin-inline: auto; }
.pb-3 { padding-block: 12px; }
.pb-12 { padding-block: 48px; }
.gap-0 { gap: 0; }

/* Schriftgroessen nach Brand System. Fliesstext 16 bis 17px, Artikel 18px. */
.text-16 { font-size: 1rem; }
.text-17 { font-size: 1.0625rem; }
.text-18 { font-size: 1.125rem; }
.text-20 { font-size: 1.25rem; }
.text-24 { font-size: 1.5rem; }
.fw-700 { font-weight: 700; }
.head-600 { font-family: var(--fh); font-weight: 600; }
.block { display: block; }
.text-small-block { display: block; font-size: .875rem; }
.head-block { display: block; font-family: var(--fh); }

/* Lesebreiten. Artikel 800px nach Brand System, die uebrigen sind Sonderfaelle. */
.measure-860 { max-width: 860px; margin-inline: auto; }
.measure-900 { max-width: 900px; margin-inline: auto; }
.measure-1000 { max-width: 1000px; margin-inline: auto; }
.measure-article { max-width: 50rem; }
.measure-38 { max-width: 38ch; margin: 0; }

/* Flaechen und Rahmen */
.shadow-none { box-shadow: none; }
.framed { border: 1px solid var(--line); border-radius: var(--r-card); }
.p-0-clip { padding: 0; overflow: hidden; }
.card__foot { padding: 32px; border-top: 1px solid var(--line); }
.row-between { display: flex; justify-content: space-between; gap: 16px; }
.avatar { border-radius: 50%; object-fit: cover; }
.logo-32 { height: 32px; width: auto; }
.logo-64 { height: 64px; width: auto; }
.tile-center {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; height: 100%; padding: 32px; text-align: center;
  background: var(--bg-alt);
}
/* Zitat im Panel: Coral-Kante links, das wiedererkennbarste Detail der Marke. */
.panel--quote { border-radius: 0; border-left: 4px solid var(--coral); padding: 32px; }

/* Rasterabweichungen, die nur an einzelnen Stellen vorkommen */
.grid--one { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
.grid--two-fixed { grid-template-columns: repeat(2, 1fr); }
.grid--auto-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- 33 Überlauf verhindern ---------- */
/* Rasterzellen dürfen schrumpfen, sonst schieben breite Tabellen die Seite auf. */
.grid > *, .grid--split > *, .article-layout > *, .steps > *,
.footer__main > *, .cta-band__inner > *, .header__inner > * { min-width: 0; }
.table-wrap { max-width: 100%; }
p, li, td, th, dd, blockquote, figcaption { overflow-wrap: break-word; }
/* Lange deutsche Komposita wie Bewertungsmanagement brauchen eine Trennmöglichkeit. */
h1, h2, h3, h4, h5, h6, .claim, .price, .stat__value { overflow-wrap: break-word; hyphens: auto; }
a { overflow-wrap: anywhere; }
.article__body { max-width: 100%; }
.article__body table { width: 100%; }

/* ---------- 35 Referenzen ---------- */
/* Eine Sektion je Referenz, immer gleich aufgebaut. Der Beleg steht links,
   die Kennzahlen rechts, darunter die drei Karten. Auf dem Handy
   untereinander, Beleg zuerst. */

.referenz__betrieb {
  font-family: var(--fh);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--muted);
  margin: calc(8px * -1) 0 16px;
}

.referenz__koerper {
  display: grid;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}

@media (min-width: 900px) {
  .referenz__koerper { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.referenz__koerper > * { min-width: 0; }

/* Kennzahlen. Keine Karte, nur eine Coral-Kante links, wie jedes
   hervorgehobene Element im System. */
.referenz__zahlen { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }

.referenz__zahlen > li {
  border-left: 4px solid var(--coral);
  padding-left: 24px;
}

.referenz__wert {
  display: block;
  font-family: var(--fh);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.referenz__text {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--muted);
}

.referenz__fuss {
  display: block;
  margin-top: 4px;
  font-size: .875rem;
  color: var(--soft);
}

.referenz__beitrag {
  margin-top: 32px;
  padding: 24px;
  background: var(--line-soft);
  border-radius: var(--r-card);
}

.referenz__quelle { margin-top: 32px; }

/* Rasterkarte. Das SVG bringt seine eigenen Farben mit, hier steht nur der
   Rahmen und die Legende darunter. */
.raster { margin: 0; }

.raster__bild {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}

.raster__legende {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: .875rem;
  color: var(--muted);
}

.raster__legende span { display: inline-flex; align-items: center; gap: 8px; }

.punkt { width: 12px; height: 12px; border-radius: 99px; display: inline-block; }
/* Die beiden Farben kommen aus den Rastergrafiken selbst, damit Legende und
   Bild nicht auseinanderlaufen. Gruen ist Erfolg, Navy ist die Marke. */
.punkt--top3 { background: var(--ok); }
.punkt--rest { background: var(--navy); }

/* Zahlenspalten rechtsbündig, der Zielwert in Navy hervorgehoben. */
.num { text-align: right; font-variant-numeric: tabular-nums; }
.num--stark { font-weight: 700; color: var(--navy); }

/* Zeilenköpfe sind Beschriftungen, keine Spaltenköpfe. Ohne diese Regel
   erben sie Versalien und Grauton der Kopfzeile und lesen sich schwer. */
tbody th[scope="row"] {
  text-transform: none;
  letter-spacing: 0;
  font-size: .875rem;
  background: transparent;
  color: var(--muted);
}

/* ---------- 36 Fuss und Band, Anschluss an basis.css ---------- */
/* basis.css bringt .fuss und .band mit. Hier nur die Teile, die der
   Fuss von caruso.consulting zusaetzlich traegt: Bewertungskacheln,
   NAP-Zeilen und der Markensatz als Zitat. */

.fuss__raster { display: grid; gap: 40px; }
@media (min-width: 900px) { .fuss__raster { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.fuss__logo img { max-width: 180px; height: auto; }
.fuss__nap { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; }
.fuss__nap .icon { flex: none; color: var(--coral); }
.fuss h2, .fuss h3, .fuss .fusstitel {
  font-family: var(--fh); font-weight: 700; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; margin: 0 0 12px;
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss__unten {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: .8rem;
}

/* Markensatz. Zweizeilig, Coral-Kante links, genau einmal je Seite. */
.fuss__claim { margin-top: 40px; }
.claim, .markensatz {
  margin: 0; padding-left: 20px; border-left: 4px solid var(--coral);
  font-family: var(--fh); font-weight: 800; color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2;
}
.claim p { margin: 0; }
.claim span, .markensatz span { display: block; color: var(--coral); }

/* Bewertungskacheln im Fuss liegen auf hellem Grund, deshalb dunkle Schrift. */
.fuss .ratings { display: grid; gap: 12px; }
.fuss .rating {
  display: flex; gap: 12px; align-items: center; padding: 12px;
  background: #fff; border-radius: var(--r); text-decoration: none; color: var(--text);
}
.fuss .rating strong { color: var(--navy); }

/* Sprunglink: der Bestand nennt ihn skip-link, basis.css kennt .skip. */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 16px; text-decoration: none;
}
.skip-link:focus { left: 16px; }

/* ---- Hero-Erweiterungen: Punkteliste und Bildspalte ------------------- */
.hero__punkte { margin: 20px 0 0; }
.hero__bild { display: grid; gap: 20px; }
.hero__bild .bildrahmen img { display: block; width: 100%; height: auto; }
.hero__bild .ratings { margin: 0; }
/* Einspaltiger Hero: die Spalte wird schmal, der Rand bleibt am Raster
   der uebrigen Seite. Eine Breite auf .wrap wuerde ihn mittig ziehen. */
.hero--einspaltig .hero__raster { grid-template-columns: 1fr; }
.hero--einspaltig .hero__links { max-width: 780px; }
.hero__notiz { margin: 16px 0 0; color: var(--muted); }
.hero__bewertungen { margin-top: 28px; }
.hero__bewertungen .ratings { margin: 0; }
.artikel__meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px;
  color: var(--muted); font-size: .9rem;
}
.artikel__meta span { display: inline-flex; align-items: center; gap: 8px; }
.artikel__meta .icon { color: var(--coral); }

/* Bewertungen im Hero: kompakt, der Echtheitshinweis bleibt klein. */
.hero .ratings { gap: 12px; }
.hero .rating { background: #fff; border: 1px solid var(--line); text-decoration: none; }
.hero .echtheit-hinweis { font-size: .78rem; line-height: 1.5; color: var(--soft); margin: 12px 0 0; }
.hero .rating__meta { white-space: normal; }
.band__innen > div:first-child { flex: 1 1 420px; }
.band__innen .btnreihe { flex: 0 0 auto; }

/* Der Bestand nennt die Klasse visually-hidden, basis.css kennt .sr-only. */
.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;
}

.kopf.is-scrolled { box-shadow: var(--sh); }

/* ---- Ansprechpartner: Muster .person aus basis.css --------------------- */
/* Auf den Unterseiten steht der Text links und das Bild rechts. basis.css
   setzt die Bildspalte nach vorn, deshalb hier die Spaltenbreiten tauschen. */
.person--text-zuerst { grid-template-columns: 1.2fr .8fr; }
.person__bild .ratings { margin-top: 20px; }
.person__bild .echtheit-hinweis { font-size: .72rem; line-height: 1.5; color: var(--soft); }
.person__schild { margin-top: 20px; }
.person__schild strong { display: block; }
@media (max-width: 1140px) {
  .person, .person--text-zuerst { grid-template-columns: 1fr; }
  .person__bild img { width: 60%; max-width: 280px; }
}

/* Fliesstext steht links. Die alten Lovable-Klassen bleiben als Name
   erhalten, verlieren aber die Zentrierung. */
.measure-center { max-width: 70ch; margin-inline: 0; }
.measure-center.center, p.center, .caption.center { text-align: left; }
.section-head--center { text-align: center; }
.btn-row--center { justify-content: flex-start; }

/* Die weisse Wortmarke steht auf Navy und braucht keinen weissen Kasten.
   Mit Kasten war sie weiss auf weiss und damit unsichtbar. */
.fuss__logo { background: none; padding: 0; margin: 0 0 20px; display: block; }
.fuss__logo img { width: 180px; height: auto; display: block; }

/* ---- Referenzen ------------------------------------------------------- */
/* Ueberblicksliste: eine Zeile je Betrieb, Logo links, Kernzahl rechts.
   Heisst referenzliste, weil basis.css bereits ein .refliste mit vier
   Spalten fuehrt. Gleicher Name haette beide Raster vermischt. */
.referenzliste { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.referenzliste a {
  display: grid; align-items: center; gap: 20px;
  grid-template-columns: 180px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 170px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 20px 24px; text-decoration: none; color: var(--text);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.referenzliste a:hover { box-shadow: var(--sh-hover); transform: translateY(-2px); border-color: var(--coral); }
.referenzliste img { max-width: 160px; max-height: 44px; width: auto; height: auto; }
.referenzliste__name { font-family: var(--fh); font-weight: 700; color: var(--navy); }
.referenzliste__fach, .referenzliste__art { color: var(--muted); font-size: .92rem; }
.referenzliste__zahl { font-family: var(--fh); font-weight: 800; font-size: 1.3rem; color: var(--navy); text-align: right; }
.referenzliste__zahl small { display: block; font-family: var(--fb); font-weight: 400; font-size: .78rem; color: var(--soft); }
.referenzliste__pfeil { color: var(--coral); justify-self: end; }
.referenzliste__zahl { white-space: nowrap; }
@media (max-width: 1140px) {
  .referenzliste a { grid-template-columns: 140px minmax(0, 1fr) auto; row-gap: 8px; }
  .referenzliste__fach { grid-column: 2; }
  .referenzliste__art { grid-column: 2 / -1; grid-row: 3; }
  .referenzliste__zahl { text-align: right; }
  .referenzliste__pfeil { display: none; }
}
@media (max-width: 620px) {
  .referenzliste a { grid-template-columns: 1fr; }
  .referenzliste__zahl { grid-column: 1; text-align: left; }
}

/* Ein Fall: Kopf mit Logo, Beleg und Zahlen, dann drei Begriffe als Liste. */
.referenz__kopf { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 20px; }
.referenz__logo { margin: 0; flex: none; }
.referenz__logo img { max-width: 200px; max-height: 56px; width: auto; height: auto; }
.referenz__kopf h2 { margin: 4px 0 0; }
.referenz__dreier { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 36px 0 0; }
.referenz__dreier dt {
  font-family: var(--fh); font-weight: 700; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 8px;
  padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
.referenz__dreier dd { margin: 0; color: var(--muted); font-size: .95rem; }
.referenz__grenze dt { color: var(--coral-dark); border-bottom-color: var(--coral-light); }
.referenz__fusszeile {
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--soft);
}
.referenz__quelle { font-style: normal; }
@media (max-width: 900px) { .referenz__dreier { grid-template-columns: 1fr; gap: 24px; } }
.pfeil-link { display: inline-flex; align-items: center; gap: 8px; color: var(--coral-dark); font-weight: 700; text-decoration: none; }
.pfeil-link:hover { color: var(--coral); }
