/*
Theme Name:  PRO LIFT & ROLL
Author:      René Lubowitzki
Description: Firmentheme für PRO LIFT & ROLL – Kran-Service & Spezial-Transporte. Schwarz/Gold, kompakte Startseite mit Jubiläumsblock, drei Leistungsbereichen, Referenzen, Projekt-Highlight und Timeline; ausführliche Leistungsseiten als Templates.
Version:     2.77.0
Requires PHP: 7.4
License:     GNU General Public License v2 or later
Text Domain: pro-lift-roll
*/

/* ---------- Schriften (lokal gehostet, DSGVO-konform – kein Google-Fonts-Abruf) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/oswald-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/oswald-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/oswald-700.woff2') format('woff2');
}

/* ---------- Basis ---------- */
:root {
  --gelb:        #D9A62B;   /* Gold */
  --gelb-dunkel: #B8891C;
  --schwarz:     #101114;
  --schwarz-2:   #17181C;
  --grau-bg:     #F5F5F5;
  --grau-linie:  #E6E6E6;
  --text:        #2B2C30;
  --text-hell:   #B7B8BC;
  --weiss:       #FFFFFF;
  --font-head:   'Oswald', 'Arial Narrow', sans-serif;
  --font-body:   'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:      6px;
  --container:   1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
html, body { overflow-x: clip; }
body {
  /* Sticky Footer: Seite füllt mindestens den Viewport, Footer klebt unten */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--schwarz);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gelb-dunkel);
  display: block;
  margin-bottom: .5rem;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--gelb);
  margin: 1.1rem auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .9rem; font-weight: 600;
  padding: .85em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-gelb { background: var(--gelb); color: var(--schwarz); }
.btn-gelb:hover { background: var(--gelb-dunkel); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--weiss); }
.btn-ghost:hover { border-color: var(--gelb); color: var(--gelb); }
.btn-schwarz { background: var(--schwarz); color: var(--weiss); }
.btn-schwarz:hover { background: #000; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gelb);
  outline-offset: 2px;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--schwarz);
  color: var(--text-hell);
  font-size: .8rem;
}
.topbar .container {
  display: flex; justify-content: center;
  align-items: center; min-height: 40px;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--gelb); }
.topbar-item { display: inline-flex; align-items: center; gap: .5em; }
.topbar-item svg { width: 14px; height: 14px; color: var(--gelb); flex: none; }
.topbar-spacer { flex: 1; }
@media (max-width: 720px) { .topbar-spacer, .topbar-hours { display: none; } }

