/* ==========================================================================
   PLP DESIGN SYSTEM  ·  plp.css
   --------------------------------------------------------------------------
   EINE Stildatei fuer die gesamte Website.  Zusammengefuehrt aus:
     - Startseite v3            (index.html)
     - Leistungsseite Abbruch   (abbruch.html / MASTER TEMPLATE)

   WICHTIG – warum es Scopes gibt:
   Beide Vorlagen benutzen teilweise DIESELBEN Klassennamen fuer
   UNTERSCHIEDLICHE Layouts (z. B. .section-header, .benefit-card,
   .process-step, .section-services, .trust-item).  Damit sie sich nicht
   gegenseitig ueberschreiben, ist der seitenspezifische Teil gescoped:

     <body class="tpl-home">     ->  Startseiten-Layout
     <body class="tpl-service">  ->  Leistungs-/Uebersichtsseiten-Layout

   Alles was BEIDE Seiten teilen (Tokens, Header, Mega-Menue, Mobile-Nav,
   Buttons, Footer, Typo) steht ungescoped im GLOBALEN TEIL.
   ========================================================================== */


/* ==========================================================================
   0) SCHRIFTEN – lokal eingebunden
   --------------------------------------------------------------------------
   Inter und Oswald liegen in assets/fonts/ (variable Schriften, Teilmenge
   "latin": enthaelt ae oe ue ss, EUR und typografische Anfuehrungszeichen).
   NICHT wieder auf Google Fonts umstellen: dabei ginge bei jedem Aufruf die
   IP-Adresse des Besuchers an Google (DSGVO). Lizenz: SIL Open Font License
   1.1, siehe assets/fonts/LIZENZ.txt.
   ========================================================================== */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url('fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Oswald';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/oswald-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ==========================================================================
   1) GLOBAL  ·  DESIGN TOKENS
   ========================================================================== */
:root{
  --gold:#F7AD29;--gold-hover:#e59d1a;--gold-light:rgba(247,173,41,0.08);--gold-border:rgba(247,173,41,0.25);
  --charcoal:#3D3D3D;--charcoal-light:#4a4a4a;
  --text-primary:#585858;--text-dark:#313131;--text-light:#6e6e6e;
  --text-on-dark:#fff;--text-on-dark-muted:rgba(255,255,255,0.7);
  --bg-white:#fff;--bg-light:#f5f5f3;--bg-warm:#faf9f7;
  --border-light:#e8e8e8;--border-medium:#d4d4d4;
  --shadow-sm:0 1px 3px rgba(0,0,0,0.06);--shadow-md:0 4px 12px rgba(0,0,0,0.08);--shadow-lg:0 8px 24px rgba(0,0,0,0.1);
  --radius-sm:4px;--radius-md:6px;--radius-lg:10px;
  --font-heading:'Oswald',sans-serif;--font-body:'Inter','Roboto',sans-serif;
  --max-width:1200px;
  /* Zeilenbreite fuer Fliesstext. Kleiner = besser lesbar, groesser = fuellt mehr Flaeche.
     Faustregel: 65-80 Zeichen pro Zeile. 720px ~ 80 Zeichen, 880px ~ 98 Zeichen.
     Diese EINE Zahl steuert alle Fliesstext-Bloecke der Leistungsseiten. */
  --measure:880px;
  --section-padding:80px 0;--section-padding-mobile:48px 0;
}

/* ==========================================================================
   2) GLOBAL  ·  RESET & BASE
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:88px}/* scroll-padding: Header ist sticky und 72px hoch (+1px Rand). Ohne diesen Abstand landen
   Sprungziele wie /recycling#entsorgung unter dem Header, die Ueberschrift ist verdeckt. */
body{font-family:var(--font-body);font-size:16px;line-height:1.65;color:var(--text-primary);background:var(--bg-white);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{font-family:inherit}
.container{max-width:var(--max-width);margin:0 auto;padding:0 24px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Accessibility – Fokus */
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.skip-link{position:absolute;top:-100%;left:16px;z-index:9999;background:var(--gold);color:var(--text-dark);padding:8px 16px;font-weight:600;border-radius:var(--radius-sm);text-decoration:none;font-size:14px}
.skip-link:focus{top:8px}

/* ==========================================================================
   3) GLOBAL  ·  TYPOGRAFIE
   ========================================================================== */
h1,h2,h3,h4{font-family:var(--font-heading);font-weight:500;color:var(--text-dark);line-height:1.2}
h1{font-size:48px;letter-spacing:-0.5px}
h2{font-size:36px}
h3{font-size:24px}
h4{font-size:18px}
.eyebrow{font-family:var(--font-heading);font-size:13px;font-weight:500;letter-spacing:2px;text-transform:uppercase;color:var(--gold)}
.gold-bar{width:48px;height:3px;background:var(--gold);margin-bottom:20px}
.gold-bar--centered{margin-left:auto;margin-right:auto}

/* ==========================================================================
   4) GLOBAL  ·  BUTTONS & LINKS
   ========================================================================== */
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-body);font-size:15px;font-weight:500;padding:14px 28px;border-radius:var(--radius-lg);border:none;cursor:pointer;transition:all .2s ease;text-decoration:none;line-height:1.2}
.btn-primary{background:var(--gold);color:var(--text-dark)}
.btn-primary:hover{background:var(--gold-hover);transform:translateY(-1px);box-shadow:0 4px 12px rgba(247,173,41,.3)}
.btn-secondary{background:var(--charcoal);color:var(--text-on-dark);border-radius:var(--radius-sm)}
.btn-secondary:hover{background:var(--charcoal-light);transform:translateY(-1px)}
.btn-outline-white{background:transparent;color:var(--text-on-dark);border:1.5px solid rgba(255,255,255,.4);border-radius:var(--radius-sm)}
.btn-outline-white:hover{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.06)}
/* .btn-on-dark = Alias aus dem Leistungs-Template, optisch identisch zu .btn-outline-white */
.btn-on-dark{background:transparent;color:var(--text-on-dark);border:1px solid rgba(255,255,255,.3);border-radius:var(--radius-sm)}
.btn-on-dark:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.5)}
.btn-outline{background:transparent;color:var(--text-primary);border:1.5px solid var(--border-medium);border-radius:var(--radius-sm)}
.btn-outline:hover{border-color:var(--gold);color:var(--text-dark)}
.text-link{font-size:15px;color:var(--text-light);text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.text-link:hover{color:var(--gold)}
.arrow-link{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--gold);transition:gap .2s}
.arrow-link:hover{gap:10px}
.arrow-link::after{content:'\2192'}

/* ==========================================================================
   5) GLOBAL  ·  HEADER + MEGA-MENUE
   ========================================================================== */
.site-header{position:sticky;top:0;z-index:100;background:var(--bg-white);border-bottom:1px solid var(--border-light);transition:box-shadow .3s}
.site-header.scrolled{box-shadow:var(--shadow-md)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:72px;max-width:var(--max-width);margin:0 auto;padding:0 24px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.logo-mark-img{height:64px;width:64px;display:block;object-fit:contain}
.logo-mark{width:40px;height:40px;background:var(--gold);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-family:var(--font-heading);font-weight:700;font-size:14px;color:var(--text-dark)}
.logo-text{font-family:var(--font-heading);font-size:18px;font-weight:500;color:var(--text-dark);white-space:nowrap}
.main-nav{display:flex;align-items:center;gap:4px}
.nav-item{position:relative;padding:8px 14px;font-size:15px;font-weight:500;color:var(--text-primary);cursor:pointer;border-radius:var(--radius-sm);transition:color .15s,background .15s;background:none;border:none;font-family:inherit}
.nav-item:hover{color:var(--text-dark);background:var(--bg-light)}
.nav-item.has-dropdown::after{content:' \25BE';font-size:10px;opacity:.5}
a.nav-item{text-decoration:none}
.mega-link--sub{padding-left:14px;font-size:13px}
.mega-link--sub::before{content:'– ';color:var(--gold)}
.nav-item{white-space:nowrap}
.header-cta .btn{padding:10px 22px;font-size:14px}

.mega-menu{position:absolute;top:100%;left:0;right:0;background:var(--bg-white);border-top:2px solid var(--gold);box-shadow:var(--shadow-lg);padding:32px 0;display:none;z-index:99}
.mega-menu.active{display:block}
.mega-menu-inner{max-width:var(--max-width);margin:0 auto;padding:0 24px;display:grid;gap:32px}
.mega-menu-inner.cols-3{grid-template-columns:repeat(3,1fr)}
.mega-menu-inner.cols-4{grid-template-columns:repeat(4,1fr)}
.mega-menu-inner.cols-5{grid-template-columns:repeat(5,1fr)}
.mega-col-title{font-family:var(--font-heading);font-size:14px;font-weight:500;color:var(--text-dark);margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid var(--gold);display:inline-block}
/* Die Spaltentitel sind Links auf die jeweilige Uebersichtsseite.
   Deshalb brauchen sie eine sichtbare Reaktion beim Ueberfahren –
   sonst wirken sie wie reine Ueberschriften und niemand klickt. */
a.mega-col-title{transition:color .15s}
a.mega-col-title:hover{color:var(--gold)}
a.mega-col-title[aria-current="page"]{color:var(--gold)}
/* Client-Wunsch: Spaltentitel ist ein direkter Link auf die Bereichs-Uebersicht */
a.mega-col-title{cursor:pointer;transition:color .15s}
a.mega-col-title:hover{color:var(--gold)}
.mega-link{display:block;font-size:14px;color:var(--text-primary);padding:5px 0;transition:color .15s}
.mega-link:hover{color:var(--gold)}
.mega-link[aria-current="page"]{color:var(--gold);font-weight:600}

.mobile-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px}
.mobile-toggle span{display:block;width:24px;height:2px;background:var(--text-dark);margin:5px 0;transition:transform .3s,opacity .3s}
.mobile-toggle.is-open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.mobile-toggle.is-open span:nth-child(2){opacity:0}
.mobile-toggle.is-open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ==========================================================================
   6) GLOBAL  ·  MOBILE NAV OVERLAY
   ========================================================================== */
