/* ==========================================================================
   Ergänzungen, die es nur in WordPress braucht. Kopf, Fuß und Seiten stehen
   in basis.css und seiten.css und sind aus dem Entwurf übernommen.
   ========================================================================== */

/* Sprunglink für die Tastatur: unsichtbar, bis er mit der Tab-Taste angesteuert wird. */
.sprung { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 700; }
.sprung:focus { left: 0; }

/* Angemeldet zeigt WordPress oben seine eigene Leiste (32 px, am Tablet 46 px).
   Für Sprünge zu Überschriften gleicht WordPress das selbst aus (scroll-padding).
   Der stehende Kopf rückt darunter, sonst läge er hinter der Leiste. Am Handy
   scrollt die Leiste von WordPress weg, dort bleibt der Kopf ganz oben. */
@media (min-width: 901px) {
  .admin-bar .top-trust { top: 32px; }
  .admin-bar .site-header { top: 65px; }
  /* Sprungliste neben langen Texten: derselbe Abstand zum Kopf wie für Besucher (20 px), sonst läge „Inhalt“ dahinter. */
  .admin-bar .sp-nav { top: 160px; max-height: calc(100vh - 192px); }
}
@media (min-width: 783px) and (max-width: 900px) { .admin-bar .site-header { top: 32px; } }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Startseite, angemeldet: Der Kopf über dem großen Foto rückt unter die Leiste von WordPress. */
.admin-bar .hero-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .hero-top { top: 46px; } }
/* Am Handy scrollt die Leiste von WordPress weg: Der Kopf beginnt darunter und bleibt danach ganz oben stehen. */
@media (max-width: 600px) { .admin-bar .hero-top { position: sticky; top: 0; height: 0; } }

/* --------------------------------------------------------------------------
   Warenkorb und Kasse (/kasse/). Aussehen und Aufbau stehen in kasse.css.
   WooCommerce legt einen eigenen Rahmen um das Formular; für den Aufbau der
   Seite (Formular links, Warenkorb rechts) zählt er nicht.
   -------------------------------------------------------------------------- */
.co > .woocommerce { display: contents; }
.co > .woocommerce > :not(form):not(aside) { grid-column: 1 / -1; }
.co > .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
/* Die Zusammenfassung von WooCommerce (Produkte, Summen) zeigt schon der Warenkorb rechts. */
.co #order_review .woocommerce-checkout-review-order-table, .co #order_review > h3 { display: none; }
/* Zahlarten im Aussehen des Entwurfs (dort „.zahl“): je Zahlart eine umrandete Zeile, Auswahlpunkt links, Symbol rechts.
   Der Aufbau ist der von WooCommerce (Punkt, Beschriftung, darunter die Felder der Zahlart), deshalb stehen die Regeln hier. */
.co #payment ul.payment_methods { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
/* Punkt und Beschriftung liegen im selben Feld des Rasters, so steht der Punkt immer in der Mitte der Zeile, auch wenn sie höher
   wird (Skonto, Umbruch am Handy). Die Felder der Zahlart folgen darunter. */