/* ---------- Header ---------- */
.site-header {
  background: var(--weiss);
  position: sticky; top: 0; z-index: 50;
}
.site-header { position: sticky; }
.site-header .container {
  display: flex; align-items: center; min-height: 130px;
  padding-right: 460px; /* Platz für die Menü-Zone (440px + Luft) */
}
.branding { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.branding svg { width: 42px; height: 42px; }
.branding-text { font-family: var(--font-head); text-transform: uppercase; line-height: 1.05; }
.branding-text .zeile1 { font-size: 1.5rem; font-weight: 700; color: var(--schwarz); letter-spacing: .04em; }
.branding-text .zeile2 { font-size: .95rem; font-weight: 600; color: var(--gelb-dunkel); letter-spacing: .3em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--schwarz-2);
  /* Bild hinterlegen: Design > Customizer > Startseite, oder hier ersetzen */
  background-image: linear-gradient(100deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.72) 45%, rgba(10,10,12,.35) 100%), var(--hero-bild, radial-gradient(1100px 500px at 78% 40%, #3A3418 0%, #17181C 60%));
  background-size: cover;
  background-position: center;
  color: var(--weiss);
}
.hero .container { padding-top: 96px; padding-bottom: 96px; max-width: var(--container); }
.hero-inner { max-width: 620px; position: relative; z-index: 12; }
.hero .eyebrow { color: var(--gelb); }
.hero h1 { color: var(--weiss); }
.hero h1 .akzent { color: var(--gelb); white-space: nowrap; }
.hero p { max-width: 480px; color: #D9DADE; margin: 1.2rem 0 2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Features ---------- */
.features { padding: 72px 0; }
.features-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
@media (max-width: 1100px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .features-grid { grid-template-columns: 1fr; } }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 1.1rem;
  color: var(--gelb);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1rem; letter-spacing: .08em; }
.feature p { font-size: .92rem; color: #5A5B60; margin: 0; }

/* ---------- Leistungen ---------- */
.leistungen { background: var(--grau-bg); padding: 80px 0; }
.leistungen-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) { .leistungen-grid { grid-template-columns: 1fr; } }
.leistung-card {
  background: var(--weiss);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  display: flex; flex-direction: column;
  height: 100%;               /* alle Karten exakt gleich hoch (Grid-Stretch) */
}
.leistung-bild {
  height: 190px;              /* feste, identische Bildhöhe für alle Karten */
  flex: none;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(160deg, #2A2B30, #4A4B52); /* Platzhalter – echtes Foto als Beitragsbild/CSS ersetzen */
  background-size: cover; background-position: center;
  position: relative;
}
.leistung-icon {
  position: absolute; left: 18px; bottom: -26px;
  width: 52px; height: 52px;
  background: var(--schwarz);
  border: 3px solid var(--gelb);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gelb);
}
.leistung-icon svg { width: 22px; height: 22px; }
.leistung-body { padding: 2.4rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.leistung-body h3 { font-size: 1rem; }
.leistung-body p { font-size: .88rem; color: #5A5B60; margin: 0 0 1.2rem; flex: 1; }
.mehr-link {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem; font-weight: 600;
  color: var(--schwarz);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .5em;
}
.mehr-link svg { width: 14px; height: 14px; transition: transform .15s; }
.mehr-link:hover { color: var(--gelb-dunkel); }
.mehr-link:hover svg { transform: translateX(3px); }

/* ---------- Über uns ---------- */
.ueber-uns { display: grid; grid-template-columns: 1fr 1fr; background: var(--schwarz); color: var(--weiss); }
.ueber-text { padding: clamp(48px, 7vw, 96px); align-self: center; }
.ueber-text .eyebrow { color: var(--gelb); }
.ueber-text h2 { color: var(--weiss); }
.ueber-text h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gelb); margin-top: 1rem; }
.ueber-text > p { color: var(--text-hell); max-width: 460px; }
.stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin: 2rem 0; }
.stat { display: flex; align-items: center; gap: .8rem; }
.stat svg { width: 34px; height: 34px; color: var(--gelb); flex: none; }
.stat-zahl { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-hell); }
.ueber-bild {
  min-height: 420px;
  background: linear-gradient(200deg, #6B5A20, #23242A 70%); /* Platzhalter – Teamfoto hinterlegen */
  background-size: cover; background-position: center;
}
@media (max-width: 760px) {
  .ueber-uns { grid-template-columns: 1fr; }
  .ueber-bild { min-height: 300px; order: -1; }
}

/* ---------- Referenzen ---------- */
.referenzen { padding: 72px 0 64px; }
.logo-leiste {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2rem 4rem; align-items: center;
}
.logo-leiste .kunde {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: #9A9BA0;
  filter: grayscale(1);
  transition: color .15s;
}
.logo-leiste .kunde:hover { color: var(--schwarz); }
.logo-leiste img { max-height: 44px; width: auto; filter: grayscale(1) opacity(.65); }
.logo-leiste img:hover { filter: none; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--gelb); padding: 40px 0; }
.cta-band .container { display: flex; flex-wrap: nowrap; align-items: center; gap: 1.5rem 2rem; }
.cta-band .cta-text { flex: 1; min-width: 0; }
.cta-icon { width: 56px; height: 56px; color: var(--schwarz); flex: none; }
.cta-icon svg { width: 100%; height: 100%; }
.cta-band h2 { margin: 0; font-size: 1.5rem; }
.cta-band p { margin: .2rem 0 0; color: #3D3105; font-size: .95rem; }
.cta-band .btn { margin-left: auto; }
@media (max-width: 760px) {
  .cta-band .container { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-band .cta-text { flex: none; width: 100%; }
  .cta-band .btn { margin-left: 0; width: 100%; justify-content: center; box-sizing: border-box; }
  .cta-icon { width: 44px; height: 44px; }
}

/* ---------- Footer (Vorbild: Logo+Social oben, Trennlinie, 5 Spalten, Adresse) ---------- */
.site-footer { background: var(--schwarz); color: var(--text-hell); font-size: .9rem; padding-top: 56px; margin-top: auto; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-bottom: 2.2rem;
  border-bottom: 1px solid #26272C;
}
.footer-logo { height: 64px; width: auto; }
.social { display: flex; gap: .7rem; }
.social a {
  width: 36px; height: 36px; border: 1px solid #3A3B40; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-hell);
}
.social a:hover { border-color: var(--gelb); color: var(--gelb); }
.social svg { width: 15px; height: 15px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  padding: 3rem 0 3.5rem;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-spalte h4 {
  color: var(--weiss); font-size: .85rem; letter-spacing: .1em;
  margin: 0 0 1.2rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .7rem; }
.site-footer a { color: var(--text-hell); text-decoration: none; }
.site-footer a:hover { color: var(--gelb); }

.footer-kontakt li a, .footer-kontakt li span { display: inline-flex; gap: .7em; align-items: center; }
.footer-kontakt svg { width: 16px; height: 16px; color: var(--gelb); flex: none; }

.footer-adresse { margin-top: 2.4rem; }
.footer-adresse p { margin: 0; line-height: 1.8; }

.footer-bottom {
  border-top: 1px solid #26272C;
  padding: 1.2rem 0;
  font-size: .78rem;
}

/* ---------- Innenseiten / Blog ---------- */
.page-hero { background: var(--schwarz); color: var(--weiss); padding: 56px 0; }
.page-hero h1 { color: var(--weiss); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.page-hero h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gelb); margin-top: .8rem; }
.content-bereich { padding: 56px 0; }
.content-bereich .container { max-width: var(--container); }
.artikel-liste article { border-bottom: 1px solid var(--grau-linie); padding: 1.6rem 0; }
.artikel-liste h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.artikel-liste h2 a { text-decoration: none; }
.artikel-liste h2 a:hover { color: var(--gelb-dunkel); }
.artikel-meta { font-size: .8rem; color: #8A8B90; text-transform: uppercase; letter-spacing: .06em; }


/* ---------- Projekt-Highlight (SALCOS) ---------- */
.projekt-highlight .eyebrow { color: var(--gelb); }

/* ---------- Leistungsseiten ---------- */
.leistung-seite h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.leistung-seite h2:first-child { margin-top: 0; }
.leistung-seite ul.checkliste { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .55rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 960px) { .leistung-seite ul.checkliste { grid-template-columns: 1fr; } }
.leistung-seite ul.checkliste li { display: flex; gap: .6em; align-items: flex-start; }
.leistung-seite ul.checkliste svg { width: 17px; height: 17px; color: var(--gelb-dunkel); flex: none; margin-top: .25em; }
.merksatz {
  background: var(--grau-bg); border-left: 4px solid var(--gelb);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem; margin: 1.8rem 0;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .04em; font-weight: 600; color: var(--schwarz);
}
.seiten-cta {
  background: var(--schwarz); color: var(--weiss);
  border-radius: var(--radius); padding: 2rem;
  margin-top: 2.8rem;
}
.seiten-cta h2 { color: var(--weiss); margin-top: 0; }
.seiten-cta p { color: var(--text-hell); }
.maschinen-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 1.4rem 0; }
@media (max-width: 960px) { .maschinen-grid { grid-template-columns: 1fr; } }
.maschine { background: var(--grau-bg); border-radius: var(--radius); padding: 1.3rem; border-top: 3px solid var(--gelb); }
.maschine h3 { font-size: .95rem; margin-bottom: .3rem; }
.maschine p { font-size: .88rem; color: #5A5B60; margin: 0; }

/* Hero-Slogan */
.hero-slogan {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gelb) !important;
  margin: .4rem 0 0 !important;
}

/* Logo-Bild */
.logo-bild { height: 104px; width: auto; }
.logo-bild-footer { height: 88px; }
@media (max-width: 720px) { .logo-bild { height: 74px; } .site-header .container { min-height: 96px; } }

/* Hero-Freisteller (Fahrzeug rechts, liegt VOR der Folgesektion; Position via Customizer-Regler) */
.hero { overflow: visible; z-index: 5; }
.hero .container { position: relative; }
.hero-freisteller {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: -136px;             /* Default: 40px Überhang über den nächsten Abschnitt */
  height: 105%;
  max-width: 58%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero-freisteller { display: none; }  /* Mobil-Layout: In-Flow-Bild übernimmt */
}

/* Mobil kompakterer Hero (Bezugswert für den Mobil-Vertikal-Regler: 64px) */
@media (max-width: 760px) {
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
}

/* Mobiles Hero-Bild (In-Flow zwischen Slogan und Text; Feinjustage via Customizer) */
.hero-freisteller-mobil { display: none; }
@media (max-width: 760px) {
  .hero-freisteller-mobil {
    display: block;
    width: 75%;
    margin: 18px 0 4px;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0,0,0,.45));
    pointer-events: none;
  }
}