.mobile-nav-overlay{position:fixed;inset:0;background:var(--bg-white);z-index:200;padding:24px;overflow-y:auto;display:none}
.mobile-nav-overlay.active{display:block}
.mobile-nav-close{position:absolute;top:20px;right:20px;background:none;border:none;font-size:28px;cursor:pointer;color:var(--text-dark)}
.mobile-nav-items{margin-top:64px}
.mobile-nav-toggle{display:block;width:100%;font-family:var(--font-heading);font-size:22px;font-weight:500;color:var(--text-dark);padding:14px 0;border:none;border-bottom:1px solid var(--border-light);background:none;cursor:pointer;text-align:left}
.mobile-nav-toggle::after{content:' \25BE';font-size:14px;opacity:.4}
.mobile-nav-toggle[aria-expanded="true"]::after{content:' \25B4'}
.mobile-nav-link{display:block;font-family:var(--font-heading);font-size:22px;font-weight:500;color:var(--text-dark);padding:14px 0;border-bottom:1px solid var(--border-light);text-decoration:none}
.mobile-nav-sub{display:none;padding:8px 0 16px 16px}
.mobile-nav-sub.open{display:block}
.mobile-nav-sub a{display:block;font-size:15px;color:var(--text-primary);padding:8px 0;text-decoration:none}
.mobile-nav-cta{margin-top:32px}
.mobile-nav-cta .btn{width:100%;justify-content:center}

/* ==========================================================================
   7) GLOBAL  ·  FOOTER
   ========================================================================== */
.site-footer{background:var(--text-dark);color:var(--text-on-dark);padding:56px 0 0}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:40px;padding-bottom:40px}
.footer-brand .logo-mark{margin-bottom:12px}
.footer-brand .logo-mark-img{height:84px;width:84px;display:block;object-fit:contain;background:var(--bg-white);border-radius:var(--radius-sm);padding:4px;margin-bottom:16px}
.footer-brand p{font-size:14px;color:var(--text-on-dark-muted);line-height:1.6;max-width:260px}
.footer-col-title{font-family:var(--font-heading);font-size:14px;font-weight:500;color:var(--gold);margin-bottom:16px;text-transform:uppercase;letter-spacing:.5px}
.footer-col-title.is-spaced{margin-top:20px}
.footer-link{display:block;font-size:14px;color:var(--text-on-dark-muted);padding:4px 0;transition:color .15s;text-decoration:none}
.footer-link:hover{color:var(--gold)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;text-align:center;font-size:13px;color:rgba(255,255,255,.35)}

/* ==========================================================================
   8) GLOBAL  ·  HILFSKLASSEN
   ========================================================================== */
.img-tag{background:rgba(0,0,0,.7);color:rgba(255,255,255,.6);font-size:10px;padding:3px 8px;border-radius:3px;display:inline-block}

/* Echte Fotos in den Bildcontainern (ersetzen den .img-tag-Platzhalter) */
.gb-hero-image>img,.gb-card-image>img,.ref-image>img,.audience-image>img,.practice-image>img,.company-image>img,.subpage-image>img,.timeline-media>img,.reference-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.tpl-home .ref-tag{z-index:1}
.tpl-service .timeline-media:has(>img)::before{display:none}

/* ==========================================================================
   9) GLOBAL  ·  RESPONSIVE (Header/Footer/Basis)
   ========================================================================== */
@media(max-width:1024px){
  .mega-menu-inner.cols-4{grid-template-columns:repeat(2,1fr)}
  .mega-menu-inner.cols-5{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
/* Header: ab hier passt die Navigation neben das grosse Logo nicht mehr -> Hamburger-Menue */
@media(max-width:1100px){
  .main-nav,.header-cta{display:none}
  .mobile-toggle{display:block}
}
@media(max-width:768px){
  h1{font-size:32px}h2{font-size:28px}h3{font-size:20px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media(max-width:480px){
  .container{padding:0 16px}
  .footer-grid{grid-template-columns:1fr}
}


/* ==========================================================================
   ==========================================================================
   10) SCOPE:  .tpl-home   ·  STARTSEITEN-LAYOUT
   ==========================================================================
   ========================================================================== */

.tpl-home .hero{background:var(--charcoal);color:var(--text-on-dark);position:relative;overflow:hidden}
.tpl-home .hero-bg{position:absolute;inset:0;background:none;z-index:1}
@media(max-width:768px){.tpl-home .hero-bg{background:none}}
.tpl-home .hero-content,.tpl-service .hero-content{text-shadow:0 1px 2px rgba(0,0,0,.65),0 2px 12px rgba(0,0,0,.6),0 0 32px rgba(0,0,0,.35)}
.tpl-home .hero-content .btn,.tpl-service .hero-content .btn{text-shadow:none}
.tpl-home .hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:0;transition:opacity .8s ease}
.tpl-home .hero-video.is-playing{opacity:1}
@media(prefers-reduced-motion:reduce){.tpl-home .hero-video{display:none}}
.tpl-home .hero-content{position:relative;z-index:2;padding:100px 24px 0}
.tpl-home .hero h1{color:var(--text-on-dark);font-size:48px;max-width:700px;margin-bottom:16px}
.tpl-home .hero-claim{font-family:var(--font-heading);font-size:20px;font-weight:400;color:var(--gold);margin-bottom:20px;letter-spacing:.5px}
.tpl-home .hero-sub{font-size:17px;line-height:1.7;color:var(--text-on-dark-muted);max-width:560px;margin-bottom:32px}
.tpl-home .hero-actions{display:flex;gap:12px;padding-bottom:56px}
.tpl-home .hero-usp-bar{position:relative;z-index:2;background:var(--charcoal-light);border-top:1px solid rgba(255,255,255,.08)}
.tpl-home .usp-bar-inner{display:flex;max-width:var(--max-width);margin:0 auto}
.tpl-home .usp-bar-item{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:16px 12px;font-size:14px;color:rgba(255,255,255,.85);border-right:1px solid rgba(255,255,255,.08)}
.tpl-home .usp-bar-item:last-child{border-right:none}
.tpl-home .usp-bar-icon{color:var(--gold);font-size:16px;flex-shrink:0}

.tpl-home .trust-bar{background:var(--bg-white);border-bottom:1px solid var(--border-light);padding:24px 0}
.tpl-home .trust-bar-inner{display:flex;align-items:center;justify-content:center;gap:40px;flex-wrap:wrap}
.tpl-home .trust-item{display:flex;align-items:center;gap:10px}
.tpl-home .trust-number{font-family:var(--font-heading);font-size:32px;font-weight:600;color:var(--text-dark);line-height:1}
.tpl-home .trust-label{font-size:13px;color:var(--text-light);line-height:1.3}
.tpl-home .trust-divider{width:1px;height:36px;background:var(--border-light)}
.tpl-home .trust-badge{display:inline-flex;align-items:center;gap:6px;background:var(--gold-light);border:1px solid var(--gold-border);border-radius:20px;padding:8px 16px;font-size:13px;font-weight:500;color:var(--text-dark)}
.tpl-home .trust-badge svg{color:var(--gold)}
.tpl-home .trust-certs{display:flex;gap:12px}
.tpl-home .trust-cert-placeholder{width:48px;height:48px;border-radius:var(--radius-sm);background:var(--bg-light);border:1px solid var(--border-light);display:flex;align-items:center;justify-content:center;font-size:9px;color:var(--text-light);text-align:center}

/* Startseite: Section-Header ist ZENTRIERT (Leistungsseiten: linksbuendig mit Goldbalken) */
.tpl-home .section-header{text-align:center;margin-bottom:48px}
.tpl-home .section-header h2{margin-top:12px;margin-bottom:12px}
.tpl-home .section-header p{font-size:17px;color:var(--text-light);max-width:600px;margin:0 auto}

.tpl-home .section-gb{padding:var(--section-padding);background:var(--bg-warm)}
.tpl-home .gb-hero-card{display:grid;grid-template-columns:1fr 1fr;border:2px solid var(--gold);border-radius:var(--radius-md);overflow:hidden;background:var(--bg-white);margin-bottom:24px}
.tpl-home .gb-hero-image{background:var(--charcoal);min-height:320px;display:flex;align-items:flex-end;padding:16px;position:relative}
.tpl-home .gb-hero-content{padding:36px;display:flex;flex-direction:column;justify-content:center}
.tpl-home .gb-badge{display:inline-flex;align-items:center;gap:6px;background:var(--gold);color:var(--text-dark);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:1px;padding:5px 12px;border-radius:3px;margin-bottom:16px;width:fit-content}
.tpl-home .gb-hero-content h3{font-size:28px;margin-bottom:12px}
.tpl-home .gb-hero-content p{margin-bottom:20px;color:var(--text-primary);line-height:1.7}
.tpl-home .gb-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:24px}
.tpl-home .gb-tag{font-size:12px;padding:4px 10px;background:var(--bg-light);border-radius:3px;color:var(--text-primary)}
.tpl-home .gb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tpl-home .gb-card{background:var(--bg-white);border:1px solid var(--border-light);border-radius:var(--radius-md);overflow:hidden;transition:border-color .2s,box-shadow .2s}
.tpl-home .gb-card:hover{border-color:var(--gold-border);box-shadow:var(--shadow-md)}
.tpl-home .gb-card-image{height:180px;background:var(--charcoal);display:flex;align-items:flex-end;padding:10px;position:relative}
.tpl-home .gb-card-body{padding:24px}
.tpl-home .gb-card-body h4{margin-bottom:8px}
.tpl-home .gb-card-body p{font-size:14px;color:var(--text-light);margin-bottom:16px;line-height:1.6}

.tpl-home .section-process{padding:var(--section-padding);background:var(--bg-white)}
.tpl-home .process-chain{display:flex;align-items:flex-start;gap:0;margin-top:40px}
.tpl-home .process-step{flex:1;text-align:center;position:relative}
.tpl-home .process-num{width:44px;height:44px;border:2px solid var(--border-medium);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--font-heading);font-size:16px;font-weight:500;color:var(--text-dark);margin:0 auto 10px;background:var(--bg-white);position:relative;z-index:2}
.tpl-home .process-step:last-child .process-num{background:var(--gold-light);border-color:var(--gold);color:var(--gold-hover)}
.tpl-home .process-label{font-size:13px;font-weight:500;color:var(--text-primary);line-height:1.3;padding:0 8px}
.tpl-home .process-step:last-child .process-label{font-weight:600;color:var(--text-dark)}
.tpl-home .process-arrow{display:flex;align-items:center;padding-top:10px;color:var(--border-medium);font-size:18px;flex-shrink:0}

.tpl-home .section-services{padding:var(--section-padding);background:var(--bg-warm)}
.tpl-home .services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px}
.tpl-home .service-card{background:var(--bg-white);border:1px solid var(--border-light);border-left:3px solid var(--gold);border-radius:0 var(--radius-md) var(--radius-md) 0;padding:28px 24px;transition:box-shadow .2s,transform .2s}
.tpl-home .service-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.tpl-home .service-icon{width:44px;height:44px;background:var(--gold-light);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;margin-bottom:16px;font-size:20px;color:var(--gold)}
.tpl-home .service-card h4{margin-bottom:8px;font-size:17px}
.tpl-home .service-card p{font-size:14px;color:var(--text-light);line-height:1.6;margin-bottom:16px}

