/*
Theme Name: Schade & Sohn
Theme URI: https://www.kfz-schade-hahn.de
Author: KFZ-Meisterbetrieb Schade & Sohn GmbH
Description: Modernes Block-Theme für den Kfz-Meisterbetrieb Schade & Sohn in Vechelde. Logofarben Grün, Grau und Hellgrau, DIN-artige Schrift, Schriften lokal eingebunden (DSGVO-freundlich).
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: schade-sohn
Tags: block-theme, full-site-editing, business, one-column, custom-colors, editor-style
*/

/* Ergänzungen, die theme.json nicht abdeckt */
.is-style-warnstreifen{position:relative}
.is-style-warnstreifen::after{content:"";position:absolute;left:0;right:0;bottom:0;height:10px;background:repeating-linear-gradient(-45deg,var(--wp--preset--color--gruen) 0 18px,var(--wp--preset--color--anthrazit) 18px 36px)}

.ss-kennzeichen{display:inline-flex;align-items:stretch;background:#fbfbf7;color:#111;border:3px solid #111;border-radius:7px;font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:clamp(1.8rem,4vw,2.6rem);letter-spacing:.06em;max-width:100%;overflow:hidden;line-height:1.3}
.ss-kennzeichen .eu{background:#1f3fa8;color:#ffd84a;font-size:.7rem;display:grid;place-items:end center;padding:.25rem .35rem;letter-spacing:0;line-height:1}
.ss-kennzeichen .txt{padding:.1rem .8rem;white-space:nowrap}

.is-style-signal-liste{list-style:none;padding-left:0}
.is-style-signal-liste li{padding-left:1.1rem;position:relative;margin-bottom:.45rem}
.is-style-signal-liste li::before{content:"";position:absolute;left:0;top:.65em;width:.45rem;height:2px;background:var(--wp--preset--color--gruen)}

.is-style-linie-oben{border-top:3px solid currentColor;padding-top:1.2rem}

.ss-beacon{width:64px;height:64px;border-radius:50%;background:var(--wp--preset--color--gruen-ink);display:grid;place-items:center;flex:none}
.ss-beacon i{width:22px;height:22px;border-radius:50%;background:var(--wp--preset--color--gruen);animation:ss-pulse 1.8s infinite}
@keyframes ss-pulse{0%{box-shadow:0 0 0 0 rgba(134,188,36,.8)}70%{box-shadow:0 0 0 18px rgba(134,188,36,0)}100%{box-shadow:0 0 0 0 rgba(134,188,36,0)}}
@media (prefers-reduced-motion:reduce){.ss-beacon i{animation:none}}

.ss-hours{margin:0}
.ss-hours table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.ss-hours td{border:0;border-bottom:1px solid var(--wp--preset--color--linie);padding:.55rem 0}
.ss-hours td:last-child{text-align:right;font-weight:600;white-space:nowrap;padding-left:1rem}

.ss-footer .wp-block-list{list-style:none;padding-left:0}
.ss-footer a{text-decoration:none}
.ss-footer a:hover{text-decoration:underline}
.ss-tnum{font-variant-numeric:tabular-nums}

.wp-block-navigation a:where(:not(.wp-element-button)):hover{color:var(--wp--preset--color--gruen)}
a:focus-visible,.wp-element-button:focus-visible{outline:3px solid var(--wp--preset--color--gruen);outline-offset:3px}

.wp-block-image.ss-logo{margin-left:0!important;margin-right:0!important}
.ss-logo img{width:260px;max-width:100%;height:auto}
.wp-block-navigation .wp-block-navigation__submenu-container{background:var(--wp--preset--color--anthrazit-hell)!important;color:var(--wp--preset--color--auf-dunkel)!important;border:0!important;border-radius:6px;padding:.4rem 0;box-shadow:0 10px 30px rgba(0,0,0,.25);min-width:220px!important}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:.5rem 1rem}

/* Leistungsseite */
.ss-jump{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.8rem}
.ss-jump a{text-decoration:none;font-size:.95rem;font-weight:500;color:var(--wp--preset--color--auf-dunkel);border:1px solid rgba(255,255,255,.25);border-radius:99px;padding:.35rem .9rem;transition:background .15s,color .15s}
.ss-jump a:hover{background:var(--wp--preset--color--gruen);border-color:var(--wp--preset--color--gruen);color:var(--wp--preset--color--gruen-ink)}
.ss-promise{list-style:none;margin:0;padding:0;border-left:3px solid var(--wp--preset--color--gruen)}
.ss-promise li{padding:.8rem 0 .8rem 1.2rem;border-bottom:1px solid rgba(255,255,255,.08);color:var(--wp--preset--color--hellgrau);font-size:.95rem}
.ss-promise li:last-child{border-bottom:0}
.ss-promise strong{display:block;font-family:var(--wp--preset--font-family--display);font-size:1.45rem;color:var(--wp--preset--color--auf-dunkel);line-height:1.1}
.ss-cat{scroll-margin-top:1rem}
.ss-sticky{position:sticky;top:1.5rem}
.ss-svc{padding-block:1.4rem;border-top:1px solid var(--wp--preset--color--linie);margin-block-start:0!important}
.ss-svc:last-child{border-bottom:1px solid var(--wp--preset--color--linie)}
.ss-svc h3{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.ss-tag{font-family:var(--wp--preset--font-family--body);font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;background:var(--wp--preset--color--hellgrau-flaeche);border:1px solid var(--wp--preset--color--linie);border-radius:99px;padding:.15rem .6rem;line-height:1.4}
.ss-tag-hot{background:var(--wp--preset--color--gruen);border-color:var(--wp--preset--color--gruen);color:var(--wp--preset--color--gruen-ink)}
.ss-avatar{flex:none;width:96px;height:96px;border-radius:50%;background:var(--wp--preset--color--anthrazit);color:var(--wp--preset--color--gruen);display:grid;place-items:center;font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:2rem}
@media (max-width:781px){.ss-sticky{position:static}}
@media (max-width:600px){.ss-person{flex-wrap:wrap!important}.ss-avatar{width:72px;height:72px;font-size:1.5rem}}

/* Foto im Fakten-Block der Startseite */
.ss-foto{position:relative;margin-bottom:1.4rem;width:100%}
.ss-foto .wp-block-image{margin:0}
.ss-foto .wp-block-image img{display:block;width:100%;height:auto}
.ss-foto .ss-kennzeichen{position:absolute;left:1rem;bottom:-1.1rem;font-size:clamp(1.4rem,3vw,1.9rem);box-shadow:0 6px 18px rgba(0,0,0,.35)}

/* Leistungs-Unterseiten */
.ss-crumb a{text-decoration:none;color:var(--wp--preset--color--hellgrau)}
.ss-crumb a:hover{color:var(--wp--preset--color--gruen)}
.ss-check{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.ss-check li{position:relative;padding-left:2rem;font-family:var(--wp--preset--font-family--display);font-size:1.45rem;font-weight:600;color:var(--wp--preset--color--auf-dunkel);line-height:1.2}
.ss-check li::before{content:"";position:absolute;left:0;top:.18em;width:1.15rem;height:1.15rem;border-radius:50%;background:var(--wp--preset--color--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2316220a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat}
.ss-card{border-top:3px solid var(--wp--preset--color--gruen)!important}
.ss-steps{counter-reset:none}
.ss-step-nr{display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;background:var(--wp--preset--color--anthrazit);color:var(--wp--preset--color--gruen);font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:1.35rem}
.ss-more{display:flex;flex-wrap:wrap;gap:.6rem}
.ss-more a{text-decoration:none;font-weight:600;color:var(--wp--preset--color--schrift);background:var(--wp--preset--color--weiss);border:1px solid var(--wp--preset--color--linie);border-radius:99px;padding:.5rem 1.1rem;transition:border-color .15s,color .15s}
.ss-more a:hover{border-color:var(--wp--preset--color--gruen);color:var(--wp--preset--color--gruen-text)}
.ss-more a::after{content:" →"}
.ss-hotline-box .ss-beacon{width:52px;height:52px}
.ss-grid-3{grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr))!important}
.wp-block-column > figure.wp-block-image img{width:100%}

/* Kontakt & Anfahrt */
.ss-panel .wp-block-heading{margin-bottom:0}
.ss-weg{display:grid;gap:.1rem;margin:0}
.ss-weg-label{font-family:var(--wp--preset--font-family--display);font-weight:600;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--gedaempft)}
.ss-weg a{font-size:1.15rem;font-weight:600;text-decoration:none;overflow-wrap:anywhere}
.ss-weg a:hover{text-decoration:underline}
.ss-form-panel{scroll-margin-top:1rem}
.ss-form{display:grid;gap:.9rem}
.ss-form p{margin:0;display:grid;gap:.35rem}
.ss-form-reihe{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.ss-form label{font-size:.9rem;font-weight:600}
.ss-form input[type=text],.ss-form input[type=tel],.ss-form input[type=email],.ss-form input[type=date],.ss-form select,.ss-form textarea{width:100%;box-sizing:border-box;font:inherit;font-size:1rem;padding:.65rem .8rem;border:1px solid var(--wp--preset--color--linie);border-radius:6px;background:var(--wp--preset--color--hellgrau-flaeche);color:var(--wp--preset--color--schrift)}
.ss-form input:focus,.ss-form select:focus,.ss-form textarea:focus{outline:2px solid var(--wp--preset--color--gruen);outline-offset:1px;background:var(--wp--preset--color--weiss)}
.ss-form-check{display:flex!important;grid-template-columns:none;align-items:flex-start;gap:.6rem!important}
.ss-form-check input{margin-top:.3rem;width:1.1rem;height:1.1rem;accent-color:var(--wp--preset--color--gruen-text);flex:none}
.ss-form-check label{font-weight:400;font-size:.92rem;color:var(--wp--preset--color--gedaempft)}
.ss-form button{cursor:pointer;border:0;justify-self:start}
.ss-form-hinweis{font-size:.88rem;color:var(--wp--preset--color--gedaempft)}
.ss-form-falle{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.ss-form-meldung{border-radius:8px;padding:1rem 1.2rem;margin-bottom:1rem}
.ss-form-ok{background:#eef6e0;color:#2c4a08;border-left:4px solid var(--wp--preset--color--gruen)}
.ss-form-fehler{background:#fdecea;color:#7a1d14;border-left:4px solid #c0392b}
@media (max-width:600px){.ss-form-reihe{grid-template-columns:1fr}}
.ss-karte{position:relative;min-height:420px;height:100%;border-radius:10px;overflow:hidden;background:
  repeating-linear-gradient(0deg,transparent 0 38px,rgba(255,255,255,.05) 38px 39px),
  repeating-linear-gradient(90deg,transparent 0 38px,rgba(255,255,255,.05) 38px 39px),
  var(--wp--preset--color--anthrazit);display:grid;place-items:center;padding:2rem}
.ss-karte::before{content:"";position:absolute;left:50%;top:42%;width:26px;height:26px;border-radius:50% 50% 50% 0;background:var(--wp--preset--color--gruen);transform:translate(-50%,-100%) rotate(-45deg);box-shadow:0 0 0 8px rgba(134,188,36,.25)}
.ss-karte.ist-geladen{padding:0;background:none}
.ss-karte.ist-geladen::before{display:none}
.ss-karte iframe{width:100%;height:100%;min-height:420px;border:0;display:block}
.ss-karte-hinweis{position:relative;max-width:30rem;text-align:center;color:var(--wp--preset--color--hellgrau);display:grid;gap:.8rem;justify-items:center;margin-top:6rem;font-size:.95rem}
.ss-karte-hinweis p{margin:0}
.ss-karte-titel{font-family:var(--wp--preset--font-family--display);font-size:1.5rem;font-weight:700;color:var(--wp--preset--color--auf-dunkel)}
.ss-karte-laden{cursor:pointer;border:0}
.has-anthrazit-background-color .wp-block-image figcaption{color:var(--wp--preset--color--hellgrau);font-size:.88rem}
