/*
Theme Name: HELD Elektrotechnik
Theme URI: https://elektro-held.de
Author: HELD Elektrotechnik e.K.
Description: Block-Theme für HELD Elektrotechnik – Gestaltung nach elektro-held.de: HELD-Rot, dunkles Anthrazit, Montserrat + Open Sans (lokal eingebettet), runde Karten, Foto-Hero mit Textkarte. Mobil-Layer (v3) in assets/css/mobile.css.
Version: 3.0.4
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: held
*/

/* ==========================================================================
   Design-Tokens
   ========================================================================== */
:root{
  --rot:#B71C1C;          /* HELD-Rot */
  --rot-dunkel:#961616;
  --signal:#EE1C25;       /* Logo-Rot */
  --anthrazit:#22262D;    /* Dunkle Flächen: Leiste, CTA-Band, Footer */
  --anthrazit-t:#22262D;
  --ink:#22262D;
  --graphit:#4A4F57;
  --hell:#F2F2F2;         /* Karten auf Weiß */
  --alt:#EDEDED;          /* graue Abschnitte */
  --linie:#E3E3E3;
  --font:'Open Sans',system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --head:'Montserrat','Open Sans',system-ui,Arial,sans-serif;
  --w:1440px;
  --pad:clamp(20px,2.4vw,32px);
  --r:16px;               /* Karten */
  --rb:8px;               /* Buttons, Chips */
  --schatten:0 8px 40px rgba(0,0,0,.07);
  --hh:96px;
}

/* ==========================================================================
   Basis
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--hh) + 16px)}
body{margin:0;font-family:var(--font);font-size:16px;line-height:1.7;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,h4{margin:0 0 .6em;font-family:var(--head);font-weight:700;line-height:1.18;color:var(--ink);text-wrap:balance}
h1{font-size:clamp(1.6rem,1rem + 3vw,4rem);line-height:1.16}
h1,h2,h3{overflow-wrap:break-word;hyphens:auto;-webkit-hyphenate-limit-before:5;-webkit-hyphenate-limit-after:5;hyphenate-limit-chars:12 5 5}
@media(min-width:641px){h1,h2,h3{hyphens:manual}} /* Silbentrennung nur auf dem Telefon */
h2{font-size:clamp(1.45rem,.9rem + 2.4vw,3rem)}
h3{font-size:1.25rem;line-height:1.25}
h4{font-size:1.05rem}
h1 em,h2 em{color:var(--rot);font-style:italic}
p{margin:0 0 1.1em}
strong,b{font-weight:700}
:focus-visible{outline:3px solid var(--rot);outline-offset:3px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Container */
.held-wrap{max-width:var(--w);margin-left:auto;margin-right:auto;padding-left:var(--pad);padding-right:var(--pad)}
.held-prose{max-width:95ch}
.held-wrap.held-prose{max-width:var(--w)}
.held-wrap.held-prose > *{max-width:95ch}
.held-prose p{color:var(--ink)}
.held-lead{font-size:1.05rem;color:var(--ink)}

/* Früheres Fase-Motiv: jetzt runde Ecken */
.held-fase{border-radius:var(--r)}

/* ==========================================================================
   Buttons (core/button mit HELD-Klassen) – Farben je Variante fest definiert (System aus Mobile-Update v3).
   Jede Variante setzt Fläche, Schrift UND Rand über --btn-*: nie Weiß auf Weiß, nie Schrift = Fläche.
   ========================================================================== */
.wp-block-buttons.held-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin:0}
.wp-block-buttons.held-actions .wp-block-button{margin:0}
.held-btn,
.wp-block-button.held-btn-rot .wp-block-button__link,
.wp-block-button.held-btn-hell .wp-block-button__link,
.wp-block-button.held-btn-weiss .wp-block-button__link,
.wpcf7 input[type=submit]{
  --btn-bg:var(--rot);--btn-fg:#fff;--btn-bd:var(--rot);
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;font-family:var(--font);font-weight:700;font-size:.94rem;line-height:1.3;
  min-height:48px;padding:.85rem 1.75rem;text-decoration:none;border-radius:var(--rb);cursor:pointer;-webkit-tap-highlight-color:transparent;
  background:var(--btn-bg);color:var(--btn-fg);border:2px solid var(--btn-bd);box-shadow:none;
  transition:background-color .15s ease,color .15s ease,border-color .15s ease,transform .1s ease}