.tpl-home .section-benefits{padding:var(--section-padding);background:var(--bg-white)}
.tpl-home .benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}
.tpl-home .benefit-card{border-left:3px solid var(--charcoal);padding:20px 24px}
.tpl-home .benefit-card h4{font-size:16px;margin-bottom:6px}
.tpl-home .benefit-card p{font-size:14px;color:var(--text-light);line-height:1.6}

.tpl-home .section-audiences{padding:var(--section-padding);background:var(--bg-warm)}
.tpl-home .audience-block{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-bottom:24px;background:var(--bg-white);border:1px solid var(--border-light);border-radius:var(--radius-md);overflow:hidden}
.tpl-home .audience-block:last-child{margin-bottom:0}
.tpl-home .audience-block.reversed .audience-image{order:2}
.tpl-home .audience-block.reversed .audience-content{order:1}
.tpl-home .audience-image{min-height:300px;background:var(--charcoal);position:relative;display:flex;align-items:flex-end;padding:12px}
.tpl-home .audience-content{padding:40px 36px;display:flex;flex-direction:column;justify-content:center}
.tpl-home .audience-content h3{margin-bottom:12px;font-size:22px}
.tpl-home .audience-content p{margin-bottom:16px;color:var(--text-primary);line-height:1.7}
.tpl-home .audience-list{margin-bottom:20px}
.tpl-home .audience-list li{font-size:14px;color:var(--text-primary);padding:4px 0 4px 18px;position:relative}
.tpl-home .audience-list li::before{content:'';position:absolute;left:0;top:12px;width:6px;height:6px;background:var(--gold);border-radius:50%}

.tpl-home .section-practice{padding:var(--section-padding);background:var(--bg-white)}
.tpl-home .practice-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.tpl-home .practice-image{min-height:400px;background:var(--charcoal);border-radius:var(--radius-md);position:relative;display:flex;align-items:flex-end;padding:16px}
.tpl-home .practice-content h2{margin-bottom:16px}
.tpl-home .practice-content p{margin-bottom:16px;color:var(--text-primary)}
.tpl-home .practice-list li{font-size:15px;padding:6px 0 6px 20px;position:relative;color:var(--text-primary)}
.tpl-home .practice-list li::before{content:'';position:absolute;left:0;top:14px;width:6px;height:6px;background:var(--gold);border-radius:50%}

.tpl-home .section-references{padding:var(--section-padding);background:var(--bg-warm)}
.tpl-home .references-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px}
.tpl-home .ref-card{background:var(--bg-white);border:1px solid var(--border-light);border-radius:var(--radius-md);overflow:hidden;transition:box-shadow .2s}
.tpl-home .ref-card:hover{box-shadow:var(--shadow-md)}
.tpl-home .ref-image{height:200px;background:var(--charcoal);position:relative;display:flex;align-items:flex-end;padding:10px}
.tpl-home .ref-tag{position:absolute;top:12px;left:12px;background:var(--gold);color:var(--text-dark);font-size:11px;font-weight:600;padding:4px 10px;border-radius:3px}
.tpl-home .ref-body{padding:20px}
.tpl-home .ref-body h4{font-size:16px;margin-bottom:6px}
.tpl-home .ref-body p{font-size:13px;color:var(--text-light);line-height:1.5}
.tpl-home .ref-cta-wrapper{text-align:center;margin-top:32px}

.tpl-home .section-company{padding:var(--section-padding);background:var(--bg-white)}
.tpl-home .company-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.tpl-home .company-content h2{margin-bottom:16px}
.tpl-home .company-content p{margin-bottom:16px;color:var(--text-primary);line-height:1.7}
.tpl-home .company-image{min-height:360px;background:var(--charcoal);border-radius:var(--radius-md);position:relative;display:flex;align-items:flex-end;padding:16px}

.tpl-home .section-cta{padding:80px 0;background:var(--charcoal);color:var(--text-on-dark);text-align:center}
.tpl-home .section-cta h2{color:var(--text-on-dark);margin-bottom:16px}
.tpl-home .section-cta p{font-size:17px;color:var(--text-on-dark-muted);max-width:580px;margin:0 auto 32px;line-height:1.7}
.tpl-home .cta-actions{display:flex;align-items:center;justify-content:center;gap:20px}
.tpl-home .cta-actions .text-link{color:var(--text-on-dark-muted)}
.tpl-home .cta-actions .text-link:hover{color:var(--gold)}

/* Startseite – Responsive */
@media(max-width:1024px){
  .tpl-home .services-grid{grid-template-columns:repeat(2,1fr)}
  .tpl-home .benefits-grid{grid-template-columns:repeat(2,1fr)}
  .tpl-home .process-chain{flex-wrap:wrap;justify-content:center}
  .tpl-home .process-arrow{display:none}
  .tpl-home .process-step{flex:0 0 30%;margin-bottom:20px}
}
@media(max-width:768px){
  .tpl-home{--section-padding:48px 0}
  .tpl-home .hero h1{font-size:32px}
  .tpl-home .hero-content{padding:64px 16px 0}
  .tpl-home .hero-claim{font-size:17px}
  .tpl-home .hero-sub{font-size:15px}
  .tpl-home .hero-actions{flex-direction:column;padding-bottom:40px}
  .tpl-home .hero-actions .btn{width:100%;justify-content:center}
  .tpl-home .usp-bar-inner{flex-direction:column}
  .tpl-home .usp-bar-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.08);justify-content:flex-start;padding:12px 24px}
  .tpl-home .usp-bar-item:last-child{border-bottom:none}
  .tpl-home .trust-bar-inner{flex-direction:column;gap:20px}
  .tpl-home .trust-divider{display:none}
  .tpl-home .gb-hero-card{grid-template-columns:1fr}
  .tpl-home .gb-hero-image{min-height:220px}
  .tpl-home .gb-grid{grid-template-columns:1fr}
  .tpl-home .process-step{flex:0 0 45%}
  .tpl-home .services-grid,.tpl-home .benefits-grid,.tpl-home .references-grid{grid-template-columns:1fr}
  .tpl-home .audience-block{grid-template-columns:1fr}
  .tpl-home .audience-block.reversed .audience-image{order:0}
  .tpl-home .audience-block.reversed .audience-content{order:1}
  .tpl-home .audience-image{min-height:200px}
  .tpl-home .practice-grid,.tpl-home .company-grid{grid-template-columns:1fr}
  .tpl-home .practice-image{min-height:260px}
  .tpl-home .company-image{min-height:240px;order:-1}
  .tpl-home .cta-actions{flex-direction:column}
}
@media(max-width:480px){
  .tpl-home .process-step{flex:0 0 100%}
}


