/* ==========================================================================
   aplus – Anpassungsschicht zwischen Original-CSS (style.css, repair.css, book.css, legal.css) und Blocksy/Gutenberg.
   Das Original-CSS bleibt unverändert (nur Selektoren für ersetzte HTML-Tags sind umgeschrieben).
   Hier steht nur, was Blöcke und Blocksy zusätzlich brauchen.
   ========================================================================== */

/* Werte, die das Kopf-/Fußzeilen-Aussehen aus dem Blocksy-Builder nutzt (Namen aus der Vorlage) */
:root {
  --ap-ink: var(--ink); --ap-steel: var(--steel); --ap-green: var(--green); --ap-deep: var(--green-deep); --ap-mint: var(--mint);
  --ap-paper: var(--paper); --ap-paper-2: var(--paper-2); --ap-text: var(--text); --ap-muted: var(--muted); --ap-amber: var(--amber);
  --ap-font: var(--font); --ap-gutter: var(--gutter); --ap-max: var(--max); --ap-ease: cubic-bezier(.2, .8, .2, 1);
  --ap-hex-dark: var(--hex-dark); --ap-hex-light: var(--hex-light);
  /* Blocksys Farbpalette auf die Markenfarben stellen */
  --theme-palette-color-1: #019c7c; --theme-palette-color-2: #017a62; --theme-palette-color-3: #55645e; --theme-palette-color-4: #0f1513;
  --theme-palette-color-5: #e4e9e7; --theme-palette-color-6: #f3f5f4; --theme-palette-color-7: #ffffff; --theme-palette-color-8: #ffffff;
  --theme-font-family: var(--font);
  --theme-normal-container-max-width: 1280px;
}
html body { font-size: 1.0625rem; line-height: 1.6; }

/* ---------- Seiten aus den Mustern ---------- */
body.aplus-page { background: var(--paper); }
body.aplus-page .hero-section { display: none; }
body.aplus-page [data-vertical-spacing] { padding-block: 0 !important; }
body.aplus-page .ct-container-full > article, body.aplus-page .ct-container > article, body.aplus-page article.page { width: 100% !important; max-width: none !important; margin-inline: 0 !important; padding-inline: 0 !important; }
body.aplus-page #main .entry-content { width: 100% !important; max-width: none !important; margin-inline: 0 !important; padding-inline: 0 !important; }
body.aplus-page #main .entry-content > *:not(.legal-layout):not(.book-grid) { width: 100%; max-width: none !important; margin-inline: 0 !important; }
body.aplus-page article { margin: 0; }
body.aplus-page .post-navigation, body.aplus-page .ct-comments-container, body.aplus-page .entry-footer { display: none; }
body.aplus-page :where(h1, h2, h3, h4, h5, h6) { color: inherit; font-family: inherit; }

/* Buttons: der Link im Button-Block trägt das Aussehen */
.wp-block-button.btn { margin: 0; }
:where(.wp-block-button.btn, .wp-block-button.legal-btn) .wp-block-button__link { background: transparent; color: inherit; min-height: 0; }
.wp-block-button.btn .wp-block-button__link { font-size: inherit; }
.wp-block-button.btn .wp-block-button__link, .wp-block-button.legal-btn .wp-block-button__link { font-family: inherit; box-shadow: none; text-decoration: none; width: auto; }

/* Karten, deren ganze Fläche ein Link ist: der Link am Textkind wird über die Karte gestreckt */
.is-linked { position: relative; cursor: pointer; }
.is-linked a { color: inherit; text-decoration: none; }
.is-linked a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.link-arrow > a, .svc__more > a { color: inherit; text-decoration: none; }
p.link-arrow { display: inline-flex; }

/* Bilder, die in der Vorlage direkt im Eltern-Element standen: der Block-Rahmen (figure) nimmt am Layout nicht teil */
figure.wp-block-image.is-bare { display: contents; }

/* Bild-Ausschnitte (aus style="object-position" der Vorlage) */
.op-50-40 img { object-position: 50% 40%; } .op-50-50 img { object-position: 50% 50%; } .op-50-55 img { object-position: 50% 55%; }
.op-50-58 img { object-position: 50% 58%; } .op-60-50 img { object-position: 60% 50%; } .op-70-50 img { object-position: 70% 50%; }
.op-10-50 img { object-position: 10% 50%; } .op-45-50 img { object-position: 45% 50%; } .op-85-50 img { object-position: 85% 50%; }
.op-50-30 img { object-position: 50% 30%; } .op-30-50 img { object-position: 30% 50%; } .op-40-50 img { object-position: 40% 50%; }
.op-75-50 img { object-position: 75% 50%; } .op-80-50 img { object-position: 80% 50%; } .op-20-50 img { object-position: 20% 50%; }

/* Farbige Symbole (Google-Logo) und Sterne */
.ic-g-logo.ic-before::before, .ic-g-logo.ic-after::after { background: var(--img-g-logo) center / contain no-repeat; -webkit-mask: none; mask: none; }
.chip.ic-g-logo.ic-before::before { width: 1.3em; height: 1.3em; }
.rating.ic-g-logo.ic-before::before { width: 26px; height: 26px; }
.rev.ic-g-logo.ic-after::after, .rev__by.ic-g-logo.ic-after::after { position: absolute; right: 1.4rem; bottom: 1.4rem; width: 20px; height: 20px; opacity: .9; }
.rev--feature.ic-g-logo.ic-after::after, .rev--feature .rev__by.ic-g-logo.ic-after::after { width: 26px; height: 26px; }
.stars.has-ic.ic-before::before { width: calc(5em + 8px); height: 1em; -webkit-mask: var(--ic-stars5) left center / 100% 100% no-repeat; mask: var(--ic-stars5) left center / 100% 100% no-repeat; }
.stars.has-ic { display: inline-flex; }

