/*
 * nock-abbruch – Template-CSS (von Hand gepflegt).
 *
 * Aufbau der Seiten im SP Page Builder:  Sektion → Zeile → Spalten (Breite im Editor, z. B. 8 + 4) → Elemente.
 * Das LAYOUT (Spaltenbreiten, Umbrüche je Gerät, Hintergrundbild, senkrechte Mitte) steht im Page Builder.
 * Dieses CSS macht nur die GESTALTUNG der Klassen, die an Sektionen/Spalten/Elementen eingetragen sind
 * (Sektion bzw. Spalte → Erweitert → CSS-Klasse), dazu Innenabstände und Spaltenabstände (--spalt / --zeile).
 * Keine Breiten-Overrides für Spalten.
 *
 *  1. Page Builder – Grundlagen   2. Grundschriften, Kopf, Navigation, Fuß (aus der Vorlage übernommen)
 *  3. … 11. Bereiche der Seiten (Seitenkopf, Leistungsseiten, Galerie, Startseite, Mietsortiment, …)
 */
/* ==========================================================================
   1. Page Builder – Grundlagen
   Layout = Page Builder: Sektion → Zeile → Spalten mit Breiten aus dem Editor (z. B. 8 + 4).
   Hier steht nur, was der Page Builder nicht als Einstellung hat: Inhaltsbreite, Spaltenabstand,
   und die Rücknahme von Vorgaben, die mit der Gestaltung kollidieren.
   ========================================================================== */

/* Inhaltsbreite wie die Vorlage: max. 1240 px, Rand 5,5 % (Tablet/Handy 6 %) */
:root { --rand: max(5.5%, calc((100% - 1240px) / 2)); }
@media (max-width: 850px) { :root { --rand: 6%; } }
.sppb-section > .sppb-row-container { max-width: none; padding-left: var(--rand); padding-right: var(--rand); }

/* Spaltenabstand je Sektion über --spalt (waagerecht) und --zeile (umbrochene Spalten); Standard wie Page Builder */
.sppb-section .sppb-row { margin-left: calc(var(--spalt, 30px) / -2); margin-right: calc(var(--spalt, 30px) / -2); row-gap: var(--zeile, 0px); }
.sppb-section .sppb-row-column { padding-left: calc(var(--spalt, 30px) / 2); padding-right: calc(var(--spalt, 30px) / 2); }

/* Abstände zwischen Elementen kommen aus den Texten selbst (Überschrift, Absatz) – Clearfix-Hilfen würden sie verdoppeln */
.sppb-section [id^="sppb-addon-"].clearfix::before, .sppb-section [id^="sppb-addon-"].clearfix::after,
.sppb-addon-single-image::before, .sppb-addon-single-image::after { content: none; }

/* Überschrift-Element: Page Builder setzt inline-block – dann fallen die Abstände zum nächsten Absatz nicht zusammen */
.sppb-addon-title { display: block; }

/* Bild-Element füllt seine Spalte */
.sppb-addon-single-image-container { display: block; }
.sppb-addon-single-image .sppb-img-responsive { display: block; width: 100%; }

/* Button-Element (Typ „Benutzerdefiniert“, Farben leer): Grundwerte des Page Builders zurücknehmen,
   die Gestaltung kommt aus der Klasse (button, more-link, text-link …) */
.sppb-btn { padding: 0; border: 0; border-radius: 0; font-size: inherit; font-weight: inherit; line-height: inherit;
  white-space: normal; vertical-align: baseline; text-align: inherit; user-select: auto; transition: none; color: inherit; }
.sppb-btn:focus { box-shadow: none; outline: revert; }


/* ==========================================================================
   2. Grundschriften, Kopf, Navigation, Fuß, Pre-Footer (Modul „Weitere Leistungen“), Breadcrumb
   Unverändert aus der Vorlage (style.css) übernommen – gilt für das Template-Markup in index.php.
   ========================================================================== */