/* ==========================================================================
   ==========================================================================
   11) SCOPE:  .tpl-service  ·  LEISTUNGS- & UEBERSICHTSSEITEN-LAYOUT
   (Referenz: abbruch.html – MASTER TEMPLATE)
   ==========================================================================
   ========================================================================== */

/* Section-Header mit Goldbalken, linksbuendig */
.tpl-service .section-header{margin-bottom:48px}
.tpl-service .section-header::before{content:'';display:block;width:40px;height:3px;background:var(--gold);margin-bottom:16px}
.tpl-service .section-header h2{margin-bottom:12px}
.tpl-service .section-header .subline{font-size:17px;color:var(--text-primary);max-width:var(--measure);line-height:1.7}

/* 01 – HERO */
.tpl-service .hero{background:var(--charcoal);color:var(--text-on-dark);position:relative;overflow:hidden}
.tpl-service .hero-image-placeholder{position:absolute;inset:0;background:linear-gradient(135deg,rgba(61,61,61,.95),rgba(61,61,61,.7));z-index:0}
.tpl-service .hero-image-placeholder .img-tag{position:absolute;top:16px;right:16px}
/* Echtes Foto statt Platzhalter: Bild deckt die Flaeche, ein Verlauf
   darueber sorgt weiterhin dafuer, dass der weisse Hero-Text lesbar bleibt. */
.tpl-service .hero-image-placeholder img{width:100%;height:100%;object-fit:cover;display:block}
.tpl-service .hero-image-placeholder:has(img){background:none}
.tpl-service .hero-image-placeholder:has(img)::after{content:'';position:absolute;inset:0;background:rgba(0,0,0,.03)}
@media(max-width:768px){.tpl-service .hero-image-placeholder:has(img)::after{background:rgba(0,0,0,.03)}}
.tpl-service .hero-content{position:relative;z-index:2;max-width:var(--max-width);margin:0 auto;padding:64px 24px 56px}
.tpl-service .hero-badge{display:inline-flex;align-items:center;gap:6px;background:var(--gold-light);border:1px solid var(--gold-border);border-radius:var(--radius-sm);padding:4px 12px;font-size:12px;font-weight:600;color:var(--gold);text-transform:uppercase;letter-spacing:.5px;margin-bottom:20px}
.tpl-service .hero h1{color:var(--text-on-dark);margin-bottom:24px;max-width:800px;font-size:44px}
.tpl-service .hero h1 .gold-accent{color:var(--gold)}
.tpl-service .hero-intro{max-width:var(--measure);font-size:0;line-height:0;color:var(--text-on-dark-muted);margin-bottom:32px}
.tpl-service .hero-intro p{font-size:17px;line-height:1.75}
.tpl-service .hero-intro p{display:inline;margin:0;background:rgba(24,24,24,.66);padding:.12em 0;box-shadow:.5em 0 0 rgba(24,24,24,.66),-.5em 0 0 rgba(24,24,24,.66);-webkit-box-decoration-break:clone;box-decoration-break:clone;text-shadow:none}
.tpl-service .hero-intro p:not(:last-child)::after{content:"\A";white-space:pre}
.tpl-service .hero-ctas .btn:not(.btn-primary){background:rgba(24,24,24,.66)}
.tpl-service .hero-ctas{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:32px}

/* Service Trust Bar */
.tpl-service .service-trust-bar{background:var(--bg-light);padding:24px 0;border-bottom:1px solid var(--border-light)}
.tpl-service .trust-items{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;max-width:var(--max-width);margin:0 auto;padding:0 24px;
  /* Zentriert jede Spalte in ihrer Zeile. Wichtig, sobald ein Eintrag
     mehr Zeilen braucht als die anderen – sonst kleben die kuerzeren oben. */
  align-items:center}
.tpl-service .trust-item{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;color:var(--text-dark)}
/* Schutz gegen Reste der automatischen Absatz-Formatierung: ein von WordPress
   eingeschobenes <br> oder leeres <p> wuerde die Leiste nach unten aufziehen. */
.tpl-service .service-trust-bar br{display:none}
.tpl-service .service-trust-bar p:empty{display:none}
.tpl-service .trust-item-icon{flex-shrink:0;width:20px;height:20px;color:var(--gold);margin-top:2px}

/* 02 – KONTAKTFORMULAR */
.tpl-service .section-form{padding:var(--section-padding);border-top:3px solid var(--gold)}
.tpl-service .form-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:64px;align-items:start}
.tpl-service .form-layout>*,.tpl-service .form-group,.tpl-service .wpcf7,.tpl-service .wpcf7-form{min-width:0;max-width:100%}
.tpl-service .form-intro h2{margin-bottom:16px}
.tpl-service .form-intro .subline{font-size:17px;color:var(--text-primary);margin-bottom:24px;line-height:1.7}
.tpl-service .form-intro .microcopy{font-size:13px;color:var(--text-light);margin-top:16px;line-height:1.5}
.tpl-service .contact-form{display:flex;flex-direction:column;gap:16px}
.tpl-service .form-group{display:flex;flex-direction:column;gap:6px}
.tpl-service .form-label,.tpl-service .form-group>label{font-size:14px;font-weight:500;color:var(--text-dark)}
.tpl-service .form-label-optional{font-weight:400;color:var(--text-light);margin-left:4px}
.tpl-service .form-group input,.tpl-service .form-group select,.tpl-service .form-group textarea{font-family:var(--font-body);font-size:15px;padding:12px 16px;border:1px solid var(--border-light);border-radius:var(--radius-sm);background:var(--bg-warm);color:var(--text-dark);transition:border-color .2s,box-shadow .2s}
.tpl-service .form-group input:focus,.tpl-service .form-group select:focus,.tpl-service .form-group textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(247,173,41,.15)}
.tpl-service .form-group textarea{resize:vertical;min-height:80px}
.tpl-service .form-group input,.tpl-service .form-group select,.tpl-service .form-group textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.tpl-service .form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.tpl-service .file-upload-area{position:relative;display:block;border:2px dashed var(--border-medium);border-radius:var(--radius-md);padding:24px;text-align:center;cursor:pointer;transition:border-color .2s,background .2s}
.tpl-service .file-upload-area:hover,.tpl-service .file-upload-area:focus-within,.tpl-service .file-upload-area.is-dragging{border-color:var(--gold);background:var(--gold-light)}
.tpl-service .file-upload-area input[type="file"]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.tpl-service .file-upload-text{display:block;font-size:14px;color:var(--text-primary)}
.tpl-service .file-upload-text strong{color:var(--gold)}
.tpl-service .file-upload-hint{display:block;font-size:12px;color:var(--text-light);margin-top:6px}
.tpl-service .field-error{color:var(--text-dark);font-size:12px;font-weight:600;margin-top:4px;display:block}
.tpl-service .field-error::before{content:'\26A0 ';color:var(--gold);margin-right:4px}
.tpl-service .form-group input.has-error,.tpl-service .form-group select.has-error,.tpl-service .form-group textarea.has-error{border-color:var(--charcoal);border-width:2px}
.tpl-service .honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.tpl-service .form-consent{font-size:13px;color:var(--text-light);line-height:1.5}
.tpl-service .form-consent a{color:var(--gold);text-decoration:underline}
.tpl-service .form-submit .btn-primary{width:100%;justify-content:center;padding:16px}
.tpl-service .form-success{display:none;padding:24px;background:var(--gold-light);border:1px solid var(--gold);border-radius:var(--radius-md);text-align:center}
.tpl-service .form-success.is-visible{display:block}
.tpl-service .form-success h3{margin-bottom:8px;color:var(--text-dark)}

/* 03 – ZIELGRUPPEN (Karten) */
.tpl-service .section-audiences{padding:var(--section-padding)}
.tpl-service .audience-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.tpl-service .audience-card{border-top:3px solid var(--gold);background:var(--bg-white);padding:28px 24px;border-radius:0 0 var(--radius-md) var(--radius-md);box-shadow:var(--shadow-md);transition:box-shadow .2s,transform .2s}
.tpl-service .audience-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.tpl-service .audience-card h3{font-size:17px;margin-bottom:12px;font-family:var(--font-heading);line-height:1.3}
.tpl-service .audience-card p{font-size:14px;line-height:1.6;color:var(--text-primary)}