/* ---------- Jubiläum (dunkle Sektion nach Vorlage) ---------- */
.jubilaeum-dark { background: var(--schwarz); color: var(--weiss); padding: 88px 0 48px; position: relative; overflow: hidden; }

/* Bild randlos über die linke Hälfte, verschmilzt rechts/unten mit dem Hintergrund */
.jub-bild {
  position: absolute; left: 0; top: 0; bottom: 0; width: 55%;
  background: linear-gradient(200deg, #4A3D14, #1C1D22 70%); /* Platzhalter bis zum Kran-Upload */
  background-size: cover; background-position: center;
}
.jub-bild::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,17,20,0) 55%, #101114 98%),
    linear-gradient(0deg, rgba(16,17,20,.9) 0%, rgba(16,17,20,0) 35%);
}

.jub-grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); }
.jub-links { display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; }
.jub-titel { display: flex; gap: 1.2rem; align-items: flex-end; }
.jub-eins {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(8rem, 14vw, 13rem); line-height: .78;
  color: var(--gelb);
}
.jub-worte { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; line-height: 1.04; padding-bottom: .4rem; }
.jub-worte .z1 { display: block; font-size: clamp(2.2rem, 3.4vw, 3.2rem); color: var(--weiss); }
.jub-worte .z2 { display: block; font-size: clamp(2.2rem, 3.4vw, 3.2rem); color: var(--gelb); white-space: nowrap; }
.jub-tagline { color: #E4E5E9; font-size: 1.25rem; margin: 1.6rem 0 0; }

/* Rechte Hälfte: Headline links, Absätze als schmale Spalte rechts daneben */
.jub-kopf { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.2rem; align-items: start; }
.jub-rechts .eyebrow { color: var(--gelb); }
.jub-rechts h2 { color: var(--weiss); font-size: clamp(1.7rem, 2.4vw, 2.4rem); margin-bottom: 0; }
.jub-rechts h2 .akzent { color: var(--gelb); }
.jub-absaetze p { color: var(--text-hell); font-size: .92rem; margin: 0 0 1rem; }

.jub-timeline { list-style: none; margin: 2.6rem 0 0; padding: 0; position: relative; }
.jub-timeline::before { content: ""; position: absolute; left: 32px; top: 16px; bottom: 28px; width: 2px; background: #33343A; }
.jub-timeline li { position: relative; display: flex; gap: 1.4rem; padding-bottom: 1.9rem; }
.jub-timeline li:last-child { padding-bottom: 0; }
.jub-icon {
  position: relative; z-index: 1; flex: none;
  width: 66px; height: 66px; border-radius: 50%;
  border: 2px solid var(--gelb);
  background: var(--schwarz);
  display: flex; align-items: center; justify-content: center;
  color: var(--gelb);
}
.jub-icon svg { width: 30px; height: 30px; }
.jub-timeline .zeitraum { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; font-weight: 600; color: var(--gelb); }
.jub-timeline h3 { color: var(--weiss); font-size: 1.05rem; margin: .2rem 0 .25rem; }
.jub-timeline p { color: var(--text-hell); font-size: .9rem; margin: 0; }
.jub-timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 86px; right: 0; bottom: .95rem;
  border-bottom: 1px solid #26272C;
}

.jub-features {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3.8rem; padding-top: 2.4rem;
  border-top: 1px solid #26272C;
}
@media (max-width: 960px) { .jub-features { grid-template-columns: 1fr; } }
.jub-feature { display: flex; gap: .9rem; align-items: flex-start; padding-right: 1.5rem; }
.jub-feature:not(:last-child) { border-right: 1px solid #26272C; }
@media (max-width: 960px) { .jub-feature { border-right: 0 !important; } }
.jub-feature-icon { flex: none; width: 40px; height: 40px; color: var(--gelb); }
.jub-feature-icon svg { width: 100%; height: 100%; }
.jub-feature h3 { color: var(--weiss); font-size: .9rem; letter-spacing: .08em; margin: 0 0 .25rem; }
.jub-feature p { color: var(--text-hell); font-size: .85rem; margin: 0; }

@media (max-width: 760px) {
  .jub-bild { position: relative; width: auto; height: 340px; margin: -88px -24px 2rem; }
  .jub-grid { grid-template-columns: 1fr; }
  .jub-links { min-height: 0; margin-top: -190px; }
  .jub-kopf { grid-template-columns: 1fr; gap: .5rem; }
  .jub-timeline::before { left: 26px; }
  .jub-icon { width: 54px; height: 54px; }
  .jub-icon svg { width: 24px; height: 24px; }
  .jub-timeline li:not(:last-child)::after { left: 70px; }
}

/* Weißes Logo-Overlay im Hero (Position via Customizer-Regler) */
.hero-logo-overlay {
  position: absolute;
  z-index: 6;
  top: 40px; right: 4%;
  width: 260px; height: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.5));
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero-logo-overlay { width: 150px; right: 24px; top: 16px; }
}