.co #payment ul.payment_methods > li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); border: 1.5px solid #d9d2c5; border-radius: 8px; padding: 0; }
.co #payment ul.payment_methods > li:has(> input:checked) { border-color: var(--ink); background: #faf8f4; }
.co #payment ul.payment_methods > li > input.input-radio { grid-area: 1 / 1; align-self: center; justify-self: start; position: relative; z-index: 1; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0 0 0 14px; border: 1.5px solid #8a837a; border-radius: 50%; background: #fff; cursor: pointer; }
.co #payment ul.payment_methods > li > input.input-radio:checked { border-color: var(--ink); background: radial-gradient(circle at 50% 50%, var(--ink) 0 4.6px, #fff 5.4px); }
.co #payment ul.payment_methods > li > input.input-radio:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.co #payment ul.payment_methods > li > label { grid-area: 1 / 1; display: flex; align-items: center; gap: 12px; min-height: 28px; margin: 0; padding: 13px 14px 13px 46px; cursor: pointer; font-weight: 600; }
/* Das PayPal-Plugin hängt ein leeres Element an seine Beschriftung; mit dem Abstand davor rückte das Symbol 12 px nach links. */
.co #payment ul.payment_methods > li > label::after { content: none; }
.co #payment .logos { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.co #payment .logos > img { width: 37px; height: 28px; display: block; }
.co #payment .logos .kachel { box-sizing: border-box; width: 37px; height: 28px; border: 1px solid #e6e6e6; border-radius: 5px; background: #fff; display: flex; align-items: center; justify-content: center; }
.co #payment .logos .kachel img { display: block; width: auto; }
.co #payment .skonto { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--ok); white-space: nowrap; text-align: right; line-height: 1.3; }
.co #payment .skonto small { display: block; font-size: 12.5px; font-weight: 600; }
.co #payment .payment_box { margin: 0; padding: 0 14px 14px 46px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.co #payment .payment_box p { margin: 0 0 8px; }
.co #payment .payment_box p:last-child { margin-bottom: 0; }
.co #payment .form-row { margin: 0 0 12px; padding: 0; }
/* Pflicht-Häkchen von Germanized im Aussehen des Entwurfs („.haken“) */
.co #order_review > input[name="terms"] { display: none; }
.co #order_review p.legal { margin: 0 0 10px; padding: 0; }
.co #order_review p.legal label.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13.5px; font-weight: 400; color: var(--ink-soft); cursor: pointer; }
.co #order_review p.legal input#legal { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.co #order_review p.legal a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.co #order_review p.legal .required { display: none; }
.co #order_review p.legal.fehler .woocommerce-gzd-legal-checkbox-text { color: #a23a2f; }
/* Bestellknopf; darunter zeichnen PayPal und Google Pay ihre eigenen Knöpfe, wenn sie gewählt sind. */
.co .wc-gzd-order-submit .place-order { margin: 0; padding: 0; }
.co #place_order.kauf { display: block; float: none; cursor: pointer; font-family: inherit; }
.co #place_order.kauf:disabled { cursor: not-allowed; }
.co .wc-ppcp-checkout-container, .co .wc-ppcp_googlepay-checkout-container { margin-top: 8px; }
/* Schnell bezahlen: Überschrift und Trennzeile kommen aus dem Entwurf, die des PayPal-Plugins entfallen. */
.co #schnell fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.co #schnell legend.express-title, .co #schnell .express-divider { display: none; }
/* Aufteilung wie im Entwurf: PayPal über die ganze Breite, darunter Apple Pay und Google Pay nebeneinander. Fehlt einer der
   beiden (Apple Pay gibt es nur auf Apple-Geräten), nimmt der andere die ganze Breite. Die Knöpfe selbst zeichnen die
   Anbieter; Form, Höhe und Farbe (rund, 52 px, weiß mit Rand) sind in den Einstellungen des PayPal-Plugins gewählt. */
.co #schnell .wc_ppcp_express_checkout_gateways { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
/* Seit 22.11. wie bei den großen Shops (Muster von Shopify): gleich große Knöpfe in einer Reihe, jeder in der Farbe seines
   Anbieters (PayPal gelb, Google Pay und Apple Pay schwarz), nur das Zeichen. Ist die Reihe zu schmal (Handy), bricht sie um. */
.co #schnell .wc-ppcp-express-checkout-gateway { flex: 1 1 150px; min-width: 0; margin: 0; padding: 0; }
/* Seit 22.11. steht der Express-Checkout im Warenkorb. Dort gibt das PayPal-Plugin die Knöpfe als Liste aus
   (ein Punkt je Zahlungsdienst, dazu eine Zeile „oder“, die hier entfällt). Gleiche Aufteilung wie oben. */
