/* Seiten-spezifische Gestaltung & Effekte (Unterseiten + gemeinsame Hero-Deko)
   Ergänzt style.css – nutzt dieselben Tokens (--fs-*) und die globalen
   Fahrschul-Komponenten (.sign, .plate, .traffic-light, .chip-class,
   .road-divider). Alle Animationen werden bei prefers-reduced-motion abgeschaltet. */

/* ==========================================================================
   Gemeinsame Effekte
   ========================================================================== */

/* Verlaufsrahmen, der beim Hover sichtbar wird */
.fx-card { position: relative; isolation: isolate; }
.fx-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--fs-primary), rgba(255, 138, 149, .2) 40%, transparent 60%, #ff8a95);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s ease;
}
.fx-card:hover::after,
.fx-card:focus-within::after { opacity: 1; }

/* Icon-Badge: füllt sich beim Hover, Icon "hüpft" leicht */
.icon-anim { position: relative; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.icon-anim i { display: inline-block; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.icon-anim::after {
  content: ""; position: absolute; inset: -5px; border-radius: 15px;
  border: 1.5px solid var(--fs-primary); opacity: 0; transform: scale(.85);
  transition: opacity .3s ease, transform .35s ease;
}
:is(.fx-card, .contact-tile):hover .icon-anim {
  background: var(--fs-primary); color: #fff;
  box-shadow: 0 10px 22px -10px rgba(200, 16, 46, .7);
}
:is(.fx-card, .contact-tile):hover .icon-anim i { transform: rotate(-10deg) scale(1.15); }
:is(.fx-card, .contact-tile):hover .icon-anim::after { opacity: .35; transform: scale(1); }

/* CTA-Band: ruhiger Lichtfleck unten links (Spotlight folgt der Maus, siehe style.css) */
.cta-fx { isolation: isolate; }
.cta-fx .cta-glow {
  position: absolute; z-index: 0; width: 420px; height: 420px; left: -140px; bottom: -280px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(200, 16, 46, .4), transparent 65%);
}
.cta-fx .btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.cta-fx .btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6); }

@keyframes fs-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, -40px) scale(1.1); }
}
@keyframes fs-spin { to { transform: rotate(360deg); } }
@keyframes fs-pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .45); }
  70% { box-shadow: 0 0 0 12px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

/* ==========================================================================
   Startseite (Hero-Deko, FAQ) – Rest in home.css
   ========================================================================== */

/* Hero: ein langsam schwebender Lichtfleck + feines Raster.
   Körnung, Maus-Spotlight und Fahrbahnlinie kommen aus .fx-layer (style.css/app.js). */
.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(10px);
  background: radial-gradient(circle, rgba(200, 16, 46, .32), transparent 68%);
}
.hero-orb-1 { width: 560px; height: 560px; left: -200px; bottom: -300px; animation: fs-float 24s ease-in-out infinite alternate; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000, transparent 75%);
}

/* Siegel: Umschrift dreht sich langsam */
.hero-seal .seal-text {
  transform-box: view-box; transform-origin: 50% 50%;
  animation: fs-spin 36s linear infinite;
}

.hero-stats strong { font-family: var(--fs-font-display); font-variant-numeric: tabular-nums; }
.hero-stats > div { position: relative; }
.hero-stats > div + div::before {
  content: ""; position: absolute; left: -1rem; top: 15%; bottom: 15%; width: 1px;
  background: rgba(255, 255, 255, .12);
}