/* 04 – LEISTUNGSUMFANG (3 Spalten) */
.tpl-service .section-services{padding:var(--section-padding);background:var(--bg-light)}
.tpl-service .service-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.tpl-service .service-column{border-bottom:3px solid var(--gold);padding-bottom:24px}
.tpl-service .service-column:target{background:var(--gold-light);border-radius:var(--radius-sm);box-shadow:0 0 0 10px var(--gold-light)}/* :target – auf dem Desktop stehen die Spalten nebeneinander, alle Menue-Sprungziele liegen auf
   derselben Hoehe. Die Markierung zeigt, welche gemeint war. */
.tpl-service .service-column h3{font-size:18px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border-light)}
.tpl-service .service-column-lead{font-size:14px;line-height:1.5;color:var(--text-dark);margin:0 0 12px}
.tpl-service .service-column ul{list-style:none;padding:0}
.tpl-service .service-column li{padding:8px 0 8px 20px;position:relative;font-size:14px;line-height:1.5;border-bottom:1px solid rgba(0,0,0,.04)}
.tpl-service .service-column li::before{content:'';position:absolute;left:0;top:14px;width:6px;height:6px;background:var(--gold);border-radius:50%}
.tpl-service .service-column li:last-child{border-bottom:none}
.tpl-service .service-accordion-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:none;border-top:1px solid var(--border-light);padding:12px 0;font-family:var(--font-body);font-size:13px;font-weight:600;color:var(--text-dark);cursor:pointer;margin-top:8px;transition:color .2s}
.tpl-service .service-accordion-trigger:hover{color:var(--gold)}
.tpl-service .service-accordion-trigger .icon{font-size:18px;transition:transform .2s}
.tpl-service .service-accordion-trigger[aria-expanded="true"] .icon{transform:rotate(45deg)}
.tpl-service .service-accordion-trigger[aria-expanded="true"]{color:var(--gold)}
.tpl-service .service-accordion-panel{max-height:0;overflow:hidden;transition:max-height .4s ease}
.tpl-service .service-accordion-panel .panel-content{padding:12px 0 4px;font-size:13px;line-height:1.6;color:var(--text-primary)}
.tpl-service .service-accordion-panel .panel-content p+p{margin-top:8px}
.tpl-service .service-links{margin-top:40px;padding-top:24px;border-top:1px solid var(--border-light)}
.tpl-service .service-links h3{font-size:16px;margin-bottom:12px}
.tpl-service .service-links-grid{display:flex;flex-wrap:wrap;gap:12px}
.tpl-service .service-links-grid a{font-size:14px;font-weight:500;color:var(--text-dark);padding:8px 16px;border:1px solid var(--border-light);border-radius:var(--radius-sm);transition:all .2s;text-decoration:none}
.tpl-service .service-links-grid a:hover{border-color:var(--gold);color:var(--gold);background:var(--gold-light)}

/* 05 – RISIKEN */
.tpl-service .section-risks{padding:var(--section-padding)}
.tpl-service .risks-content{max-width:var(--measure)}
.tpl-service .risk-subhead{font-family:var(--font-heading);font-size:15px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--charcoal);margin:0}
.tpl-service .risk-list{list-style:none;padding:0;margin:24px 0 32px}
.tpl-service .risk-list li{padding:10px 0 10px 28px;position:relative;font-size:15px;line-height:1.6;border-bottom:1px solid rgba(0,0,0,.05)}
.tpl-service .risk-list li::before{content:'\26A0';position:absolute;left:0;top:10px;font-size:14px;opacity:.5}
.tpl-service .risk-callout{border-left:3px solid var(--gold);background:var(--gold-light);padding:20px 24px;border-radius:0 var(--radius-md) var(--radius-md) 0;font-size:15px;line-height:1.7;color:var(--text-dark);font-weight:500}

/* 06 – PROZESS-STEPPER */
.tpl-service .section-process{padding:var(--section-padding);background:var(--bg-light)}
.tpl-service .process-stepper{display:grid;grid-template-columns:repeat(5,1fr);gap:0;position:relative}
.tpl-service .process-stepper::before{content:'';position:absolute;top:24px;left:10%;right:10%;height:2px;background:var(--border-medium);z-index:0}
.tpl-service .process-step{text-align:center;position:relative;z-index:1;padding:0 12px}
.tpl-service .step-number{width:48px;height:48px;border-radius:50%;background:var(--gold);color:var(--text-dark);font-family:var(--font-heading);font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.tpl-service .step-title{font-family:var(--font-heading);font-size:16px;font-weight:600;color:var(--text-dark);margin-bottom:8px;
  /* Die Schritt-Titel sind unterschiedlich lang: manche brauchen eine Zeile,
     andere zwei. Ohne feste Mindesthoehe starten die Beschreibungstexte
     darunter auf verschiedenen Hoehen und der Stepper wirkt unruhig.
     2.4em = Platz fuer zwei Zeilen bei line-height 1.2. */
  min-height:2.4em}
.tpl-service .step-desc{font-size:13px;line-height:1.6;color:var(--text-primary)}

/* 07 – VORTEILE */
.tpl-service .section-benefits{padding:var(--section-padding)}
.tpl-service .benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tpl-service .benefit-card{background:var(--bg-white);padding:28px 24px;border-left:3px solid var(--charcoal);border-radius:0 var(--radius-md) var(--radius-md) 0;box-shadow:var(--shadow-md);transition:box-shadow .2s,transform .2s}
.tpl-service .benefit-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.tpl-service .benefit-card h3{font-size:17px;margin-bottom:10px}
.tpl-service .benefit-card p{font-size:14px;line-height:1.6}

/* 07B – EIN PARTNER STATT VIELER GEWERKE */
.tpl-service .section-oneteam{padding:var(--section-padding);background:var(--bg-light)}
.tpl-service .oneteam-chain{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:28px 0 20px;
  /* BREITEN-REGEL DER SEITE
     ------------------------
     Fliesstext (Sublines, FAQ, Rechtstexte)  -> var(--measure), ~880px
        Grund: Lesbarkeit. Lange Zeilen ermueden beim Zeilensprung.
     Sichtbare Bauteile (Stepper, Kartenraster, diese Kette) -> volle
        Container-Breite, 1200px. Sie werden nicht gelesen, sondern erfasst.

     Die Kette gehoert zur zweiten Gruppe – genau wie der Prozess-Stepper
     darueber. Deshalb KEINE max-width: sie fuellt den Container. */
}
.tpl-service .oneteam-chip{font-family:var(--font-heading);font-size:13px;font-weight:500;letter-spacing:.01em;color:var(--charcoal);background:var(--bg-white);border:1px solid var(--border-light);border-radius:var(--radius-md);padding:8px 16px;
  /* Verteilt den freien Platz auf die Chips, laesst ihre natuerlichen
     Groessenverhaeltnisse aber bestehen: "Schadstoffsanierung" bleibt
     breiter als "PLP". */
  flex:1 1 auto;text-align:center}

.tpl-service .oneteam-chip-brand{background:var(--charcoal);color:#fff;border-color:var(--charcoal)}
/* Die Pfeile bleiben schmal – sie sollen nicht mitwachsen. */
.tpl-service .oneteam-arrow{color:var(--gold);font-weight:600;flex:0 0 auto}
.tpl-service .oneteam-note{font-size:15px;line-height:1.6;font-weight:500;color:var(--text-dark);max-width:var(--measure)}

/* 08 – UNTERSEITEN-TEASER */
.tpl-service .section-subpages{padding:var(--section-padding);background:var(--bg-light)}
.tpl-service .subpage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tpl-service .subpage-card{background:var(--bg-white);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-md);transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column}
.tpl-service .subpage-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.tpl-service .subpage-image{height:200px;background:var(--charcoal);position:relative;display:flex;align-items:center;justify-content:center}
.tpl-service .subpage-image .img-tag{position:absolute;bottom:8px;right:8px}
.tpl-service .subpage-body{padding:24px;display:flex;flex-direction:column;flex-grow:1;border-left:3px solid var(--gold)}
.tpl-service .subpage-body h3{font-size:18px;margin-bottom:12px}
.tpl-service .subpage-body p{font-size:14px;line-height:1.6;color:var(--text-primary);margin-bottom:16px;flex-grow:1}
.tpl-service .subpage-body .arrow-link{align-self:flex-start}

/* 09 – REFERENZ-TEASER (dunkel) */
.tpl-service .section-references{background:var(--charcoal);color:var(--text-on-dark);padding:var(--section-padding);text-align:center}
.tpl-service .section-references h2{color:var(--text-on-dark);margin-bottom:16px}
.tpl-service .section-references p{color:var(--text-on-dark-muted);font-size:17px;max-width:600px;margin:0 auto 32px}
.tpl-service .references-image-tag{font-size:11px;color:rgba(255,255,255,.4);font-style:italic;margin-bottom:24px}

/* 10 – ABSCHLUSS-CTA (dunkel) */
.tpl-service .section-cta{background:var(--charcoal);color:var(--text-on-dark);padding:64px 0;text-align:center}
.tpl-service .section-cta h2{color:var(--text-on-dark);margin-bottom:16px}
.tpl-service .section-cta p{color:var(--text-on-dark-muted);font-size:17px;max-width:640px;margin:0 auto 32px;line-height:1.7}
.tpl-service .cta-actions{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}
.tpl-service .cta-actions .text-link{color:var(--text-on-dark-muted)}
.tpl-service .cta-actions .text-link:hover{color:var(--gold)}

/* 11 – FAQ */
.tpl-service .section-faq{padding:var(--section-padding)}
.tpl-service .faq-list{max-width:var(--measure)}
.tpl-service .faq-item{border-bottom:1px solid var(--border-light)}
.tpl-service .faq-question{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:none;padding:20px 0;font-family:var(--font-body);font-size:16px;font-weight:600;color:var(--text-dark);text-align:left;cursor:pointer;transition:color .2s;gap:16px}
.tpl-service .faq-question:hover{color:var(--gold)}
.tpl-service .faq-question[aria-expanded="true"]{color:var(--gold)}
.tpl-service .faq-toggle{font-size:24px;font-weight:300;flex-shrink:0;transition:transform .2s;line-height:1}
.tpl-service .faq-question[aria-expanded="true"] .faq-toggle{transform:rotate(45deg)}
.tpl-service .faq-answer{max-height:0;overflow:hidden;transition:max-height .4s ease}
.tpl-service .faq-answer-content{padding:0 0 20px;font-size:15px;line-height:1.7;color:var(--text-primary)}

/* Leistungsseiten – Responsive */
@media(max-width:1024px){
  .tpl-service .audience-grid{grid-template-columns:repeat(2,1fr)}
  .tpl-service .service-columns{grid-template-columns:repeat(2,1fr)}
  .tpl-service .benefits-grid{grid-template-columns:repeat(2,1fr)}
  .tpl-service .trust-items{grid-template-columns:repeat(2,1fr)}
  .tpl-service .process-stepper{grid-template-columns:repeat(3,1fr);gap:24px}
  .tpl-service .process-stepper::before{display:none}
  .tpl-service .form-layout{grid-template-columns:minmax(0,1fr);gap:40px}
}
@media(max-width:768px){
  .tpl-service{--section-padding:var(--section-padding-mobile)}
  .tpl-service .hero-content{padding:32px 24px 40px}
  .tpl-service .hero h1{font-size:32px}
  .tpl-service .hero-intro p{font-size:15px}
  .tpl-service .trust-items{grid-template-columns:1fr;gap:16px}
  .tpl-service .audience-grid{grid-template-columns:1fr}
  .tpl-service .service-columns{grid-template-columns:1fr}
  .tpl-service .benefits-grid{grid-template-columns:1fr}
  .tpl-service .subpage-grid{grid-template-columns:1fr}
  .tpl-service .process-stepper{grid-template-columns:1fr;gap:0}
  .tpl-service .process-step{text-align:left;display:grid;grid-template-columns:48px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--border-light)}
  .tpl-service .process-step:last-child{border-bottom:none}
  .tpl-service .step-number{margin:0}
  .tpl-service .step-title,.tpl-service .step-desc{text-align:left}
  .tpl-service .step-title{min-height:0}
  .tpl-service .step-text{display:flex;flex-direction:column;justify-content:center}
  .tpl-service .form-row{grid-template-columns:minmax(0,1fr)}
  .tpl-service .cta-actions{flex-direction:column}
  .tpl-service .oneteam-chain{gap:6px}
  .tpl-service .oneteam-chip{font-size:12px;padding:6px 12px}
}
@media(max-width:480px){
  .tpl-service .hero-ctas{flex-direction:column;align-items:stretch}
  .tpl-service .hero-ctas .btn{justify-content:center}
}