.co #schnell .wc-ppcp-cart-payments__container { margin: 0; padding: 0; }
.co #schnell ul.wc-ppcp-cart-payment__methods { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
/* Der Punkt ist selbst eine Spalte: Sonst zählt Firefox die Leerzeichen neben dem Knopf als Textzeile mit (7 px mehr Höhe). */
.co #schnell li.wc-ppcp-cart-payment-method { flex: 1 1 150px; min-width: 0; margin: 0; padding: 0; display: flex; flex-direction: column; }
.co #schnell li.wc-ppcp-cart-payment-method.or { display: none; }
/* Im Warenkorb: alle drei gleich groß untereinander über die ganze Breite, PayPal oben (Martin, 22.11.: „ich will PayPal am größten
   haben … sonst mach alle 3 gleich groß“). Nebeneinander geht nicht: Google zeigt angemeldeten Kunden im Knopf zusätzlich ihre
   Karten („G Pay | Karte Karte +“), in einer halben Spalte ragte das unter den Nachbarknopf. Abschalten lässt sich das über die
   Einstellungen nicht, und am Knopf selbst wird nichts verändert. Höhe 48 px (Einstellungen der drei Zahlarten, stufe7b_einstellen.php). */
.co.wk #schnell ul.wc-ppcp-cart-payment__methods { gap: 8px; }
.co.wk #schnell li.wc-ppcp-cart-payment-method { flex-basis: 100%; }
.co #schnell .gpay-card-info-container-fill, .co #schnell .gpay-card-info-container { width: 100% !important; }
.co.wk #schnell .gpay-button { padding-top: 14px !important; padding-bottom: 14px !important; }
.co.wk #schnell .express_payment_method_ppcp_applepay, .co.wk #schnell apple-pay-button,
.co.wk #schnell li.payment_method_ppcp_applepay { --apple-pay-button-height: 48px; --apple-pay-button-padding: 5px 0; }
.co.wk #schnell apple-pay-button { height: 48px; }
.co #schnell li.wc-ppcp-cart-payment-method > div,
.co #schnell .wc-ppcp-express-checkout-gateway > div, .co #schnell .paypal-buttons, .co #schnell .gpay-button-fill, .co #schnell .gpay-button-fill > button, .co #schnell apple-pay-button { width: 100% !important; max-width: none !important; margin: 0 !important; }
/* Die Zeichen von Google Pay und Apple Pay füllen ihren Knopf sonst viel stärker als das PayPal-Zeichen (Martin, 22.11.:
   „unproportional groß“). Beide Anbieter sehen dafür den Innenabstand des Knopfes vor: mehr Abstand, kleineres Zeichen.
   Das Zeichen selbst bleibt unverändert. */
.co #schnell .gpay-button { padding-top: 16px !important; padding-bottom: 16px !important; }
/* Der Knopf von Google Pay steht als Textzeichen in seinem Rahmen; Firefox rechnete dafür 7 px Zeilenabstand dazu. */
.co #schnell .gpay-button-fill { display: flex; }
/* Beim Apple-Pay-Knopf zählt der Abstand nur dann nach innen, wenn Höhe und Rechenweise mit angegeben sind. */
.co #schnell .express_payment_method_ppcp_applepay, .co #schnell apple-pay-button { --apple-pay-button-height: 52px; --apple-pay-button-box-sizing: border-box; --apple-pay-button-padding: 6px 0; }
.co #schnell apple-pay-button { display: block; height: 52px; }
/* Zahlart ohne eigene Felder oder Text (PayPal, Google Pay, Apple Pay): Der Kasten darunter bleibt weg. */
.co #payment .payment_box.payment_method_ppcp, .co #payment .payment_box.payment_method_ppcp_googlepay, .co #payment .payment_box.payment_method_ppcp_applepay { padding-bottom: 0; }
.co #payment .payment_box .wc-ppcp-popup__container, .co #payment .payment_box .wc-ppcp-order-review__message:empty { display: none; }
/* Nach der Rückkehr aus dem Express-Checkout: Hinweis „… ist bereit“ und der Link des Plugins zum Abbrechen.
   Bei Google Pay und Apple Pay fehlt der Link: Er setzte den Knopf des Anbieters wieder an die Stelle von „Jetzt kostenpflichtig
   bestellen“ (Variante B, 22.11.). Wer anders zahlen will, wählt eine andere Zahlart. Bei PayPal bleibt er als normaler Link. */