:root { --orange:#efa331; --ink:#212629; --grey:#626a6e; --paper:#f3f4f3; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:95px; }
body { margin:0; font-family:Arial,Helvetica,sans-serif; color:var(--ink); font-size:16px; line-height:1.6; }
a { color:inherit; text-decoration:none; }
button, input, select, textarea { font:inherit; }
button, a, input, textarea, select, summary { outline-offset:5px; }
header { height:94px; background:white; display:flex; align-items:center; justify-content:space-between; padding:0 5.5%; position:sticky; top:0; z-index:20; border-bottom:1px solid #e6e7e7; }
.brand img { width:245px; max-height:68px; }
nav { display:flex; align-items:center; gap:32px; font-size:14px; font-weight:700; }
.button { display:inline-flex; align-items:center; justify-content:center; background:var(--orange); color:var(--ink); padding:16px 26px; border:0; font-weight:700; font-size:16px; cursor:pointer; transition:background .2s; }
.button:hover { background:#ffb948; }
.button.small { padding:12px 20px; font-size:14px; }
.menu { display:none; }
.eyebrow { font-size:12px; letter-spacing:2px; font-weight:700; color:var(--orange); margin:0 0 24px; }
.eyebrow.dark { color:#96600d; }
h1 { font-size:clamp(54px,6.5vw,92px); line-height:1.02; letter-spacing:-4px; margin:0 0 25px; font-weight:800; }
h1 span { color:var(--orange); }
h2 { font-size:clamp(36px,4vw,56px); line-height:1.12; letter-spacing:-2px; margin:0 0 25px; }
h3 { font-size:24px; line-height:1.25; letter-spacing:-.6px; }
details[open] .plus { transform:rotate(45deg); color:#b36e0d; }
.text-link { display:inline-block; margin-top:28px; color:var(--orange); border-bottom:1px solid var(--orange); font-size:14px; }
form { background:white; padding:35px; }
form h3 { margin:0 0 25px; }
label { display:block; font-size:13px; font-weight:700; margin:0 0 15px; }
input, select, textarea { display:block; width:100%; border:1px solid #d6dada; border-radius:0; background:#fafbfa; color:var(--ink); padding:12px; font-size:16px; margin-top:6px; }
textarea { resize:vertical; }
.button.black { background:var(--ink); color:white; width:100%; font-size:14px; }
.button.black:hover { background:#3b4549; }
#form-status { font-size:13px; }
footer { padding:45px 7% 22px; }
.footer-top { display:flex; align-items:center; justify-content:space-between; gap:30px; margin-bottom:38px; }
.footer-top img { width:230px; }
.footer-top p { color:var(--grey); font-size:14px; }
.footer-top>a { font-size:13px; }
.footer-bottom { border-top:1px solid #ddd; padding-top:20px; font-size:12px; color:var(--grey); display:flex; justify-content:space-between; gap:20px; }
.footer-bottom div { display:flex; gap:24px; }
@media(max-width:850px) {
  header { height:78px; padding:0 5%; }
  .brand img { width:200px; }
  .menu { display:block; background:none; border:1px solid #ddd; padding:8px 12px; font-size:14px; }
  nav { display:none; position:absolute; top:78px; left:0; right:0; background:white; padding:24px; flex-direction:column; align-items:stretch; gap:20px; }
  nav.open { display:flex; }
  h1 { letter-spacing:-2.5px; }
  .footer-top { flex-wrap:wrap; }
}
@media(max-width:550px) {
  h1 { font-size:58px; }
  .eyebrow { font-size:11px; letter-spacing:1.2px; max-width:270px; }
  form { padding:24px; }
  .footer-top { display:block; }
  .footer-bottom { flex-direction:column; }
  .footer-bottom div { gap:20px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  * { transition:none!important; }
}
.more-link { display:inline-block; border-bottom:2px solid var(--orange); padding:4px 0; font-size:15px; font-weight:700; }
.more-link:hover { color:#96600d; }
.breadcrumb { display:flex; flex-wrap:wrap; gap:10px; color:var(--grey); font-size:13px; margin-bottom:45px; }
.breadcrumb a:hover { text-decoration:underline; }
.service-other>h2 { font-size:32px; letter-spacing:-1px; }
.service-other { padding:55px 7%; background:var(--ink); color:white; }
.service-other nav { display:flex; position:static; background:transparent; flex-wrap:wrap; gap:20px 28px; font-size:15px; font-weight:400; padding:0; }
.service-other .text-link { margin-top:30px; }
@media(max-width:850px) {
  .service-other { padding-left:6%; padding-right:6%; }
}
@media(max-width:600px) {
  .breadcrumb { margin-bottom:30px; }
  .service-other nav { flex-direction:column; align-items:start; gap:18px; }
  .service-other>h2 { font-size:28px; }
}
header .menu { align-items:center; justify-content:center; gap:12px; color:var(--ink); background:#fff; cursor:pointer; min-height:44px; }
.menu-lines { display:flex; flex-direction:column; gap:5px; width:21px; }
.menu-lines>span { display:block; width:21px; height:2px; background:currentColor; }
header .nav-services { position:relative; }
header .nav-services>summary { display:flex; align-items:center; gap:10px; cursor:pointer; list-style:none; min-height:44px; }
header .nav-services>summary::-webkit-details-marker { display:none; }
.nav-chevron { width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); transition:transform .15s; }
header .nav-services[open] .nav-chevron { transform:rotate(225deg); }
.nav-service-links { position:absolute; top:100%; left:-18px; width:330px; padding:10px; background:#fff; border:1px solid #ddd; box-shadow:0 12px 25px #0002; z-index:30; }
.nav-service-links>a { display:block; padding:11px 12px; font-size:14px; line-height:1.4; font-weight:500; white-space:normal; }
.nav-service-links>a:hover, .nav-service-links>a:focus-visible { background:var(--paper); color:#8b570a; }
@media(max-width:850px) {
  header .menu { display:flex; }
  header nav.open { max-height:calc(100dvh - 78px); overflow-y:auto; }
  header .nav-services>summary { justify-content:space-between; width:100%; }
  .nav-service-links { position:static; width:auto; box-shadow:none; margin-top:8px; border:0; border-left:3px solid var(--orange); background:var(--paper); padding:5px 0 5px 10px; }
  .nav-service-links>a { padding:12px; font-size:15px; }
  header nav { gap:14px; }
}
header .menu-lines>span { background:#000!important; }
header .nav-company { position:relative; }
header .nav-company>summary { display:flex; align-items:center; gap:10px; cursor:pointer; list-style:none; min-height:44px; }
header .nav-company>summary::-webkit-details-marker { display:none; }
header .nav-company[open] .nav-chevron { transform:rotate(225deg); }
.nav-company-links { position:absolute; top:100%; left:-18px; width:235px; padding:10px; background:#fff; border:1px solid #ddd; box-shadow:0 12px 25px #0002; z-index:30; }
.nav-company-links>a { display:block; padding:11px 12px; font-size:14px; line-height:1.4; font-weight:500; }
.nav-company-links>a:hover, .nav-company-links>a:focus-visible { background:var(--paper); color:#8b570a; }
@media(max-width:850px) {
  header .nav-company>summary { justify-content:space-between; width:100%; }
  .nav-company-links { position:static; width:auto; box-shadow:none; margin-top:8px; border:0; border-left:3px solid var(--orange); background:var(--paper); padding:5px 0 5px 10px; }
  .nav-company-links>a { padding:12px; font-size:15px; }
}
:root { color-scheme:only light; --paper:#fff; --ink:#212629; --grey:#535c61; }
html, body { background:#fff; color:var(--ink); }
header, footer, .service-other, form { background:#fff; color:var(--ink); }
.service-other .text-link { color:#8a5506; }
.service-other .text-link { border-color:#b97712; }
.service-other { border-top:1px solid #e0e2e3; border-bottom:1px solid #e0e2e3; }
header nav, .nav-service-links, .nav-company-links { background:#fff; }
input, select, textarea { background:#fff; }
header .nav-service-links, header .nav-company-links { background:#333; color:#fff; border-color:#484848; color-scheme:only light; }
header .nav-service-links>a, header .nav-company-links>a { color:#fff; border-bottom:1px solid #ffffff15; }
header .nav-service-links>a:last-child, header .nav-company-links>a:last-child { border-bottom:0; }
header .nav-service-links>a:hover, header .nav-service-links>a:focus-visible, header .nav-company-links>a:hover, header .nav-company-links>a:focus-visible { background:#454545; color:#fff; }
@media(max-width:850px) {
  header nav.open { background:#333; color:#fff; border:1px solid #484848; box-shadow:0 12px 24px #0003; }
  header nav.open>a:not(.button), header nav.open summary { color:#fff; }
  header nav.open>.nav-services, header nav.open>.nav-company { border-bottom:1px solid #ffffff20; padding-bottom:12px; }
  header nav.open .nav-service-links, header nav.open .nav-company-links { background:#292929; color:#fff; border-left-color:#efa331; }
  header nav.open>a:not(.button) { border-bottom:1px solid #ffffff20; padding:10px 0; }
  header nav.open .nav-chevron { border-color:#fff; }
}
:root { --orange:#eca040; }
@media(min-width:851px) {
  :root { --desktop-gutter:max(5.5%,calc((100% - 1240px)/2)); }
  header { height:100px; padding-left:var(--desktop-gutter); padding-right:var(--desktop-gutter); gap:30px; }
  header .brand { flex:none; display:flex; align-items:center; }
  header .brand img { width:250px; }
  header #main-navigation { gap:26px; flex-wrap:nowrap; }
  header #main-navigation>a, header summary { white-space:nowrap; }
  header .nav-service-links { width:350px; max-height:calc(100vh - 130px); overflow-y:auto; }
  header .nav-company-links { width:245px; }
  h2 { font-size:clamp(38px,3.5vw,52px); line-height:1.14; }
  .breadcrumb { margin-bottom:30px; }
  .service-other { padding:48px var(--desktop-gutter); }
  .service-other nav { max-width:1240px; line-height:1.8; gap:18px 30px; }
  footer { padding:52px var(--desktop-gutter) 26px; }
  .footer-top { gap:48px; }
  .footer-bottom { align-items:center; }
  .footer-top img { width:250px; }
}
@media(min-width:851px) and (max-width:1100px) {
  header { gap:18px; padding-left:4%; padding-right:4%; }
  header .brand img { width:200px; }
  header #main-navigation { gap:16px; font-size:13px; }
  header .button.small { padding:12px 14px; font-size:13px; }
}
.footer-bottom>div { flex-wrap:wrap; }

/* ==========================================================================
   3. Seitenkopf (alle Unterseiten) und Breadcrumb-Leiste (Modul „Breadcrumbs“)
   ========================================================================== */
.service-page-head { padding: 40px 0 52px; background: #fff; }
.service-page-head h1 { font-size: clamp(44px, 4.5vw, 64px); letter-spacing: -2px; line-height: 1.12; margin: 0; overflow-wrap: normal; }
.service-page-head .eyebrow { max-width: none; }
.rental-page .service-page-head { padding-bottom: 46px; }
.rental-page .service-page-head h1 { font-size: clamp(44px, 4.6vw, 64px); }
/* Breadcrumb-Leiste (Template, über dem Page-Builder-Inhalt): gleicher Rand wie der Seitenkopf */
.breadcrumb-leiste { padding: 40px var(--rand) 0; background: #fff; }
.breadcrumb-leiste .breadcrumb { margin-bottom: 30px; }
.rental-page .breadcrumb-leiste .breadcrumb { margin-bottom: 28px; }
main:has(> .breadcrumb-leiste) .sppb-section.service-page-head { padding-top: 0; }
@media (max-width: 850px) {
  .service-page-head { padding: 35px 0 55px; }
  .breadcrumb-leiste { padding-top: 35px; }
}
@media (max-width: 600px) {
  .service-page-head h1 { font-size: 38px; overflow-wrap: anywhere; }
  .breadcrumb-leiste .breadcrumb { margin-bottom: 30px; }
}

/* ==========================================================================
   4. Leistungsseiten: Fließtext (8 Spalten) + Kontaktkachel (4 Spalten)
   ========================================================================== */
.service-page-content { --spalt: 64px; --zeile: 30px; padding: 56px 0 64px; background: #fff; }
.service-page-content.abstand-unten-klein { padding-bottom: 18px; }
.service-page-content.abstand-oben-klein { padding-top: 8px; }
.service-page-content .sppb-row { align-items: flex-start; }
.rental-page .service-page-content { --spalt: 48px; padding: 48px 0 64px; }
.rental-page .service-page-content.abstand-unten-klein { padding-bottom: 18px; }
.rental-page .service-page-content.abstand-oben-klein { padding-top: 8px; }

.service-prose { font-size: 18px; line-height: 1.85; }
.service-prose p { margin: 0 0 25px; }
.service-prose ul, .service-prose ol { padding-left: 25px; margin: 0 0 30px; }
.service-prose li { padding: 3px 0; }
.service-prose h2 { font-size: 34px; letter-spacing: -1px; }
.rental-page .service-prose h2 { font-size: 38px; }

.service-contact { background: #f3f4f4; color: #212629; padding: 30px; border: 1px solid #d9dddf; border-top: 4px solid #eca040; }
.service-contact h2 { font-size: 27px; letter-spacing: -.6px; color: inherit; }
.service-contact p { font-size: 15px; color: #535c61; }
.service-contact .sppb-addon-content > a:not(.button) { display: block; margin-top: 18px; font-size: 15px; overflow-wrap: anywhere; color: inherit; }

/* Unternehmen, Rechtstexte */
.company-prose h2 { font-size: 28px; letter-spacing: -.7px; line-height: 1.3; margin-top: 45px; }
.company-prose .sppb-addon-wrapper:first-child h2 { margin-top: 0; }
.company-prose h3 { font-size: 22px; }
.company-prose a { color: #8b570a; text-decoration: underline; }
.legal-prose { overflow-wrap: anywhere; }
.legal-prose h2 { font-size: 30px; line-height: 1.3; letter-spacing: -.6px; margin: 48px 0 22px; }
.legal-prose .sppb-addon-wrapper:first-child h2 { margin-top: 0; }
.legal-prose h3 { font-size: 23px; line-height: 1.4; margin: 30px 0 16px; }
.legal-prose h4 { font-size: 19px; line-height: 1.5; margin: 25px 0 14px; }
.legal-prose a { color: #8a5506; text-decoration: underline; text-underline-offset: 3px; }

/* Technische Daten (Mietgeräte) */
.product-specifications { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.5; }
.product-specifications th, .product-specifications td { padding: 17px 20px; text-align: left; border-bottom: 1px solid #d9dddf; }
.product-specifications th { font-weight: 600; width: 52%; }
.product-specifications tr:nth-child(odd) { background: #f3f4f4; }
@media (max-width: 600px) {
  .product-specifications { font-size: 16px; }
  .product-specifications th, .product-specifications td { padding: 14px 12px; }
}

@media (max-width: 1100px) { .service-page-content { --spalt: 32px; } }
@media (max-width: 850px) {
  .service-page-content { padding: 45px 0; }
  .service-prose h2 { font-size: clamp(30px, 6vw, 36px); }
}
@media (max-width: 600px) {
  .service-prose { font-size: 17px; }
  .legal-prose h2 { font-size: 26px; }
  .legal-prose h3 { font-size: 21px; }
  .legal-prose h4 { font-size: 18px; }
}

/* ==========================================================================
   5. Bildergalerien (Galerie-Element des Page Builders)
   Raster der Bildliste im Element; Lightbox kommt vom Page Builder.
   ========================================================================== */
.service-gallery-section { padding: 12px 0 72px; background: #fff; }
.service-gallery-section h2 { font-size: 32px; letter-spacing: -1px; }
.certificates-only .service-gallery-section { padding-top: 50px; }

.service-gallery .sppb-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.service-gallery .sppb-gallery::before, .service-gallery .sppb-gallery::after { content: none; }
.service-gallery .sppb-gallery li { float: none; display: block; margin: 0; min-width: 0; }
.service-gallery .sppb-gallery a { display: block; background: #fff; }
/* Breite/Höhe der Bilder: Das Galerie-Element setzt per ID „width:auto“ – Raster der Vorlage braucht volle Breite */
.service-gallery .sppb-gallery img { display: block; width: 100% !important; height: 300px; object-fit: contain; background: #fff; }
.service-gallery .sppb-gallery-desc { font-size: 13px; color: #535c61; padding-top: 8px; line-height: 1.6; text-align: left; }
.abbruch-gallery .sppb-gallery li:first-child { grid-column: 1 / -1; }
.abbruch-gallery .sppb-gallery li:first-child img { height: 520px; }
.certificate-gallery .sppb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.certificate-gallery .sppb-gallery img { height: auto; }
/* Einzelnes Symbolbild (Industrieklettern) */
.service-gallery .sppb-gallery li:only-child img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 48%; }

@media (max-width: 1099px) {
  .service-gallery .sppb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-gallery .sppb-gallery img { height: 360px; }
}
@media (max-width: 850px) {
  .service-gallery .sppb-gallery { gap: 16px; }
  .service-gallery .sppb-gallery img { height: auto; max-height: 480px; }
  .abbruch-gallery .sppb-gallery li:first-child img { height: auto; }
}
@media (max-width: 600px) {
  .service-gallery .sppb-gallery { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6. Startseite
   ========================================================================== */

/* --- Hero: Foto als Hintergrund der Sektion (Einstellung im Page Builder), Verlauf darüber --- */
/* Hintergrundbild, Bildausschnitt und senkrechte Mitte sind Einstellungen der Sektion im Page Builder */
.hero-company { position: relative; isolation: isolate; color: #fff; background-color: #212629; min-height: 680px; }
.hero-company::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9, 15, 18, .83), rgba(9, 15, 18, .65) 46%, rgba(9, 15, 18, .14) 100%); }
.hero-company > .sppb-row-container { width: 100%; padding-top: 80px; padding-bottom: 84px; }
.hero-company h1 { font-size: clamp(64px, 5.5vw, 84px); line-height: 1.05; margin-bottom: 30px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.hero-company h1 span, .hero-company .eyebrow { color: #eca040; }
.hero-company .eyebrow { font-size: 12px; letter-spacing: 1.6px; }
.hero-description { font-size: 18px; line-height: 1.8; color: #f3f4f5; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.hero-description p { margin: 0 0 23px; }
.hero-company .hero-contact-button { background: #a62117; color: #fff; margin-top: 12px; padding: 17px 25px; font-weight: 700; text-align: center; max-width: 100%; }
.hero-company .hero-contact-button:hover, .hero-company .hero-contact-button:focus-visible { background: #85190f; color: #fff; }
@media (max-width: 850px) {
  .hero-company { min-height: 0; }
  .hero-company::before { background: linear-gradient(90deg, rgba(9, 15, 18, .76), rgba(9, 15, 18, .56) 65%, rgba(9, 15, 18, .30)); }
  .hero-company > .sppb-row-container { padding-top: 65px; padding-bottom: 60px; }
  .hero-company h1 { font-size: clamp(48px, 6vw, 80px); letter-spacing: -2.5px; }
}
@media (max-width: 550px) {
  .hero-company::before { background: rgba(9, 15, 18, .61); }
  .hero-company > .sppb-row-container { padding-top: 42px; padding-bottom: 42px; }
  .hero-company h1 { font-size: 48px; letter-spacing: -2px; }
  .hero-company .eyebrow { font-size: 11px; line-height: 1.8; }
  .hero-description { font-size: 17px; line-height: 1.7; }
}

/* --- Abschnitte „Leistungen“ und „Ablauf“: Kopf (eigene Sektion) + Karten/Schritte (eine Zeile, Spalten brechen um) --- */
.section { padding: 88px 0 0; background: #fff; }
.section-top { --spalt: 64px; padding-bottom: 42px; }
.section-top .sppb-row { align-items: flex-end; }
.section-top-text p { color: #535c61; margin: 0 0 6px; font-size: 17px; line-height: 1.8; }
.steps-intro { padding-bottom: 25px; }

.services { --spalt: 36px; --zeile: 44px; padding: 0 0 88px; background: #fff; }
.services .sppb-row { align-items: stretch; }
.service-card { height: 100%; display: flex; flex-direction: column; background: #f3f4f4; border: 1px solid #d9dddf; border-top: 3px solid #eca040;
  border-radius: 5px; padding: 24px; }
.service-card > .sppb-column-addons { display: flex; flex-direction: column; flex: 1; gap: 26px; }
.service-card .sppb-addon-wrapper:last-child { margin-top: auto; }
.service-card .service-photo img { height: 270px; object-fit: cover; background: #e9eceb; }
.service-photo-abbruch img, .service-photo-erdarbeiten img { object-position: 50% 50%; }
.service-photo-baustoff-recycling img { object-position: 50% 43%; }
.service-photo-industrieklettern img { object-position: 50% 57%; }
.service-photo-maschinistenvermietung img { object-position: 50% 48%; }
/* Bildhinweis („Symbolbild“) liegt unten links auf dem Foto */
.service-card .sppb-addon-wrapper:has(.image-label) { position: relative; z-index: 1; margin: -58px 0 0 8px; align-self: flex-start; }
.image-label { display: block; background: #212629dd; color: #fff; padding: 2px 6px; font-size: 12px; line-height: 1.6; }
.service-card .num { display: block; color: #8a5506; font-size: 15px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.service-card h3 { font-size: 27px; line-height: 1.25; margin: 0 0 14px; color: #212629; }
.service-card p { font-size: 16px; line-height: 1.75; margin: 0; color: #535c61; }
.service-card .more-link { color: #212629; }

.steps { --spalt: 26px; --zeile: 26px; padding: 0 0 88px; background: #fff; }
.steps .sppb-row { align-items: stretch; }
.step { height: 100%; background: #f3f4f4; border: 1px solid #d9dddf; border-top: 4px solid #eca040; border-radius: 5px; padding: 28px; }
.step span { display: block; color: #8a5506; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: 1px; margin-bottom: 18px; }
.step h3 { color: #212629; margin: 0 0 18px; font-size: 24px; line-height: 1.3; }
.step p { color: #535c61; margin: 0; line-height: 1.75; font-size: 16px; }

@media (max-width: 1100px) { .service-card .service-photo img { height: 230px; } }
@media (max-width: 850px) {
  .section { padding-top: 60px; }
  .section-top { padding-bottom: 45px; }
  .section-top-text p { margin-top: 20px; }
  .services, .steps { padding-bottom: 60px; }
  .step { padding: 24px; }
  .step h3 { font-size: 20px; }
}
@media (max-width: 600px) {
  .services { --zeile: 20px; }
  .service-card { padding: 20px; }
  .service-card > .sppb-column-addons { gap: 20px; }
  .service-card .service-photo img { height: auto; aspect-ratio: 3 / 2; }
  .service-card h3 { font-size: 25px; }
  .step h3 { font-size: 23px; }
}

/* --- Recycling-Teaser: Foto | Text (6 + 6) --- */
.recycling-teaser { --spalt: 52px; --zeile: 30px; padding: 64px 0 80px; background: #fff; border-top: 1px solid #e1e4e5; }
.recycling-teaser .sppb-row { align-items: center; }
.recycling-teaser-photo img { height: 430px; object-fit: cover; object-position: 50% 43%; }
.recycling-teaser .eyebrow { color: #8a5506; }
.recycling-teaser-copy h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -1.4px; }
.recycling-teaser-copy p:not(.eyebrow) { color: #535c61; margin: 0 0 26px; font-size: 18px; line-height: 1.75; }
.recycling-details-link { display: inline-block; border: 2px solid #eca040; color: #eca040; padding: 13px 20px; font-size: 17px; font-weight: 700;
  line-height: 1.6; max-width: 100%; text-align: center; }
@media (max-width: 767px) {
  .recycling-teaser { padding: 40px 0 55px; }
  .recycling-teaser-photo img { height: auto; aspect-ratio: 4 / 3; }
  .recycling-teaser-copy h2 { font-size: 34px; }
}

/* --- Kontakt: Text | Formular (6 + 6) --- */
#kontakt.contact { --spalt: 70px; --zeile: 35px; padding: 80px 0; background: #a62117; color: #fff; }
#kontakt.contact .sppb-row { align-items: flex-start; }
#kontakt.contact .eyebrow, #kontakt.contact h2, #kontakt.contact p, #kontakt.contact .contact-intro a { color: #fff; }
#kontakt.contact h2 { font-size: clamp(40px, 4vw, 56px); line-height: 1.15; letter-spacing: -1.5px; overflow-wrap: normal; }
#kontakt.contact .contact-intro p:not(.eyebrow):not(.address) { font-size: 18px; line-height: 1.75; }
.contact-phone { display: block; font-size: 38px; font-weight: 700; margin-top: 35px; letter-spacing: -1px; }
.contact-email { border-bottom: 1px solid #ffffff80; }
.address { margin-top: 35px; font-size: 14px; }
#kontakt.contact form { background: #fff; color: #212629; padding: 36px; border: 0; }
#kontakt.contact form h3, #kontakt.contact form label { color: #212629; }
#kontakt.contact .form-note, #kontakt.contact #form-status { color: #535c61; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-note { font-size: 12px; }
.form-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #d5d9da; }
.contact .form-social-link { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 16px;
  border: 1px solid #363d45; background: #fff; color: #363d45 !important; font-size: 15px; font-weight: 700; line-height: 1.4; }
.contact .form-social-link.social-whatsapp { flex-basis: 100%; }
.form-social-link svg { width: 24px; height: 24px; flex: none; }
.social-whatsapp svg { color: #128c4a; }
.social-facebook svg { color: #1877f2; }
.social-instagram svg { color: #c13584; }
.contact .form-social-link:hover { background: #f2f3f3; }
.contact .form-social-link:focus-visible { outline: 3px solid #eca040; outline-offset: 3px; }
@media (max-width: 1100px) { #kontakt.contact { --spalt: 32px; } #kontakt.contact form { padding: 26px; } }
@media (max-width: 850px) { #kontakt.contact { padding: 55px 0; } #kontakt.contact h2 { font-size: clamp(36px, 4.3vw, 58px); } .contact-phone { font-size: 32px; } }
@media (max-width: 650px) { #kontakt.contact form { padding: 24px; } }
@media (max-width: 550px) { #kontakt.contact h2 { font-size: 38px; letter-spacing: -1px; } .contact-phone { font-size: 29px; } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ==========================================================================
   7. Baustoffrecycling: Ergebnisse (Kopf + Kacheln 6 + 6)
   ========================================================================== */
.recycling-outcomes { padding: 10px 0 38px; background: #fff; }
.recycling-outcomes-heading h2 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 0; }
.recycling-blocks { --spalt: 28px; --zeile: 28px; padding: 0 0 72px; background: #fff; }
.recycling-blocks .sppb-row { align-items: stretch; }
.recycling-block { height: 100%; background: #f3f4f4; color: #212629; padding: 32px; border: 1px solid #d9dddf; border-top: 4px solid #eca040; }
.recycling-block h3 { font-size: 26px; margin: 0 0 18px; line-height: 1.3; letter-spacing: -.5px; color: inherit; }
.recycling-block p { margin: 0; color: #535c61; font-size: 17px; line-height: 1.75; }
@media (max-width: 650px) {
  .recycling-blocks { --zeile: 18px; padding-bottom: 55px; }
  .recycling-block { padding: 25px; }
  .recycling-block h3 { font-size: 23px; }
}

/* ==========================================================================
   8. Mietsortiment
   ========================================================================== */
/* Kategorien: vier Kacheln, ganze Kachel klickbar (Link in der Überschrift) */
.rental-categories { --spalt: 20px; --zeile: 20px; padding: 24px 0 12px; background: #fff; }
.rental-categories .sppb-row { align-items: stretch; }
.rental-category { position: relative; height: 100%; display: flex; flex-direction: column; min-height: 240px; padding: 28px 24px;
  background: #f3f4f4; color: #363d45; border: 1px solid #d9dddf; border-top: 4px solid #eca040; transition: border-color .15s, box-shadow .15s; }
.rental-category > .sppb-column-addons { display: flex; flex-direction: column; flex: 1; }
.rental-category .sppb-addon-wrapper:last-child { margin-top: auto; }
.rental-category:hover { background: #ecefee; border-color: #eca040; box-shadow: 0 8px 24px #0000000c; }
.rental-category:focus-within { outline: 3px solid #eca040; outline-offset: 4px; }
.rental-icon .sppb-img-responsive { width: 52px; height: 52px; margin-bottom: 24px; }
.rental-category h2 { font-size: 25px; line-height: 1.2; letter-spacing: -.5px; margin: 0 0 24px; overflow-wrap: anywhere; color: inherit; }
.rental-category h2 a { color: inherit; }
.rental-category h2 a::after { content: ""; position: absolute; inset: 0; }
.rental-category span { font-size: 15px; font-weight: 700; }
@media (max-width: 1199px) { .rental-categories { --spalt: 24px; --zeile: 24px; } .rental-category { padding: 32px; min-height: 230px; } .rental-category h2 { font-size: 28px; } }
@media (max-width: 700px) { .rental-categories { --zeile: 18px; padding-top: 32px; } .rental-category { min-height: 190px; padding: 26px; } .rental-category h2 { font-size: 26px; } }

/* Eine Maschine: Foto | Daten (6 + 6), die Sektion ist die Karte */
.rental-inventory { padding: 24px 0 0; background: #fff; }
.rental-inventory.rental-machine > .sppb-row-container > .sppb-row { --spalt: 0px; margin: 0; background: #f3f4f4; border: 1px solid #d5d9da; border-radius: 8px; overflow: hidden; }
.rental-inventory.rental-machine .sppb-row-column { padding: 0; }
.rental-machine-photo { height: 100%; display: flex; align-items: center; justify-content: center; position: relative; border-right: 1px solid #edf0f1; padding: 36px; background: #f3f4f4; }
.rental-machine-photo .sppb-column-addons { width: 100%; }
.rental-machine-photo img { height: 500px; object-fit: contain; mix-blend-mode: multiply; }
.rental-image-note { position: absolute; bottom: 10px; left: 16px; font-size: 12px; color: #535c61; }
.rental-machine-info { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.rental-machine-info h2 { font-size: 34px; line-height: 1.2; letter-spacing: -.8px; margin: 12px 0 30px; }
.rental-machine-info h2 a { color: inherit; }
.rental-machine-info h2 a:hover { color: #a66a18; }
.rental-machine-info .button { min-width: 200px; }
.rental-rates { margin: 0 0 30px; }
.rental-rates > div { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid #d5d9da; }
.rental-rates dt { font-size: 17px; }
.rental-rates dd { margin: 0; font-size: 22px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rental-rates dd span { font-size: 16px; font-weight: 400; }
.rental-article-number { font-size: 14px; line-height: 1.5; color: #535c61; letter-spacing: .2px; font-variant-numeric: tabular-nums; text-align: right; margin: 0 0 16px; }

/* Liste: Karten 6 + 6 (Foto, Artikelnummer, Name, Preise, Button untereinander) */
.rental-list { --spalt: 24px; --zeile: 24px; }
.rental-list .sppb-row { align-items: stretch; }
.rental-list .rental-machine { height: 100%; display: flex; flex-direction: column; background: #f3f4f4; border: 1px solid #d5d9da; border-radius: 4px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s; }
.rental-list .rental-machine:hover { border-color: #eca040; box-shadow: 0 10px 28px #2126290b; }
.rental-list .rental-machine > .sppb-column-addons { display: flex; flex-direction: column; flex: 1; padding: 0 24px 24px; }
.rental-list .rental-machine .sppb-addon-wrapper:last-child { margin-top: auto; }
.rental-list .rental-machine-photo { margin: 0 -24px; padding: 0; border: 0; height: auto; display: block; background: #e9ebeb; border-bottom: 1px solid #d5d9da; }
.rental-list .rental-machine-photo img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; }
.rental-list .rental-article-number { margin: 10px 0 0; }
.rental-list h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.8px; margin: 4px 0 18px; }
.rental-list .rental-rates { margin-bottom: 22px; }
.rental-list .rental-rates > div { padding: 12px 0; }
.rental-list .button { align-self: flex-start; }

/* Rücklink unter Maschine/Liste */
.rental-more { padding: 18px 0 72px; background: #fff; }
.rental-more .text-link { margin-top: 0; }

@media (max-width: 1000px) {
  .rental-machine-info { padding: 28px 22px; }
  .rental-rates > div { gap: 10px; }
  .rental-rates dt { font-size: 15px; }
  .rental-rates dd { font-size: 19px; }
}
@media (max-width: 767px) {
  .rental-inventory { padding-top: 12px; }
  .rental-machine-photo { border-right: 0; padding: 20px 20px 30px; height: auto; }
  .rental-machine-photo img { height: 390px; }
  .rental-machine-info { padding: 28px 22px; height: auto; }
  .rental-machine-info h2 { font-size: 30px; }
  .rental-list .rental-machine > .sppb-column-addons { padding: 0 20px 22px; }
  .rental-list .rental-machine-photo { margin: 0 -20px; padding: 0; }
  .rental-list h2 { font-size: 25px; }
  .rental-more { padding-bottom: 48px; }
}

/* ==========================================================================
   9. AGB & Downloads, Stellenangebote
   ========================================================================== */
.document-downloads { --spalt: 28px; --zeile: 28px; padding: 20px 0 80px; background: #fff; }
.document-downloads .sppb-row { align-items: stretch; }
.document-download { height: 100%; display: flex; flex-direction: column; background: #f3f4f4; border: 1px solid #d9dddf; border-top: 4px solid #eca040;
  border-radius: 5px; padding: 32px; }
.document-download > .sppb-column-addons { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.document-download .sppb-addon-wrapper:has(.button) { margin-top: auto; }
.document-type { margin: 0 0 18px; color: #535c61; font-size: 13px; letter-spacing: 1px; font-weight: 700; }
.document-download h2 { font-size: 29px; line-height: 1.3; letter-spacing: -.5px; margin: 0 0 30px; overflow-wrap: anywhere; }
.document-download .button { gap: 16px; background: #eca040; color: #212629; }
.document-download .more-link { margin-top: 18px; color: #212629; }
@media (max-width: 767px) { .document-downloads { --zeile: 22px; padding: 12px 0 48px; } .document-download { padding: 25px; } .document-download h2 { font-size: 26px; } }

.job-list { padding: 20px 0 72px; background: #fff; }
.job-card { border: 1px solid #cbd0d2; border-radius: 5px; background: #fff; margin-bottom: 20px; overflow: hidden; }
.job-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; cursor: pointer; padding: 27px 32px;
  font-weight: 700; font-size: 23px; line-height: 1.4; color: #111; }
.job-card > summary::-webkit-details-marker { display: none; }
.job-toggle { width: 16px; height: 16px; position: relative; flex: none; }
.job-toggle::before, .job-toggle::after { content: ""; position: absolute; background: #111; left: 0; top: 7px; width: 16px; height: 2px; }
.job-toggle::after { transform: rotate(90deg); }
.job-card[open] .job-toggle::after { transform: none; }
.job-card[open] > summary { border-bottom: 1px solid #cbd0d2; }
.job-description { padding: 36px; }
.job-description h2 { margin-top: 0; font-size: 32px; line-height: 1.3; letter-spacing: -.8px; }
.job-description p, .job-description li { font-size: 17px; line-height: 1.8; }
.job-description p:last-child { margin-bottom: 0; }
@media (max-width: 650px) {
  .job-list { padding: 30px 0 45px; }
  .job-card > summary { padding: 20px 17px; font-size: 19px; gap: 16px; }
  .job-description { padding: 24px 17px; }
  .job-description h2 { font-size: 24px; }
  .job-description h3 { font-size: 20px; }
}

/* ==========================================================================
   10. Dunkles Farbschema des Systems (wie Vorlage: Kacheln dunkel, Seite hell)
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  .service-contact, .recycling-block, .rental-category, .service-card, .step, .document-download {
    background: #292f32; color: #f7f8f8; border-color: #485155; border-top-color: #eca040; }
  .service-contact, .recycling-block, .rental-category { box-shadow: 0 4px 18px #00000012; }
  .service-contact p, .recycling-block p, .service-card p, .step p { color: #d3d9dc; }
  .service-contact h2, .recycling-block h3, .rental-category h2, .rental-category span, .service-contact .sppb-addon-content > a:not(.button),
  .service-card h3, .service-card .more-link, .step h3, .document-download .more-link { color: #f7f8f8; }
  .service-card .num, .step span { color: #eca040; }
  .document-type { color: #d3d9dc; }
  .rental-category:hover { background: #343c40; border-color: #eca040; }
  .service-contact .button { background: #eca040; color: #212629; }
  .service-contact .button:hover { background: #f4b559; color: #212629; }
  .rental-inventory.rental-machine > .sppb-row-container > .sppb-row, .rental-list .rental-machine { background: #292f32; border-color: #485155; color: #f7f8f8; }
  .rental-machine-info h2, .rental-machine-info h2 a, .rental-list h2, .rental-list h2 a { color: #f7f8f8; }
  .rental-article-number { color: #d3d9dc; }
  .rental-rates > div { border-color: #485155; }
  .rental-machine-info .button, .rental-list .button { color: #212629; background: #eca040; }
  .rental-machine-info .button:hover, .rental-list .button:hover { background: #f4b559; }
  .rental-list .rental-machine-photo { border-bottom-color: #485155; }
  .product-specifications { color: #f7f8f8; background: #292f32; }
  .product-specifications tr:nth-child(odd) { background: #343c40; }
  .product-specifications th, .product-specifications td { border-color: #485155; }
}

/* ==========================================================================
   11. Joomla: Kontaktformular (Template-Handler), Systemmeldungen, Navigation
   ========================================================================== */
html, body { overflow-x: clip; }   /* klebender Kopf: overflow-x:hidden würde sticky aushebeln */
#inquiry .form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#inquiry .form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; font-weight: 400; margin: 4px 0 14px; }
#inquiry .form-consent input { display: inline-block; width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--orange); padding: 0; }
#inquiry .form-consent a { text-decoration: underline; }
#form-status:empty { display: none; }
#form-status { margin: 16px 0 0; padding: 12px 14px; border-left: 4px solid var(--orange); background: #fafbfa; font-size: 15px; }
#form-status.is-ok { border-left-color: #2e7d32; }
#form-status.is-fehler { border-left-color: #b3261e; }
#inquiry button[disabled] { opacity: .6; cursor: wait; }
main > #system-message-container:empty { display: none; }
main > #system-message-container { padding: 20px var(--rand); }
#main-navigation a[aria-current="page"]:not(.button) { color: #96600d; }