/* ==========================================================================
   ==========================================================================
   12) SEITENSPEZIFISCHE KOMPONENTEN
   ==========================================================================
   Diese Bloecke stammen aus einzelnen Bestandsseiten, die eigenes CSS
   mitbrachten. Sie sind hier zentral zusammengefuehrt, damit die Seiten
   in WordPress nur noch ihren <main>-Inhalt tragen.
   ========================================================================== */

/* --------------------------------------------------------------------------
   12a) RECHTSTEXTE – Impressum, Datenschutz
   Quelle: impressum.html
   -------------------------------------------------------------------------- */
.tpl-service .legal-hero{background:var(--bg-light);padding:64px 0 56px;border-bottom:1px solid var(--border-light)}
.tpl-service .legal-hero h1{margin-bottom:0}
.tpl-service .legal-hero .eyebrow{margin-bottom:16px}
.tpl-service .legal-content{padding:var(--section-padding)}
.tpl-service .legal-content-inner{max-width:var(--measure)}
.tpl-service .legal-content h2{font-size:28px;margin-top:48px;margin-bottom:16px;padding-top:32px;border-top:1px solid var(--border-light)}
.tpl-service .legal-content h2:first-child{margin-top:0;padding-top:0;border-top:none}
.tpl-service .legal-content h3{font-size:20px;margin-top:32px;margin-bottom:12px}
.tpl-service .legal-content p{margin-bottom:16px;line-height:1.75}
.tpl-service .legal-content a{color:var(--gold);text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.tpl-service .legal-content a:hover{color:var(--gold-hover)}
.tpl-service .legal-content strong{font-weight:600;color:var(--text-dark)}
.tpl-service .legal-content ul{margin-bottom:16px;padding-left:20px}
.tpl-service .legal-content ul li{list-style:disc;margin-bottom:6px;line-height:1.7}
.tpl-service .legal-intro{font-size:15px;color:var(--text-light);margin-bottom:32px}
.tpl-service .legal-address{margin-bottom:16px;line-height:1.8}
.tpl-service .legal-source{margin-top:48px;padding-top:24px;border-top:1px solid var(--border-light);font-size:14px;color:var(--text-light)}
@media(max-width:768px){
  .tpl-service .legal-hero{padding:48px 0 40px}
  .tpl-service .legal-content h2{font-size:24px;margin-top:36px}
}

/* --------------------------------------------------------------------------
   12b) HISTORIE – heller Hero, Timeline, Werte
   Quelle: historie.html
   Die Seite ist bewusst KEINE Leistungsseite: heller Hero statt charcoal,
   kein Formular, keine Risiken, kein Stepper, keine FAQ.
   -------------------------------------------------------------------------- */
.tpl-service .historie-hero{background:var(--bg-light);padding:72px 0 64px;border-bottom:1px solid var(--border-light)}
.tpl-service .historie-hero h1{max-width:760px;margin-bottom:20px}
.tpl-service .historie-hero .eyebrow{margin-bottom:16px}
.tpl-service .historie-hero .hero-lead{font-size:17px;line-height:1.75;color:var(--text-primary);max-width:680px}

.tpl-service .section-historie-intro{padding:64px 0 16px}
.tpl-service .historie-intro-text{max-width:var(--measure);border-left:3px solid var(--gold);padding:4px 0 4px 28px;font-size:17px;line-height:1.75;color:var(--text-dark)}
.tpl-service .historie-intro-text p+p{margin-top:16px}

.tpl-service .section-timeline{padding:var(--section-padding)}
.tpl-service .section-timeline .section-header .eyebrow{margin-bottom:16px}
.tpl-service .timeline-list{margin-top:56px;display:flex;flex-direction:column;gap:88px}
.tpl-service .timeline-entry{display:grid;grid-template-columns:34% 1fr;gap:48px;align-items:start}
.tpl-service .timeline-entry.reverse{grid-template-columns:1fr 34%}
.tpl-service .timeline-entry.reverse .timeline-year-col{order:2;text-align:right}
.tpl-service .timeline-entry.reverse .timeline-content{order:1}
.tpl-service .timeline-year-col{position:sticky;top:100px}
.tpl-service .timeline-year{font-family:var(--font-heading);font-weight:600;color:var(--text-dark);font-size:80px;line-height:.95}
.tpl-service .timeline-accent{width:44px;height:3px;background:var(--gold);margin:18px 0 14px}
.tpl-service .timeline-entry.reverse .timeline-accent{margin-left:auto}
.tpl-service .timeline-year-label{font-family:var(--font-heading);font-size:13px;font-weight:500;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-light)}
.tpl-service .timeline-content h3{font-size:26px;margin-bottom:16px}
.tpl-service .timeline-content-text{font-size:16px;line-height:1.75;color:var(--text-primary);max-width:620px}
.tpl-service .timeline-content-text p+p{margin-top:14px}
.tpl-service .timeline-content-text a{color:var(--text-dark);border-bottom:1px solid var(--gold)}
.tpl-service .timeline-content-text a:hover{color:var(--gold-hover)}
.tpl-service .timeline-media{margin-top:24px;position:relative;min-height:200px;border-radius:var(--radius-md);background:var(--charcoal);overflow:hidden;display:flex;align-items:center;justify-content:center}
.tpl-service .timeline-media::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(45deg,rgba(255,255,255,.035),rgba(255,255,255,.035) 10px,transparent 10px,transparent 20px)}
.tpl-service .timeline-media .img-tag{position:absolute;bottom:10px;right:10px}
.tpl-service .timeline-media--duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-height:0;margin-top:12px;background:none;overflow:visible}
.tpl-service .timeline-media--duo::before{display:none}
.tpl-service .timeline-media--duo>img{position:static;width:100%;height:220px;object-fit:cover;border-radius:var(--radius-md)}
@media(max-width:600px){.tpl-service .timeline-media--duo{grid-template-columns:1fr}}
.tpl-service .timeline-entry--today{background:var(--bg-light);border:1px solid var(--gold-border);border-radius:var(--radius-lg);padding:40px}
.tpl-service .timeline-fade{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}
.tpl-service .timeline-fade.is-visible{opacity:1;transform:none}