/* Hero-Wortmarke: Logo statt Headline (Breite via Customizer) */
.hero-wortmarke {
  display: block;
  width: 420px; max-width: 100%; height: auto;
  margin: 0 0 1.8rem;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.5));
}
@media (max-width: 760px) {
  /* Poster-Komposition: Wortmarke mittig, Kran randlos, Text linksbündig */
  .hero-wortmarke { width: 210px; margin: 0 auto 1.2rem; }
  .hero-freisteller-mobil {
    width: calc(100% + 48px) !important;   /* randlos über den Container hinaus */
    max-width: none;
    margin-left: -24px !important;
    margin-right: -24px;
    transform: none !important;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    filter: none;
  }
  .hero-inner p { text-align: left; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; width: 100%; }
}


/* ---------- Desktop-Komposition auf Tablets & Smartphone quer (761–1200px), skaliert ---------- */
@media (min-width: 761px) and (max-width: 1200px) {
  .hero-inner { max-width: 52%; }
  .hero-wortmarke { width: min(340px, 90%); }
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  .hero-freisteller { max-width: 46%; height: 90%; bottom: -64px; }
  .jub-links { min-height: 420px; }
  .jub-eins { font-size: clamp(5rem, 10vw, 8rem); }
  .jub-kopf { grid-template-columns: 1fr; gap: .6rem; }
  .ueber-text { padding: clamp(28px, 4vw, 48px); }
}