.co #payment .wc-ppcp_googlepay-cancel__payment, .co #payment .wc-ppcp_applepay-cancel__payment { display: none !important; }
/* Google Pay und Apple Pay stehen in der Liste nur, wenn der Kunde damit aus dem Express-Checkout kommt (dann sind sie gewählt).
   In dem Fall steht nur diese Zahlart da, ohne Auswahlpunkt; „Andere Zahlart wählen“ (kasse.js, walletAnzeige) zeigt die Liste wieder. */
.co #payment ul.payment_methods > li.payment_method_ppcp_googlepay:not(:has(> input:checked)),
.co #payment ul.payment_methods > li.payment_method_ppcp_applepay:not(:has(> input:checked)) { display: none; }
.co #payment.wallet-gewaehlt ul.payment_methods > li:not(:has(> input:checked)) { display: none; }
.co #payment.wallet-gewaehlt ul.payment_methods > li > input.input-radio { display: none; }
.co #payment.wallet-gewaehlt ul.payment_methods > li > label { padding-left: 14px; }
.co #payment.wallet-gewaehlt ul.payment_methods > li .payment_box { padding-left: 14px; }
.co #payment .andere-zahlart { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.co #payment .wc-ppcp-cancel__payment { display: inline-block; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.co .woocommerce-error, .co .woocommerce-info, .co .woocommerce-message { list-style: none; margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: #fbeeea; color: #7a2a1c; font-size: 15px; }
.co .woocommerce-info, .co .woocommerce-message { background: var(--sand); color: var(--ink); }
/* Die Überschrift von Germanized über den Zahlarten doppelt sich mit „Zahlung“ darüber. */
.co #order_review h3#order_payment_heading, .co #order_review #order_payment_heading, .co #payment > h3 { display: none !important; }
/* Angemeldet: Die stehenden Teile rücken unter die Leiste von WordPress. In der Kasse gibt es die dunkle Vorteilsleiste
   nicht, der Kopf steht dort direkt unter der Leiste von WordPress. */
@media (min-width: 901px) { .admin-bar.woocommerce-checkout .site-header, .admin-bar.woocommerce-cart .site-header { top: 32px; } }
@media (min-width: 921px) { .admin-bar .wk-rechts { top: min(112px, calc(100vh - var(--wkH, 0px) - 16px)); } }
/* Der Warenkorb rechts steht 32 px tiefer und ist um so viel niedriger; in der langen Fassung („lang“: Fenster zu niedrig für
   eine ganze Position) haftet er weiter mit dem unteren Ende am Bildschirmrand, damit die Summe zu sehen bleibt. Ohne diese
   Anpassung ragte er angemeldet unten aus dem Fenster (Martin, 22.11.). */
@media (min-width: 921px) {
  .admin-bar .best { top: 112px; max-height: calc(100vh - 190px); }
  .admin-bar .best.lang { max-height: none; top: min(112px, calc(100vh - var(--bestH, 0px) - 16px)); }
}

/* --------------------------------------------------------------------------
   Konfigurator (/tischkufe/). Aussehen und Aufbau stehen in konfigurator.css.
   -------------------------------------------------------------------------- */
/* Angemeldet: Die stehende Vorschau rückt am Desktop unter die Leiste von WordPress.
   Am Handy rechnet das Skript die Leiste in die Höhe des Kopfes ein (--kopfH). */