.tpl-service .section-werte{padding:var(--section-padding);background:var(--bg-light)}
.tpl-service .werte-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:40px}
.tpl-service .werte-card{background:var(--bg-white);padding:28px 24px;border-left:3px solid var(--charcoal);border-radius:0 var(--radius-md) var(--radius-md) 0;box-shadow:var(--shadow-md);transition:box-shadow .2s,transform .2s}
.tpl-service .werte-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.tpl-service .werte-icon{width:40px;height:40px;border-radius:50%;background:var(--gold);color:var(--text-dark);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.tpl-service .werte-icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tpl-service .werte-card h3{font-size:17px;margin-bottom:10px}
.tpl-service .werte-card p{font-size:14px;line-height:1.6;color:var(--text-primary)}

.tpl-service .zielgruppen-closing{margin-top:32px;font-size:15px;color:var(--text-dark);font-weight:500;max-width:var(--measure);line-height:1.7}
.tpl-service .section-cta .eyebrow{margin-bottom:16px}

@media(max-width:1024px){
  .tpl-service .werte-grid{grid-template-columns:repeat(2,1fr)}
  .tpl-service .timeline-year{font-size:56px}
  .tpl-service .timeline-entry,.tpl-service .timeline-entry.reverse{grid-template-columns:1fr;gap:28px}
  .tpl-service .timeline-entry.reverse .timeline-year-col,
  .tpl-service .timeline-entry.reverse .timeline-content{order:initial;text-align:left}
  .tpl-service .timeline-entry.reverse .timeline-accent{margin-left:0}
  .tpl-service .timeline-year-col{position:static}
}
@media(max-width:768px){
  .tpl-service .historie-hero{padding:40px 0 40px}
  .tpl-service .historie-hero .hero-lead{font-size:15px}
  .tpl-service .werte-grid{grid-template-columns:1fr}
  .tpl-service .timeline-year{font-size:48px}
  .tpl-service .timeline-entry--today{padding:24px}
}


/* --------------------------------------------------------------------------
   12c) ANFAHRTSKARTE – OpenStreetMap mit Klick-zum-Laden
   Quelle: Kontaktseite
   -------------------------------------------------------------------------- */
.tpl-service .section-map{padding:var(--section-padding);background:var(--bg-light)}
.tpl-service .map-embed{
  position:relative;min-height:380px;border-radius:var(--radius-md);
  border:1px solid var(--border-light);background:var(--bg-white);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:14px;padding:32px 24px;text-align:center;overflow:hidden;
}
.tpl-service .map-hint{font-size:13px;line-height:1.5;color:var(--text-light);max-width:46ch;margin:0}
.tpl-service .map-hint a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
/* Sobald die Karte geladen ist, fuellt das iframe den Rahmen komplett. */
.tpl-service .map-embed.is-loaded{padding:0;display:block}
.tpl-service .map-embed iframe{display:block;width:100%;height:380px;border:0}
@media(max-width:768px){
  .tpl-service .map-embed{min-height:300px}
  .tpl-service .map-embed iframe{height:300px}
}

/* ============================================================
   12d) REFERENZEN – Zusaetze zur subpage-card
   Badge (Geschaeftsbereich), Metazeile (Ort · Jahr · Auftraggeber),
   Schlagwoerter. Werte angelehnt an .hero-badge und .gb-tag.
   ============================================================ */
.tpl-service .reference-badge{align-self:flex-start;display:inline-block;background:var(--gold-light);border:1px solid var(--gold-border);border-radius:var(--radius-sm);padding:3px 10px;font-size:11px;font-weight:600;color:var(--gold);text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px}
.tpl-service .subpage-body .reference-meta{flex-grow:0;font-size:13px;color:var(--text-light);margin:-6px 0 12px}
.tpl-service .reference-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.tpl-service .reference-tags .tag{font-size:12px;padding:4px 10px;background:var(--bg-light);border-radius:3px;color:var(--text-primary)}

/* ============================================================
   12e) DOWNLOADS – Liste mit Symbol, Titel/Meta und Knopf
   ============================================================ */
.tpl-service .download-list{max-width:var(--measure);margin:0 auto}
.tpl-service .download-list h3{font-size:20px;margin:0 0 4px}
.tpl-service .download-group{display:flex;flex-direction:column;border-top:1px solid var(--border-light);margin:16px 0 40px}
.tpl-service .download-item{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--border-light)}
.tpl-service .download-icon{flex:0 0 40px;height:40px;display:flex;align-items:center;justify-content:center;background:var(--bg-light);border-radius:var(--radius-sm);font-size:20px}
.tpl-service .download-info{flex:1 1 auto;min-width:0}
.tpl-service .download-title{font-size:16px;margin:0 0 2px;color:var(--text-dark)}
.tpl-service .download-meta{font-size:13px;color:var(--text-light)}
.tpl-service .download-btn{flex:0 0 auto}
@media (max-width:600px){
  .tpl-service .download-item{flex-wrap:wrap}
  .tpl-service .download-btn{flex-basis:100%;text-align:center}
}

/* ============================================================
   12i) NACHWEIS-KACHELN  (Startseite-Leiste + Downloads-Seite)
   ============================================================ */
.trust-cert{display:flex;flex-direction:column;gap:2px;padding:8px 14px;border:1px solid var(--gold-border);border-radius:var(--radius-sm);background:var(--bg-white);text-decoration:none;transition:border-color .2s}
.trust-cert:hover,.trust-cert:focus-visible{border-color:var(--gold)}
.trust-cert-title{font-size:13px;font-weight:600;color:var(--text-dark);line-height:1.3}
.trust-cert-sub{font-size:12px;color:var(--text-light);line-height:1.3}
.tpl-service .trust-bar{background:var(--bg-white);border-bottom:1px solid var(--border-light);padding:24px 0}
.tpl-service .trust-bar-inner{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
.tpl-service .trust-bar .trust-divider{width:1px;height:36px;background:var(--border-light)}
.tpl-service .trust-bar .trust-badge{display:inline-flex;align-items:center;gap:6px;background:var(--gold-light);border:1px solid var(--gold-border);border-radius:20px;padding:8px 16px;font-size:13px;font-weight:500;color:var(--text-dark)}
.tpl-service .download-subgroup{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-light);margin:28px 0 0}
.tpl-service .download-subgroup + .download-group{margin-top:10px;margin-bottom:8px}
.tpl-service .download-item{scroll-margin-top:96px}
.tpl-service .download-item--request .download-icon{background:var(--gold-light)}
.tpl-service .download-valid{white-space:nowrap}
.tpl-service .download-item:target{background:var(--gold-light)}
@media (max-width:768px){
  .tpl-home .trust-certs{flex-direction:column;width:100%}
  .trust-cert{text-align:center}
  .tpl-service .trust-bar-inner{flex-direction:column;gap:16px}
  .tpl-service .trust-bar .trust-divider{display:none}
}

/* ============================================================
   12f) CONTACT FORM 7 – Meldungen im Stil des Theme-Formulars
   CF7 bringt eigene Klassen mit. Hier auf .field-error, .has-error
   und .form-success abgebildet, damit Fehler und Erfolg gleich aussehen.
   ============================================================ */
.tpl-service .wpcf7-form-control-wrap{display:block}
.tpl-service .wpcf7-not-valid-tip{color:var(--text-dark);font-size:12px;font-weight:600;margin-top:4px;display:block}
.tpl-service .wpcf7-not-valid-tip::before{content:'\26A0 ';color:var(--gold);margin-right:4px}
.tpl-service .form-group .wpcf7-not-valid{border-color:var(--charcoal);border-width:2px}
.tpl-service .wpcf7 form .wpcf7-response-output{margin:20px 0 0;padding:16px 20px;border:1px solid var(--gold);border-radius:var(--radius-md);background:var(--gold-light);color:var(--text-dark);font-size:14px}
.tpl-service .wpcf7 form.invalid .wpcf7-response-output,
.tpl-service .wpcf7 form.failed .wpcf7-response-output,
.tpl-service .wpcf7 form.spam .wpcf7-response-output{border-color:var(--charcoal);background:var(--bg-light)}
.tpl-service .wpcf7-spinner{margin:0 0 0 12px;vertical-align:middle}
/* Datenschutz-Haekchen ([acceptance]). Bewusst nicht in .form-group:
   dort bekaeme die Checkbox Padding, Rahmen und Hintergrund der Textfelder. */