/* ---------- Kontaktformular ---------- */
.kontakt-raster { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 760px) { .kontakt-raster { grid-template-columns: 1fr; } }

.form-hinweis { border-radius: var(--radius); padding: 1rem 1.3rem; margin-bottom: 2rem; }
.form-hinweis strong { display: block; margin-bottom: .2rem; }
.form-ok { background: #EAF6EC; border-left: 4px solid #3E9B4F; }
.form-fehler { background: #FBECEC; border-left: 4px solid #C0392B; }

.hp-feld { position: absolute; left: -9999px; top: -9999px; }

.feld-raster { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.4rem; }
@media (max-width: 760px) { .feld-raster { grid-template-columns: 1fr; } }
.feld { margin: 0 0 1rem; }
.feld-breit { grid-column: 1 / -1; }
.feld label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .07em; font-size: .78rem; font-weight: 600; margin-bottom: .35rem; }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"], .feld textarea {
  width: 100%; box-sizing: border-box;
  padding: .75em .9em;
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius);
  background: var(--grau-bg);
  font: inherit; color: var(--text);
}
.feld input:focus, .feld textarea:focus {
  outline: none; border-color: var(--gelb);
  box-shadow: 0 0 0 3px rgba(217, 166, 43, .25);
  background: var(--weiss);
}
.feld-zustimmung label { display: flex; gap: .7em; align-items: flex-start; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 400; }
.feld-zustimmung input { margin-top: .25em; accent-color: var(--gelb-dunkel); }

.kontakt-info { background: var(--schwarz); color: var(--weiss); border-radius: var(--radius); padding: 1.8rem; border-top: 4px solid var(--gelb); }
.kontakt-info h2 { color: var(--weiss); font-size: 1.2rem; margin-top: 0; }
.kontakt-info ul { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.kontakt-info li { display: flex; gap: .7em; align-items: flex-start; margin-bottom: .8rem; color: var(--text-hell); }
.kontakt-info li a { color: var(--text-hell); text-decoration: none; }
.kontakt-info li a:hover { color: var(--gelb); }
.kontakt-info svg { width: 16px; height: 16px; color: var(--gelb); flex: none; margin-top: .2em; }
.kontakt-info .merksatz { background: #1E1F24; border-left-color: var(--gelb); color: var(--weiss); margin: 0; }

/* Slogan-Konzept: Kicker über dem Hero-Logo + Slogan-Zeilen */
.hero-kicker {
  color: #D9DADE;
  font-size: .98rem;
  max-width: 480px;
  margin: 0 0 1.1rem;
}
.cta-kicker {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem; font-weight: 600;
  color: #3D3105;
  margin-bottom: .2rem;
}
@media (max-width: 760px) {
  .hero-kicker { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-slogan { text-align: center; }
}

/* ---------- Jobs / Bewerbung ---------- */
.stellen-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0 3rem; }
@media (max-width: 960px) { .stellen-liste { grid-template-columns: 1fr; } }
.stelle {
  background: var(--grau-bg);
  border-radius: var(--radius);
  border-top: 4px solid var(--gelb);
  padding: 1.6rem;
  display: flex; flex-direction: column; gap: .8rem; align-items: flex-start;
}
.stelle-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--schwarz); color: var(--gelb);
  border: 2px solid var(--gelb);
  display: flex; align-items: center; justify-content: center;
}
.stelle-icon svg { width: 22px; height: 22px; }
.stelle h2 { font-size: 1.02rem; margin: 0; flex: 1; }
.bewerbung-block { max-width: 860px; }
.bewerbung-block h2 { margin-bottom: 1.2rem; }
.feld select {
  width: 100%; box-sizing: border-box;
  padding: .75em .9em;
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius);
  background: var(--grau-bg);
  font: inherit; color: var(--text);
}
.feld select:focus { outline: none; border-color: var(--gelb); box-shadow: 0 0 0 3px rgba(217, 166, 43, .25); background: var(--weiss); }
.feld input[type="file"] { font: inherit; }