/* FAQ */
.faq-fx .accordion-item { transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; position: relative; }
.faq-fx .accordion-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: 4;
  background: var(--fs-primary); transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
}
.faq-fx .accordion-item:hover { border-color: rgba(200, 16, 46, .3); box-shadow: 0 14px 30px -24px rgba(28, 31, 36, .45); }
.faq-fx .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(200, 16, 46, .35);
  box-shadow: 0 18px 36px -26px rgba(200, 16, 46, .55);
}
.faq-fx .accordion-item:has(.accordion-button:not(.collapsed))::before { transform: scaleY(1); }
.faq-fx .accordion-button { gap: .9rem; padding: 1.1rem 1.35rem; }
.faq-fx .faq-num {
  flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px;
  background: var(--fs-soft); color: var(--fs-muted);
  font-family: var(--fs-font-display); font-size: .82rem; font-weight: 800;
  transition: background-color .25s ease, color .25s ease;
}
.faq-fx .accordion-button:not(.collapsed) .faq-num,
.faq-fx .accordion-button:hover .faq-num { background: var(--fs-primary); color: #fff; }
.faq-fx .faq-q { flex: 1; }
.faq-fx .accordion-button::after {
  width: 2rem; height: 2rem; border-radius: 50%;
  background-color: var(--fs-soft); background-position: center; background-size: .85rem;
  transition: transform .35s ease, background-color .25s ease;
}
.faq-fx .accordion-button:not(.collapsed)::after { background-color: #fff; }
.faq-fx .accordion-body { padding: 0 1.35rem 1.25rem calc(1.35rem + 2.1rem + .9rem); }
.faq-fx .accordion-button:not(.collapsed) { background: linear-gradient(90deg, var(--fs-primary-soft), transparent); }

/* ==========================================================================
   Preise
   ========================================================================== */

.price-block + .price-block { margin-top: 2rem; }
.price-block .price-table { margin-bottom: 0; }
.price-table tbody tr > * { transition: background-color .2s ease, box-shadow .2s ease, color .2s ease; }
.price-table tbody tr:hover > td:first-child { box-shadow: inset 3px 0 0 var(--fs-primary); }
.price-table .price-label { display: inline-block; transition: transform .25s ease; }
.price-table tbody tr:hover .price-label { transform: translateX(4px); }
.price-table .price-amount {
  display: inline-block; padding: .15rem .55rem; border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.price-table tbody tr:hover .price-amount { background: var(--fs-primary-soft); color: var(--fs-primary-dark); }
.price-note { display: flex; gap: .5rem; align-items: flex-start; }
.price-note i { color: var(--fs-primary); margin-top: .1rem; }

.price-aside .kicker { margin-bottom: .9rem; }
.example-wrap + .example-wrap { margin-top: 1rem; }
.info-card { border-left: 4px solid var(--fs-primary); }
.info-card h3 i { color: var(--fs-primary); margin-right: .25rem; }

/* ==========================================================================
   Team
   ========================================================================== */

.team-card { isolation: isolate; }
.team-photo { position: relative; overflow: hidden; }
/* Bild füllt den 4:3-Rahmen exakt – auch Hochformat-Fotos werden nicht mehr gestaucht/verschoben */
.team-photo img { position: absolute; inset: 0; object-position: center 30%; }
.team-photo img { display: block; transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .5s ease; }
.team-card:hover .team-photo img { transform: scale(1.07); filter: saturate(1.1); }
.team-initial { font-family: var(--fs-font-display); font-size: 4rem; font-weight: 800; color: rgba(255, 255, 255, .5); }
.team-body .contact a { display: inline-flex; justify-content: center; align-items: center; gap: .4rem; transition: color .2s ease; }
.team-body .contact a i { transition: transform .3s ease; }
.team-body .contact a:hover i { transform: scale(1.2) rotate(-8deg); }

.moto-section { position: relative; overflow: hidden; }
.moto-section > .container { position: relative; z-index: 1; }
.moto-deco {
  position: absolute; right: -4rem; top: 50%; transform: translateY(-50%);
  font-size: 22rem; line-height: 1; color: rgba(255, 255, 255, .03); pointer-events: none;
}
.perk-list li {
  align-items: center; gap: 1rem;
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.perk-list li span:first-child { display: inline-flex; align-items: center; gap: .6rem; }
.perk-list li span:last-child { color: #ff8a95; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.perk-list li i { color: #ff8a95; transition: transform .3s ease; }
.perk-list li:hover { transform: translateX(6px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 138, 149, .3); }
.perk-list li:hover i { transform: scale(1.2); }

/* ==========================================================================
   Theoriekurse
   ========================================================================== */

@media (min-width: 992px) {
  .course-intro { position: sticky; top: 7rem; margin-bottom: 0; }
  .price-aside { position: sticky; top: 6.5rem; }
}

.course-empty { color: var(--fs-muted); }
.course-timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.course-timeline::before {
  content: ""; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, var(--fs-primary), var(--fs-line) 60%);
}
.course-item { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.course-marker {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-content: center; text-align: center; line-height: 1;
  background: #fff; border: 1.5px solid var(--fs-line);
  box-shadow: 0 6px 16px -12px rgba(28, 31, 36, .5);
  transition: transform .3s ease, border-color .3s ease;
}
.course-marker .day { font-family: var(--fs-font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; color: var(--fs-ink); }
.course-marker .mon { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fs-muted); margin-top: .2rem; }

.course-timeline .course {
  display: block; position: relative; overflow: hidden;
  padding: 1.1rem 1.35rem; border-radius: var(--fs-radius);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.course-item:hover .course { transform: translateX(4px); border-color: rgba(200, 16, 46, .3); box-shadow: 0 16px 32px -24px rgba(28, 31, 36, .45); }
.course-item:hover .course-marker { transform: scale(1.05); border-color: var(--fs-primary); }
.course-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .35rem; }
.course-timeline .course .month { font-size: 1.2rem; margin: 0; }
.course-timeline .course .dates { display: flex; gap: .5rem; align-items: baseline; margin: 0; font-size: .95rem; }
.course-timeline .course .dates i { color: var(--fs-primary); }
.course-timeline .course .note { display: inline-flex; gap: .35rem; align-items: center; margin-top: .7rem; white-space: normal; }

.course-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
}
.course-countdown {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem;
  font-size: .86rem; font-weight: 700; color: var(--fs-primary-dark);
}

/* Nächster Kurs: hervorgehoben */
.course-item.is-next .course {
  border-color: rgba(200, 16, 46, .4);
  background: linear-gradient(120deg, #fff 40%, rgba(200, 16, 46, .07));
  box-shadow: 0 22px 44px -28px rgba(200, 16, 46, .6);
}
.course-item.is-next .course::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--fs-primary);
}
.course-item.is-next .course-marker {
  background: var(--fs-primary); border-color: var(--fs-primary);
  animation: fs-pulse 2.2s ease-out infinite;
}
.course-item.is-next .course-marker .day,
.course-item.is-next .course-marker .mon { color: #fff; }
.course-item.is-running .course-marker { background: var(--fs-navy); border-color: var(--fs-navy); }
.course-item.is-running .course-marker .day,
.course-item.is-running .course-marker .mon { color: #fff; }

/* Vergangene Kurse: zurückgenommen */
.course-item.is-past { opacity: .55; filter: grayscale(1); }
.course-item.is-past.is-visible { opacity: .55; }
.course-item.is-past:hover { opacity: .8; }

/* Vorteile im dunklen Abschnitt – Icons als Verkehrszeichen (globales .sign) */
.benefit-card { transition: border-color .3s ease, background-color .3s ease; }
.benefit-card:hover { border-color: rgba(255, 138, 149, .4); background: rgba(255, 255, 255, .09); }
.benefit-sign { --sign-size: 2.75rem; margin-bottom: .85rem; transition: transform .4s var(--fs-ease-spring); }
.benefit-card:hover .benefit-sign { transform: rotate(-8deg) scale(1.06); }
.theory-section .schedule li { transition: transform .25s ease, background-color .25s ease; }
.theory-section .schedule li:hover { transform: translateX(5px); background: rgba(255, 255, 255, .1); }

/* ==========================================================================
   Kontakt
   ========================================================================== */

.contact-tiles { display: grid; gap: .75rem; }
.contact-tile {
  background: #fff; border: 1px solid var(--fs-line); border-radius: var(--fs-radius);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-tile.is-visible { transition: opacity .6s ease, transform .3s ease, border-color .25s ease, box-shadow .25s ease; }
.contact-tile.is-visible:hover { transform: translateY(-3px); }
.contact-tile:hover { border-color: rgba(200, 16, 46, .3); box-shadow: 0 16px 30px -22px rgba(28, 31, 36, .45); }
.contact-tile .contact-item { padding: 0; border: 0; align-items: center; }
.contact-tile .contact-item a { color: var(--fs-ink); text-decoration: none; background: linear-gradient(var(--fs-primary), var(--fs-primary)) 0 100% / 0 1.5px no-repeat; transition: background-size .3s ease, color .2s ease; }
.contact-tile .contact-item a:hover { color: var(--fs-primary-dark); background-size: 100% 1.5px; }

.map-embed { box-shadow: var(--fs-shadow); }
.map-embed iframe { filter: grayscale(.55) contrast(1.05); transition: filter .5s ease; }
.map-embed:hover iframe { filter: none; }

.form-fx { position: relative; overflow: hidden; }
.form-fx::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--fs-primary), #ff8a95, var(--fs-primary));
}
.form-badge {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .75rem;
  font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--fs-primary-dark); background: var(--fs-primary-soft);
  padding: .3rem .75rem; border-radius: 999px;
}

/* Floating Labels */
.form-fx .form-floating > label { color: var(--fs-muted); font-weight: 600; font-size: .95rem; transition: color .2s ease, transform .2s ease, opacity .2s ease; }
.form-fx .form-floating > label .opt { font-weight: 400; opacity: .8; }
.form-fx .form-floating:focus-within > label { color: var(--fs-primary-dark); }
.form-fx .form-floating > .form-control,
.form-fx .form-floating > .form-select {
  background-color: var(--fs-soft); border-color: transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.form-fx .form-floating > .form-control:hover,
.form-fx .form-floating > .form-select:hover { border-color: var(--fs-line); }
.form-fx .form-floating > .form-control:focus,
.form-fx .form-floating > .form-select:focus { background-color: #fff; border-color: var(--fs-primary); }
.form-fx .form-floating > .form-control:focus::placeholder { color: rgba(90, 97, 105, .55); }
.form-fx .form-floating > textarea.form-control { height: 10rem; min-height: 8rem; resize: vertical; }
.form-fx .form-floating > textarea:focus ~ label::after,
.form-fx .form-floating > textarea:not(:placeholder-shown) ~ label::after { background-color: transparent; }
.form-fx .form-floating > .form-control:focus ~ label::after,
.form-fx .form-floating > .form-control:not(:placeholder-shown) ~ label::after { background-color: transparent; }

.btn-send { padding-block: .85rem; }

.wa-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.wa-card:hover { transform: translateY(-3px); border-color: rgba(200, 16, 46, .3); box-shadow: 0 16px 30px -22px rgba(28, 31, 36, .45); }
.wa-card .btn i { display: inline-block; transition: transform .3s ease; }
.wa-card:hover .btn i { transform: scale(1.2) rotate(-10deg); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .moto-deco { font-size: 14rem; right: -5rem; }
}

@media (max-width: 767.98px) {
  .hero-stats > div + div::before { display: none; }
  .faq-fx .accordion-button { padding: 1rem; gap: .7rem; }
  .faq-fx .accordion-body { padding: 0 1rem 1.1rem 1rem; }
  .course-timeline::before { left: 25px; }
  .course-item { grid-template-columns: 52px minmax(0, 1fr); gap: .85rem; }
  .course-marker { width: 52px; height: 52px; border-radius: 14px; }
  .course-marker .day { font-size: 1.2rem; }
  .course-timeline .course { padding: 1rem; }
  .course-timeline .course .dates { font-size: .88rem; }
}

/* ==========================================================================
   Reduzierte Bewegung: alle Animationen aus, Endzustände sofort zeigen
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-seal .seal-text,
  .course-item.is-next .course-marker { animation: none !important; }

  .fx-card *, .team-card *, .course-item *, .contact-tile *,
  .price-table *, .perk-list *, .benefit-card * { transition: none !important; }
  .team-card:hover .team-photo img,
  .fx-card:hover .pg-badge-sign,
  .benefit-card:hover .benefit-sign,
  .price-table tbody tr:hover .price-label,
  .course-item:hover .course,
  .perk-list li:hover,
  .theory-section .schedule li:hover,
  .contact-tile.is-visible:hover,
  .wa-card:hover,
  .cta-fx .btn:hover { transform: none !important; }
}

/* ==========================================================================
   Unterseiten – Fahrschul-Motive (pg-*)
   Schilder, Kennzeichen, Ampeln, Chips und Fahrbahn kommen aus dem globalen
   Baukasten in style.css; hier stehen nur Größen, Positionen und Motive.
   ========================================================================== */

/* ---------- Hero mit Motiv + Fahrbahn ---------- */

.pg-hero { padding-bottom: calc(clamp(2.75rem, 6vw, 4.5rem) + 26px); }
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
.pg-hero-motif { display: none; position: relative; min-height: 230px; place-items: center; }
@media (min-width: 992px) {
  .pg-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 3rem; }
  .pg-hero-motif { display: grid; }
}

.pg-hero-road.road-divider {
  --road-h: 26px; --road-dash: 26px; --road-speed: 3.6s;
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
}
/* Die Fahrbahnlinie aus app.js (.fx-road) läge hinter dem Band – entfällt hier */
.pg-hero .fx-road { display: none; }

/* Kennzeichen im Hero (globales .plate) */
.pg-hero-plate { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* Preise-Motiv: Kennzeichen als Preisschild + Mini-Beleg */
.pg-tag { position: relative; z-index: 2; transform: rotate(-6deg); transform-origin: 50% -40px; animation: pg-swing 6s ease-in-out infinite alternate; }
.pg-tag-string {
  position: absolute; left: 50%; bottom: 100%; width: 2px; height: 46px; margin-left: -1px;
  background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .55));
}
.pg-tag-string::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: var(--fs-navy);
}
@keyframes pg-swing { from { transform: rotate(-7deg); } to { transform: rotate(-3deg); } }
@media (min-width: 992px) {
  .pg-hero--preise .pg-hero-motif { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 46px; }
}
.pg-mini-receipt {
  position: relative; z-index: 1; width: 190px; margin: -.4rem 0 0 7rem;
  display: grid; gap: .45rem; padding: .9rem 1rem 1.3rem;
  background: #fbfaf7; color: #3a3f45; transform: rotate(5deg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}
.pg-mini-row { display: flex; align-items: baseline; gap: .4rem; }
.pg-mini-row b { font-weight: 600; }
.pg-mini-row i { flex: 1; border-bottom: 1.5px dotted #b9bec4; }
.pg-mini-sum { margin-top: .2rem; padding-top: .45rem; border-top: 1.5px dashed #b9bec4; font-weight: 700; color: var(--fs-primary-dark); }

/* Theorie-Motiv: vier Verkehrszeichen (globales .sign) */
.pg-signs { display: grid; grid-template-columns: repeat(2, 104px); gap: 1.4rem; margin-bottom: 2rem; }
.pg-hero-sign {
  --sign-size: 104px;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .35));
  animation: pg-bob 5s ease-in-out infinite alternate;
}
.pg-hero-sign:nth-child(2) { animation-delay: -1.2s; }
.pg-hero-sign:nth-child(3) { animation-delay: -2.4s; }
.pg-hero-sign:nth-child(4) { animation-delay: -3.6s; }
@keyframes pg-bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.pg-signs-caption {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.pg-signs-caption i { color: #ff8a95; }

/* Team-Motiv: Lenkrad + Kennzeichen */
.pg-wheel {
  width: 210px; height: 210px; color: rgba(255, 255, 255, .92);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .4));
  animation: pg-steer 7s ease-in-out infinite alternate;
}
@keyframes pg-steer { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }
.pg-hero-plate--team { position: absolute; bottom: -.4rem; left: 50%; transform: translateX(-50%) rotate(-2deg); }

/* Kontakt-Motiv: Wegweiser + Standort-Pin */
.pg-signpost { position: relative; display: grid; gap: .6rem; justify-items: start; padding-bottom: 70px; }
.pg-waysign {
  position: relative; z-index: 1; display: grid; gap: .2rem;
  padding: .85rem 3.2rem .85rem 1.2rem;
  background: #15171a; color: #15171a;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .35));
}
.pg-waysign::before {
  content: ""; position: absolute; inset: 3px; z-index: -1; background: var(--fs-sign-yellow);
  clip-path: polygon(0 0, calc(100% - 29px) 0, 100% 50%, calc(100% - 29px) 100%, 0 100%);
}
.pg-waysign-name { font-family: var(--fs-font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.1; white-space: nowrap; }
.pg-waysign-sub { font-size: .8rem; font-weight: 600; opacity: .8; white-space: nowrap; }
.pg-waysign--sub { margin-left: 1.5rem; padding-block: .55rem; }
.pg-waysign--sub::before { background: #fff; }
.pg-waysign--sub .pg-waysign-name { font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.pg-post {
  position: absolute; left: 2.2rem; top: 1rem; bottom: 0; width: 10px; z-index: 0; border-radius: 3px;
  background: linear-gradient(90deg, #8b9198, #d3d6da 45%, #8b9198);
}
.pg-pin {
  position: absolute; right: 8%; bottom: 0; font-size: 3.2rem; color: var(--fs-primary); line-height: 1;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .45));
  animation: pg-pin 2.4s ease-in-out infinite;
}
.pg-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 30px; height: 8px; margin-left: -15px;
  border-radius: 50%; background: rgba(0, 0, 0, .45); z-index: -1;
}
@keyframes pg-pin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Impressum-Motiv */
.pg-hero-sign--legal { --sign-size: 120px; font-size: 3.4rem; animation: none; }

/* ---------- Preise ---------- */

.pg-rate-stack { display: grid; gap: 1.5rem; }
.pg-rate-card {
  background: #fff; border: 1px solid var(--fs-line); border-radius: var(--fs-radius);
  box-shadow: var(--fs-shadow); overflow: hidden;
}
.pg-rate-card + .pg-rate-card { margin-top: 0; }
.pg-rate-head {
  position: relative; display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem clamp(1.1rem, 3vw, 1.6rem) 1.35rem;
  background: var(--fs-navy); color: #fff;
}
/* Schmaler Fahrbahnstreifen unter dunklen Kopfzeilen (Preise, Karte, Formular) */
.pg-rate-head::after,
.pg-map-bar::after,
.pg-form-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--fs-marking) 0 18px, transparent 18px 36px) center / 100% 2px no-repeat,
    var(--fs-asphalt);
}
.pg-class-chip {
  flex: none; display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 .5rem;
  border-radius: var(--fs-radius-sm); background: #fff; color: var(--fs-ink);
  font-family: var(--fs-font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em;
  box-shadow: inset 0 0 0 3px var(--fs-sign-red), 0 8px 18px -10px rgba(0, 0, 0, .6);
}
.pg-class-chip--icon { font-size: 1.4rem; color: var(--fs-primary); }
.pg-rate-titles { min-width: 0; }
.pg-rate-kicker { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ff8a95; }
.pg-rate-title { margin: .15rem 0 0; font-size: clamp(1.2rem, 2.4vw, 1.45rem); color: #fff; }
.pg-rate-icon { margin-left: auto; font-size: 2rem; color: rgba(255, 255, 255, .22); transition: color .3s ease, transform .4s ease; }
.pg-rate-card:hover .pg-rate-icon { color: rgba(255, 138, 149, .7); transform: translateX(4px); }

.price-table.pg-rates { margin: 0; font-size: .97rem; }
.pg-rates tbody tr > * {
  padding: .78rem clamp(1.1rem, 3vw, 1.6rem); border-bottom: 1px solid var(--fs-line); background: transparent;
}
.pg-rates tbody tr:last-child > * { border-bottom: 0; }
.pg-rates tbody tr > * { vertical-align: baseline; }
.pg-rates tbody th {
  font-size: .97rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fs-ink);
  padding-right: .25rem;
}
.pg-rates tbody td { width: 1%; white-space: nowrap; padding-left: .25rem; }
.pg-leader { display: flex; align-items: flex-end; gap: .6rem; }
.pg-leader::after { content: ""; flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted #cdd2d7; margin-bottom: .45em; }
.pg-rates .price-amount {
  font-family: var(--fs-font-display); font-weight: 800; font-size: 1.05rem;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--fs-ink);
}
.pg-rates tbody tr:hover > * { background: var(--fs-soft); }
.pg-rates tbody tr:hover > th { box-shadow: inset 3px 0 0 var(--fs-primary); }
.pg-rates tbody tr:hover .price-label { transform: translateX(4px); }

.pg-note { margin: 1.1rem .25rem 0; font-size: .88rem; color: var(--fs-muted); }

/* Beispielrechnungen als Kassenbon */
.price-aside .example-wrap { filter: drop-shadow(0 18px 22px rgba(28, 31, 36, .16)); }
.pg-receipt {
  position: relative; padding: 1.35rem 1.4rem 2rem;
  background: #fffdf8; color: var(--fs-ink);
  border-top: 5px solid var(--fs-primary);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.example-wrap:hover .pg-receipt { transform: translateY(-4px) rotate(-.4deg); }
.pg-receipt-head {
  display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; padding-bottom: .7rem;
  border-bottom: 1.5px dashed #cfd3d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fs-muted);
}
.pg-receipt-head i { color: var(--fs-primary); }
.pg-receipt-no { color: var(--fs-ink); }
.pg-receipt h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.pg-receipt-line {
  margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; color: var(--fs-muted);
}
.pg-receipt-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: 1rem 0 .7rem; padding-top: .8rem; border-top: 3px double #cfd3d8;
}
.pg-receipt-total > span { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fs-muted); }
.pg-receipt .amount {
  font-family: var(--fs-font-display); font-size: clamp(1.7rem, 3.5vw, 2.1rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--fs-primary); font-variant-numeric: tabular-nums; line-height: 1;
}
.pg-receipt-foot { display: flex; gap: .4rem; align-items: flex-start; margin: 0; font-size: .82rem; color: var(--fs-muted); }
.pg-receipt-foot i { color: var(--fs-primary); }

.pg-info-sign .card-body { display: flex; gap: 1rem; align-items: flex-start; }
.pg-info-sign h3 { margin-bottom: .35rem; }
.pg-sign-mini { --sign-size: 2.4rem; }

/* Rundes Verkehrszeichen als Karten-Icon (globales .sign--round) */
.pg-badge-sign { --sign-size: 3.5rem; margin-bottom: 1rem; transition: transform .45s var(--fs-ease-spring); }
.fx-card:hover .pg-badge-sign { transform: rotate(-10deg) scale(1.06); }

/* ---------- Theoriekurse ---------- */

.course-timeline.pg-lane { --cal: 74px; gap: 1.35rem; }
.course-timeline.pg-lane::before {
  left: calc(var(--cal) / 2 - 8px); width: 16px; top: 0; bottom: 0; border-radius: 8px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .85) 0 12px, transparent 12px 24px) center / 2px 100% no-repeat,
    var(--fs-asphalt);
}
.course-timeline.pg-lane { isolation: isolate; }
.course-timeline.pg-lane::before { z-index: 0; }
.pg-lane .course-item { z-index: 1; grid-template-columns: var(--cal) minmax(0, 1fr); gap: 1.1rem; }
.course-marker.pg-cal {
  width: var(--cal); height: auto; display: flex; flex-direction: column; align-items: center;
  padding: 0 0 .5rem; overflow: hidden; border-radius: 14px; background: #fff;
  border: 1.5px solid var(--fs-line); box-shadow: 0 10px 22px -16px rgba(28, 31, 36, .6);
}
.pg-cal .pg-cal-wd {
  align-self: stretch; padding: .25rem 0; margin-bottom: .35rem;
  background: var(--fs-navy); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.pg-cal .day { font-size: 1.6rem; color: var(--fs-ink); }
.pg-cal .mon { color: var(--fs-muted); }
.course-item.is-next .course-marker.pg-cal { background: #fff; border-color: var(--fs-primary); }
.course-item.is-next .pg-cal .pg-cal-wd { background: var(--fs-primary); }
.course-item.is-next .pg-cal .day { color: var(--fs-ink); }
.course-item.is-next .pg-cal .mon { color: var(--fs-primary-dark); }
.course-item.is-running .course-marker.pg-cal { background: #fff; border-color: var(--fs-amber); }
.course-item.is-running .pg-cal .pg-cal-wd { background: var(--fs-amber); color: #2a1d00; }
.course-item.is-running .pg-cal .day { color: var(--fs-ink); }
.course-item.is-running .pg-cal .mon { color: var(--fs-muted); }
.course-item.is-past .pg-cal .pg-cal-wd { background: #9aa0a6; }

.pg-course .month { display: flex; align-items: baseline; gap: .45rem; }
.pg-course-year { font-size: .85rem; font-weight: 600; color: var(--fs-muted); }
.course-item.is-running .pg-course { border-color: rgba(255, 176, 32, .55); box-shadow: 0 18px 36px -28px rgba(255, 176, 32, .9); }
.course-item.is-running .pg-course::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--fs-amber);
}

/* Status mit Mini-Ampel (globales .traffic-light--h) */
.pg-status .traffic-light,
.pg-legend .traffic-light { --tl-size: 8px; }
.course-badge.pg-status { gap: .5rem; padding: .25rem .75rem .25rem .3rem; background: var(--fs-soft); color: var(--fs-ink); }
.course-badge.pg-status--next { background: rgba(34, 197, 94, .12); color: #166534; }
.course-badge.pg-status--running { background: rgba(255, 176, 32, .16); color: #7a4d00; }
.course-badge.pg-status--past { color: var(--fs-muted); }

.pg-legend { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .45rem; font-size: .88rem; color: var(--fs-muted); }
.pg-legend li { display: flex; align-items: center; gap: .6rem; }

.pg-schedule-title {
  display: flex; align-items: center; gap: .5rem; margin: 1.75rem 0 .75rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7) !important;
}
.pg-schedule-title i { color: #ff8a95; }
.pg-schedule li { gap: 1rem; }
.pg-schedule li span:last-child { text-align: right; color: #fff; font-weight: 600; }

/* ---------- Team: Profilkarten mit Kennzeichen-Namensschild ---------- */

.pg-profile { border-radius: var(--fs-radius-lg); overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease; }
.pg-profile:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -32px rgba(28, 31, 36, .6); border-color: rgba(200, 16, 46, .3); }
.pg-profile-photo { aspect-ratio: 4 / 3.3; }
.pg-profile-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 23, 27, .35), transparent 30%, transparent 62%, rgba(20, 23, 27, .55));
}
.pg-profile-photo::after { z-index: 2; }
.pg-profile-role {
  position: absolute; top: .85rem; left: .85rem; z-index: 2; max-width: calc(100% - 1.7rem);
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .75rem; border-radius: 999px;
  background: rgba(20, 23, 27, .72); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.pg-profile-role i { color: #ff8a95; }
.pg-profile-initial { display: grid; place-items: center; gap: .25rem; color: rgba(255, 255, 255, .55); }
.pg-profile-initial i { font-size: 1.6rem; color: rgba(255, 138, 149, .6); }
.pg-profile-initial b { font-family: var(--fs-font-display); font-size: 4.2rem; font-weight: 800; line-height: 1; }
.pg-profile-photo:has(.pg-profile-initial) {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 22px, transparent 22px 44px) 0 calc(100% - 22px) / 100% 3px no-repeat,
    linear-gradient(transparent calc(100% - 44px), var(--fs-asphalt) calc(100% - 44px)),
    linear-gradient(135deg, #2a2f36, #1c1f24);
}

.pg-profile-body { position: relative; z-index: 3; padding-top: 0 !important; }
.pg-name-plate {
  position: relative; display: flex; width: max-content; max-width: 100%;
  margin: -1.35rem auto 0; font-size: 1.25rem; letter-spacing: .04em;
  transition: transform .35s var(--fs-ease-spring);
}
.pg-profile:hover .pg-name-plate { transform: translateY(-3px); }
.pg-profile-classes { margin-top: 1.1rem; }
.pg-profile-label { display: block; margin-bottom: .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fs-muted); }
.pg-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.pg-profile-contact {
  display: grid !important; gap: .45rem !important; margin-top: 1.15rem; padding-top: 1.15rem;
  border-top: 1.5px dashed var(--fs-line);
}
.team-body .pg-profile-link {
  display: flex; justify-content: center; align-items: center; gap: .5rem; min-width: 0;
  padding: .55rem .9rem; border-radius: 999px; background: var(--fs-soft); color: var(--fs-ink);
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.team-body .pg-profile-link span { min-width: 0; overflow-wrap: anywhere; }
.team-body .pg-profile-link i { color: var(--fs-primary); }
.team-body .pg-profile-link:hover { background: var(--fs-primary-soft); color: var(--fs-primary-dark); text-decoration: none; }

/* ---------- Kontakt ---------- */

.pg-route-tiles { gap: .85rem; }
.contact-tile.pg-route {
  position: relative; padding: 1.05rem 3.1rem 1.05rem 1.1rem; border-radius: var(--fs-radius-sm);
}
.contact-tile.pg-route::before {
  content: ""; position: absolute; inset: 5px; border-radius: calc(var(--fs-radius-sm) - 4px); pointer-events: none;
  border: 1.5px solid rgba(28, 31, 36, .08); transition: border-color .25s ease;
}
.contact-tile.pg-route::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 11px; height: 11px;
  border-top: 2.5px solid rgba(200, 16, 46, .4); border-right: 2.5px solid rgba(200, 16, 46, .4);
  transform: translateY(-50%) rotate(45deg); transition: right .25s ease, border-color .25s ease;
}
.contact-tile.pg-route:hover::before { border-color: rgba(200, 16, 46, .25); }
/* Pfeil nur, wenn die Kachel auch etwas zum Anklicken enthält */
.contact-tile.pg-route:not(:has(a))::after { display: none; }
.contact-tile.pg-route:not(:has(a)) { padding-right: 1.1rem; }
.contact-tile.pg-route:hover::after { right: .95rem; border-color: var(--fs-primary); }
.pg-route .contact-item strong {
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fs-muted); margin-bottom: .15rem;
}
.pg-route .contact-item span, .pg-route .contact-item a { color: var(--fs-ink); font-weight: 600; overflow-wrap: anywhere; }
.pg-route .contact-item > div:last-child { min-width: 0; }
/* Kontakt-Icons als blaue Richtzeichen – Farben wie .sign--info */
.icon-badge.pg-route-icon {
  border-radius: 10px; background: var(--fs-sign-blue); color: #fff;
  box-shadow: inset 0 0 0 2px var(--fs-sign-blue), inset 0 0 0 3.5px #fff;
}

.pg-map {
  margin-top: 1.5rem; border-radius: var(--fs-radius); overflow: hidden;
  border: 1px solid var(--fs-line); background: #fff; box-shadow: var(--fs-shadow);
}
.pg-map .map-embed { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.pg-map-bar {
  position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: .75rem;
  padding: .85rem 1rem 1.1rem; background: var(--fs-navy); color: #fff;
}
.pg-map-pin { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--fs-primary); font-size: 1.05rem; }
.pg-map-addr { display: grid; min-width: 0; flex: 1 1 10rem; line-height: 1.3; }
.pg-map-addr strong { font-size: .92rem; }
.pg-map-addr span { font-size: .84rem; color: rgba(255, 255, 255, .72); }
.pg-map-route {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  padding: .45rem .9rem; border-radius: 999px; background: #fff; color: var(--fs-navy);
  font-size: .85rem; font-weight: 700; text-decoration: none; transition: background-color .2s ease, color .2s ease;
}
.pg-map-route:hover, .pg-map-route:focus-visible { background: var(--fs-primary); color: #fff; }

.pg-form { --pg-pad: clamp(1.4rem, 3vw, 2.2rem); padding: var(--pg-pad); }
.pg-form::before { z-index: 3; }
.pg-form-head {
  position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin: calc(var(--pg-pad) * -1) calc(var(--pg-pad) * -1) 1.6rem;
  padding: calc(var(--pg-pad) + 4px) var(--pg-pad) calc(var(--pg-pad) + 6px);
  background: var(--fs-navy); color: #fff;
}
.pg-form-head h2 { color: #fff; margin-bottom: .35rem; }
.pg-form-head p { color: rgba(255, 255, 255, .72); }
.pg-form-head .form-badge { background: rgba(255, 255, 255, .1); color: #ffb3ba; }
.pg-form-stamp {
  flex: none; display: grid; place-items: center; gap: .15rem; width: 84px; height: 84px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .8); transform: rotate(-10deg);
  font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.pg-form-stamp i { font-size: 1.5rem; color: #ff8a95; line-height: 1; }
.pg-form-step {
  display: flex; align-items: center; gap: .6rem; margin: 0 0 .9rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fs-muted);
}
.pg-form-step::after { content: ""; flex: 1; height: 1px; background: var(--fs-line); }
.pg-form-step--inner { margin: .6rem 0 0; }
.pg-form-step-num {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--fs-navy); color: #fff; font-size: .75rem; letter-spacing: 0;
}

/* ---------- Impressum ---------- */

.pg-legal .card { border-left: 4px solid var(--fs-line); transition: border-color .25s ease; }
.pg-legal .card:hover { border-left-color: var(--fs-primary); }

/* ---------- Unterseiten responsive ---------- */

@media (max-width: 767.98px) {
  .pg-hero { padding-bottom: calc(2.25rem + 20px); }
  .pg-hero-road.road-divider { --road-h: 20px; --road-dash: 20px; }
  .course-timeline.pg-lane { --cal: 58px; }
  .course-timeline.pg-lane::before { width: 12px; left: calc(var(--cal) / 2 - 6px); }
  .pg-lane .course-item { gap: .8rem; }
  .pg-cal .day { font-size: 1.3rem; }
  .pg-cal .pg-cal-wd { font-size: .62rem; }
  .pg-rate-head { gap: .8rem; }
  .pg-class-chip { min-width: 46px; height: 46px; font-size: 1.3rem; }
  .pg-rate-icon { font-size: 1.6rem; }
  .pg-rates tbody th { font-size: .92rem; }
  .pg-rates .price-amount { font-size: .98rem; padding-inline: .3rem; }
  .pg-form-stamp { display: none; }
  .pg-name-plate { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-tag,
  .pg-hero-sign,
  .pg-wheel,
  .pg-pin { animation: none !important; }
  .pg-profile, .pg-profile *, .pg-receipt, .pg-rate-card *, .pg-route, .pg-route::after { transition: none !important; }
  .pg-profile:hover, .example-wrap:hover .pg-receipt, .pg-profile:hover .pg-name-plate,
  .pg-rate-card:hover .pg-rate-icon, .pg-rates tbody tr:hover .price-label { transform: none !important; }
}

/* ==========================================================================
   Social-Media-Links (Footer, Vollbild-Menü, Kontakt) – reine Links, keine Einbettung
   ========================================================================== */

.social-links { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.social-link {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font-size: 1.1rem; text-decoration: none;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.social-link:hover, .social-link:focus-visible { background: var(--fs-primary); border-color: var(--fs-primary); color: #fff; transform: translateY(-2px); }
.footer-social { margin-top: 1.25rem; }
.nav-social { margin-top: .4rem; }

/* Kontaktseite: „Folge uns“ mit Namen */
.social-links--labels .social-link {
  width: auto; height: auto; gap: .5rem; display: inline-flex; align-items: center;
  padding: .5rem 1rem; border-radius: var(--fs-radius-pill); font-size: .92rem; font-weight: 600;
  color: var(--fs-ink); background: var(--fs-soft); border-color: var(--fs-line);
}
.social-links--labels .social-link i { font-size: 1.05rem; color: var(--fs-primary); transition: color .2s ease; }
.social-links--labels .social-link:hover,
.social-links--labels .social-link:focus-visible { color: #fff; }
.social-links--labels .social-link:hover i,
.social-links--labels .social-link:focus-visible i { color: #fff; }

/* ==========================================================================
   FAQ-Seite
   ========================================================================== */

.pg-faq-signs { position: relative; width: 230px; height: 200px; margin-bottom: 2rem; }
.pg-faq-sign { --sign-size: 150px; position: absolute; left: 0; top: 0; font-size: 4.6rem; }
.pg-faq-sign--sm { --sign-size: 96px; left: auto; right: 0; top: auto; bottom: 0; font-size: 2.6rem; }

@media (min-width: 992px) {
  .pg-faq-aside, .pg-dl-aside { position: sticky; top: 7rem; margin-bottom: 0; }
}
.pg-faq-help {
  margin-top: 1.5rem; padding: 1.25rem; border-radius: var(--fs-radius);
  background: var(--fs-soft); border: 1px solid var(--fs-line); border-left: 4px solid var(--fs-primary);
}
.pg-dl-aside .pg-faq-help { margin-top: 0; }
.pg-faq-help strong { display: block; font-family: var(--fs-font-display); font-size: 1.1rem; margin-bottom: .35rem; }
.pg-faq-help strong i { color: var(--fs-primary); }

/* ==========================================================================
   Downloads
   ========================================================================== */

/* Hero-Motiv: PDF-Stapel mit Download-Pfeil */
.pg-docs { position: relative; width: 200px; height: 220px; }
.pg-doc {
  position: absolute; left: 30px; top: 10px; width: 150px; height: 190px; border-radius: 10px;
  display: grid; align-content: start; gap: .7rem; padding: 2.4rem 1.2rem 1rem;
  background: #fbfaf7; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6);
  transform: rotate(4deg);
}
.pg-doc::before {
  content: ""; position: absolute; right: 0; top: 0; width: 34px; height: 34px;
  background: linear-gradient(225deg, var(--fs-navy) 50%, #dcdfe3 50%); border-bottom-left-radius: 6px;
}
.pg-doc--back { left: 6px; top: 26px; transform: rotate(-7deg); background: #d9dce0; padding: 0; }
.pg-doc--back::before { display: none; }
.pg-doc-line { height: 7px; border-radius: 4px; background: #d5d8dc; }
.pg-doc-line--short { width: 60%; }
.pg-doc-badge {
  position: absolute; left: 1.2rem; bottom: 1.1rem; padding: .25rem .6rem; border-radius: 6px;
  background: var(--fs-primary); color: #fff; font-family: var(--fs-font-display); font-weight: 800; font-size: .95rem; letter-spacing: .04em;
}
.pg-doc-arrow {
  position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%; font-size: 1.8rem; color: #fff;
  background: var(--fs-primary); box-shadow: 0 0 0 6px rgba(200, 16, 46, .25), 0 14px 24px -10px rgba(0, 0, 0, .6);
  animation: pg-drop 2.4s ease-in-out infinite;
}
@keyframes pg-drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.dl-group + .dl-group { margin-top: 2.5rem; }
.dl-group-title { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; margin-bottom: 1rem; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.dl-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.25rem; align-items: center;
  padding: 1.1rem 1.25rem; border-radius: var(--fs-radius);
  background: #fff; border: 1px solid var(--fs-line); box-shadow: var(--fs-shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.dl-item:hover { border-color: rgba(200, 16, 46, .3); box-shadow: 0 14px 30px -24px rgba(28, 31, 36, .45); }
.dl-icon {
  position: relative; display: grid; place-items: center; width: 54px; height: 64px; border-radius: 10px;
  background: var(--fs-primary-soft); color: var(--fs-primary); font-size: 1.7rem;
}
.dl-icon span {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  padding: .05rem .4rem; border-radius: 4px; background: var(--fs-primary); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .06em;
}
.dl-title { font-size: 1.08rem; margin: 0 0 .2rem; }
.dl-desc { color: var(--fs-muted); margin: 0 0 .35rem; font-size: .95rem; }
.dl-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0; font-size: .8rem; color: var(--fs-muted); }
.dl-meta span + span::before { content: "·"; margin-right: .9rem; opacity: .6; }
.dl-btn { white-space: nowrap; }
@media (max-width: 575.98px) {
  .dl-item { grid-template-columns: auto minmax(0, 1fr); }
  .dl-btn { grid-column: 1 / -1; width: 100%; }
}

.dl-empty {
  text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem; border-radius: var(--fs-radius-lg);
  background: var(--fs-soft); border: 2px dashed var(--fs-line);
}
.dl-empty-sign { --sign-size: 72px; font-size: 1.8rem; margin-bottom: 1.25rem; }
.dl-empty p { color: var(--fs-muted); max-width: 46ch; margin: 0 auto 1.25rem; }

/* ==========================================================================
   Eltern
   ========================================================================== */

.pg-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

.pg-bf17 { position: relative; display: grid; justify-items: center; gap: 1.6rem; margin-bottom: 2.4rem; }
.pg-bf17-sign {
  --sign-size: 150px; font-size: 4.2rem; font-family: var(--fs-font-display); font-weight: 800;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .35));
  animation: pg-bob 5s ease-in-out infinite alternate;
}
.pg-bf17-plate { transform: rotate(-2deg); }

.pg-eltern-lane h3 { margin-bottom: .35rem; }
.pg-eltern-lane p { color: var(--fs-muted); margin: 0; }
.pg-eltern-card { border-radius: var(--fs-radius); border: 1px solid var(--fs-line); border-top: 4px solid var(--fs-primary); box-shadow: var(--fs-shadow); }
.pg-eltern-card h3 i { color: var(--fs-primary); margin-right: .3rem; }
.pg-checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.pg-checks li { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; }
.pg-checks i { color: var(--fs-primary); margin-top: .1rem; }
.pg-eltern-note { display: flex; gap: .5rem; margin-top: 1rem; color: var(--fs-muted); }
.pg-eltern-note i { color: var(--fs-primary); }

.pg-tip {
  padding: 1.4rem; border-radius: var(--fs-radius); background: #fff; border: 1px solid var(--fs-line);
  box-shadow: var(--fs-shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.pg-tip:hover { transform: translateY(-3px); box-shadow: var(--fs-shadow); }
.pg-tip-sign { --sign-size: 52px; font-size: 1.25rem; margin-bottom: 1rem; }
.pg-tip p { color: var(--fs-muted); font-size: .95rem; }

.pg-cost-card {
  display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.6rem; border-radius: var(--fs-radius);
  background: var(--fs-soft); border: 1px solid var(--fs-line); border-left: 4px solid var(--fs-primary);
}
.pg-cost-icon {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--fs-primary); color: #fff; font-size: 1.5rem;
}
.pg-cost-card p { color: var(--fs-muted); }

.pg-eltern-perks { max-width: 820px; }

.pg-contact-tile {
  display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.15rem 1.25rem;
  border-radius: var(--fs-radius); text-decoration: none; color: var(--fs-ink);
  background: #fff; border: 1px solid var(--fs-line); box-shadow: var(--fs-shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pg-contact-tile > i {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--fs-primary-soft); color: var(--fs-primary); font-size: 1.3rem;
  transition: background-color .2s ease, color .2s ease;
}
.pg-contact-tile > span { display: grid; }
.pg-contact-tile strong { font-family: var(--fs-font-display); }
.pg-contact-tile > span > span { color: var(--fs-muted); font-size: .9rem; }
.pg-contact-tile:hover { border-color: rgba(200, 16, 46, .35); box-shadow: var(--fs-shadow); transform: translateY(-2px); color: var(--fs-ink); }
.pg-contact-tile:hover > i { background: var(--fs-primary); color: #fff; }

@media (max-width: 575.98px) {
  .pg-cost-card { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-doc-arrow, .pg-bf17-sign { animation: none !important; }
  .social-link, .dl-item, .pg-tip, .pg-contact-tile, .pg-contact-tile > i { transition: none !important; }
  .social-link:hover, .social-link:focus-visible, .pg-tip:hover, .pg-contact-tile:hover { transform: none !important; }
}

/* ==========================================================================
   Echte Fotos der Fahrschule (Unterseiten)
   Hero-Hintergrund mit dunklem Overlay, Foto-Karten (Lightbox-Links),
   Galerien. Bilder kommen als <picture> mit width/height (kein Layout-Shift).
   ========================================================================== */

/* ---------- Hero mit Foto-Hintergrund ---------- */
.pg-hero--photo { background: var(--fs-secondary-dark); }
.pg-hero-bg { position: absolute; inset: 0; z-index: 0; display: block; pointer-events: none; }
.pg-hero-bg img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(.8);
}
.pg-hero-bg--low img { object-position: center 70%; }
.page-hero.pg-hero--photo::after {
  z-index: 1;
  background:
    radial-gradient(760px 380px at 82% -20%, rgba(200, 16, 46, .28), transparent 68%),
    linear-gradient(90deg, rgba(20, 23, 27, .95) 0%, rgba(20, 23, 27, .88) 42%, rgba(20, 23, 27, .7) 100%);
}
@media (max-width: 991.98px) {
  .page-hero.pg-hero--photo::after {
    background:
      radial-gradient(520px 300px at 90% -20%, rgba(200, 16, 46, .26), transparent 68%),
      linear-gradient(180deg, rgba(20, 23, 27, .9), rgba(20, 23, 27, .86));
  }
}
.pg-hero--photo h1, .pg-hero--photo p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

/* ---------- Foto-Karte (Lightbox-Link) ---------- */
.pg-photo { margin: 0; min-width: 0; }
.pg-photo-link {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--fs-radius); background: var(--fs-line); box-shadow: var(--fs-shadow);
  cursor: zoom-in;
}
.pg-photo picture { display: block; }
.pg-photo img {
  display: block; width: 100%; height: auto;
  transition: transform .7s var(--fs-ease-out);
}
.pg-photo-link:hover img, .pg-photo-link:focus-visible img { transform: scale(1.04); }
.pg-photo-link:focus-visible { outline: 2.5px solid var(--fs-focus); outline-offset: 3px; }
.pg-photo-zoom {
  position: absolute; right: .7rem; bottom: .7rem; z-index: 1;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-size: .95rem; color: #fff; background: rgba(20, 23, 27, .62);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transform: scale(.85); transition: opacity .25s ease, transform .25s ease;
}
.pg-photo-link:hover .pg-photo-zoom, .pg-photo-link:focus-visible .pg-photo-zoom { opacity: 1; transform: scale(1); }
@media (hover: none) { .pg-photo-zoom { opacity: 1; transform: none; } }
.pg-photo figcaption { margin-top: .6rem; font-size: .86rem; color: var(--fs-muted); line-height: 1.4; }
.section-dark .pg-photo figcaption { color: rgba(255, 255, 255, .7); }
.section-dark .pg-photo-link { background: var(--fs-asphalt); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); }

/* Bild füllt die (per Grid/Aspect-Ratio vorgegebene) Fläche */
.pg-photo--fill, .pg-photo--fill .pg-photo-link { height: 100%; }
.pg-photo--fill .pg-photo-link picture, .pg-photo--fill .pg-photo-link img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

.pg-photo-note { margin: 1rem 0 0; font-size: .86rem; color: var(--fs-muted); }
.pg-photo-note i { color: var(--fs-primary); margin-right: .25rem; }
.section-dark .pg-photo-note { color: rgba(255, 255, 255, .62); }
.section-dark .pg-photo-note i { color: var(--fs-primary-light); }

/* ---------- Theoriekurse: Galerie Theorieraum ---------- */
.pg-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-gallery > .pg-photo:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .pg-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .pg-gallery > .pg-photo:first-child { grid-column: auto; }
}

/* ---------- Team: Motorrad-Mosaik ----------
   Mobil: Hochformat links über zwei Reihen, zwei 3:2-Bilder rechts, breites Bild darunter.
   Desktop: Hochformat links, rechts oben zwei 3:2-Bilder, darunter das breite Bild;
   beide Reihen sind gleich hoch (1fr 1fr), die Höhe geben die 3:2-Bilder vor. */
.pg-moto-gallery {
  position: relative; z-index: 1; margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pg-moto-a { grid-column: 1; grid-row: 1 / span 2; }
.pg-moto-b .pg-photo-link, .pg-moto-c .pg-photo-link { aspect-ratio: 3 / 2; }
.pg-moto-d { grid-column: 1 / -1; }
.pg-moto-d .pg-photo-link { aspect-ratio: 16 / 9; }
.pg-moto-a .pg-photo-link img { object-position: 50% 40%; }
.pg-moto-d .pg-photo-link img { object-position: 50% 58%; }
@media (min-width: 992px) {
  .pg-moto-gallery {
    gap: 1rem; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr);
    grid-template-rows: 1fr 1fr;
  }
  .pg-moto-b { grid-column: 2; grid-row: 1; }
  .pg-moto-c { grid-column: 3; grid-row: 1; }
  .pg-moto-d { grid-column: 2 / 4; grid-row: 2; }
  .pg-moto-d .pg-photo-link { aspect-ratio: auto; }
}

/* ---------- Kontakt: So findest du uns ---------- */
.pg-find-stack { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 992px) {
  .pg-find-stack { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}
@media (max-width: 575.98px) {
  .pg-find-stack { gap: .75rem; }
  .pg-find-stack figcaption { font-size: .8rem; }
}

/* ---------- Eltern: Fahrzeuge (4:3) + Motorrad (3:4) – Spalten 16:9 ergeben gleiche Bildhöhen ---------- */
.pg-duo { display: grid; gap: 1rem; grid-template-columns: minmax(0, 16fr) minmax(0, 9fr); align-items: start; }

/* ---------- Seitenleisten-Fotos (Downloads, Preise, FAQ) ---------- */
.pg-aside-photo { margin-bottom: 1.25rem; }
.pg-aside-photo.mt-4 { margin-bottom: 0; }
.pg-faq-help--photo .pg-help-photo { margin: -.35rem -.35rem 1rem; }
.pg-faq-help--photo .pg-help-photo .pg-photo-link { border-radius: var(--fs-radius-sm); box-shadow: var(--fs-shadow-sm); }

@media (prefers-reduced-motion: reduce) {
  .pg-photo img, .pg-photo-zoom { transition: none !important; }
  .pg-photo-link:hover img, .pg-photo-link:focus-visible img { transform: none !important; }
}

/* =====================================================================
   Online-Anmeldung „Maxi“ (Fahrschulmanager) – Anmelde-Karte + Platz für
   den schwebenden Maxi-Button (gehört zu maxi.js)
   ===================================================================== */
.maxi-cta-wrap { margin-bottom: clamp(2rem, 4vw, 3rem); scroll-margin-top: 6rem; }
.maxi-section { scroll-margin-top: 4rem; }
.maxi-cta {
  --fs-focus: var(--fs-primary-light);
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3.5vw, 2.25rem);
  border-radius: var(--fs-radius-lg); color: #fff;
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(200, 16, 46, .38), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 50%),
    var(--fs-asphalt-2);
  box-shadow: var(--fs-shadow-lg);
}
/* Fahrbahnmarkierung als Motiv */
.maxi-cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--fs-marking) 0 28px, transparent 28px 46px);
  opacity: .35;
}
.maxi-cta-main {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center;
}
.maxi-cta-sign {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--fs-sign-blue); color: #fff; font-size: 1.6rem;
  box-shadow: inset 0 0 0 3px var(--fs-sign-blue), inset 0 0 0 5px #fff, 0 12px 24px -12px rgba(15, 90, 166, .9);
}
.maxi-cta-kicker {
  display: inline-block; margin-bottom: .3rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--fs-primary-light);
}
.maxi-cta-title {
  margin: 0 0 .35rem; color: #fff; font-family: var(--fs-font-display, inherit);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.15;
}
.maxi-cta-text { margin: 0; max-width: 46rem; color: rgba(232, 234, 236, .82); }
.maxi-cta-start { white-space: nowrap; }
.maxi-cta-start i { transition: transform .2s ease; }
.maxi-cta-start:hover i { transform: translateX(3px); }

.maxi-cta-consent {
  margin-top: 1.25rem; padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .16); border-left: 4px solid var(--fs-primary);
  border-radius: var(--fs-radius-sm); background: rgba(255, 255, 255, .05);
}
.maxi-cta-consent[hidden] { display: none; }
.maxi-cta-note { display: flex; gap: .65rem; margin: 0 0 .9rem; font-size: .9rem; line-height: 1.55; color: rgba(232, 234, 236, .86); }
.maxi-cta-note > i { flex: none; font-size: 1.2rem; color: var(--fs-primary-light); }
.maxi-cta-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.maxi-cta-note a:hover { color: var(--fs-primary-light); }
.maxi-cta-consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.maxi-cta-status { margin: 1rem 0 0; font-size: .88rem; color: rgba(232, 234, 236, .86); }
.maxi-cta-status[hidden] { display: none; }

@media (max-width: 767.98px) {
  .maxi-cta-main { grid-template-columns: auto minmax(0, 1fr); }
  .maxi-cta-actions { grid-column: 1 / -1; }
  .maxi-cta-start { width: 100%; justify-content: center; }
  .maxi-cta-sign { width: 52px; height: 52px; font-size: 1.3rem; align-self: start; }
  .maxi-cta-consent-actions .btn { flex: 1 1 auto; }
}

/* ---------- Schwebender Maxi-Button unten rechts ----------
   Ohne Einwilligung: eigener Platzhalter .maxi-launch (gleiche Grafik, Größe und
   Position wie der Anbieter-Button, lädt nichts vom Anbieter). Nach der Zustimmung
   ersetzt der Original-Button .maxi-button (Vendor-z-index 100000) den Platzhalter
   an derselben Stelle. WhatsApp und „Nach oben“ sitzen unten links (style.css).
   Alles blendet sich aus, solange Menü, Galerie oder Cookie-Dialog offen sind. */
.maxi-launch {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 1045;
  width: 96px; height: 96px;
}
.maxi-launch[hidden] { display: none; }
.maxi-launch-btn {
  position: relative; display: block; width: 96px; height: 96px; padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.maxi-launch-btn:focus-visible { outline: 3px solid var(--fs-focus, #c8102e); outline-offset: 4px; }
.maxi-launch-portrait {
  display: block; width: 96px; height: 96px; max-width: none;
  animation: fs-maxi-init .5s linear 2;
}
.maxi-launch-bubble {
  position: absolute; right: 0; bottom: 80px; width: 175px; height: 70px; max-width: none;
  opacity: 0; animation: fs-maxi-msg .5s linear 1s forwards;
}
.maxi-launch.is-open .maxi-launch-bubble { visibility: hidden; }
@keyframes fs-maxi-init { 0%, 100% { transform: scale(1); } 50% { transform: scale(.8); } }
@keyframes fs-maxi-msg { from { opacity: 0; } to { opacity: 1; } }

/* Einwilligungs-Popover, am Platzhalter verankert */
.maxi-pop {
  --fs-focus: var(--fs-primary-light);
  position: absolute; right: 0; bottom: calc(100% + 12px); z-index: 100001;
  width: min(21.5rem, calc(100vw - 40px));
  padding: 1rem 1.1rem 1.05rem;
  border-radius: var(--fs-radius-sm, 12px); border-top: 4px solid var(--fs-primary);
  background: var(--fs-asphalt-2, #1c1f24); color: rgba(232, 234, 236, .9);
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, .65);
  text-align: left;
}
.maxi-pop[hidden] { display: none; }
/* kleiner Sprechblasen-Zipfel Richtung Maxi */
.maxi-pop::after {
  content: ""; position: absolute; right: 38px; bottom: -8px; width: 16px; height: 16px;
  background: var(--fs-asphalt-2, #1c1f24); transform: rotate(45deg); border-radius: 2px;
}
.maxi-pop:focus { outline: none; }
.maxi-pop-title { margin: 0 0 .4rem; color: #fff; font-family: var(--fs-font-display, inherit); font-size: 1.05rem; line-height: 1.25; }
.maxi-pop-text { margin: 0 0 .85rem; font-size: .84rem; line-height: 1.5; }
.maxi-pop-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.maxi-pop-text a:hover { color: var(--fs-primary-light); }
.maxi-pop-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.maxi-pop-actions .btn { flex: 1 1 auto; }
.maxi-pop-status { margin: .75rem 0 0; font-size: .82rem; }
.maxi-pop-status[hidden] { display: none; }

/* Original-Button des Anbieters: exakt auf der Platzhalter-Position */
html.maxi-active .maxi-button { right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.maxi-button .maxi-portrait { display: block; }
/* Sobald der Anbieter-Button da ist, verschwindet der Platzhalter (ein offenes Popover bleibt) */
html.maxi-active .maxi-launch-btn { display: none; }
html.maxi-active .maxi-launch { width: auto; height: auto; }
html.maxi-active .maxi-pop { bottom: 108px; }
/* Ersetzt der Anbieter-Button den sichtbaren Platzhalter: keine erneute Einblend-Animation */
html.maxi-swap .maxi-button .maxi-portrait,
html.maxi-swap .maxi-button .maxi-message { animation: none !important; opacity: 1 !important; }

@media (max-width: 720px) {
  .maxi-launch, .maxi-launch-btn, .maxi-launch-portrait { width: 70px; height: 70px; }
  .maxi-launch-bubble { bottom: 60px; width: 115px; height: 46px; }
  html.maxi-active .maxi-pop { bottom: 82px; }
}

body.nav-open .maxi-button,
html.lightbox-open .maxi-button,
html.fs-consent-locked .maxi-button,
body.fs-consent-open .maxi-button,
body.nav-open .maxi-launch,
html.lightbox-open .maxi-launch,
html.fs-consent-locked .maxi-launch,
body.fs-consent-open .maxi-launch { display: none !important; }
.maxi-button:focus-visible { outline: 3px solid var(--fs-focus, #c8102e); outline-offset: 4px; border-radius: 50%; }
@media print { .maxi-button, .maxi-launch { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .maxi-launch-portrait, .maxi-launch-bubble,
  .maxi-button .maxi-portrait, .maxi-button .maxi-message { animation: none !important; opacity: 1 !important; }
}

/* Zusatz-Hinweis hinter einem Preis-Posten (z. B. „inbegriffen“) */
.price-label-note { color: var(--fs-muted, #6b7280); font-weight: 400; font-size: .85em; }