.tpl-service .form-consent .wpcf7-list-item{margin:0;display:block}
.tpl-service .form-consent label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
.tpl-service .form-consent input[type="checkbox"]{flex:0 0 18px;width:18px;height:18px;margin:1px 0 0;accent-color:var(--gold);cursor:pointer}

/* ============================================================
   12g) STELLENANZEIGEN – Popup ohne JavaScript
   Nutzt die native Popover-API (popovertarget / popover). Browser
   oeffnen und schliessen selbst, inklusive Klick daneben und Esc.
   Deshalb steht dazu nichts in plp.js.
   ============================================================ */
.tpl-service .job-teaser-cta{background:none;border:0;padding:0;margin-top:4px;font-family:inherit;cursor:pointer}
.tpl-service .job-modal{width:min(640px,calc(100% - 32px));max-height:min(80vh,720px);overflow:auto;margin:auto;padding:0;border:0;border-radius:var(--radius-md);background:var(--bg-white);color:var(--text-primary);box-shadow:var(--shadow-lg)}
.tpl-service .job-modal::backdrop{background:rgba(30,30,30,.55)}
.tpl-service .job-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 24px 0}
.tpl-service .job-modal-header h3{margin:0;font-size:22px}
.tpl-service .job-modal-close{flex:0 0 auto;background:none;border:0;padding:0 4px;font-size:28px;line-height:1;color:var(--text-light);cursor:pointer}
.tpl-service .job-modal-close:hover{color:var(--gold)}
.tpl-service .job-modal-body{padding:12px 24px 28px}
.tpl-service .job-modal-body>p:first-child{color:var(--text-dark)}
.tpl-service .job-modal-section{margin-top:22px;border-top:1px solid var(--border-light);padding-top:18px}
.tpl-service .job-modal-section h4{margin:0 0 10px;font-size:16px}
.tpl-service .job-modal-section ul{margin:0;padding-left:20px}
.tpl-service .job-modal-section li{margin-bottom:6px;font-size:14px;line-height:1.6}
.tpl-service .job-modal-actions{margin-top:26px}
@media (max-width:600px){
  .tpl-service .job-modal{max-height:88vh}
  .tpl-service .job-modal-header,.tpl-service .job-modal-body{padding-left:18px;padding-right:18px}
}

/* ============================================================
   12h) REFERENZEN-UEBERSICHT – Auftraggeber-Leiste, Filter,
   Projektraster. Hero, Buttons und Abschluss-CTA nutzen die
   normalen .hero/.section-cta-Komponenten, hier nur das, was
   wirklich neu ist.
   ============================================================ */
.tpl-service .client-strip{background:var(--bg-light);border-top:2px solid var(--gold);padding:28px 0}
.tpl-service .client-strip-inner{display:grid;grid-template-columns:auto 1fr;gap:32px;align-items:center}
.tpl-service .client-strip-count{display:flex;align-items:baseline;gap:12px}
.tpl-service .client-strip-count strong{font-family:var(--font-heading);font-size:44px;font-weight:600;color:var(--charcoal);line-height:1}
.tpl-service .client-strip-count span{font-size:14px;color:var(--text-dark);max-width:150px;line-height:1.35}
.tpl-service .client-list{display:flex;flex-wrap:wrap;gap:10px 28px;margin:0;padding:0;list-style:none}
.tpl-service .client-list li{font-family:var(--font-heading);font-size:15px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--charcoal);padding-left:14px;position:relative}
.tpl-service .client-list li::before{content:'';position:absolute;left:0;top:50%;width:6px;height:6px;margin-top:-3px;background:var(--gold);border-radius:50%}

.tpl-service .section-references-grid{padding:var(--section-padding);background:var(--bg-light)}
.tpl-service .ref-filter{display:flex;flex-wrap:wrap;gap:10px;margin:32px 0 40px}
.tpl-service .filter-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;background:var(--bg-white);color:var(--charcoal);border:1px solid var(--border-light);border-radius:999px;cursor:pointer;font-family:var(--font-heading);font-size:14px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;transition:border-color .2s,background .2s}
.tpl-service .filter-btn:hover{border-color:var(--gold)}
.tpl-service .filter-btn[aria-pressed="true"]{background:var(--charcoal);color:var(--text-on-dark);border-color:var(--charcoal)}
.tpl-service .filter-count{font-family:var(--font-body);font-size:12px;opacity:.7}

.tpl-service .reference-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.tpl-service .reference-card{display:flex;flex-direction:column;background:var(--bg-white);border:1px solid var(--border-light);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-sm);transition:box-shadow .2s,transform .2s}
.tpl-service .reference-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.tpl-service .reference-card[hidden]{display:none}
.tpl-service .reference-card .reference-image{position:relative;aspect-ratio:3/2;overflow:hidden;background:var(--charcoal);display:flex;align-items:center;justify-content:center}
.tpl-service .reference-card .reference-image::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(30,30,30,.05) 0%,rgba(30,30,30,.55) 100%);pointer-events:none}
.tpl-service .reference-status{position:absolute;top:14px;left:14px;z-index:1;padding:5px 10px;border-radius:var(--radius-sm);font-family:var(--font-heading);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.tpl-service .reference-status.is-done{background:var(--bg-white);color:var(--charcoal)}
.tpl-service .reference-status.is-running{background:var(--gold);color:var(--charcoal)}
.tpl-service .reference-client{position:absolute;bottom:14px;left:14px;z-index:1;font-family:var(--font-heading);font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--text-on-dark)}
.tpl-service .reference-card .reference-body{display:flex;flex-direction:column;flex:1;padding:24px 24px 26px;border-top:3px solid var(--gold)}
.tpl-service .reference-card .reference-title{font-size:22px;margin-bottom:14px}
.tpl-service .reference-card .reference-meta{display:grid;grid-template-columns:112px 1fr;gap:6px 12px;margin:0 0 18px;font-size:14px}
.tpl-service .reference-card .reference-meta dt{font-family:var(--font-heading);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-light);padding-top:2px}
.tpl-service .reference-card .reference-meta dd{margin:0;color:var(--text-dark)}
.tpl-service .reference-card .reference-tags{margin-top:auto}
.tpl-service .placeholder-note{display:inline-block;padding:2px 8px;font-size:13px;color:var(--text-light);border:1px dashed var(--border-light);border-radius:var(--radius-sm)}
.tpl-service .ref-empty{display:none;padding:40px;text-align:center;border:1px dashed var(--border-light);border-radius:var(--radius-md);background:var(--bg-white)}
.tpl-service .ref-empty.is-visible{display:block}

@media(max-width:1024px){
  .tpl-service .reference-grid{grid-template-columns:repeat(2,1fr)}
  .tpl-service .client-strip-inner{grid-template-columns:1fr;gap:18px}
}
@media(max-width:768px){
  .tpl-service .reference-grid{grid-template-columns:1fr}
  .tpl-service .ref-filter{flex-wrap:nowrap;overflow-x:auto;margin:24px -24px 32px;padding:0 24px 6px}
  .tpl-service .filter-btn{flex-shrink:0}
}

/* ============================================================
   13 – UTILITIES
   ============================================================ */

/* Nur fuer Screenreader sichtbar.
   Fehlte bisher im Theme; von den Seiten-Autoren gebraucht,
   z. B. fuer erlaeuternde Ueberschriften ueber reinen Icon-Listen.
   Bewusst NICHT display:none – das wuerde der Screenreader
   ebenfalls ueberspringen. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Mobil: Filterleiste der Referenzen auf Container-Padding (16px) abgestimmt */
@media(max-width:480px){
  .tpl-service .ref-filter{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
}

/* Tablet: Video unter dem Text auf die rechte Haelfte zuschneiden (linke Haelfte des Films ist leer) */
@media(max-width:1100px){.tpl-home .hero .hero-video{aspect-ratio:16/10;object-position:100% 50%}}
/* Typografie: Ueberschriften ausgleichen; Umbruch nur am Handy bzw. nur am Desktop (<br class="br-m"> / <br class="br-d">) */
h1,h2,h3{text-wrap:balance}
p,li{text-wrap:pretty}
.br-m{display:none}
@media(max-width:700px){.br-m{display:inline}.br-d{display:none}}
/* Handy: Video zeigen (ueberschreibt "display:none" aus dem Zusatz-CSS), rechts zugeschnittene Fassung 16:10 */
@media(max-width:600px){.tpl-home .hero .hero-video{display:block;aspect-ratio:16/10}}
/* Tablet und Handy: Video ganz oben, ueber dem Text "Fortschritt durch Rueckbau" */
@media(max-width:1100px){.tpl-home .hero .hero-video{order:-1}}
/* Tablet/Handy: Abstand Video zu Text kleiner (Video steht oben, Text folgt direkt darunter) */
@media(max-width:1100px){.tpl-home .hero .hero-content{padding-top:24px}}