/* ---------- Navigation nach Vorlage: Farbzone + Seitenpanel ---------- */
.menu-zone {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(440px, 100%);   /* exakt so breit wie das aufgeklappte Panel */
  background: var(--gelb);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: flex-end; gap: .7rem;
  padding-right: clamp(24px, 3vw, 56px);
  color: var(--schwarz);
}
.menu-zone:hover { background: var(--gelb-dunkel); }
.menu-zone svg { width: 26px; height: 26px; }
.menu-zone-text {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .1em; font-size: 1rem; font-weight: 600;
}
@media (max-width: 960px) {
  .menu-zone { width: 240px; }
  .site-header .container { padding-right: 260px; }
}
@media (max-width: 560px) {
  .menu-zone { width: 130px; }
  .site-header .container { padding-right: 150px; }
}

.nav-backdrop {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(0,0,0,.35);
  opacity: 0; transition: opacity .25s;
}
.nav-backdrop.offen { opacity: 1; }

.seiten-menue {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(440px, 100%);
  background: var(--gelb);
  color: var(--schwarz);
  display: flex; flex-direction: column;
  padding: 0 clamp(24px, 4vw, 44px) 28px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .28s ease, visibility 0s linear .28s;
}
.seiten-menue.offen {
  transform: translateX(0);
  visibility: visible;
  transition: transform .28s ease;
}
body.menue-offen { overflow: hidden; }

.seiten-menue-kopf { display: flex; align-items: center; min-height: 130px; border-bottom: 2px solid var(--schwarz); }
.seiten-menue-schliessen {
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--schwarz);
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .1em; font-size: 1rem; font-weight: 600;
  padding: 0;
}
.seiten-menue-schliessen svg { width: 24px; height: 24px; }
.seiten-menue-schliessen:hover { color: var(--weiss); }

.seiten-menue-nav { flex: 1; overflow-y: auto; padding-top: 1.4rem; }
.seiten-menue-nav ul { list-style: none; margin: 0; padding: 0; }
.seiten-menue-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .05em; font-size: 1.5rem; font-weight: 700;
  color: var(--schwarz); text-decoration: none;
  padding: .55em 0;
}
.seiten-menue-nav a::after {
  content: "";
  width: 26px; height: 26px; flex: none;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12h15M13 6l6 6-6 6"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12h15M13 6l6 6-6 6"/></svg>') center / contain no-repeat;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .15s, transform .15s;
}
.seiten-menue-nav a:hover { color: var(--weiss); }
.seiten-menue-nav a:hover::after,
.seiten-menue-nav .current-menu-item > a::after,
.seiten-menue-nav .current_page_item > a::after { opacity: 1; transform: none; }
.seiten-menue-nav .current-menu-item > a,
.seiten-menue-nav .current_page_item > a { color: var(--weiss); }

.seiten-menue-fuss { border-top: 2px solid var(--schwarz); padding-top: 1.4rem; display: grid; gap: 1rem; }
.seiten-menue-fuss .btn { justify-content: center; }
.seiten-menue-fuss .social a { border-color: rgba(16,17,20,.4); color: var(--schwarz); }
.seiten-menue-fuss .social a:hover { border-color: var(--schwarz); color: var(--weiss); }

/* Header-Slogan (rechts neben dem Logo; Feinjustage via Customizer) */
.header-slogan-bild {
  display: inline-block;
  flex: none;                 /* nicht quetschen: mobil sauber in eigene Zeile umbrechen */
  width: 260px; height: auto;
  margin-left: 32px;
  transform-origin: left center;
}
@media (max-width: 960px) {
  /* Mobil: Slogan-Bild als eigene Zeile unter dem Logo */
  .site-header .container { flex-wrap: wrap; row-gap: 0; }
  .header-slogan-bild { margin-left: 0 !important; width: 180px; padding: 0 0 .7rem; }
}