/* Kalender-Fehlermeldung (Vorlage: Inline-Stil) */
.cal-error { color: #b3261e; font-weight: 600; }
.cal-error[hidden] { display: none; }

/* Marken-Ticker: das Skript baut ihn aus der Markenliste, ohne Skript steht sie als Text */
.brands > .marquee { width: 100%; }

/* Die Vorlage nutzt hier eine <ol>: Abstand oben/unten bleibt, der Einzug entfällt, weil die graue Linie (.steps__line) auf die Sechsecke am Rand ausgerichtet ist */
.steps__list { margin-block: 1em; padding-inline-start: 0; }

/* Abschnittsmarken */
.is-ul, .is-li { margin: 0; padding: 0; list-style: none; }
.is-dt, .is-dd { margin: 0; }
.is-span, .is-label { display: block; margin: 0; }

/* Formular (Formidable Forms): Raster und Felder im Stil der Vorlage */
.form-card .frm_forms, .form-card .with_frm_style { --frm-padding: 0; max-width: none; margin: 0; padding: 0; }
.form-card .frm_fields_container { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)) !important; column-gap: 1.1rem !important; row-gap: 1.1rem !important; }
.form-card .frm_form_field { grid-column: 1 / -1 !important; margin: 0 !important; }
.form-card .frm_form_field.frm_half, .form-card .frm_form_field.frm6, .form-card .frm_form_field.frm_first_half, .form-card .frm_form_field.frm_last_half { grid-column: span 6 !important; }
@media (max-width: 600px) { .form-card .frm_form_field.frm_half, .form-card .frm_form_field.frm6, .form-card .frm_form_field.frm_first_half, .form-card .frm_form_field.frm_last_half { grid-column: 1 / -1 !important; } }
.form-card .frm_form_field input:not([type="checkbox"]):not([type="radio"]), .form-card .frm_form_field select, .form-card .frm_form_field textarea { width: 100% !important; max-width: none !important; box-sizing: border-box; }
.form-card select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23101a17' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* Ersatz, wenn das Formular-Plugin fehlt */
.ap-form-fallback { padding: 24px; background: #fff; border: 1px solid rgba(15, 20, 18, .12); border-left: 4px solid var(--green); }
.ap-form-fallback p { margin: 0 0 12px; }
.ap-form-fallback p:last-child { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ap-form-fallback .wp-block-button__link { display: inline-block; padding: 12px 20px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; }
.ap-note { opacity: .7; font-size: .9em; }

/* ---------- Kopf- und Fußzeile (Blocksy-Builder) ---------- */
body.aplus-page { background: var(--ap-paper);}
body.aplus-page .hero-section { display: none;}
body.aplus-page .ct-container-full[data-vertical-spacing],
body.aplus-page [data-vertical-spacing] { padding-block: 0 !important;}
body.aplus-page .ct-container-full > article,
body.aplus-page .ct-container > article,
body.aplus-page article.page { width: 100% !important; max-width: none !important; margin-inline: 0 !important; padding-inline: 0 !important;}
body.aplus-page #main .entry-content { width: 100% !important; max-width: none !important; margin-inline: 0 !important; padding-inline: 0 !important;}
body.aplus-page #main .entry-content > *:not(.legal-layout):not(.book-grid) { width: 100%; max-width: none !important; margin-inline: 0 !important;}
body.aplus-page article { margin: 0;}
body.aplus-page .post-navigation,
body.aplus-page .ct-comments-container,
body.aplus-page .entry-footer { display: none;}
#header.ct-header [data-row*="top"] { background-color: #080c0b !important; color: rgba(255, 255, 255, .85); font-size: .875rem;}
#header.ct-header [data-row*="top"] a,
#header.ct-header [data-row*="top"] .ct-label { color: rgba(255, 255, 255, .85); text-decoration: none;}
#header.ct-header [data-row*="top"] a:hover { color: var(--ap-mint);}
.ap-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 38px;}
.ap-topbar__links { display: flex; gap: 1.5rem;}
.ap-topbar a { text-decoration: none;}
#header.ct-header [data-row*="top"] .ct-header-text { width: 100%; max-width: none;}
@media (max-width: 689px) {
  .ap-topbar__links { display: none;}
}
#header.ct-header [data-row*="middle"] { background-color: rgba(15, 21, 19, .94) !important; border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);}
#header.ct-header { transition: transform .4s var(--ap-ease);}
#header.ct-header.ap-hide { transform: translateY(-110%);}
#header.ct-header .site-logo-container img,
#header.ct-header .default-logo { width: clamp(220px, 20vw, 320px); height: auto; max-height: none;}
#header.ct-header .menu > li > a.ct-menu-link { position: relative; color: #fff; font-weight: 600; font-size: .98rem;}
#header.ct-header .menu > li > a.ct-menu-link::after { content: ""; position: absolute; left: var(--menu-item-padding, 0); right: var(--menu-item-padding, 0); bottom: -2px; height: 2px; background: var(--ap-mint); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ap-ease);}
#header.ct-header .menu > li > a.ct-menu-link:hover::after,
#header.ct-header .menu > li.current-menu-item > a.ct-menu-link::after { transform: scaleX(1);}
#header.ct-header .menu > li.current-menu-item > a.ct-menu-link,
#header.ct-header .menu > li > a.ct-menu-link:hover { color: var(--ap-mint);}
#header.ct-header .ct-header-search,
#header.ct-header .ct-header-cart .ct-cart-item,
#header.ct-header .ct-header-trigger { color: #fff;}
#header.ct-header .ct-header-cart .ct-icon,
#header.ct-header .ct-header-search .ct-icon,
#header.ct-header .ct-header-trigger .ct-icon { fill: currentColor;}
#header.ct-header .ct-dynamic-count-cart { background: var(--ap-mint); color: var(--ap-ink); font-weight: 800;}
#header.ct-header .ct-header-cta .ct-button,
#header.ct-header [data-id="button"] .ct-button { background: var(--ap-deep); color: #fff; border-radius: 3px; font-weight: 700; font-stretch: 108%; transition: background-color .25s, color .25s;}
#header.ct-header .ct-header-cta .ct-button:hover,
#header.ct-header [data-id="button"] .ct-button:hover { background: var(--ap-mint); color: var(--ap-ink);}
#offcanvas.ct-panel { background: var(--ap-ink) var(--ap-hex-dark); color: #fff;}
#offcanvas .mobile-menu a { color: #fff; font-size: 1.7rem; font-stretch: 118%; font-weight: 800;}
#offcanvas .mobile-menu a:hover,
#offcanvas .mobile-menu .current-menu-item > a { color: var(--ap-mint);}
#offcanvas .ct-toggle-close { color: #fff;}
.ap-status { display: inline-flex; align-items: center; gap: .6em;}
.ap-status::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--ap-amber); flex: none;}
.ap-status.is-open::before { background: var(--ap-mint); animation: ap-pulse 2.4s infinite;}
@keyframes ap-pulse{ 0% { box-shadow: 0 0 0 0 rgba(34, 224, 180, .6); } 70%, 100% { box-shadow: 0 0 0 .7em rgba(34, 224, 180, 0); } }
@media (min-width: 900px) {
  #footer.ct-footer [data-row*="middle"] > div { grid-template-columns: 1fr .7fr 1.5fr !important; column-gap: 3rem;}
}
#footer.ct-footer [data-row*="middle"] .widget-title,
#footer.ct-footer [data-row*="middle"] h3 { color: #fff; font-size: 1.05rem; font-stretch: 110%; font-weight: 800; margin-bottom: .8rem;}
#footer.ct-footer .wp-block-list { list-style: none; padding: 0; display: grid; gap: .5rem;}
#footer.ct-footer { background: #080c0b var(--ap-hex-dark); color: rgba(255, 255, 255, .78); font-size: .98rem;}
#footer.ct-footer [data-row] { background-color: transparent !important; border: 0 !important;}
#footer.ct-footer [data-row*="bottom"] { border-top: 1px solid rgba(255, 255, 255, .12) !important;}
#footer.ct-footer :is(h1, h2, h3, h4, h5, h6, .widget-title) { color: #fff; font-size: 1.05rem; font-stretch: 110%; font-weight: 800;}
#footer.ct-footer a { color: rgba(255, 255, 255, .78); text-decoration: none;}
#footer.ct-footer a:hover { color: var(--ap-mint);}
#footer.ct-footer .ct-footer-copyright { color: rgba(255, 255, 255, .55); font-size: .88rem;}
#footer.ct-footer .footer-menu a,
#footer.ct-footer .menu a { color: rgba(255, 255, 255, .78);}
#footer.ct-footer .ct-contact-info li,
#footer.ct-footer [data-id="contacts"] li { color: rgba(255, 255, 255, .78);}
#footer.ct-footer [data-id="contacts"] .ct-icon,
#footer.ct-footer [data-id="contacts"] .ct-icon-container { color: var(--ap-mint); fill: currentColor;}
.ap-mobilebar { display: none;}
@media (max-width: 760px) {
  .ap-mobilebar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; background: var(--ap-ink); border-top: 1px solid rgba(255, 255, 255, .14); padding-bottom: env(safe-area-inset-bottom);}
  .ap-mobilebar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 600;}
  .ap-mobilebar a::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;}
  .ap-mobilebar a:last-child { background: var(--ap-deep);}
}
.form-card .frm_forms,
.form-card .with_frm_style { max-width: none;}
.form-card .frm_form_fields > fieldset { display: block; margin: 0; padding: 0; border: 0;}
.form-card .frm_fields_container { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)) !important; column-gap: 1.1rem !important; row-gap: 1.1rem !important;}
.form-card .frm_form_field { grid-column: 1 / -1 !important; margin: 0 !important;}
.form-card .frm_form_field.frm_half,
.form-card .frm_form_field.frm6,
.form-card .frm_form_field.frm_first_half,
.form-card .frm_form_field.frm_last_half { grid-column: span 6 !important;}
.form-card .frm_form_field input:not([type="checkbox"]):not([type="radio"]),
.form-card .frm_form_field select,
.form-card .frm_form_field textarea { width: 100% !important; max-width: none !important; box-sizing: border-box;}
@media (max-width: 600px) {
  .form-card .frm_form_field.frm_half,
.form-card .frm_form_field.frm6,
.form-card .frm_form_field.frm_first_half,
.form-card .frm_form_field.frm_last_half { grid-column: 1 / -1 !important;}
}
.form-card .frm_primary_label,
.form-card .frm_form_field > label { display: block; margin: 0 0 .4rem; font-weight: 700; font-size: .95rem; color: var(--ap-ink);}
.form-card .frm_required { color: #b3261e;}
.form-card .frm_description,
.form-card .frm_opt_container .frm_checkbox label { font-weight: 400; font-size: .92rem; color: var(--ap-muted); line-height: 1.5;}
.form-card :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) { width: 100%; max-width: none; padding: .8em .9em; font: inherit; color: var(--ap-text); background: #fff; border: 2px solid var(--ap-paper-2); border-radius: 3px; box-shadow: none; transition: border-color .2s, box-shadow .2s;}
.form-card :is(input, select, textarea):hover { border-color: #c9d1ce;}
.form-card :is(input, select, textarea):focus { outline: none; border-color: var(--ap-green); box-shadow: 0 0 0 3px rgba(1, 156, 124, .2);}
.form-card textarea { min-height: 150px; resize: vertical; line-height: 1.5;}
.form-card input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--ap-deep); cursor: pointer;}
.form-card input[type="file"] { padding: .7em; border-style: dashed; cursor: pointer;}
.form-card .frm_error,
.form-card .frm_error_style { color: #b3261e; font-size: .88rem; font-weight: 600;}
.form-card .frm_blank_field :is(input, select, textarea),
.form-card .frm_has_error :is(input, select, textarea) { border-color: #b3261e;}
.form-card .frm_error_style { margin: 0 0 1rem; padding: 1rem 1.2rem; background: #fff5f4; border: 0; border-left: 5px solid #b3261e; border-radius: 0;}
.form-card .frm_message { margin: 0; padding: 1.2rem 1.4rem; font-weight: 600; color: var(--ap-ink); background: rgba(1, 156, 124, .1); border: 0; border-left: 5px solid var(--ap-green); border-radius: 0;}
.form-card .frm_submit { margin-top: .4rem;}
.form-card .frm_submit :is(button, input[type="submit"]) { padding: .95em 1.55em; font: inherit; font-weight: 700; font-stretch: 108%; color: #fff; background: var(--ap-deep); border: 2px solid transparent; border-radius: 3px; cursor: pointer; transition: background-color .25s, color .25s;}
.form-card .frm_submit :is(button, input[type="submit"]):hover { background: var(--ap-mint); color: var(--ap-ink);}
@media print {
  #header,
#footer,
.ap-toc,
.ap-mobilebar { display: none !important;}
}
.ap-form-fallback { padding: 24px; background: #fff; border: 1px solid rgba(15,20,18,.12); border-left: 4px solid var(--ap-green, #229278);}
.ap-form-fallback p { margin: 0 0 12px;}
.ap-form-fallback p:last-child { margin: 0; display: flex; flex-wrap: wrap; gap: 10px;}
.ap-form-fallback .wp-block-button__link { display: inline-block; padding: 12px 20px; background: var(--ap-green, #229278); color: #fff; text-decoration: none; font-weight: 700;}
.ap-note { opacity: .7; font-size: .9em;}
#header.ct-header [data-row*="top"] { --height: 38px !important; min-height: 38px;}
#header.ct-header [data-row*="middle"] { --height: 84px !important; min-height: 84px;}
#header.ct-header .site-logo-container img,
#header.ct-header .default-logo { width: clamp(240px, 21vw, 340px); max-height: 56px; object-fit: contain; object-position: left center;}
#header.ct-header .menu > li > a.ct-menu-link { text-transform: none !important; letter-spacing: normal !important; font-size: .98rem !important; font-weight: 600 !important; --menu-item-padding: calc(clamp(1rem, 2.4vw, 2.4rem) / 2); padding-inline: var(--menu-item-padding) !important; padding-block: .5rem;}
#header.ct-header [data-id="button"] .ct-button,
#header.ct-header .ct-header-cta .ct-button { padding: .7em 1.2em !important; font-size: .95rem !important; line-height: 1.1 !important; border: 2px solid transparent; min-height: 0 !important; white-space: nowrap;}
#header.ct-header [data-row*="middle"] > div { grid-template-columns: auto 1fr auto !important;}
#header.ct-header [data-row*="middle"] [data-column="middle"] { justify-content: center;}
.ap-topbar { font-size: .875rem;}
.ap-topbar__hours { color: rgba(255, 255, 255, .85);}
.ap-topbar__links a { display: inline-flex; align-items: center; gap: .5em; color: rgba(255, 255, 255, .85);}
.ap-topbar__links a::before { content: ""; width: 1em; height: 1em; background: currentColor; flex: none; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;}
.ap-topbar__links a[href^="tel"] { --ic: var(--ic-phone);}
.ap-topbar__links a[href*="wa.me"] { --ic: var(--ic-chat);}
#header.ct-header .menu { align-items: center;}
#header.ct-header .menu > li { height: auto;}
#header.ct-header .menu > li > a.ct-menu-link { height: auto !important; display: inline-block;}
#header.ct-header .menu > li > a.ct-menu-link::after { bottom: 0;}
#header.ct-header [data-id="search"],
#header.ct-header [data-id="cart"] > a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; transition: background-color .2s;}
#header.ct-header [data-id="search"]:hover,
#header.ct-header [data-id="cart"] > a:hover { background: rgba(255, 255, 255, .12);}
#header.ct-header [data-row*="top"] .ct-header-text { width: 100% !important; max-width: none !important; margin: 0 !important;}
#header.ct-header [data-row*="middle"] [data-items] { gap: .5rem;}
#header.ct-header [data-row*="middle"] [data-items] > * { margin: 0 !important;}
#header.ct-header [data-id="cart"] .ct-icon,
#header.ct-header [data-id="search"] .ct-icon { fill: #fff !important;}
#header.ct-header [data-id="cart"].has-ic::before,
#header.ct-header [data-id="cart"].has-ic::after,
#header.ct-header [data-id="search"].has-ic::before,
#header.ct-header [data-id="search"].has-ic::after { fill: #fff !important; color: #fff;}
#footer.ct-footer [data-row*="middle"] > div { padding-block: 96px 52px !important;}
#footer.ct-footer [data-row*="middle"] .ct-widget { margin: 0 !important;}
#footer.ct-footer [data-row*="middle"] .ct-widget + .ct-widget { margin-top: 16px !important;}
#footer.ct-footer [data-row*="middle"] :is(.widget-title, h2, h3) { margin: 0 !important; line-height: 1.6 !important;}
#footer.ct-footer .wp-block-list { gap: .5rem; line-height: 1.6; grid-template-columns: 1fr;}
#footer.ct-footer [data-row*="middle"] > div > div:nth-child(3) .wp-block-list { grid-template-columns: repeat(2, minmax(0, 1fr));}
#footer.ct-footer [data-row*="middle"] .wp-block-list li,
#footer.ct-footer [data-row*="middle"] p { line-height: 1.6; margin: 0;}
#footer.ct-footer [data-row*="bottom"] > div { min-height: 0; padding-block: 22.4px;}
#footer.ct-footer .ct-footer-copyright { line-height: 1.6;}
#footer.ct-footer [data-row*="middle"] > div { padding-bottom: 49px !important;}
#footer.ct-footer [data-row*="middle"] p { line-height: 1.66;}
/* Rechtstexte: auf jedem Bildschirm in der Breite bleiben (lange deutsche Wörter dürfen umbrechen). */
.legal-layout,
.legal-body,
.legal-body > *,
.legal-card,
.legal-cards,
.legal-sheet,
.legal-help,
.legal-actions { min-width: 0; max-width: 100%;}
.legal-body { grid-template-columns: minmax(0, 1fr);}
.legal-prose :is(h2, h3, h4, p, li, dt, dd, a, address),
.legal-card :is(h2, h3, h4, p, li, dt, dd, a, address) { overflow-wrap: anywhere; hyphens: auto;}
@media (max-width: 480px) {
  .legal-prose h2, .legal-card h2 { font-size: 1.15rem; font-stretch: 100%;}
}

/* ---- Abgleich mit der Vorlage (Ergebnisse des Seitenvergleichs) ---- */

/* Link-Buttons, die als einfacher Link (ohne Button-Block) im Text stehen, sehen aus wie die Original-Buttons. */
a.btn:not(.wp-block-button__link) { display: inline-flex; align-items: center; justify-content: center; gap: .65em; padding: .95em 1.55em; border: 2px solid transparent; border-radius: 3px; font-weight: 700; font-stretch: 108%; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;}
a.btn--primary:not(.wp-block-button__link) { background: var(--green-deep); color: #fff;}
a.btn--primary:not(.wp-block-button__link):hover { background: var(--mint); color: var(--ink);}
a.btn--dark:not(.wp-block-button__link) { background: var(--ink); color: #fff;}
a.btn--dark:not(.wp-block-button__link):hover { background: var(--green-deep);}
a.btn--ghost:not(.wp-block-button__link) { border-color: rgba(255, 255, 255, .55); color: #fff;}
a.btn--ghost:not(.wp-block-button__link):hover { background: #fff; color: var(--ink); border-color: #fff;}
a.btn--outline:not(.wp-block-button__link) { border-color: var(--ink); color: var(--ink);}
a.btn--outline:not(.wp-block-button__link):hover { background: var(--ink); color: #fff;}

/* Bild im Block „Warum wir“ schneidet wie im Original zu (die Klasse sitzt hier am Bildblock, nicht am Bild). */
figure.wp-block-image.why__inline { overflow: hidden;}
figure.wp-block-image.why__inline img { display: block; width: 100%; height: 100%; object-fit: cover;}

/* Schritte-Liste: Abstand unten (WordPress nimmt ihn beim letzten Kind weg). */
:root .steps-sec .steps__list { margin-block-end: 1em;}

/* FAQ: Plus-Symbol am Fragenkopf (das Detail-Element kennt keine Symbol-Klasse). */
.faq summary::after { content: ""; display: block; flex: none; width: 1.3em; height: 1.3em; background: currentColor; color: var(--green-deep); -webkit-mask: var(--ic-plus) center / contain no-repeat; mask: var(--ic-plus) center / contain no-repeat; transition: transform .35s cubic-bezier(.2, .8, .2, 1);}
.faq details[open] summary::after { transform: rotate(45deg);}

/* Footer: Abstände wie in der Vorlage */
#footer.ct-footer [data-row*="middle"] > div { padding-block: clamp(56px, 7vw, 96px) 49px !important; row-gap: 2.2rem;}
#footer.ct-footer .ct-footer-links-grid .widget-title { margin-bottom: 16px !important;}

/* Kopfzeile: bis 1200px wie in der Vorlage mit Menü-Knopf, ohne obere Leiste, 72px hoch */
@media (max-width: 1200px) {
  #header.ct-header [data-device="desktop"] { display: none !important;}
  #header.ct-header [data-device="mobile"] { display: block !important;}
  #header.ct-header [data-row*="middle"] { --height: 72px !important; min-height: 72px;}
  #header.ct-header .site-logo-container img,
  #header.ct-header .default-logo { width: clamp(190px, 52vw, 250px);}
}

/* Öffnungszeiten: Zeit und Status stehen nebeneinander (wie im Original, wo das <span> inline ist). */
.visit__list p.is-span { display: inline;}

/* Block „Besuchen Sie uns“ ist hier ein Absatz: die Zeilenbegrenzung für Fließtext gilt für ihn nicht. */
.area__text .area__meta { max-width: none;}

/* Formular: Pflichtstern und Absende-Pfeil wie in der Vorlage */
.form-card .frm_primary_label .frm_required::after { content: " *"; color: #b3261e;}
.form-card .frm_submit button { display: inline-flex; align-items: center; gap: .65em;}
.form-card .frm_submit button::after { content: ""; flex: none; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--ic-arrow) center / contain no-repeat; mask: var(--ic-arrow) center / contain no-repeat; transition: transform .25s;}
.form-card .frm_submit button:hover::after { transform: translateX(4px);}

/* Blocksy gibt Buttons eine Mindesthöhe; die Vorlage bestimmt die Höhe über das Polster. */
.wp-block-button .wp-block-button__link { min-height: 0;}

/* ---- Reparatur-Formular mit Forminator (Design der Formular-Karte) ---- */
.form-card .forminator-ui.forminator-custom-form { max-width: none; margin: 0;}
.form-card .forminator-ui .forminator-row:not(:last-child) { margin-bottom: 1.1rem;}
.form-card .forminator-ui .forminator-field { margin: 0;}
.form-card .forminator-ui .forminator-label { display: block; margin: 0 0 .4rem; font-weight: 700; font-size: .95rem; line-height: 1.4; color: var(--ap-ink);}
.form-card .forminator-ui .forminator-required { color: #b3261e;}
.form-card .forminator-ui :is(input.forminator-input, textarea.forminator-textarea) { display: block; width: 100%; max-width: none; box-sizing: border-box; padding: .8em .9em; font: inherit; color: var(--ap-text); background: #fff; border: 2px solid var(--ap-paper-2); border-radius: 3px; box-shadow: none; transition: border-color .2s, box-shadow .2s;}
.form-card .forminator-ui textarea.forminator-textarea { min-height: 150px; resize: vertical; line-height: 1.5;}
.form-card .forminator-ui :is(input.forminator-input, textarea.forminator-textarea):hover { border-color: #c9d1ce;}
.form-card .forminator-ui :is(input.forminator-input, textarea.forminator-textarea):focus { outline: none; border-color: var(--ap-green); box-shadow: 0 0 0 3px rgba(1, 156, 124, .2);}
.form-card .forminator-ui ::placeholder { color: #8a9490; opacity: 1;}

/* Auswahlfeld (select2) */
.form-card .forminator-ui .select2-container { width: 100% !important;}
.form-card .forminator-ui .select2-container .select2-selection--single { display: flex; align-items: center; height: auto; min-height: 0; padding: .8em .9em; background: #fff; border: 2px solid var(--ap-paper-2); border-radius: 3px; box-shadow: none; cursor: pointer;}
.form-card .forminator-ui .select2-container .select2-selection__rendered { flex: 1; padding: 0; line-height: 1.5; color: var(--ap-text);}
.form-card .forminator-ui .select2-container .select2-selection__placeholder { color: #8a9490;}
.form-card .forminator-ui .select2-container .select2-selection__arrow { position: static; height: auto; width: 1.2em; margin-left: .6em;}
.form-card .forminator-ui .select2-container--open .select2-selection--single,
.form-card .forminator-ui .select2-container--focus .select2-selection--single { border-color: var(--ap-green); box-shadow: 0 0 0 3px rgba(1, 156, 124, .2);}
.select2-container .select2-dropdown { border: 2px solid var(--ap-paper-2); border-radius: 3px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); font: inherit;}
.select2-container .select2-results__option { padding: .65em .9em; color: var(--ap-text);}
.select2-container .select2-results__option--highlighted,
.select2-container .select2-results__option[aria-selected="true"] { color: var(--ap-ink); background: rgba(1, 156, 124, .12);}

/* Foto-Feld */
.form-card .forminator-ui .forminator-file-upload { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;}
.form-card .forminator-ui input.forminator-input-file { width: 100%; box-sizing: border-box; padding: .7em; font: inherit; color: var(--ap-muted); background: #fff; border: 2px dashed var(--ap-paper-2); border-radius: 3px; cursor: pointer;}
.form-card .forminator-ui input.forminator-input-file::file-selector-button { margin-right: .9em; padding: .55em 1em; font: inherit; font-weight: 700; color: var(--ap-ink); background: #fff; border: 2px solid var(--ap-paper-2); border-radius: 3px; cursor: pointer; transition: border-color .2s, color .2s;}
.form-card .forminator-ui input.forminator-input-file::file-selector-button:hover { color: var(--ap-deep); border-color: var(--ap-green);}
.form-card .forminator-ui .forminator-upload--remove { padding: .4em .9em; font: inherit; font-size: .88rem; color: #b3261e; background: transparent; border: 0; cursor: pointer;}

/* Zustimmung */
.form-card .forminator-ui .forminator-checkbox__wrapper { display: flex; align-items: flex-start; gap: .7rem;}
.form-card .forminator-ui label.forminator-checkbox { position: relative; flex: none; display: block; width: 22px; height: 22px; margin: 2px 0 0; cursor: pointer;}
.form-card .forminator-ui label.forminator-checkbox input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;}
.form-card .forminator-ui .forminator-checkbox-box { display: block; width: 22px; height: 22px; box-sizing: border-box; background: #fff; border: 2px solid var(--ap-paper-2); border-radius: 3px; transition: background-color .2s, border-color .2s;}
.form-card .forminator-ui label.forminator-checkbox input:focus-visible + .forminator-checkbox-box { box-shadow: 0 0 0 3px rgba(1, 156, 124, .3);}
.form-card .forminator-ui label.forminator-checkbox input:checked + .forminator-checkbox-box { background: var(--ap-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 80% no-repeat; border-color: var(--ap-deep);}
.form-card .forminator-ui .forminator-checkbox__label { font-weight: 400; font-size: .92rem; line-height: 1.5; color: var(--ap-muted);}
.form-card .forminator-ui .forminator-checkbox__label a { color: var(--ap-deep); font-weight: 600; overflow-wrap: anywhere; text-underline-offset: 3px;}

/* Fehler und Meldungen */
.form-card .forminator-ui .forminator-error-message { display: block; margin-top: .35rem; font-size: .88rem; font-weight: 600; color: #b3261e;}
.form-card .forminator-ui .forminator-has_error :is(input.forminator-input, textarea.forminator-textarea, .select2-selection--single, .forminator-checkbox-box, input.forminator-input-file) { border-color: #b3261e;}
.form-card .forminator-ui .forminator-response-message { margin: 0 0 1rem; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--ap-ink); border: 0; border-radius: 0;}
.form-card .forminator-ui .forminator-response-message.forminator-success { background: rgba(1, 156, 124, .1); border-left: 5px solid var(--ap-green);}
.form-card .forminator-ui .forminator-response-message.forminator-error { background: #fff5f4; border-left: 5px solid #b3261e;}
.form-card .forminator-ui .forminator-response-message[aria-hidden="true"] { display: none;}

/* Absenden */
.form-card .forminator-ui .forminator-button-submit { display: inline-flex; align-items: center; gap: .65em; padding: .95em 1.55em; font: inherit; font-weight: 700; font-stretch: 108%; line-height: 1.1; color: #fff; background: var(--ap-deep); border: 2px solid transparent; border-radius: 3px; cursor: pointer; transition: background-color .25s, color .25s;}
.form-card .forminator-ui .forminator-button-submit::after { content: ""; flex: none; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--ic-arrow) center / contain no-repeat; mask: var(--ic-arrow) center / contain no-repeat; transition: transform .25s;}
.form-card .forminator-ui .forminator-button-submit:hover { color: var(--ap-ink); background: var(--ap-mint);}
.form-card .forminator-ui .forminator-button-submit:hover::after { transform: translateX(4px);}
.form-card .forminator-ui .forminator-button-submit:focus-visible { outline: 3px solid rgba(1, 156, 124, .45); outline-offset: 2px;}
.form-card .forminator-ui .forminator-row-last { margin-top: .4rem;}
@media (max-width: 600px) {
  .form-card .forminator-ui .forminator-col { flex: 0 0 100% !important; max-width: 100% !important;}
}

/* Auswahlfeld Gerät (normales Auswahlfeld mit eigenem Pfeil) */
.form-card .forminator-ui select.forminator-select--field { display: block; width: 100%; max-width: none; height: auto; min-height: 0; box-sizing: border-box; padding: .8em 2.6em .8em .9em; font: inherit; line-height: 1.5; color: var(--ap-text); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23019c7c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8em center / 1.1em no-repeat; border: 2px solid var(--ap-paper-2); border-radius: 3px; box-shadow: none; -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color .2s, box-shadow .2s;}
.form-card .forminator-ui select.forminator-select--field:hover { border-color: #c9d1ce;}
.form-card .forminator-ui select.forminator-select--field:focus { outline: none; border-color: var(--ap-green); box-shadow: 0 0 0 3px rgba(1, 156, 124, .2);}
.form-card .forminator-ui .forminator-has_error select.forminator-select--field { border-color: #b3261e;}
.form-card .forminator-ui :is(input.forminator-input, textarea.forminator-textarea) { height: auto; min-height: 0;}
.form-card .forminator-ui textarea.forminator-textarea { min-height: 150px;}

/* ---- Trustindex-Widget (Masonry grid) im Karten-Design der Vorlage ---- */
.reviews .ti-widget,
.reviews .ti-widget * { font-family: inherit !important;}
.reviews .ti-widget.ti-goog .ti-review-item > .ti-inner { padding: 1.5rem 1.5rem 1.3rem; background: #fff !important; border-radius: 0 !important; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);}
.reviews .ti-widget .ti-name { font-weight: 700; color: var(--ink);}
.reviews .ti-widget .ti-date { color: var(--muted);}
.reviews .ti-widget .ti-review-text-container { color: var(--text, #2a3431); line-height: 1.55;}
.reviews .ti-widget .ti-read-more,
.reviews .ti-widget .ti-read-more span { color: var(--green-deep) !important; font-weight: 600;}
.reviews .ti-widget .ti-profile-img img { border-radius: 50%;}

/* Shop-Seitenleiste: eine Karte pro Filter (wie in der Vorlage). Blocksys Widget-Rahmen und die Karte des Filter-Plugins standen doppelt ineinander. */
.ct-sidebar > .ct-widget.widget_block { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 14px !important;}
.ct-sidebar .ah-widget { margin: 0 !important; padding: 0 !important; background: #fff !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);}
/* Leere Absätze, die WordPress um die Filter-Shortcodes setzt, erzeugten Leerraum zwischen den Karten. */
.ct-sidebar .ct-widget > p:empty { display: none !important; margin: 0 !important; padding: 0 !important;}

/* Schritte (Reparatur): die Zahl im Sechseck ist hier ein Absatz; die Regel für Schritt-Texte machte sie grau. Weiß wie in der Vorlage. */
.step p.step__n { color: #fff; max-width: none;}

/* Nach „In den Warenkorb“: Textlink „Warenkorb anzeigen“ unter dem Knopf (wie in der Vorlage, kein zweiter Knopf). */
body.woocommerce ul.products li.product a.added_to_cart,
body.aplus-cards ul.products li.product a.added_to_cart { display: block !important; width: auto !important; min-height: 0 !important; margin: 10px 0 0 !important; padding: 0 !important; font-size: .92rem; font-weight: 700; line-height: 1.4; text-align: center; color: var(--s-deep, #017a62) !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-decoration: underline; text-underline-offset: 3px;}
body.woocommerce ul.products li.product a.added_to_cart:hover,
body.aplus-cards ul.products li.product a.added_to_cart:hover { color: var(--ink, #0f1513) !important; background: transparent !important;}
body.woocommerce ul.products li.product a.added_to_cart::before,
body.aplus-cards ul.products li.product a.added_to_cart::before { content: none !important;}
/* Kategorien unter dem Knopf gehören nicht auf die Karte. */
body.woocommerce ul.products li.product .entry-meta,
body.aplus-cards ul.products li.product .entry-meta { display: none !important;}
/* Knopf: Symbol vor dem Text; nach dem Klick schwarz mit Haken („Im Warenkorb“). */
body.woocommerce ul.products li.product .button.add_to_cart_button::before,
body.aplus-cards ul.products li.product .button.add_to_cart_button::before { content: ""; display: block; position: static; inset: auto; z-index: auto; opacity: 1; filter: none; width: 1.2em; height: 1.2em; flex: none; border-radius: 0; background: currentColor; -webkit-mask: var(--ic-cart) center / contain no-repeat; mask: var(--ic-cart) center / contain no-repeat;}
body.woocommerce ul.products li.product .button.add_to_cart_button.added::before,
body.aplus-cards ul.products li.product .button.add_to_cart_button.added::before { -webkit-mask-image: var(--ic-check); mask-image: var(--ic-check);}
body.woocommerce ul.products li.product .button.add_to_cart_button.added,
body.aplus-cards ul.products li.product .button.add_to_cart_button.added { background: var(--ink, #0f1513); color: #fff;}
/* Hinweisfenster nach „In den Warenkorb“ */
.ap-toast { position: fixed; z-index: 400; right: clamp(12px, 2vw, 28px); bottom: clamp(76px, 8vw, 28px); display: flex; align-items: center; gap: 14px; max-width: min(420px, calc(100vw - 24px)); padding: 14px 16px; color: #fff; background: var(--ink, #0f1513); border-left: 4px solid var(--mint, #2ee6b8); box-shadow: 0 18px 50px rgba(8, 12, 11, .35); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.2, .8, .2, 1);}
.ap-toast.is-on { opacity: 1; transform: none; pointer-events: auto;}
.ap-toast p { margin: 0; font-size: .92rem; line-height: 1.4; color: #fff;}
.ap-toast a { color: var(--mint, #2ee6b8); font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px;}
/* Preis: aktueller Preis oben, durchgestrichener darunter (wie in der Vorlage) */
body.woocommerce ul.products li.product .price .sale-price del,
body.aplus-cards ul.products li.product .price .sale-price del { order: 0 !important;}
/* Haken wie in der Vorlage (einfacher Haken statt Kreis mit Haken) */
body.woocommerce ul.products li.product .button.add_to_cart_button.added::before,
body.aplus-cards ul.products li.product .button.add_to_cart_button.added::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");}
/* Produktkarten: Bild über die volle Kartenbreite (Blocksy setzt die Breite auf 100 % der Innenbreite) */
body.woocommerce ul.products li.product > figure { width: auto !important; max-width: none !important;}

/* ---- Bewertungs-Karussell: 6 gleich große Karten je Seite, Pfeile zum Blättern ---- */
.ap-rv { position: relative;}
.ap-rv__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline-offset: 4px;}
.ap-rv__viewport::-webkit-scrollbar { display: none;}
.ap-rv__track { display: flex;}
.ap-rv__page { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px;}
.ap-rv .rev.ap-rv__card { grid-column: auto; min-height: 0; justify-content: space-between;}
.ap-rv .rev .rev__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;}
.ap-rv .rev .rev__by { margin-top: auto;}
.ap-rv__nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 22px;}
.ap-rv__count { min-width: 3.4em; font-size: .92rem; font-weight: 700; text-align: center; color: var(--muted);}
.ap-rv__btn { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, opacity .25s;}
.ap-rv__btn:hover:not(:disabled) { color: #fff; background: var(--ink);}
.ap-rv__btn:focus-visible { outline: 3px solid rgba(1, 156, 124, .45); outline-offset: 2px;}
.ap-rv__btn:disabled { opacity: .3; cursor: default;}
.ap-rv__prev.has-ic::before { transform: scaleX(-1);}
@media (max-width: 1000px) {
  .ap-rv__page { grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 700px) {
  .ap-rv__track { gap: 12px;}
  .ap-rv__page { display: contents;}
  .ap-rv .rev.ap-rv__card { flex: 0 0 86%; scroll-snap-align: start; min-height: 220px;}
  .ap-rv__nav { justify-content: center;}
}
/* Bewertungs-Karussell: „Weiterlesen“ klappt den vollen Text auf */
.ap-rv .rev .rev__text.is-open { display: block; -webkit-line-clamp: unset; overflow: visible;}
.ap-rv__more { align-self: flex-start; margin: 10px 0 0; padding: 0 0 1px; font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink); background: none; border: 0; border-bottom: 2px solid #017a62; cursor: pointer; transition: color .25s;}
.ap-rv__more:hover { color: #017a62;}
.ap-rv__more:focus-visible { outline: 3px solid rgba(1, 156, 124, .45); outline-offset: 3px;}
/* Bewertungs-Karussell: letzte Karte führt zu allen Google-Bewertungen */
.ap-rv a.ap-rv__cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; color: #fff; text-decoration: none; background: var(--ink); transition: background-color .25s;}
.ap-rv a.ap-rv__cta:hover { background: #017a62;}
.ap-rv a.ap-rv__cta:focus-visible { outline: 3px solid rgba(1, 156, 124, .6); outline-offset: 3px;}
.ap-rv__cta-title { font-size: 1.6rem; font-weight: 800; line-height: 1.1;}
.ap-rv__cta-text { opacity: .85;}
.ap-rv__cta-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding-bottom: 2px; font-weight: 700; border-bottom: 2px solid currentColor;}
.ap-rv__cta-go.has-ic.ic-after::after { width: 1.1em; height: 1.1em;}
/* Kein weiches Scrollen: ScrollTrigger setzt beim Aktualisieren (Größenänderung, Tabwechsel, Zurück-Navigation) die Scrollposition zurück; mit scroll-behavior: smooth rechnet es dabei mit falschen Werten und die gepinnte Kategorien-Leiste hängt fest. */
html { scroll-behavior: auto !important;}

/* Hero-Chips (Öffnungsstatus, Google-Note, Adresse): dunkles Glas statt durchsichtig, damit Text und Symbole über Foto und Sechseck-Linien lesbar bleiben; Hover bleibt weiß (kein Link-Türkis) */
.hero__facts .chip { position: relative; color: #fff; background: rgba(8, 14, 13, .66); border-color: rgba(255, 255, 255, .26); box-shadow: 0 8px 22px rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25); text-shadow: 0 1px 2px rgba(0, 0, 0, .45); transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease, transform .28s ease;}
.hero__facts a.chip,
.hero__facts a.chip:visited { color: #fff;}
.hero__facts a.chip:hover,
.hero__facts a.chip:focus-visible { color: #fff; background: rgba(8, 14, 13, .86); border-color: var(--mint); box-shadow: 0 12px 28px rgba(0, 0, 0, .38), 0 0 0 1px var(--mint); transform: translateY(-2px);}
.hero__facts a.chip:active { transform: translateY(0);}
.hero__facts a.chip:focus-visible { outline: 3px solid rgba(255, 255, 255, .85); outline-offset: 3px;}
.hero__facts a.chip.has-ic::before { transition: transform .28s ease;}
.hero__facts a.chip:hover.has-ic::before { transform: scale(1.12);}
@media (prefers-reduced-motion: reduce) {
  .hero__facts .chip, .hero__facts a.chip.has-ic::before { transition: none;}
  .hero__facts a.chip:hover, .hero__facts a.chip:focus-visible { transform: none;}
}

/* Kopf- und Fußzeile: Breite, Zeilenhöhen und Farben wie in der Vorlage (Container wie .wrap, Fließtext der Fußzeile hell statt Blocksy-Grau) */
#header.ct-header .ct-container,
#footer.ct-footer .ct-container { width: min(100% - 2 * var(--gutter, clamp(20px, 4vw, 56px)), var(--max, 1280px)); max-width: none; margin-inline: auto;}
#header.ct-header .menu > li > a.ct-menu-link { line-height: 1.6 !important;}
.ap-topbar { line-height: 1.6;}
#footer.ct-footer .ct-widget,
#footer.ct-footer [data-row*="middle"] p,
#footer.ct-footer [data-row*="middle"] li,
#footer.ct-footer [data-row*="middle"] address { color: rgba(255, 255, 255, .78);}
#footer.ct-footer [data-row*="middle"] .ct-widget { font-size: .98rem;}
#footer.ct-footer [data-row*="middle"] p { line-height: 1.7;}
#footer.ct-footer [data-row*="middle"] a { color: rgba(255, 255, 255, .78);}
#footer.ct-footer [data-row*="middle"] a:hover { color: var(--ap-mint, #22e0b4);}
#footer.ct-footer [data-row*="middle"] :is(p, li) { font-size: .98rem;}

/* Mini-Warenkorb im Header: MwSt.-Zeile (Germanized) hell auf dunklem Grund, in einer Zeile wie die Zwischensumme */
#header .ct-cart-content .total-cart-tax { display: flex; justify-content: space-between; gap: 1rem; margin: -6px 0 15px; font-size: 12px; font-weight: 500; line-height: 1.6; text-transform: none; color: rgba(255, 255, 255, .72); }
#header .ct-cart-content .total-cart-tax .amount { color: inherit; font-size: inherit; font-weight: inherit; }

/* Suchfenster: Treffer hell auf dunklem Grund (Blocksy erbt sonst die dunkle Textfarbe der Seite) */
#search-modal .ct-search-results .ct-search-item { color: #fff; transition: color .2s; }
#search-modal .ct-search-results .ct-search-item:hover, #search-modal .ct-search-results .ct-search-item:focus-visible { color: var(--mint, #2fe0bd); }
#search-modal .ct-search-results .ct-search-more { color: var(--mint, #2fe0bd); font-weight: 700; }
#search-modal .ct-search-results .ct-search-more:hover { color: #fff; }

/* Kontrast (WCAG AA): graue Zahlen im Kategoriefilter und Energieklassen-Pfeil */
.ah-row .ah-count, body .ah-price-dash { color: #646c70; }
body .ah-facts li .ah-eclass { background: #00836a; }
body .ah-facts li .ah-eclass[data-c="B"] { color: #1b2320; }

/* Kontrast: Pflichtstern im Reparatur-Formular */
body .forminator-ui .forminator-required { color: #b3261e !important; }

/* ===== Mobil-Feinschliff (26.10.2026) ===== */
/* Schaltflächen im Shop-Hilfebereich: --ic fehlte, dadurch weiße Quadrate statt Symbol */
.ap-ic-chat { --ic: var(--ic-chat); }
.ap-ic-phone { --ic: var(--ic-phone); }
@media (max-width: 760px) {
  /* Platz für die untere Leiste liegt im dunklen Footer statt als heller Streifen unter dem Footer */
  body { padding-bottom: 0; }
  footer#footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-bar { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .mobile-bar.ap-bar-hidden { transform: translateY(105%); }
}
@media (max-width: 700px) {
  /* Cookie-Banner: kompakt am unteren Rand statt halber Bildschirm */
  .cmplz-cookiebanner.cmplz-cookiebanner { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important; }
  .cmplz-cookiebanner.cmplz-cookiebanner .cmplz-message { font-size: 13px !important; line-height: 1.4 !important; margin-bottom: 4px !important; }
  .cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px; height: auto !important; }
  .cmplz-cookiebanner.cmplz-cookiebanner .cmplz-btn { flex: 1 1 calc(50% - 4px) !important; width: auto !important; min-width: 0; min-height: 42px !important; padding: 8px 4px !important; margin: 0 !important; font-size: 13px !important; white-space: nowrap; }
  .cmplz-cookiebanner.cmplz-cookiebanner .cmplz-btn.cmplz-accept { flex-basis: 100% !important; }
}
@media (max-width: 599px) {
  /* Produktkarten: „Sie sparen“ in einer Zeile (Warenkorb-Knopf: siehe woo-shop.css) */
  body .ah-saving { display: block !important; font-size: .8rem; }
  .ah-saving::before { display: inline-block; margin-right: .45em; vertical-align: .05em; }
}
@keyframes ap-pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.ah-saving.ap-pulse::before { animation: ap-pop .6s ease-out; }
@media (hover: none) {
  .btn, .button, .ah-btn, .mobile-bar a { transition: transform .15s ease; }
  .btn:active, .button:active, .ah-btn:active, .mobile-bar a:active { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-bar { transition: none; }
  .ah-saving.ap-pulse::before { animation: none; }
}

/* ===== Mobil, Teil 2 (26.10.2026) ===== */
@media (max-width: 599px) {
  /* Kasse: Menge und Preis in der Bestellübersicht berühren sich nicht mehr */
  body.woocommerce-checkout #order_review .wc-gzd-cart-item-name-wrapper { gap: .6rem; }
  body.woocommerce-checkout #order_review .wc-gzd-cart-item-thumbnail { flex-basis: 46px; width: 46px; }
  body.woocommerce-checkout #order_review .wc-gzd-cart-item-name-wrapper .product-quantity { white-space: nowrap; }
}
@media (max-width: 760px) {
  /* Größerer Tippbereich für kleine Links und die Kopfzeilen-Symbole, ohne das Layout zu verschieben */
  footer#footer a { display: inline-block; padding-block: .3em; }
  .ct-header-trigger, #header [data-id="cart"] > a { position: relative; }
  .ct-header-trigger::after, #header [data-id="cart"] > a::after { content: ""; position: absolute; inset: -13px; }
}

/* ===== Kopfzeile: Logo vertikal mittig (26.10.2026) ===== */
#header [data-id="logo"] .site-logo-container { display: flex; align-items: center; }

/* ===== Startseite: „Beliebte Geräte“ (26.10.2026) – 4 Karten, Auswahl über das Produkt-Schlagwort „Startseite“ ===== */
.picks { background: #fff; padding-block: clamp(56px, 8vw, 110px); }
.picks .wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.picks__head { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.picks__head p { margin: .8rem 0 0; max-width: 46ch; color: var(--muted); }
.picks .woocommerce { margin: 0; }
.picks__more { margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.picks__more .wp-block-buttons { justify-content: center; }
/* Karussell: alle Geräte mit dem Schlagwort „Startseite“ in einer Reihe – Pfeile am Rechner, Wischen am Handy */
.picks__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.picks__nav { display: flex; gap: 10px; flex: 0 0 auto; }
.picks__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1.5px solid var(--ink, #111); border-radius: 50%; background: transparent; color: var(--ink, #111); cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.picks__btn svg { width: 20px; height: 20px; display: block; }
.picks__btn:hover:not(:disabled), .picks__btn:focus-visible { background: var(--mint, #2de0a5); border-color: var(--mint, #2de0a5); color: var(--ink, #111); }
.picks__btn:disabled { opacity: .3; cursor: default; }
body.aplus-cards .picks ul.products { display: flex !important; gap: 20px; margin: 0; padding: 4px 0 14px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
body.aplus-cards .picks ul.products::-webkit-scrollbar { display: none; }
body.aplus-cards .picks ul.products li.product { flex: 0 0 calc((100% - 60px) / 4); width: auto; margin: 0; scroll-snap-align: start; }
@media (max-width: 1000px) {
  body.aplus-cards .picks ul.products li.product { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 700px) {
  /* Handy: Wischen statt Pfeile */
  .picks__nav { display: none; }
  body.aplus-cards .picks ul.products { gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); }
  body.aplus-cards .picks ul.products li.product { flex: 0 0 76%; }
}
/* ==========================================================================
   Mobile Foto-Bereiche (Handy, bis 700 px): Kopfbereiche und Abschluss-Bereich

   Ein Muster für alle Seiten: das Foto steht als Fenster oben, der Text darunter auf dunklem Grund.
   Höhe des Fotos und Verlauf sind nur hier festgelegt (Variablen unten). Wer sie ändert, ändert alle Seiten.

   Seite               Container       Regeln
   Startseite          .hero           hier
   Unterseiten         .hero--page     hier (Über uns, Reparatur)
   Termin buchen       .book-hero      hier
   Shop                .ah-intro       woo-shop.css (nutzt dieselben Variablen)
   Abschluss-Bereiche  .cta, .team     hier (Startseite „Neukauf geplant …“, Über uns „Persönlich vor Ort …“)

   Das Neon-Leuchten über dem Foto der Startseite zeichnet assets/js/hero-glow-touch.js.
   Dieses Stylesheet wird an skin.css angehängt und landet in assets/css/shim.css (siehe assemble.py).
   ========================================================================== */

/* Das Leuchten-Canvas wird per Skript angelegt; ohne Handy-Breite bleibt es unsichtbar. */
.hex-glow-m { display: none; }

@media (max-width: 700px) {
  :root {
    --hero-photo-h: min(62vw, 300px);   /* Höhe des Foto-Fensters */
    --hero-ink: #080c0b;                /* dunkler Grund unter dem Foto */
    /* Foto oben leicht abgedunkelt, nach unten weich in den dunklen Grund übergehend */
    --hero-fade: linear-gradient(180deg, rgba(8, 12, 11, .45) 0, rgba(8, 12, 11, 0) 24%, rgba(8, 12, 11, .1) calc(var(--hero-photo-h) - 70px), var(--hero-ink) calc(var(--hero-photo-h) + 6px), var(--hero-ink) 100%);
  }

  /* ---- Startseite und Unterseiten (.hero) ---------------------------------- */
  .hero { min-height: 0; justify-content: flex-start; padding-top: calc(var(--hero-photo-h) - 22px); padding-bottom: 56px; }
  .hero:not(.hero--page) { padding-bottom: 104px; }   /* Platz für die überlappende Leistungs-Karte darunter */
  .hero .hero__media { inset: 0 0 auto 0; height: var(--hero-photo-h); transform: none !important; }   /* !important: GSAP setzt den Scroll-Parallax inline */
  .hero:not(.hero--page) .hero__media img { object-position: 50% 55%; }
  .hero .hero__shade { background: var(--hero-fade); }
  .hero svg.hex { width: 100%; height: var(--hero-photo-h); opacity: .22; }

  /* Beschriftung im Foto der Startseite */
  .hero:not(.hero--page)::before {
    content: "Unsere Ausstellung in Amberg"; position: absolute; z-index: -1; left: var(--gutter, 20px); top: calc(var(--hero-photo-h) - 62px);
    padding: .38em .85em .38em 1.9em; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff;
    background: radial-gradient(circle at .95em 50%, var(--mint, #22e0b4) 0 .2em, transparent .24em), rgba(8, 12, 11, .62);
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .hex-glow-m { display: block; position: absolute; top: 0; left: 0; width: 100%; height: var(--hero-photo-h); z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }

  /* Text und Schaltflächen: eine Hauptaktion, WhatsApp/Telefon als Symbol, Infos als ruhige Zeile */
  .hero__lead { margin-top: .9rem; font-size: 1rem; line-height: 1.5; max-width: 32ch; }
  .hero__cta { flex-wrap: nowrap; align-items: stretch; gap: .6rem; margin-top: 1.4rem; }
  /* Die langen Selektoren sind nötig, weil style.css die Schaltflächen auf Handybreite mit hoher Spezifität auf 100 % setzt. */
  .hero .hero__cta .wp-block-button.btn--primary { flex: 1 1 auto; }
  .hero .hero__cta .wp-block-button.btn--primary .wp-block-button__link { width: 100%; justify-content: center; }
  .hero .hero__cta .wp-block-button.btn--ghost { flex: none; }
  .hero .hero__cta .wp-block-button.btn--ghost .wp-block-button__link { width: 56px; height: 100%; min-height: 54px; padding: 0; gap: 0; justify-content: center; font-size: 0; }   /* Text weg, nur das Symbol bleibt */
  .hero .hero__cta .wp-block-button.btn--ghost .wp-block-button__link::before { width: 24px; height: 24px; }
  .hero__facts { margin-top: 1.25rem; }
  .hero__facts ul { gap: .35rem 1.1rem; }
  .hero:not(.hero--page) .hero__facts li:nth-child(3) { display: none; }   /* Adresse steht im Fuß und in der unteren Leiste */
  .hero__facts .chip { padding: 0; min-height: 0; font-size: .82rem; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* ---- Termin buchen (.book-hero): das Teamfoto war am Handy ausgeblendet, jetzt Foto-Fenster oben ---- */
  .book-hero { padding: 0 0 56px; }
  .book-hero__in { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .book-hero__img { display: block; order: -1; height: var(--hero-photo-h); aspect-ratio: auto; clip-path: none; }
  /* Hier läuft der Verlauf über die Höhe des Bildes selbst (Prozent), nicht über den ganzen Kopfbereich */
  .book-hero__img::after { background: linear-gradient(180deg, rgba(8, 12, 11, .35) 0, rgba(8, 12, 11, 0) 25%, rgba(8, 12, 11, .1) 55%, var(--hero-ink) 100%); }
  .book-hero__in > div:first-child { position: relative; z-index: 1; width: calc(100% - 2 * var(--gutter)); margin: -30px auto 0; }

  /* ---- Abschluss-Bereiche: .cta (Startseite) und .team (Über uns), gleich aufgebaut ----
     Foto als Fenster oben statt als schmaler, dunkler Streifen hinter dem Text */
  .cta, .team { padding-top: calc(var(--hero-photo-h) - 22px); padding-bottom: 64px; }
  .cta__bg, .team__bg { inset: 0 0 auto 0; height: var(--hero-photo-h); transform: none !important; }   /* !important: GSAP setzt den Scroll-Parallax inline */
  .cta__bg img, .team__bg img { object-position: 50% 55%; }
  .cta::before, .team::before { background: var(--hero-fade); }   /* ersetzt den seitlichen Verlauf, der nur für den breiten Desktop-Text gedacht ist */
}

/* Sehr schmale Handys: Überschrift und Hauptknopf etwas kleiner, damit nichts umbricht */
@media (max-width: 380px) {
  .hero .hero__title { font-size: clamp(1.55rem, 8vw, 2.3rem); }
  .hero .hero__cta .wp-block-button.btn--primary { min-width: 0; }
  .hero .hero__cta .wp-block-button.btn--primary .wp-block-button__link { padding-inline: .7rem; font-size: .92rem; gap: .5rem; white-space: nowrap; }
}


/* ==========================================================================
   Startseite Hero v2 (06.11.2026)
   - zwei Fotos: Desktop (16:9) und Handy (3:2, bis 700 px) per <picture> im Seiteninhalt
   - kleinere Schrift am Desktop, leichterer Schleier, ruhigere Bewegung (siehe assets/js/main.js)
   - die festen Sechseck-Linien und das Neon-Leuchten entfallen: das Foto bringt die Sechseck-Decke selbst mit
   Sicherung der Vorversion: *.bak-20261106 neben den Dateien
   ========================================================================== */
.hero__media picture { display: contents; }
.hero:not(.hero--page) svg.hex,
.hero:not(.hero--page) .hex-glow,
.hero:not(.hero--page) .hex-glow-m { display: none !important; }
.js .hero:not(.hero--page) .hero__media img { transform: scale(1.06); }

@media (min-width: 701px) {
  /* Foto nie zuschneiden: es sitzt unten rechts, nie breiter als es Platz lässt. Links bleibt immer Raum für Titel und Schaltflächen
     (ca. 700 px); das Foto läuft links und oben weich in den dunklen Grund aus. Auf sehr breiten Fenstern füllt es die volle Höhe. */
  .hero:not(.hero--page) .hero__media img {
    position: absolute; top: auto; left: auto; right: 0; bottom: 0;
    width: max(min(calc((100vw - 700px) / .686), calc((100svh - 138px) * 1.91)), 62vw);
    height: auto; max-width: none; object-fit: fill;
    transform-origin: 100% 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%), linear-gradient(180deg, transparent 0, #000 16%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24%), linear-gradient(180deg, transparent 0, #000 16%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .hero:not(.hero--page) .hero__shade {
    background:
      linear-gradient(90deg, rgba(8, 12, 11, .5) 0%, rgba(8, 12, 11, .16) 40%, rgba(8, 12, 11, 0) 66%),
      linear-gradient(180deg, rgba(8, 12, 11, .1) 0%, rgba(8, 12, 11, 0) 26%, rgba(8, 12, 11, .16) 100%);
  }
  .hero:not(.hero--page) .hero__title { font-size: clamp(1.9rem, min(2.9vw, 6.5svh), 3.6rem); line-height: 1; max-width: 16ch; }
  .hero:not(.hero--page) .hero__lead { font-size: clamp(.98rem, min(1.15vw, 2.4svh), 1.1rem); max-width: 40ch; margin-top: clamp(.9rem, 1.6vw, 1.4rem); }
  .hero:not(.hero--page) .hero__cta { margin-top: clamp(1.1rem, 2vw, 1.8rem); }
}

@media (max-width: 700px) {
  .hero:not(.hero--page) .hero__shade {
    background: linear-gradient(180deg, rgba(8, 12, 11, .08) 0, rgba(8, 12, 11, 0) 24%, rgba(8, 12, 11, 0) calc(var(--hero-photo-h) - 70px), var(--hero-ink) calc(var(--hero-photo-h) + 6px), var(--hero-ink) 100%);
  }
}

/* Lichtwelle (Startseite): Glanz-Ebene mit den Deckenlichtern, ein Streifen wandert per --sx von links nach rechts (assets/js/main.js) */
.hero__glow { display: contents; }
.hero:not(.hero--page) .hero__media .hero__glow img {
  --sx: -30%; opacity: .95; pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, transparent calc(var(--sx) - 14%), #000 var(--sx), transparent calc(var(--sx) + 14%));
  mask-image: linear-gradient(100deg, transparent calc(var(--sx) - 14%), #000 var(--sx), transparent calc(var(--sx) + 14%));
}
@media (min-width: 701px) {
  .hero:not(.hero--page) .hero__media .hero__glow img {
    -webkit-mask-image: linear-gradient(100deg, transparent calc(var(--sx) - 14%), #000 var(--sx), transparent calc(var(--sx) + 14%)), linear-gradient(90deg, transparent 0, #000 24%), linear-gradient(180deg, transparent 0, #000 16%);
    mask-image: linear-gradient(100deg, transparent calc(var(--sx) - 14%), #000 var(--sx), transparent calc(var(--sx) + 14%)), linear-gradient(90deg, transparent 0, #000 24%), linear-gradient(180deg, transparent 0, #000 16%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
@media (prefers-reduced-motion: reduce) { .hero__glow { display: none; } }

/* Heller (06.11.2026): Foto leicht aufgehellt, Schleier dünner; Titel bekommt einen weichen Schatten statt dunklem Grund */
.hero:not(.hero--page) .hero__media picture:not(.hero__glow) > img { filter: brightness(1.2) contrast(1.04) saturate(1.06); }
@media (min-width: 701px) {
  .hero:not(.hero--page) .hero__title, .hero:not(.hero--page) .hero__lead { text-shadow: 0 2px 22px rgba(0, 0, 0, .5); }
}

/* Handy: die Lichtwelle liegt exakt über dem Foto-Fenster (sonst läge sie unter dem Foto und wäre unsichtbar) */
@media (max-width: 700px) {
  .hero:not(.hero--page) .hero__media .hero__glow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
}

/* Startseite „Neukauf geplant …“ (.cta): Schleier deutlich heller (06.11.2026), Text bekommt einen weichen Schatten */
.cta::before { background: linear-gradient(90deg, rgba(8, 12, 11, .6) 0%, rgba(8, 12, 11, .34) 45%, rgba(8, 12, 11, .1) 100%); }
.cta h2, .cta .lead { text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
@media (max-width: 700px) {
  .cta::before { background: linear-gradient(180deg, rgba(8, 12, 11, .18) 0, rgba(8, 12, 11, 0) 24%, rgba(8, 12, 11, .06) calc(var(--hero-photo-h) - 70px), var(--hero-ink) calc(var(--hero-photo-h) + 6px), var(--hero-ink) 100%); }
  .cta h2, .cta .lead { text-shadow: none; }
}

/* Über uns (Seite 34): Hero herausgezoomt – das Foto wird nicht mehr zugeschnitten, sondern sitzt auf voller Höhe rechts und läuft links weich aus; Schrift kleiner, Schleier heller (06.11.2026) */
.js body.page-id-34 .hero--page .hero__media img { transform: scale(1.04); }
@media (min-width: 701px) {
  body.page-id-34 .hero--page .hero__media img {
    position: absolute; top: 0; right: 0; left: auto; bottom: auto; width: auto; height: 100%; max-width: none; object-fit: fill;
    transform-origin: 100% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%);
  }
  body.page-id-34 .hero--page .hero__shade {
    background:
      linear-gradient(90deg, rgba(8, 12, 11, .5) 0%, rgba(8, 12, 11, .16) 40%, rgba(8, 12, 11, 0) 66%),
      linear-gradient(180deg, rgba(8, 12, 11, .1) 0%, rgba(8, 12, 11, 0) 26%, rgba(8, 12, 11, .18) 100%);
  }
  body.page-id-34 .hero--page .hero__title { font-size: clamp(1.9rem, min(3.4vw, 7svh), 3.8rem); line-height: 1; max-width: 18ch; }
  body.page-id-34 .hero--page .hero__lead { font-size: clamp(.98rem, min(1.15vw, 2.4svh), 1.1rem); max-width: 48ch; margin-top: clamp(.9rem, 1.6vw, 1.4rem); }
  body.page-id-34 .hero--page .hero__title, body.page-id-34 .hero--page .hero__lead { text-shadow: 0 2px 22px rgba(0, 0, 0, .5); }
}

/* ===== Startseite Handy kompakt: Leistungen + Kategorien (06.11.2026) ===== */
/* Snap-Punkt der Karten berücksichtigt den Seitenrand, sonst springt die erste Karte bündig an den Rand und wirkt abgeschnitten */
.cats__track { scroll-padding-inline: var(--gutter); }
@media (max-width: 700px) {
  /* Mobile kompakt: Leistungen */
  .services__panel { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
  .svc { display: grid; grid-template-columns: 46px 1fr; column-gap: 1rem; row-gap: .2rem; align-items: start; padding: 1.15rem 1.2rem 1.25rem; }
  .svc > .hexicon { grid-row: 1 / span 3; width: 44px; height: 49px; margin: 0; }
  .svc > .hexicon.has-ic::before, .svc > .hexicon.has-ic::after { width: 20px; height: 20px; }
  .svc > :not(.hexicon) { grid-column: 2; margin: 0; }
  .svc__title { font-size: 1.1rem; }
  .svc__text { font-size: .875rem; line-height: 1.45; }
  .svc__more { margin-top: .2rem; font-size: .875rem; justify-self: start; }
  /* Mobile kompakt: Kategorien */
  .cats { padding-block: 48px; }
  .cats__head { gap: .8rem; margin-bottom: 1.3rem; }
  .cats__head .h2 { font-size: clamp(1.6rem, 7.2vw, 2rem); }
  .cats__track { gap: 14px; }
  .cat { --cut: 26px; flex-basis: min(62vw, 240px); }
  .cat--shot .cat__body { min-height: 4.2rem; padding: .75rem 1rem; gap: .6rem; }
  .cat--shot .cat__name { font-size: 1.05rem; }
  .cat__go { width: 36px; height: 36px; }
  .cat__go.has-ic::before, .cat__go.has-ic::after { width: 16px; height: 16px; }
  .cat--all { padding: 1.2rem; }
  .cat--all .cat__name { font-size: 1.35rem; }
  .cat--all .hexicon { width: 54px; height: 60px; }
}


/* Reparatur (Seite 38): Banner-Foto (2000×857) nicht mehr zuschneiden – volle Breite unten, oben weich ins Dunkle; der dunkle linke Bildteil liegt hinter dem Text (16.11.2026) */
@media (min-width: 701px) {
  body.page-id-38 .hero--repair .hero__media img {
    position: absolute; top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: auto; max-width: none; object-fit: fill;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%); mask-image: linear-gradient(180deg, transparent 0, #000 24%);
  }
  body.page-id-38 .hero--repair .hero__shade {
    background:
      linear-gradient(90deg, rgba(8, 12, 11, .5) 0%, rgba(8, 12, 11, .16) 40%, rgba(8, 12, 11, 0) 66%),
      linear-gradient(180deg, rgba(8, 12, 11, .1) 0%, rgba(8, 12, 11, 0) 26%, rgba(8, 12, 11, .18) 100%);
  }
  body.page-id-38 .hero--repair .hero__title { font-size: clamp(1.9rem, min(3.4vw, 7svh), 3.6rem); line-height: 1; }
  body.page-id-38 .hero--repair .hero__lead { font-size: clamp(.98rem, min(1.15vw, 2.4svh), 1.1rem); max-width: 48ch; }
  body.page-id-38 .hero--repair .hero__title, body.page-id-38 .hero--repair .hero__lead { text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
}


/* Reparatur (Seite 38): Geräte-Kacheln mit freigestellten Produktfotos (catshot-*) im gleichen Stil wie die Kategorie-Kacheln der Startseite (16.11.2026) */
body.page-id-38 .dev--shot { display: flex; flex-direction: column; background: #fff; }
body.page-id-38 .dev--shot::before { display: none; }
body.page-id-38 .dev--shot img { position: static; flex: 1 1 0; min-height: 0; width: 100%; height: 0; padding: 5% 9% 3%; object-fit: contain; }
body.page-id-38 .dev--shot .dev__body { position: static; flex: none; align-items: center; min-height: 4.4rem; padding: .9rem 1.4rem; background: var(--steel); transition: background-color .3s; }
body.page-id-38 .dev--shot:hover .dev__body, body.page-id-38 .dev--shot:focus-visible .dev__body { background: var(--green-deep); }