.held-btn-rot,.wp-block-button.held-btn-rot .wp-block-button__link,.wpcf7 input[type=submit]{text-transform:uppercase;letter-spacing:.01em}
/* hell/weiss: auf hellen Flächen weiß mit dunklem Rand … */
.held-btn-hell,.wp-block-button.held-btn-hell .wp-block-button__link,
.held-btn-weiss,.wp-block-button.held-btn-weiss .wp-block-button__link{--btn-bg:#fff;--btn-fg:var(--ink);--btn-bd:var(--ink)}
/* … auf dunklen Flächen (CTA-Band, .held-dark, Kontaktabschnitt) transparent mit weißem Rand */
.held-dark .held-btn-weiss,.held-dark .wp-block-button.held-btn-weiss .wp-block-button__link,
.held-dark .held-btn-hell,.held-dark .wp-block-button.held-btn-hell .wp-block-button__link,
.held-band .held-btn-weiss,.held-band .wp-block-button.held-btn-weiss .wp-block-button__link,
.held-band .held-btn-hell,.held-band .wp-block-button.held-btn-hell .wp-block-button__link,
.held-sec:has(> .held-kontakt) .held-kontakt-text .wp-block-button.held-btn-weiss .wp-block-button__link,
.held-sec:has(> .held-kontakt) .held-kontakt-text .wp-block-button.held-btn-hell .wp-block-button__link{--btn-bg:transparent;--btn-fg:#fff;--btn-bd:#fff}
.held-btn:hover,.wp-block-button.held-btn-rot .wp-block-button__link:hover,
.wp-block-button.held-btn-hell .wp-block-button__link:hover,.wp-block-button.held-btn-weiss .wp-block-button__link:hover,
.wpcf7 input[type=submit]:hover{filter:brightness(.92);color:var(--btn-fg);background:var(--btn-bg)}
.held-dark .held-btn-weiss:hover,.held-dark .wp-block-button.held-btn-weiss .wp-block-button__link:hover,
.held-dark .held-btn-hell:hover,.held-dark .wp-block-button.held-btn-hell .wp-block-button__link:hover,
.held-band .held-btn-weiss:hover,.held-band .wp-block-button.held-btn-weiss .wp-block-button__link:hover,
.held-band .held-btn-hell:hover,.held-band .wp-block-button.held-btn-hell .wp-block-button__link:hover,
.held-sec:has(> .held-kontakt) .held-kontakt-text .wp-block-button .wp-block-button__link:not(:where(.held-btn-rot *)):hover{background:rgba(255,255,255,.12);filter:none}
.held-btn:active,.wp-block-button .wp-block-button__link:active{transform:scale(.98)}
.held-btn:focus-visible,.wp-block-button .wp-block-button__link:focus-visible{outline:3px solid var(--rot);outline-offset:3px}
.held-dark .held-btn:focus-visible,.held-dark .wp-block-button .wp-block-button__link:focus-visible,
.held-band .wp-block-button .wp-block-button__link:focus-visible,
.held-sec:has(> .held-kontakt) .wp-block-button .wp-block-button__link:focus-visible{outline-color:#fff}
.held-btn svg,.wp-block-button__link svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wp-block-button__link{text-decoration:none}
/* Icons vor den Button-Texten (wie auf elektro-held.de) */
.wp-block-button.held-btn-rot .wp-block-button__link::before,.held-btn-rot::before{content:"";width:1.05em;height:1.05em;flex:none;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3l7.5 17 2.2-6.3L20 11.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3l7.5 17 2.2-6.3L20 11.5z'/%3E%3C/svg%3E") center/contain no-repeat}
.wp-block-button__link[href^="tel:"]::before{content:"";width:1.1em;height:1.1em;flex:none;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat}

/* ==========================================================================
   Topbar + Header + Leiste + Navigation
   ========================================================================== */
.held-topbar{background:var(--rot);color:#fff;font-size:.9rem;font-weight:700}
.held-topbar .held-wrap{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;min-height:52px;gap:.25rem 1.5rem;padding-top:.5rem;padding-bottom:.5rem;text-align:center}
.held-topbar .held-claim{margin:0}
.held-topbar nav{display:flex;gap:1.25rem}
.held-topbar a{color:#fff;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;gap:.4rem;font-weight:700;white-space:nowrap}
.held-topbar a:hover{text-decoration-thickness:2px}
.held-topbar svg{width:15px;height:15px;color:#fff}
@media(max-width:720px){.held-topbar .held-claim{display:none}.held-topbar .held-mail{display:none}.held-topbar .held-wrap{min-height:40px}}

.held-header{position:sticky;top:0;z-index:60;background:#fff;box-shadow:0 8px 40px rgba(0,0,0,.15)}
.admin-bar .held-header{top:32px}
@media(max-width:782px){.admin-bar .held-header{top:46px}}
.held-header .held-wrap{display:flex;align-items:center;gap:2rem;min-height:var(--hh)}
.held-logo{display:block;line-height:0;text-decoration:none}
.held-logo img{height:68px;width:auto;display:block}
.held-nav{margin-right:auto}
.held-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:.1rem}
.held-nav > ul > li{position:relative}
.held-nav a{font-weight:600;font-size:.95rem;color:var(--ink);padding:.75rem .75rem;text-decoration:none;display:inline-flex;align-items:center;gap:.35rem;line-height:1.2}
.held-nav a:hover,.held-nav li.open > a{color:var(--rot)}
.held-nav li.menu-item-has-children > a::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:.2rem;transition:transform .2s}
.held-nav li.open > a::after{transform:rotate(225deg) translateY(-2px)}
.held-nav .sub-menu{display:none;position:absolute;left:0;top:100%;background:#fff;border-radius:var(--rb);padding:.65rem;min-width:290px;box-shadow:0 18px 48px rgba(0,0,0,.18);flex-direction:column;align-items:stretch;gap:0}
.held-nav .sub-menu.wide{min-width:620px;display:none;grid-template-columns:1fr 1fr;gap:0 .5rem}
.held-nav .sub-menu li{margin:0}
.held-nav .sub-menu a{display:block;padding:.55rem .7rem;font-weight:600;font-size:.9rem;border-radius:6px;width:100%}
.held-nav .sub-menu a:hover{background:var(--hell);color:var(--rot)}
.held-nav li.open > .sub-menu{display:flex}
.held-nav li.open > .sub-menu.wide{display:grid}
@media(hover:hover) and (min-width:1025px){
  .held-nav li.menu-item-has-children:hover > .sub-menu{display:flex}
  .held-nav li.menu-item-has-children:hover > .sub-menu.wide{display:grid}
  .held-nav li.menu-item-has-children:hover > a{color:var(--rot)}
}
.held-header .held-cta{min-height:44px;padding:.6rem 1.4rem;font-size:.82rem;font-weight:600;border-radius:4px;text-transform:none;letter-spacing:0}
.held-burger{display:none;margin-left:auto;background:none;border:1px solid var(--linie);border-radius:var(--rb);padding:.6rem .8rem;cursor:pointer;font-family:inherit;font-weight:600;font-size:.95rem;color:var(--ink);align-items:center;gap:.5rem}
.held-burger svg{width:22px;height:22px}
.held-burger .x{display:none}
.held-burger[aria-expanded="true"] .x{display:block}
.held-burger[aria-expanded="true"] .m{display:none}
.held-nav a.held-mobile-cta{display:none}

/* Vertrauens-Liste im Hero/Seitenkopf: Chips (steht im Seiteninhalt, nicht mehr als globale Leiste im Theme) */
.held-trust{display:flex;flex-wrap:wrap;gap:.4rem .5rem;margin:0 0 1.1rem;padding:0;list-style:none;font-weight:600;font-size:.8rem;line-height:1.3}
.held-trust li{display:inline-flex;align-items:center;gap:.4rem;margin:0;padding:.38rem .75rem;background:var(--anthrazit);color:#fff;border-radius:999px}
.held-trust li::before{content:"✔";font-size:.85em}
body:not(.home) .held-hero .held-trust,.held-page-head .held-trust{justify-content:center}

@media(max-width:1024px){
  :root{--hh:72px}
  .held-logo img{height:48px}
  .held-nav{display:none;position:fixed;left:0;right:0;bottom:0;background:#fff;overflow:auto;padding:.5rem var(--pad) 3rem;margin:0;z-index:55}
  .held-nav.open{display:block}
  .held-nav ul{flex-direction:column;align-items:stretch;gap:0}
  .held-nav > ul > li{border-bottom:1px solid var(--linie)}
  .held-nav > ul > li > a{width:100%;justify-content:space-between;padding:1rem 0;font-size:1.05rem}
  .held-nav li.menu-item-has-children > a::after{display:none}
  .held-nav .sub-menu,.held-nav .sub-menu.wide{display:flex;position:static;border-radius:0;box-shadow:none;padding:0 0 .75rem;min-width:0;grid-template-columns:none}
  .held-nav .sub-menu a{padding:.55rem .75rem;font-size:.98rem}
  .held-nav a.held-mobile-cta{display:inline-flex;margin:1.25rem 0 0;color:#fff;background:var(--rot);padding:1.05rem 1.6rem;font-size:.95rem;width:auto;justify-content:center}
  .held-burger{display:inline-flex}
  .held-header .held-cta{display:none}
  body.nav-open{overflow:hidden}
}

/* ==========================================================================
   Hero: Foto-Hintergrund mit heller Textkarte
   ========================================================================== */
.held-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(28px,4.5vw,64px) 0 clamp(40px,6vw,88px);
  background:var(--anthrazit) url(assets/img/hero-flotte.jpg) center/cover no-repeat}
.held-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to bottom,rgba(34,38,45,.18) 35%,rgba(0,0,0,.9) 100%)}
.held-hero-grid{display:block}
.held-hero .held-hero-media,.held-hero .wp-block-image.held-hero-media{position:absolute;inset:0;z-index:-2;margin:0;padding:0}
.held-hero .held-hero-media img{width:100%;height:100%;object-fit:cover;display:block;filter:grayscale(.55) contrast(1.02)}
.held-hero .held-hero-media-icon{display:none}  /* Unterseiten ohne Foto: Flottenbild aus dem Theme */
.held-hero-text{background:rgba(255,255,255,.87);border-radius:var(--r);padding:clamp(22px,3vw,40px) clamp(20px,2.6vw,36px) clamp(24px,3vw,44px);max-width:900px}
.held-hero h1{margin-bottom:.55em}
.held-hero .held-lead{margin-bottom:1.75rem;max-width:70ch}
body:not(.home) .held-hero-text{max-width:1240px;margin-inline:auto;text-align:center;padding-inline:clamp(20px,6vw,96px)}
body:not(.home) .held-hero h1{font-size:clamp(1.55rem,.95rem + 2.8vw,3.6rem)}
body:not(.home) .held-hero .held-lead{margin-inline:auto}
body:not(.home) .held-hero .held-actions{justify-content:center}

/* ==========================================================================
   Abschnitte
   ========================================================================== */
.held-sec{padding:clamp(48px,6vw,88px) 0}
.held-sec.held-alt{background:var(--alt)}
.held-sec-head{max-width:110ch;margin-bottom:clamp(24px,3vw,40px)}
.held-sec-head h2{margin-bottom:.7em}
.held-sec-head p{color:var(--ink)}
.held-sec-head h2 + p{font-weight:700}
.held-two{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,56px);align-items:start}
.held-two h2,.held-kontakt h2{margin-bottom:.7em;font-size:clamp(1.55rem,2.5vw,2.25rem)}
@media(max-width:820px){.held-two{grid-template-columns:1fr}}

/* Vier gute Gründe: graue Karten */
.held-reasons{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.held-reasons li{background:var(--hell);border-radius:var(--r);padding:1.4rem 1.5rem 1.5rem;font-size:.92rem;line-height:1.65}
.held-sec.held-alt .held-reasons li{background:#fff;box-shadow:var(--schatten)}
.held-reasons li::before{content:"";display:block;width:40px;height:40px;margin-bottom:1rem;border-radius:10px;background:#fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B71C1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/22px no-repeat}
.held-sec.held-alt .held-reasons li::before{background-color:var(--hell)}
.held-reasons strong{display:block;font-family:var(--head);font-size:1.15rem;line-height:1.25;margin-bottom:.5rem;color:var(--ink)}
@media(max-width:520px){.held-reasons{grid-template-columns:1fr}}

/* Karten */
.held-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.held-cards.held-three{grid-template-columns:repeat(3,1fr)}
@media(max-width:1100px){.held-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.held-cards,.held-cards.held-three{grid-template-columns:1fr}}
.held-card{position:relative;background:#fff;display:flex;flex-direction:column;border-radius:var(--r);overflow:hidden;box-shadow:var(--schatten);transition:transform .2s ease,box-shadow .2s ease}
.held-sec:not(.held-alt) .held-card{background:var(--hell);box-shadow:none}
.held-card:has(h3 a):hover{transform:translateY(-3px);box-shadow:0 14px 44px rgba(0,0,0,.12)}
.held-media,figure.wp-block-image.held-media{aspect-ratio:3/2;background:var(--anthrazit);overflow:hidden;margin:0}
.held-media img{width:100%;height:100%;object-fit:cover;display:block}
/* Icon-Kachel: kleines rundes Feld oben links */
.held-media.held-icon{aspect-ratio:auto;display:block;background:none;padding:1.5rem 1.5rem 0;overflow:visible}
.held-media.held-icon svg{display:block;width:48px;height:48px;padding:10px;border-radius:12px;background:var(--hell);color:var(--rot);fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.held-sec:not(.held-alt) .held-media.held-icon svg{background:#fff}
.held-media.held-icon::after{content:none}
.held-card-body{padding:1.35rem 1.5rem 1.6rem;display:flex;flex-direction:column;flex:1;font-size:.92rem;line-height:1.65}
.held-card h3{margin-bottom:.6rem;font-size:1.2rem}
.held-card h3 a{text-decoration:none;color:inherit}
.held-card h3 a::after{content:"";position:absolute;inset:0}
.held-card:hover h3 a{color:var(--rot)}
.held-card p{color:var(--ink);margin:0 0 1rem}
/* Karten mit Foto: zentriert, roter Titel */
.held-card:has(> .held-media:not(.held-icon)) .held-card-body{text-align:center;align-items:center}
.held-card:has(> .held-media:not(.held-icon)) h3{color:var(--rot)}
.held-card .held-more{margin-top:auto;margin-bottom:0;align-self:flex-start;font-weight:700;font-size:.82rem;color:#fff;background:var(--rot);padding:.65rem 1.1rem;border-radius:var(--rb);transition:background-color .15s ease}
.held-card:has(> .held-media:not(.held-icon)) .held-more{align-self:center}
.held-card:hover .held-more{background:var(--rot-dunkel)}

/* Link-Chips */
.held-chips{display:flex;flex-wrap:wrap;gap:.6rem;margin:0;padding:0;list-style:none}
.held-chips li{margin:0}
.held-chips a{display:inline-block;padding:.6rem 1rem;background:#fff;border:1px solid var(--linie);border-radius:var(--rb);text-decoration:none;font-weight:600;font-size:.9rem;line-height:1.2}
.held-sec:not(.held-alt) .held-chips a{background:var(--hell);border-color:var(--hell)}
.held-chips a:hover{border-color:var(--rot);color:var(--rot)}
.held-chips-title{font-weight:700;margin:2.25rem 0 .75rem;color:var(--ink);font-size:.9rem;text-transform:uppercase;letter-spacing:.02em}

/* CTA-Band */
.held-band{background:var(--anthrazit);color:#fff;padding:clamp(56px,7vw,96px) 0}
.held-band .held-wrap{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.75rem}
.held-band h2{color:#fff;font-style:italic;margin-bottom:.5em;font-size:clamp(1.6rem,3.2vw,2.75rem)}
.held-band h2 em{color:var(--ink);background:var(--hell);padding:0 .3em;border-radius:6px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.held-band p{color:#fff;font-weight:700;margin:0 auto;max-width:70ch}
.held-band .held-actions{justify-content:center}

/* Dokumentations-Panel */
.held-panel{background:#fff;padding:1.75rem 1.9rem 1.5rem;border-radius:var(--r);box-shadow:var(--schatten)}
.held-sec:not(.held-alt) .held-panel{background:var(--hell);box-shadow:none}
.held-panel h3{margin-bottom:.35rem}
.held-panel .held-hint{color:var(--graphit);margin:0 0 .5rem}
.held-panel ul{list-style:none;margin:0;padding:0}
.held-panel li{padding:.85rem 0 .85rem 1.9rem;border-bottom:1px solid var(--linie);position:relative;color:var(--ink);font-size:.92rem}
.held-panel li:last-child{border-bottom:0}
.held-panel li::before{content:"✔";position:absolute;left:.1rem;top:.85rem;color:var(--rot);font-size:.95rem}
.held-panel li strong{display:block;color:var(--ink);font-size:1rem}

/* Einsatzgebiet */
.held-orte{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;list-style:none;margin:1.25rem 0 0;padding:0}
.held-orte li{padding:.6rem .9rem;background:#fff;border-radius:var(--rb);font-weight:600;font-size:.92rem}
.held-sec:not(.held-alt) .held-orte li{background:var(--hell)}
.held-orte li::before{content:"";display:inline-block;width:.5rem;height:.5rem;margin-right:.6rem;background:var(--rot);border-radius:50% 50% 50% 0;transform:rotate(-45deg) translateY(-2px)}
.held-rest{margin-top:.9rem;color:var(--graphit);font-size:.92rem}

/* Kennzahlen: umrandete Karte */
.held-stats{padding:clamp(40px,5vw,64px) 0}
.held-stats .held-wrap{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--linie);border-radius:var(--r);max-width:calc(var(--w) - 2 * var(--pad));width:calc(100% - 2 * var(--pad));padding:1.25rem}
.held-stat{padding:1.5rem 1rem;text-align:center}
.held-stat .n{font-family:var(--head);font-size:clamp(2.2rem,3.4vw,3rem);font-weight:700;line-height:1.1;color:var(--rot);font-variant-numeric:tabular-nums}
.held-stat .l{font-family:var(--head);font-weight:700;font-size:1.2rem;margin-top:.6rem}
.held-stat .s{color:var(--graphit);font-size:.88rem;margin-top:.2rem}
@media(max-width:820px){.held-stats .held-wrap{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.held-stats .held-wrap{grid-template-columns:1fr}}

/* Bewertungen */
.held-quotes{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.wp-block-quote.held-quote{background:#fff;padding:2rem 2rem 1.75rem;border:0;margin:0;border-radius:var(--r);box-shadow:var(--schatten);text-align:center}
.held-sec:not(.held-alt) .wp-block-quote.held-quote{border:1px solid var(--linie)}
.wp-block-quote.held-quote p{font-size:1rem;line-height:1.65;margin:0 0 1rem;font-style:normal;text-wrap:pretty}
.wp-block-quote.held-quote cite{font-style:normal;display:inline-block;background:var(--hell);border-radius:4px;padding:.3rem .7rem;color:var(--graphit);font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em}
.wp-block-quote.held-quote::after{content:"★★★★★";display:block;margin-top:.9rem;color:#F2B01E;letter-spacing:.3em;font-size:.95rem}
@media(max-width:720px){.held-quotes{grid-template-columns:1fr}}

/* FAQ (core/details): graue Karten */
.held-faq{max-width:none;display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;align-items:start}
.held-faq > *{margin:0}
.held-faq > :not(.wp-block-details){grid-column:1/-1}
.held-faq .wp-block-details{background:var(--hell);border-radius:var(--r);padding:0 1.5rem;margin:0}
.held-sec.held-alt .held-faq .wp-block-details{background:#fff;box-shadow:var(--schatten)}
.held-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1.25rem 0;font-family:var(--head);font-weight:700;font-size:1.02rem;line-height:1.35;position:relative}
.held-faq summary::-webkit-details-marker{display:none}
.held-faq summary::after{content:"";flex:none;width:30px;height:30px;border-radius:50%;background:
  linear-gradient(#fff,#fff) center/12px 2px no-repeat,
  linear-gradient(#fff,#fff) center/2px 12px no-repeat,var(--rot);transition:transform .2s ease}
.held-faq .wp-block-details[open] summary::after{background:linear-gradient(#fff,#fff) center/12px 2px no-repeat,var(--rot)}
.held-faq .wp-block-details[open] summary{color:var(--rot)}
.held-faq .wp-block-details > :not(summary){padding:0 0 1.35rem;color:var(--ink);font-size:.94rem}
@media(max-width:820px){.held-faq{grid-template-columns:1fr}}

/* Kontakt */
.held-kontakt{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(28px,4vw,56px);align-items:start}
.held-kontakt h2{margin-bottom:.7em}
.held-kontakt .held-lead{margin-bottom:1.75rem}
.held-kcard{background:#fff;padding:1.75rem 1.9rem 1.9rem;border-radius:var(--r);box-shadow:var(--schatten)}
.held-sec:not(.held-alt) .held-kcard{background:var(--hell);box-shadow:none}
.held-kcard h3{margin-bottom:.25rem}
.held-kcard dl{margin:0}
.held-kcard dt{font-size:.75rem;color:var(--graphit);font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-top:1.1rem}
.held-kcard dd{margin:.15rem 0 0;font-size:1.05rem;font-weight:600}
.held-kcard dd a{text-decoration:none}
.held-kcard dd a:hover{color:var(--rot);text-decoration:underline}
@media(max-width:820px){.held-kontakt{grid-template-columns:1fr}}
/* Kontaktabschnitt am Seitenende: dunkel hinterlegt wie CTA-Band und Footer */
.held-sec:has(> .held-kontakt){background:var(--anthrazit);color:#fff}
.held-sec:has(> .held-kontakt) .held-kontakt-text h2{color:#fff}
.held-sec:has(> .held-kontakt) .held-kontakt-text h2 em{color:var(--ink);background:var(--hell);padding:0 .3em;border-radius:6px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.held-sec:has(> .held-kontakt) .held-kontakt-text p,.held-sec:has(> .held-kontakt) .held-kontakt-text .held-lead{color:#E6E7E9}
.held-sec:has(> .held-kontakt) .held-kcard{background:#fff;color:var(--ink);box-shadow:none}

/* ==========================================================================
   Seitenkopf (FAQ, Angebot, Kontakt, Rechtsseiten): Foto + Textkarte
   ========================================================================== */
.held-page-head{position:relative;isolation:isolate;padding:clamp(28px,4vw,56px) 0 clamp(36px,5vw,72px);background:var(--anthrazit) url(assets/img/hero-flotte.jpg) center/cover no-repeat}
.held-page-head::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to bottom,rgba(34,38,45,.18) 35%,rgba(0,0,0,.9) 100%)}
.held-page-head > .held-wrap{background:rgba(255,255,255,.87);border-radius:var(--r);max-width:1240px;width:calc(100% - 2 * var(--pad));padding:clamp(22px,3vw,40px) clamp(20px,6vw,96px);text-align:center}
.held-page-head h1{margin:0;font-size:clamp(1.55rem,.95rem + 2.8vw,3.4rem)}
.held-page-head h1 + *{margin-top:1.1rem}
.held-page-head .held-lead{max-width:70ch;margin-inline:auto;margin-bottom:0}
.held-page-head .held-actions{margin-top:1.5rem;justify-content:center}
.held-page-head .held-chips{justify-content:center}
.held-page-head .held-chips-title{margin-top:1.75rem}
.held-page-body{padding:clamp(40px,6vw,80px) 0}
.held-prose-page{max-width:calc(90ch + 2 * var(--pad))}
.held-prose-page h2{font-size:1.6rem;margin-top:2.25rem}
.held-prose-page h3{margin-top:1.75rem}
.held-prose-page ul,.held-prose-page ol{padding-left:1.4rem}
.held-prose-page li{margin:.35rem 0}
.held-prose-page a{color:var(--rot)}
.held-prose-page table{border-collapse:collapse;width:100%;font-size:.92rem}
.held-prose-page td,.held-prose-page th{border:1px solid var(--linie);padding:.5rem .7rem;text-align:left;vertical-align:top}
.held-hinweis{background:#FFF4E5;border-left:4px solid #E0A500;border-radius:0 var(--rb) var(--rb) 0;padding:1rem 1.25rem;margin:1.5rem 0;font-size:.92rem}

/* 404 */
.held-404{padding:clamp(64px,10vw,140px) 0;text-align:left}
.held-404 h1{margin-bottom:1rem}

/* Formulare (Contact Form 7) */
.wpcf7 label{display:block;font-weight:600;font-size:.92rem;margin-bottom:1rem}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 textarea,.wpcf7 select{display:block;width:100%;margin-top:.35rem;padding:.8rem .9rem;font:inherit;font-size:16px;font-weight:400;border:1px solid #CFCFCF;background:#fff;border-radius:var(--rb)}
.wpcf7 input:focus,.wpcf7 textarea:focus,.wpcf7 select:focus{outline:2px solid var(--rot);outline-offset:0;border-color:var(--rot)}
.wpcf7 .wpcf7-not-valid-tip{color:var(--rot);font-size:.88rem}
.wpcf7 .wpcf7-response-output{border:1px solid var(--linie);border-radius:var(--rb);padding:1rem;margin:1.5rem 0 0}

/* ==========================================================================
   Mitgliedschaften (weiß, über dem Footer) + Footer
   ========================================================================== */
.held-mitglied{background:#fff;border-top:1px solid var(--linie);padding:clamp(32px,4vw,56px) 0 clamp(24px,3vw,40px);text-align:center}
.held-mitglied ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:space-around;align-items:center;gap:1.75rem 2.5rem}
.held-mitglied a{display:block;line-height:0;opacity:.95;transition:opacity .15s ease,transform .15s ease}
.held-mitglied a:hover{opacity:1;transform:translateY(-2px)}
.held-mitglied img{height:clamp(44px,5vw,72px);width:auto;max-width:220px;object-fit:contain}
.held-mitglied p{margin:1.75rem 0 0;font-size:.95rem;text-transform:uppercase;letter-spacing:.02em;color:var(--rot)}
.held-mitglied p strong{font-weight:700}

.held-footer{background:var(--anthrazit);color:#E6E7E9;font-size:.85rem}
.held-footer a{color:#fff;text-decoration:none;font-weight:600}
.held-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.held-ftop{display:grid;grid-template-columns:1.5fr 1.1fr 1fr 1fr .8fr;gap:2.25rem;padding:clamp(40px,5vw,64px) 0 2.5rem}
.held-footer .held-logo{margin-bottom:1.25rem}
.held-footer .held-logo img{height:84px}
.held-fcol h3{display:inline-block;font-family:var(--font);color:#fff;background:rgba(255,255,255,.1);border-radius:4px;padding:.3rem .65rem;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.9rem}
.held-fcol ul{list-style:none;margin:0;padding:0}
.held-fcol li{margin:.7rem 0;line-height:1.4}
.held-fabout p{max-width:40ch;font-size:.95rem}
.held-fabout address{font-style:normal;margin-top:1.25rem;line-height:1.8}
.held-fbottom{border-top:1px solid rgba(255,255,255,.12);padding:1.25rem 0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.75rem 1.5rem;font-size:.8rem;color:#A9ADB3}
.held-fbottom ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1.25rem}
@media(max-width:1000px){.held-ftop{grid-template-columns:1fr 1fr}.held-fabout{grid-column:1/-1}}

/* ==========================================================================
   Unterseiten: Leistungskacheln, Ablaufschritte, Jobs, Formulare
   ========================================================================== */
.held-cards.held-tiles .held-card-body{padding:1.5rem 1.5rem 1.7rem}
.held-cards.held-tiles .held-card p{margin-bottom:0}
.held-cards.held-tiles h3{font-size:1.2rem}
.held-steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.held-steps li{counter-increment:s;background:var(--hell);border-radius:var(--r);padding:1.5rem 1.5rem 1.6rem;color:var(--ink);font-size:.92rem;line-height:1.65}
.held-sec.held-alt .held-steps li{background:#fff;box-shadow:var(--schatten)}
.held-steps li::before{content:counter(s,decimal-leading-zero);display:block;font-family:var(--head);font-size:2.6rem;font-weight:700;color:var(--rot);line-height:1;margin-bottom:1rem;font-variant-numeric:tabular-nums}
.held-steps strong{display:block;font-family:var(--head);color:var(--ink);font-size:1.02rem;line-height:1.3;margin-bottom:.4rem}
.held-steps.held-steps-col{grid-template-columns:1fr;gap:.75rem}
.held-steps.held-steps-col li{padding:1.1rem 1.25rem 1.2rem 4.4rem;position:relative}
.held-steps.held-steps-col li::before{position:absolute;left:1.25rem;top:1.1rem;font-size:1.7rem;margin:0}
@media(max-width:1000px){.held-steps{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.held-steps{grid-template-columns:1fr}}
.held-two.held-two-wide{grid-template-columns:1.4fr .9fr}
@media(max-width:900px){.held-two.held-two-wide{grid-template-columns:1fr}}
.held-side > * + *{margin-top:1rem}
.held-jobs > * + *{margin-top:1rem}
.held-job{background:var(--hell);padding:1.75rem 1.9rem 1.9rem;border-radius:var(--r)}
.held-job h3{margin-bottom:.25rem;color:var(--rot)}
.held-job .held-meta{color:var(--graphit);font-size:.9rem;margin-bottom:1.1rem;font-weight:600}
.held-job h4{margin:1.2rem 0 .3rem;font-size:1rem}
.held-job p{color:var(--ink);margin:0}
.held-sec.held-alt .held-job{background:#fff;box-shadow:var(--schatten)}
.held-form{background:var(--hell);padding:1.75rem 1.9rem 2rem;border-radius:var(--r)}
.held-sec.held-alt .held-form{background:#fff;box-shadow:var(--schatten)}
.held-form h2,.held-form h3{margin-bottom:1.25rem;font-size:1.6rem}
.held-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1.25rem}
@media(max-width:600px){.held-form-grid{grid-template-columns:1fr}}
.wpcf7 form{margin:0}
.wpcf7 fieldset{border:0;padding:0;margin:0 0 1.25rem}
.wpcf7 legend{font-weight:600;font-size:.92rem;margin-bottom:.5rem;padding:0}
.wpcf7 .wpcf7-list-item{display:block;margin:0 0 .4rem}
.wpcf7 .wpcf7-list-item label{display:flex;gap:.55rem;align-items:flex-start;font-weight:400;margin:0}
.wpcf7 .wpcf7-checkbox,.wpcf7 .wpcf7-radio{display:grid;grid-template-columns:1fr 1fr;gap:.1rem .75rem}
@media(max-width:600px){.wpcf7 .wpcf7-checkbox,.wpcf7 .wpcf7-radio{grid-template-columns:1fr}}
.wpcf7 input[type=checkbox],.wpcf7 input[type=radio]{accent-color:var(--rot);margin-top:.35rem;flex:none}
.wpcf7 input[type=file]{margin-top:.35rem;font:inherit;font-size:.92rem}
.wpcf7 .wpcf7-acceptance label{display:flex;gap:.55rem;align-items:flex-start;font-weight:400;font-size:.9rem;margin:0 0 1.25rem}
.wpcf7 .wpcf7-acceptance a{color:var(--rot)}
.wpcf7 .wpcf7-spinner{margin-left:.75rem}

/* Editor-Hilfe: Abschnitte im Block-Editor erkennbar machen */
.editor-styles-wrapper .held-sec{outline:1px dashed var(--linie)}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{.held-topbar,.held-header,.held-band{display:none}}


/* ==========================================================================
   Kleine Breiten: nur Abstände – das Telefon-Layout (bis 640 px) steht in assets/css/mobile.css
   ========================================================================== */
.held-prose-page table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:820px){
  body{font-size:16px;line-height:1.65}
  .held-sec{padding:44px 0}
  .held-sec-head{margin-bottom:22px}
  .held-band{padding:48px 0}
  .held-two,.held-kontakt{gap:28px}
  .held-stats{padding:32px 0}
}