/* Standard-Seiten (Impressum, Datenschutz, AGB …): Überschriften kompakt für Fließtext */
.page-template-default .content-bereich h2 {
  font-size: 1.25rem;
  letter-spacing: .04em;
  margin: 2.2rem 0 .6rem;
}
.page-template-default .content-bereich h2:first-child { margin-top: 0; }
.page-template-default .content-bereich h3 {
  font-size: 1.05rem;
  margin: 1.6rem 0 .4rem;
}
.page-template-default .content-bereich .container { max-width: 860px; }

/* ---------- Regionen-Darstellung statt Kundenlogos ---------- */
.referenzen-text, .referenzen-schluss {
  max-width: 760px; margin-left: auto; margin-right: auto; text-align: center;
}
.referenzen-schluss { margin-top: 2.4rem; color: var(--text-hell); font-size: .92rem; }
.regionen {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: 2.6rem; text-align: left;
}
@media (max-width: 1100px) { .regionen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .regionen { grid-template-columns: 1fr; } }
.region {
  background: var(--weiss);
  border-radius: var(--radius);
  border-top: 4px solid var(--gelb);
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.region-kuerzel {
  display: inline-block;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .14em; font-size: .8rem; font-weight: 700;
  color: var(--gelb-dunkel);
  margin-bottom: .6rem;
}
.region h3 { font-size: .95rem; margin: 0 0 .5rem; line-height: 1.35; }
.region p { margin: 0; font-size: .88rem; color: var(--text-hell); }

/* ---------- Projektkompetenz / Unterstützung / Zielgruppen ---------- */
.kompetenz { background: var(--grau-bg); }
.kompetenz-liste {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 2.5rem;
  max-width: 980px; margin-left: auto; margin-right: auto;
}
@media (max-width: 760px) { .kompetenz-liste { grid-template-columns: 1fr; } }
.kompetenz-liste li { display: flex; gap: .8em; align-items: flex-start; }
.kompetenz-liste svg { width: 20px; height: 20px; color: var(--gelb-dunkel); flex: none; margin-top: .15em; }
.claim-mitte { text-align: center; margin-top: 2.4rem; }

.unterstuetzung-text { max-width: 820px; margin: 0 auto; text-align: center; }
.unterstuetzung-text .claim { margin: 1.6rem 0; }

.zielgruppen { background: var(--grau-bg); }
.zielgruppen-liste {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
@media (max-width: 1100px) { .zielgruppen-liste { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .zielgruppen-liste { grid-template-columns: 1fr; } }
.zielgruppen-liste li {
  background: var(--weiss); border-radius: var(--radius);
  border-left: 3px solid var(--gelb);
  padding: .9rem 1.1rem; font-size: .92rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.werte-kopf { position: relative; z-index: 2; text-align: center; margin: 3.5rem 0 0; }
.werte-kopf h2 { color: var(--weiss); }
.werte-kopf .eyebrow { color: var(--gelb); }
.jub-timeline-titel { display: block; color: var(--gelb); margin: 2.4rem 0 -.6rem; }

/* ---------- Leistungsseiten: Intro und Akzentblock ---------- */
.leistung-seite .intro { font-size: 1.08rem; }
.leistung-seite .akzent-block {
  background: var(--grau-bg);
  border-left: 4px solid var(--gelb);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin: 2.4rem 0;
}
.leistung-seite .akzent-block h2 { margin-top: 0; }
.leistung-seite .akzent-block .merksatz { margin-bottom: 0; }

/* Kontaktseite: Eil-Hinweis und Infobox-Ergänzungen */
.eilig-hinweis {
  margin-top: 2.5rem; padding-top: 1.8rem;
  border-top: 1px solid var(--grau-linie);
}
.eilig-hinweis h2 { font-size: 1.15rem; margin-top: 0; }
.kontakt-info .info-titel {
  color: var(--weiss); font-size: .85rem; letter-spacing: .1em;
  margin: 1.6rem 0 .5rem;
}
.kontakt-info .info-adresse { color: var(--text-hell); margin: 0 0 1.4rem; line-height: 1.8; }

/* Jobs: Stellenkarten und Mehrfachauswahl */
.stelle-unterzeile {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .08em; font-size: .74rem; font-weight: 600;
  color: var(--gelb-dunkel);
}
.stelle p { font-size: .9rem; margin: .2rem 0 .6rem; }
.stelle-punkte { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .4rem; }
.stelle-punkte li { display: flex; gap: .6em; align-items: flex-start; font-size: .85rem; }
.stelle-punkte svg { width: 16px; height: 16px; color: var(--gelb-dunkel); flex: none; margin-top: .2em; }
.mehrfachauswahl { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: .6rem; }
.mehrfachauswahl .wahl {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-body); text-transform: none; letter-spacing: 0;
  font-size: .9rem; font-weight: 400; margin: 0;
}
.mehrfachauswahl input { accent-color: var(--gelb-dunkel); }

/* ---------- Mobile Kontaktleiste (immer erreichbar) ---------- */
.mobil-kontaktleiste { display: none; }
@media (max-width: 960px) {
  .mobil-kontaktleiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    display: grid; grid-template-columns: 1fr 1fr 1.5fr;
    background: var(--schwarz);
    box-shadow: 0 -4px 18px rgba(0,0,0,.28);   /* Trennung per Schatten statt 1px-Rand */
    padding-bottom: env(safe-area-inset-bottom);
    align-items: stretch;   /* keine Restzeile unter den Buttons */
    line-height: 0;         /* Zeilenhöhe der Inline-Boxen wirkt sonst als 1px-Kante */
  }
  .mobil-kontaktleiste a { line-height: 1.2; }
  .mobil-kontaktleiste a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .25rem; padding: .7rem .4rem;
    height: 100%; box-sizing: border-box;   /* Buttons füllen die Leiste exakt aus */
    color: var(--weiss); text-decoration: none;
    font-family: var(--font-head); text-transform: uppercase;
    letter-spacing: .06em; font-size: .7rem; font-weight: 600;
    border-right: 1px solid #26272C;
  }
  .mobil-kontaktleiste a:last-child { border-right: 0; }
  .mobil-kontaktleiste svg { width: 20px; height: 20px; color: var(--gelb); }
  .mobil-kontaktleiste .haupt { background: var(--gelb); color: var(--schwarz); }
  .mobil-kontaktleiste .haupt svg { color: var(--schwarz); }
  /* Platz schaffen, damit die Leiste nichts verdeckt */
  .site-footer { padding-bottom: 78px; }
  .seiten-menue { padding-bottom: 86px; }
}

/* Topbar: zentrierter Claim */
.topbar-claim {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem; font-weight: 600;
  color: var(--gelb);
  text-align: center;
}

/* ---------- Jubiläums-Intro: Konfetti + Popup (nur mobil) ---------- */
.plr-konfetti { display: none; }
.plr-popup { display: none; }

@media (max-width: 960px) {
  .plr-konfetti {
    position: fixed; left: 0; top: 0; z-index: 420;   /* über dem Popup, damit Konfetti davor fliegt */
    display: block; pointer-events: none;
    /* Canvas hat eine Eigengröße (300x150) – die muss explizit überschrieben werden */
    width: 100vw; height: 100vh;
    height: 100dvh;   /* füllt auch bei eingeblendeter Browserleiste bis zur Unterkante */
  }
  .plr-popup {
    position: fixed; inset: 0; z-index: 410;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(10, 10, 12, .82);
    opacity: 0;
    transition: opacity .45s ease;
  }
  .plr-popup[hidden] { display: none; }
  .plr-popup.sichtbar { opacity: 1; }
  .popup-inhalt {
    position: relative;
    width: 100%; max-width: 460px;
    background: var(--schwarz);
    border: 2px solid var(--gelb);
    border-radius: var(--radius);
    padding: 12px 12px 16px;
    transform: translateY(18px) scale(.97);
    transition: transform .45s cubic-bezier(.2, .9, .3, 1.1);
    max-height: 90vh; overflow-y: auto;
  }
  .plr-popup.sichtbar .popup-inhalt { transform: none; }
  .popup-inhalt img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius) - 2px); }
  .popup-inhalt .btn { width: 100%; justify-content: center; margin-top: 12px; box-sizing: border-box; }
  .popup-zu {
    position: absolute; top: 22px; right: 22px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(10,10,12,.72);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    border: 2px solid var(--gelb);
    color: var(--gelb); font-size: 1.05rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
  }
  .popup-zu:hover, .popup-zu:focus-visible { background: var(--gelb); color: var(--schwarz); }
  body.intro-laeuft { overflow: hidden; }
}

/* Systemeinstellung "Bewegung reduzieren" respektieren */
@media (prefers-reduced-motion: reduce) {
  .plr-popup, .popup-inhalt { transition-duration: .01ms; }
}