@media (min-width: 901px) { .admin-bar.single-product .site-header { top: 32px; } }
@media (min-width: 960px) { .admin-bar .kf-preview { top: 131px; } .admin-bar .p-price { top: calc(107px - var(--weg, 0px)); } }

/* Der Preis wird beim Server abgerufen. Solange gerechnet wird, bleibt der alte Preis blasser stehen,
   der neue blendet weich hinein. Dauert die Antwort länger als 0,3 s, steht ein grauer Platzhalter da. */
#pPrice, #sStk, #sGes, #barPrice, #qsGes, #qsNote { transition: opacity 0.2s ease; }
.kf-rechnet #pPrice, .kf-rechnet #sStk, .kf-rechnet #sGes, .kf-rechnet #barPrice, .kf-rechnet #qsGes, .kf-rechnet #qsNote { opacity: 0.45; }
.kf-wartet #pPrice, .kf-wartet #sStk, .kf-wartet #sGes, .kf-wartet #barPrice, .kf-wartet #qsGes {
  opacity: 1; color: transparent; border-radius: 6px;
  background: linear-gradient(90deg, #ebe7df 0%, #f6f3ee 50%, #ebe7df 100%) 0 0 / 200% 100%;
  animation: kf-schimmer 1.1s linear infinite;
}
.kf-wartet #pPrice { width: 5.2em; }
.kf-wartet #qsNote { opacity: 0; }
@keyframes kf-schimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
  #pPrice, #sStk, #sGes, #barPrice, #qsGes, #qsNote { transition: none; }
  .kf-wartet #pPrice, .kf-wartet #sStk, .kf-wartet #sGes, .kf-wartet #barPrice, .kf-wartet #qsGes { animation: none; }
}
/* „In den Warenkorb“ ist unterwegs zum Server: Die Kaufknöpfe sind solange nicht noch einmal drückbar. */
.kf-legt [data-buy], .kf-legt [data-qsok] { opacity: 0.6; pointer-events: none; }
/* Der Abruf ist mehrmals gescheitert (kein Netz, Server nicht erreichbar). */
.kf-preisfehler #pNote::after, .kf-preisfehler #barNote::after { content: " · Der Preis konnte nicht geladen werden. Bitte lade die Seite neu."; color: #a23b2a; }

/* --------------------------------------------------------------------------
   Startseite: Inhalt aus dem Editor. Der Aufbau im Editor (Gruppen, Bilder,
   Knöpfe) trägt die Klassen des Entwurfs; hier werden die Bausteine von
   WordPress auf dessen Aussehen gestellt (Regeln in start.css).
   -------------------------------------------------------------------------- */
/* Bilder: Foto füllt seinen Rahmen wie im Entwurf */
.hero figure.hero-photo, .intro figure.intro-pic, .choice figure.pic { margin: 0; }
.hero .hero-photo img, .intro .intro-pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero .hero-photo img { object-position: 62% 78%; }
.choice .pic img { height: 100%; }
/* Die Zeile auf dem großen Foto ist im Editor die Beschriftung des Bildes. */
.hero-photo figcaption { position: absolute; left: 18px; bottom: 18px; margin: 0; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.55; padding: 7px 13px; border-radius: 100px; text-align: left; }
/* Karten „Das legst du fest“: Die ganze Karte ist anklickbar, der Link steht in der letzten Zeile. */
.choice { position: relative; }
.choice p.more { max-width: none; }
.choice .more a::after { content: ""; position: absolute; inset: 0; }
.choice .more a:focus-visible { outline: none; }
.choice:has(.more a:focus-visible) { outline: 2px solid var(--gold-deep); outline-offset: 4px; border-radius: var(--radius-m); }

/* Knöpfe: Im Editor ist es der Baustein „Buttons“. Die Klasse am einzelnen Knopf bestimmt das Aussehen:
   knopf-gold (großer Knopf), knopf-dunkel, knopf-link (unterstrichener Textlink). */
.wp-block-buttons.knopf-reihe, .wp-block-buttons.knopf-reihe > .wp-block-button, .wp-block-buttons.intro-cta > .wp-block-button { display: contents; }
.wp-block-button[class*="knopf-"] > .wp-block-button__link { background: none; color: inherit; padding: 0; border: 0; border-radius: 0; box-shadow: none; font: inherit; line-height: inherit; text-decoration: none; text-align: left; width: auto; height: auto; min-height: 0; word-break: normal; }
.wp-block-button.knopf-gold > .wp-block-button__link { background: var(--gold); color: #241d0f; padding: 18px 34px; border-radius: 100px; align-self: flex-start; font-size: 16.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.15s, background 0.15s; }
.wp-block-button.knopf-gold > .wp-block-button__link:hover { background: #dcb970; transform: translateY(-1px); }
@media (max-width: 860px) { .wp-block-button.knopf-gold > .wp-block-button__link { align-self: stretch; justify-content: center; } }
.closer .wp-block-button.knopf-gold > .wp-block-button__link { align-self: center; background: var(--ink); color: #fff; }
.closer .wp-block-button.knopf-gold > .wp-block-button__link:hover { background: var(--gold-deep); }
.wp-block-button.knopf-dunkel > .wp-block-button__link { display: inline-block; background: var(--ink); color: #fff; padding: 15px 26px; border-radius: 100px; font-size: 15.5px; font-weight: 700; }
.wp-block-button.knopf-dunkel > .wp-block-button__link:hover { background: var(--gold-deep); }
.wp-block-button.knopf-link > .wp-block-button__link { display: inline-block; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Großmengen & Sondermaße */
/* Knöpfe in der Box „Was auf Anfrage geht“ */
.wp-block-buttons.geht-knoepfe > .wp-block-button { display: contents; }
.geht ul.geht-liste.wp-block-list { padding: 0; }
/* Ablauf in drei Schritten: „Schritt 1“ ist im Editor ein Absatz mit der Klasse „nr“. */
.schritt p.nr { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #e8c98a; line-height: inherit; }
/* Link unter den Kundenbildern (Absatz mit der Klasse „nach“) */
p.nach a { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Häkchen-Listen und Zahlarten-Zeile */
ul.checks.wp-block-list { padding-left: 0; }
p.pay { margin-bottom: 0; }
/* Schloss vor „Sicher bezahlen mit“, wie in der Kasse */
.pay .schloss, .payrow .schloss { display: inline-flex; align-items: center; gap: 6px; }
.pay .schloss svg, .payrow .schloss svg { width: 15px; height: 15px; flex: none; margin-top: -1px; }

/* Inhalt aus dem Editor von WordPress. Die Bausteine (Bild, Knöpfe) bringen eigene
   Abstände und Farben mit; hier werden sie auf das Aussehen des Entwurfs gestellt. */
.ue-raster img { height: auto; }
/* Knöpfe: Im Editor ist es der Baustein „Buttons“ mit der Klasse „sp-knoepfe“, ein heller Knopf trägt die Klasse „hell“. */
.wp-block-buttons.sp-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin: 0 0 14px; }
.sp-knoepfe .wp-block-button { margin: 0; width: auto; }
.sp-knoepfe .wp-block-button__link { display: inline-block; margin-top: 14px; background: var(--ink); color: #fff; text-decoration: none; border: 0; border-radius: 100px; padding: 14px 26px; font-family: inherit; font-weight: 700; font-size: 16px; line-height: inherit; box-shadow: none; }
.sp-knoepfe .wp-block-button__link:hover { background: #000; color: #fff; }
.sp-knoepfe .wp-block-button.hell .wp-block-button__link { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sp-knoepfe .wp-block-button.hell .wp-block-button__link:hover { background: var(--ink); color: #fff; }

/* FAQ: Antworten und Abschluss kommen aus dem Editor. */
.fq-fr .aw p.fq-offen { margin-bottom: 6px; }
.fq-fr .vier figure.wp-block-image { margin: 0; }
.fq-fr .vier img { height: auto; }
.fq-fr .vier figcaption { margin: 0; text-align: left; }
.fq-fr .vier figcaption strong { display: block; font-size: 15.5px; color: var(--ink); }
.fq-ko .wp-block-buttons.sp-knoepfe { justify-content: center; margin: 0; }
.fq-ko .sp-knoepfe .wp-block-button__link { margin-top: 0; }

/* Kontakt: Die Kontaktdaten unten in der Karte kommen aus dem Editor. Gruppe „kt-daten“, darin je Angabe eine Gruppe „kt-feld“
   mit der Beschriftung (Absatz „kt-was“) und der Angabe (Absatz „kt-mail“ oder „sp-adresse“). */
.kt-daten.wp-block-group { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 56px; border-top: 1px solid var(--line); padding-top: 28px; }
.kt-daten.wp-block-group > .kt-feld, .kt-daten.wp-block-group .kt-feld > p { margin: 0; }
.kt-daten .kt-feld > p { font-size: 16.5px; line-height: 30px; color: var(--ink); }
.kt-daten .kt-feld > p.kt-was { font-size: 14.5px; line-height: 1.55; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.kt-daten .kt-feld > p.kt-mail { font-size: 19px; }
.kt-daten p.kt-mail a { font-family: 'Archivo', sans-serif; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.kt-daten p.kt-mail a:hover { text-decoration-color: currentColor; }
@media (max-width: 900px) {
  .kt-daten.wp-block-group { flex-direction: column; padding-top: 24px; }
  .kt.gesendet .kt-daten.wp-block-group { align-items: center; text-align: center; }
}
/* Feld, das nur Programme ausfüllen (Schutz vor Spam): für Menschen unsichtbar und nicht erreichbar */
.kt-falle { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sp-form .meldung.fehler { color: #a3261a; }
.sp-form button[disabled] { opacity: 0.6; cursor: default; }

/* Seiten, die noch nicht nach dem Entwurf gebaut sind (Warenkorb, Kasse, Shop):
   breite Spalte, Inhalt so, wie WooCommerce ihn ausgibt. */
.sp-kopf.breit .sp-kopf-in { max-width: 1180px; }
.wp-breit { max-width: 1180px; margin: 0 auto; padding: 44px max(24px, var(--safe-l)) 84px max(24px, var(--safe-r)); }
.wp-roh p { margin: 0 0 14px; }
.wp-roh a { text-decoration: underline; text-underline-offset: 3px; }

/* Handy: Eingabefelder mit mindestens 16 px. Bei kleinerer Schrift zoomt das iPhone beim Antippen hinein und bleibt danach gezoomt,
   die Seite lässt sich dann seitlich schieben (Martin, 25.11.2026, im Konfigurator). */
@media (max-width: 959px) {
  .sp-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .sp-form textarea, .sp-form.sp-form select, .num.num input { font-size: 16px; }
  .num.num { width: 88px; }
}

/* Abfrage der E-Mail-Adresse vor einer Bestellung (woocommerce/checkout/form-verify-email.php), auf der Bestätigung und vor „Bestellung bezahlen“ */
form.vm.vm { grid-column: 1 / -1; justify-self: start; width: 100%; max-width: 480px; background: #fff; border-radius: 14px; padding: 24px; margin: 0; }
.vm h2 { font-size: 20px; margin: 0 0 8px; }
.vm p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.vm .vm-feld { display: flex; flex-direction: column; gap: 5px; margin: 0 0 14px; }
.vm .vm-feld label { font-size: 13.5px; font-weight: 600; }
.vm .vm-feld input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #d9d2c5; border-radius: 8px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; box-sizing: border-box; }
.vm .vm-feld input:focus { border-color: var(--ink); outline: none; }
.vm .vm-knopf { width: 100%; height: 52px; border: none; border-radius: 100px; background: var(--ink); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.vm .vm-knopf:hover { background: #000; }
