/*
Theme Name: Zaunshop
Theme URI: https://shop.wir-machen-zaun.de/
Author: Adrian / wir-machen-zaun.de
Description: Custom Theme für shop.wir-machen-zaun.de
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: proprietary
Text Domain: zaunshop
*/

/* ==================== DESIGN SYSTEM ==================== */
:root {
  /* AS Zaunanlagen Brand: Rot #d30c03 als Primary, schwarz #1d1d1c als Text */
  --color-primary: #d30c03;
  --color-primary-dark: #a90a02;
  --color-primary-light: #fde7e6;
  --color-accent: #1d1d1c;
  --color-accent-dark: #000000;
  --color-dark: #1d1d1c;
  --color-dark-2: #2a2a29;
  --color-text: #1d1d1c;
  --color-muted: #6b6b6a;
  --color-border: #e0e0df;
  --color-border-light: #ededec;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f6;
  --color-white: #ffffff;
  --color-card-shadow: rgba(29, 29, 28, 0.10);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --section-padding: clamp(3rem, 6vw, 4.5rem);
  --container-width: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 14px 34px var(--color-card-shadow);
  --shadow-dropdown: 0 12px 32px rgba(15, 35, 70, 0.14);
  --transition: 0.2s ease;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* ==================== HEADER ==================== */
.zs-head { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--color-border-light); box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.zs-head-inner { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 32px; }
.zs-brand { flex-shrink: 0; display: flex; align-items: center; }
.zs-brand img { height: 38px; width: auto; display: block; }
.zs-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.zs-nav > a, .zs-has-dd > a { color: #2d3748; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-xs); transition: background var(--transition), color var(--transition); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.zs-nav > a:hover, .zs-has-dd > a:hover { background: #eceff4; color: var(--color-primary); }
.zs-has-dd > a::after { content: '⌄'; font-size: 12px; opacity: 0.5; margin-top: -1px; }
.zs-has-dd { position: relative; }
.zs-dd { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-dropdown); padding: 14px 6px 6px; z-index: 200; }
.zs-dd::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.zs-has-dd:hover .zs-dd, .zs-has-dd:focus-within .zs-dd { display: block; }
.zs-dd a { display: block; padding: 9px 12px; font-size: 14px; font-weight: 500; color: #2d3748; border-radius: var(--radius-xs); transition: background 0.12s; }
.zs-dd a:hover { background: #eceff4; color: var(--color-primary); }
.zs-head-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.zs-cart { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-xs); color: #2d3748; transition: background var(--transition), color var(--transition); }
.zs-cart:hover { background: #eceff4; color: var(--color-primary); }
.zs-cart-count { position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; background: var(--color-primary); color: #fff; font-size: 10px; font-weight: 800; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }
.zs-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: 1px solid var(--color-border); border-radius: var(--radius-xs); cursor: pointer; padding: 8px; }
.zs-burger span { display: block; width: 100%; height: 2px; background: #2d3748; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.zs-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.zs-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.zs-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== BUTTONS ==================== */
/* AS Zaunanlagen CTAs: kompakt, 4px Radius, Inter 700 */
.btn { display: inline-block; padding: 10px 24px; border-radius: 4px; font-weight: 700; font-size: 15px; transition: background var(--transition), transform var(--transition); border: 0; cursor: pointer; text-align: center; line-height: 1.4; letter-spacing: 0.01em; }
.btn:hover { transform: translateY(-1px); }
.btn.pri { background: var(--color-primary); color: var(--color-white); }
.btn.pri:hover { background: var(--color-primary-dark); }
.btn.ghost { background: transparent; color: var(--color-dark); border: 1px solid var(--color-dark); }
.btn.ghost:hover { background: var(--color-dark); color: var(--color-white); }
.btn-lg { padding: 12px 32px; font-size: 16px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.cta-center { justify-content: center; }

/* ==================== HERO ==================== */
.hero { position: relative; color: #fff; padding: 100px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--color-dark-2); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(15, 27, 47, 0.65), rgba(15, 27, 47, 0.65)); z-index: 1; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(32px, 4.5vw, 58px); line-height: 1.06; margin: 0 0 16px; font-weight: 900; }
.hero .sub { opacity: 0.92; max-width: 760px; font-size: 18px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 20px; backdrop-filter: blur(4px); }
.badge-stars { color: #f59e0b; letter-spacing: 2px; }
.hero-kpis { display: flex; margin-top: 36px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(6px); max-width: 640px; }
.hero-kpi { flex: 1; padding: 14px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,0.15); }
.hero-kpi:last-child { border-right: none; }
.hero-kpi-val { font-size: 24px; font-weight: 900; color: #fff; line-height: 1; }
.hero-kpi-label { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.hero--simple { padding: 54px 0 44px; background-size: cover; background-position: center; position: relative; color: #fff; }
.hero--simple::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(9,20,40,0.82), rgba(19,52,95,0.66)); }
.hero--simple .wrap { position: relative; z-index: 1; }
.hero--simple h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; margin: 0 0 10px; }

/* ==================== TRUST BAR ==================== */
.trust-bar { background: #fff; border-bottom: 1px solid var(--color-border); padding: 14px 0; }
.trust-bar .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-bar-item { display: flex; align-items: center; gap: 8px; padding: 8px 20px; font-size: 14px; font-weight: 600; color: #1f2a44; white-space: nowrap; }
.trust-bar-icon { font-size: 18px; }
.trust-bar-sep { width: 1px; height: 24px; background: var(--color-border); flex-shrink: 0; }

/* ==================== SECTIONS ==================== */
.sec { padding: var(--section-padding) 0; }
.sec h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 36px); }
.muted { color: var(--color-muted); }
.sec-light { background: var(--color-bg); }
.sec-white { background: #fff; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { margin: 8px 0 12px; }
.sec-sub { color: var(--color-muted); max-width: 600px; margin: 0 auto; font-size: 16px; }
.sec-head-light h2 { color: #fff; }
.sec-head-light .sec-sub { color: rgba(255,255,255,0.75); }
.sec-label { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); background: var(--color-primary-light); border-radius: 999px; padding: 4px 12px; margin-bottom: 8px; }
.sec-label-light { color: #93c5fd; background: rgba(147,197,253,0.15); }

/* ==================== PRODUKT-KARTEN ==================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.product-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow); transition: transform 0.22s ease, box-shadow 0.22s ease; color: inherit; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-img { position: relative; overflow: hidden; height: 200px; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%); }
.product-card-body { padding: 18px 20px 20px; }
.product-card-body h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.25; }
.product-card-body p { color: var(--color-muted); font-size: 14px; margin: 0 0 10px; }
.product-feats { list-style: none; margin: 0 0 14px; padding: 0; }
.product-feats li { font-size: 13px; color: #44556f; padding: 3px 0 3px 18px; position: relative; }
.product-feats li::before { content: '✓'; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.product-link { font-size: 14px; font-weight: 700; color: var(--color-primary); }

/* ==================== TESTIMONIALS ==================== */
.testimonials-sec { background: var(--color-dark); padding: var(--section-padding) 0; }
.testimonials-sec h2 { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.testimonial-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.t-stars { color: #f59e0b; font-size: 17px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { color: rgba(255,255,255,0.85); font-style: italic; font-size: 15px; line-height: 1.6; flex: 1; margin: 0 0 16px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t-name { font-weight: 700; color: #fff; font-size: 14px; }
.t-loc { color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 2px; }

/* ==================== WARUM WIR ==================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px 20px; transition: box-shadow 0.2s; }
.why-card:hover { box-shadow: var(--shadow-lg); }
.why-icon { font-size: 28px; margin-bottom: 12px; }
.why-card h3 { margin: 0 0 8px; font-size: 17px; }
.why-card p { color: var(--color-muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* ==================== ANSPRECHPARTNERIN ==================== */
.contact-section { background: var(--color-bg-alt); padding: var(--section-padding) 0; }
.contact-inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: var(--radius); display: block; }
.contact-text h2 { margin: 8px 0 12px; }
.contact-text > p { color: var(--color-muted); margin: 0 0 20px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail-item { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; padding: 10px 14px; background: var(--color-bg); border-radius: var(--radius-sm); border: 1px solid var(--color-border); transition: border-color 0.15s, background 0.15s; }
.contact-detail-item:hover { background: var(--color-primary-light); border-color: #93c5fd; }
.contact-detail-icon { font-size: 20px; flex-shrink: 0; }
.contact-detail-label { font-size: 12px; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.contact-detail-val { font-weight: 700; font-size: 15px; color: var(--color-text); margin-top: 1px; }

/* ==================== PROZESS ==================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 28px; }
.process-step { padding: 0 20px 0 0; position: relative; }
.process-num { font-size: 42px; font-weight: 900; color: var(--color-primary-light); line-height: 1; margin-bottom: 8px; }
.process-line { position: absolute; top: 22px; right: 0; width: 60%; height: 2px; background: var(--color-border); }
.process-body { padding-top: 8px; }
.process-body h3 { margin: 0 0 6px; font-size: 17px; }
.process-body p { color: var(--color-muted); font-size: 14px; margin: 0 0 10px; line-height: 1.6; }
.step-meta { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #eceff4; color: #2d3a4a; font-size: 12px; font-weight: 700; }

/* ==================== REFERENZEN ==================== */
.ref-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.ref-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.ref-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.35s ease; }
.ref-item:hover img { transform: scale(1.04); }
.ref-hover { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px; background: linear-gradient(transparent, rgba(0,0,0,0.55)); opacity: 0; transition: opacity 0.25s; }
.ref-item:hover .ref-hover { opacity: 1; }
.ref-tag { font-size: 13px; font-weight: 700; color: #fff; }

/* ==================== KOSTEN ==================== */
.cost-grid-new { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.cost-factors { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; }
.cost-factors h3 { margin: 0 0 18px; font-size: 19px; }
.cost-factor-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.cost-factor { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; }
.cost-factor-icon { font-size: 22px; flex-shrink: 0; }
.cost-factor span { color: var(--color-muted); display: block; margin-top: 2px; }
.cost-note-box { background: #f0f7ff; border: 1px solid #c7deff; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; color: #1e3a6e; }
.cost-cta-box { position: sticky; top: 72px; }
.cost-cta-inner { background: var(--color-dark); border-radius: var(--radius); padding: 28px 24px; color: #fff; text-align: center; }
.cost-cta-icon { font-size: 36px; margin-bottom: 12px; }
.cost-cta-inner h3 { color: #fff; margin: 0 0 10px; font-size: 20px; }
.cost-cta-inner p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0 0 18px; }
.cost-cta-note { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,0.5); }

/* ==================== FAQ ==================== */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 28px; }
.faq-item { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 14px 16px; transition: border-color 0.15s; }
.faq-item[open] { border-color: var(--color-primary); background: #fff; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; padding-right: 24px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 20px; color: var(--color-primary); line-height: 1; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--color-muted); font-size: 14px; margin: 10px 0 0; line-height: 1.65; }

/* ==================== REGION ==================== */
.region-sec { background: var(--color-dark-2); padding: 48px 0; }
.region-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.region-inner h2 { color: #fff; margin: 8px 0 10px; }
.region-inner p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0; }
.region-cta { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.region-cta .btn { white-space: nowrap; min-width: 240px; text-align: center; }

/* ==================== CTA BAND ==================== */
.band { background: var(--color-dark); color: #fff; padding: 38px 0; }
.band p { opacity: 0.9; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--color-dark);
  color: #c8d6ea;
  margin-top: 0;
}

/* Hauptbereich: 4 Spalten */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 48px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul li a {
  font-size: 14px;
  color: #c8d6ea;
  transition: color 0.15s;
  line-height: 1.4;
}
.footer-col ul li a:hover { color: #fff; }

/* Spalte 1: Marke */
.footer-col-brand .footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-tagline {
  font-size: 14px;
  color: #a0b0c8;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 280px;
}
.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-badges span {
  font-size: 13px;
  color: #7eb8f7;
  font-weight: 600;
}

/* Kontaktliste */
.footer-contact-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #c8d6ea;
  line-height: 1.4;
}
.footer-contact-list li a { color: #c8d6ea; transition: color 0.15s; }
.footer-contact-list li a:hover { color: #fff; }
.footer-contact-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

.footer-cta-btn {
  display: inline-block;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s;
  width: 100%;
  text-align: center;
}
.footer-cta-btn:hover { background: var(--color-primary-dark); color: #fff; }

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7f99;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links a { color: #6b7f99; transition: color 0.15s; }
.footer-bottom-links a:hover { color: #fff; }

/* ==================== LEGACY (bereinigt 01.07.2026: generische Kollisions-Selektoren entfernt) ==================== */

.faq details { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; }

.faq summary { cursor: pointer; font-weight: 700; }

.form-card { background: var(--color-white); border: 1px solid #d9e5f7; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-card label { display: block; font-weight: 800; margin-bottom: 8px; font-size: 14px; color: #17253b; }

.form-card input, .form-card select, .form-card textarea { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #d6dde8; border-radius: 12px; font: inherit; background: #f2f4f7; transition: border-color var(--transition), box-shadow var(--transition); }

.form-card textarea { height: auto; padding: 12px 14px; min-height: 120px; }

.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: #9db4d8; box-shadow: 0 0 0 3px rgba(76,116,176,0.12); }

.legal-wrap { padding: 40px 0; }

.legal-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 32px; max-width: 860px; margin: 0 auto; }

.legal-card h1 { margin-top: 0; }

.legal-card h2 { margin-top: 24px; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .zs-head-inner { padding: 0 16px; gap: 12px; }
  .zs-burger { display: flex; }
  .zs-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 12px 16px 20px; flex-direction: column; align-items: stretch; gap: 2px; z-index: 200; box-shadow: 0 8px 24px rgba(15,35,70,0.1); max-height: calc(100vh - 64px); overflow-y: auto; }
  .zs-nav.open { display: flex; }
  .zs-nav > a, .zs-has-dd > a { width: 100%; font-size: 15px; padding: 12px 14px; border-radius: var(--radius-xs); }
  .zs-has-dd { width: 100%; position: relative; }
  .zs-has-dd > a { justify-content: space-between; background: transparent; }
  .zs-has-dd > a::after { content: '⌄'; display: inline-flex; font-size: 16px; opacity: 0.6; margin: 0; transition: transform 0.25s ease; }
  .zs-has-dd.open > a::after { transform: rotate(180deg); }
  .zs-has-dd.open > a { background: #eceff4; color: var(--color-primary); }

  /* Mobile submenu: fließend ausklappen, kein Popover */
  .zs-dd {
    display: none !important;
    position: static;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 12px;
    margin: 2px 0 6px;
  }
  .zs-dd::before { display: none; }
  .zs-has-dd.open .zs-dd {
    display: block !important;
  }
  /* hover-based Dropdown auf Mobile deaktivieren */
  .zs-has-dd:hover .zs-dd,
  .zs-has-dd:focus-within .zs-dd {
    display: none !important;
  }
  .zs-has-dd.open:hover .zs-dd,
  .zs-has-dd.open:focus-within .zs-dd {
    display: block !important;
  }
  .zs-dd a { padding: 10px 14px; font-size: 14px; }

  .cost-grid-new { grid-template-columns: 1fr; }
  .cost-cta-box { position: static; }
  .contact-inner { grid-template-columns: 1fr; padding: 24px; }
  .contact-photo { max-height: 260px; aspect-ratio: 16/7; object-position: center 20%; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-line { display: none; }
  .process-step { padding: 16px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
  .faq-grid { grid-template-columns: 1fr; }
  .region-inner { flex-direction: column; text-align: center; }
  .region-cta { width: 100%; }
  .region-cta .btn { min-width: 0; width: 100%; }
  .cost-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 0 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .legal-card { padding: 22px 18px; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: clamp(28px, 7vw, 40px); }
  .hero .sub { font-size: 16px; }
  .hero-kpis { flex-wrap: wrap; }
  .hero-kpi { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .hero-kpi:nth-last-child(-n+2) { border-bottom: none; }
  .hero--simple { padding: 42px 0 34px; }
  .trust-bar { padding: 10px 0; }
  .trust-bar .wrap { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -ms-overflow-style: none; }
  .trust-bar .wrap::-webkit-scrollbar { display: none; }
  .trust-bar-sep { display: none; }
  .trust-bar-item { padding: 4px 12px 4px 0; font-size: 13px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .ref-masonry { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ref-item img { height: 160px; }
  .trust-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 24px; }
  .cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta .btn { width: 100%; }
  .sec { padding: 40px 0; }
  .sec-head { margin-bottom: 24px; }
  .band { padding: 28px 0; }
  .legal-card { padding: 18px 14px; }
}
@media (max-width: 420px) {
  .zs-head-inner { padding: 0 12px; gap: 8px; }
  .zs-brand img { height: 32px; }
  .zs-head-right { gap: 4px; }
  .wrap { padding: 0 14px; }
  .hero-kpi-val { font-size: 20px; }
  .hero-kpi-label { font-size: 10px; }
  .btn { padding: 11px 14px; font-size: 14px; }
}

/* Account Icon (Header) */
.zs-account-icon { display:flex; align-items:center; justify-content:center; color:var(--color-text); transition:color .15s; width: 40px; height: 40px; border-radius: var(--radius-xs); }
.zs-account-icon:hover { color:var(--color-primary); background: #eceff4; }


/* ==========================================================
   FULLWIDTH PAGES v1.0 – Mobile Additions
   Added 17.04.2026 as part of mobile audit
   Targets inline grid/font styles from WP block editor
   ========================================================== */

/* ── Tablet Breakpoint (≤900px) ───────────────────────── */
@media (max-width: 900px) {
  .page-template-template-fullwidth [style*="grid-template-columns:repeat(4"],
  .page-template-template-fullwidth [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .page-template-template-fullwidth [style*="grid-template-columns:repeat(3"],
  .page-template-template-fullwidth [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .page-template-template-fullwidth [style*="padding:48px"] {
    padding: 32px 0 !important;
  }
  .page-template-template-fullwidth [style*="gap:48px"] {
    gap: 24px !important;
  }
}

/* ── Mobile Breakpoint (≤700px) ───────────────────────── */
@media (max-width: 700px) {
  .page-template-template-fullwidth [style*="grid-template-columns:1fr 1fr"],
  .page-template-template-fullwidth [style*="grid-template-columns: 1fr 1fr"],
  .page-template-template-fullwidth [style*="grid-template-columns:repeat(2"],
  .page-template-template-fullwidth [style*="grid-template-columns: repeat(2"],
  .page-template-template-fullwidth [style*="grid-template-columns:repeat(3"],
  .page-template-template-fullwidth [style*="grid-template-columns: repeat(3"],
  .page-template-template-fullwidth [style*="grid-template-columns:repeat(4"],
  .page-template-template-fullwidth [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  /* Fixed 36px fonts → shrink on mobile */
  .page-template-template-fullwidth [style*="font-size:36px"],
  .page-template-template-fullwidth [style*="font-size: 36px"] {
    font-size: 26px !important;
  }
  .page-template-template-fullwidth [style*="padding:48px"] {
    padding: 28px 0 !important;
  }
  .page-template-template-fullwidth [style*="gap:48px"],
  .page-template-template-fullwidth [style*="gap: 48px"] {
    gap: 20px !important;
  }
  .page-template-template-fullwidth [style*="gap:24px"],
  .page-template-template-fullwidth [style*="gap: 24px"] {
    gap: 16px !important;
  }
}

/* ── Small Mobile (≤420px) ────────────────────────────── */
@media (max-width: 420px) {
  .page-template-template-fullwidth [style*="font-size:36px"],
  .page-template-template-fullwidth [style*="font-size: 36px"] {
    font-size: 24px !important;
  }
  .page-template-template-fullwidth [style*="padding:48px"] {
    padding: 24px 0 !important;
  }
  /* FAQ grid collapse */
  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .faq-item {
    padding: 14px 16px !important;
  }
  .faq-item summary {
    font-size: 15px !important;
  }
}


/* ==========================================================
   POPUP + OVERFLOW FIX v1.0
   Added 17.04.2026 – Fix: Wiz-Popup erschien rechts außerhalb
   des Screens, weil Inline-Grids auf der Überdachung-Seite
   horizontalen Scroll verursacht haben.
   ========================================================== */

/* ── Global: verhindere horizontalen Page-Scroll ─────── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── Fix 1: Inline-Grids auch auf Überdachung + Schiebewände + Produkte kollabieren ── */
@media (max-width: 900px) {
  .page-template-template-ueberdachung [style*="grid-template-columns:repeat(4"],
  .page-template-template-ueberdachung [style*="grid-template-columns: repeat(4"],
  .page-template-template-ueberdachung [style*="grid-template-columns:repeat(3"],
  .page-template-template-ueberdachung [style*="grid-template-columns: repeat(3"],
  .page-template-template-schiebewaende [style*="grid-template-columns:repeat(4"],
  .page-template-template-schiebewaende [style*="grid-template-columns: repeat(4"],
  .page-template-template-schiebewaende [style*="grid-template-columns:repeat(3"],
  .page-template-template-schiebewaende [style*="grid-template-columns: repeat(3"],
  .page-template-template-produkte [style*="grid-template-columns:repeat(4"],
  .page-template-template-produkte [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .page-template-template-ueberdachung [style*="padding:48px"],
  .page-template-template-schiebewaende [style*="padding:48px"] {
    padding: 32px 0 !important;
  }
  .page-template-template-ueberdachung [style*="gap:48px"],
  .page-template-template-schiebewaende [style*="gap:48px"] {
    gap: 24px !important;
  }
}

@media (max-width: 700px) {
  .page-template-template-ueberdachung [style*="grid-template-columns:1fr 1fr"],
  .page-template-template-ueberdachung [style*="grid-template-columns: 1fr 1fr"],
  .page-template-template-ueberdachung [style*="grid-template-columns:repeat(2"],
  .page-template-template-ueberdachung [style*="grid-template-columns: repeat(2"],
  .page-template-template-ueberdachung [style*="grid-template-columns:repeat(3"],
  .page-template-template-ueberdachung [style*="grid-template-columns: repeat(3"],
  .page-template-template-ueberdachung [style*="grid-template-columns:repeat(4"],
  .page-template-template-ueberdachung [style*="grid-template-columns: repeat(4"],
  .page-template-template-schiebewaende [style*="grid-template-columns:1fr 1fr"],
  .page-template-template-schiebewaende [style*="grid-template-columns: 1fr 1fr"],
  .page-template-template-schiebewaende [style*="grid-template-columns:repeat(2"],
  .page-template-template-schiebewaende [style*="grid-template-columns: repeat(2"],
  .page-template-template-schiebewaende [style*="grid-template-columns:repeat(3"],
  .page-template-template-schiebewaende [style*="grid-template-columns: repeat(3"],
  .page-template-template-schiebewaende [style*="grid-template-columns:repeat(4"],
  .page-template-template-schiebewaende [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-template-template-ueberdachung [style*="padding:48px"],
  .page-template-template-schiebewaende [style*="padding:48px"] {
    padding: 28px 0 !important;
  }
  /* Inline padding 28px 24px (Info-Karten) → schmaler */
  .page-template-template-ueberdachung [style*="padding:28px 24px"],
  .page-template-template-schiebewaende [style*="padding:28px 24px"] {
    padding: 20px 16px !important;
  }
}

/* ── Fix 2: Wiz-Modal Safety — kein horizontaler Überlauf innen ── */
.wiz-overlay {
  left: 0 !important;
  right: 0 !important;
}
.wiz-modal {
  overflow-x: hidden;
  margin-left: auto;
  margin-right: auto;
}

/* ── Fix 3: Wiz-Slider-Ticks wrappen statt überlaufen ── */
@media (max-width: 420px) {
  .wiz-slider-ticks {
    gap: 0;
    font-size: 8px !important;
  }
  .wiz-slider-ticks span {
    flex-shrink: 1;
    min-width: 0;
    text-align: center;
  }
  /* Bei 10-Ticks Slidern: nur jeden 3. zeigen */
  .wiz-slider-group .wiz-slider-ticks span:nth-child(n):not(:first-child):not(:last-child):not(:nth-child(5)) {
    visibility: hidden;
  }
}


/* ==========================================================
   v1.4 Global Mobile Fix (20.04.2026):
   Lange Compound-Woerter (z.B. "Terrassenueberdachungen") liefen
   in Page-Headings ueber den Viewport-Rand. Erlaubt sauberen
   Wortumbruch auf Mobile.
   ========================================================== */
@media (max-width: 700px) {
  h1, h2, h3,
  .zs-page-hero h1, .zs-page-hero h2,
  .zs-hero h1, .zs-hero h2 {
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: none;
    hyphens: none;
  }
}


/* =================================================================
   === MOBILE v1.5 — Galaxy S20 Ultra Polish (412×915)
   ================================================================= */

/* Lesbarkeit: keine Schrift unter 12px auf Mobile */
@media (max-width: 700px) {
  .hero-kpi-label { font-size: 12px !important; line-height: 1.25 !important; }
  .konfig-card-farbe,
  .price-hint { font-size: 12px !important; }
  .zs-wizard-progress-lbl { font-size: 12px !important; }
}

/* Touch-Targets: Konfigurator Reset-Button + Wizard-Close */
@media (max-width: 700px) {
  .konfig-reset {
    min-height: 36px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .wiz-close {
    min-width: 40px !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}


/* =================================================================
   === TABLET v1.6 — Header Burger-Menu ab 1080px statt 900px
   iPad Pro Portrait (1024) würgte sonst Account/Cart-Icon aus dem Viewport,
   weil zs-nav + zs-brand + zs-head-right > 1024px breit waren.
   ================================================================= */
@media (max-width: 1080px) and (min-width: 901px) {
  .zs-head-inner { padding: 0 16px; gap: 12px; }
  .zs-burger { display: flex !important; }
  .zs-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(15,35,70,0.1);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .zs-nav.open { display: flex; }
  .zs-nav > a, .zs-has-dd > a {
    width: 100%;
    font-size: 15px;
    padding: 12px 14px;
    border-radius: var(--radius-xs);
  }
  .zs-has-dd { width: 100%; position: relative; }
  .zs-has-dd > a { justify-content: space-between; background: transparent; }
  .zs-has-dd > a::after {
    content: '\2304';
    display: inline-flex;
    font-size: 16px;
    opacity: 0.6;
    margin: 0;
    transition: transform 0.25s ease;
  }
  .zs-has-dd.open > a::after { transform: rotate(180deg); }
  .zs-has-dd.open > a { background: #eceff4; color: var(--color-primary); }
  .zs-dd {
    display: none !important;
    position: static;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 12px;
    margin: 2px 0 6px;
  }
  .zs-dd::before { display: none; }
  .zs-has-dd.open .zs-dd { display: block !important; }
  .zs-has-dd:hover .zs-dd,
  .zs-has-dd:focus-within .zs-dd { display: none !important; }
  .zs-has-dd.open:hover .zs-dd,
  .zs-has-dd.open:focus-within .zs-dd { display: block !important; }
  .zs-dd a { padding: 10px 14px; font-size: 14px; }
}



/* =================================================================
   === TABLET v1.7 — iPad Pro 1024x1366 Konfigurator-Feinschliff
   Kleine Fonts + Touch-Targets aus mobile v1.5 auf Tablet-Range
   (701-1080px) ausdehnen. Wird u.a. im Konfigurator (Sidebar + Cards)
   sowie auf PDP-Badges sichtbar, die bei 10-11px zu klein waren.
   ================================================================= */
@media (max-width: 1080px) and (min-width: 701px) {
  .konfig-filter-title { font-size: 13px !important; line-height: 1.25 !important; }
  .konfig-card-badge { font-size: 12px !important; }
  .konfig-card-farbe,
  .price-hint { font-size: 12px !important; }
  .pdp-montage-badge { font-size: 12px !important; }
  .wiz-step-label { font-size: 12px !important; }

  .konfig-reset {
    min-height: 36px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .wiz-close {
    min-width: 40px !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* =================================================================
   === RATGEBER + STADT-LANDING (v1.0, 20.04.2026)
   ================================================================= */

/* ---------- Breadcrumbs (hero variant, light text on dark) ---------- */
.zs-ratgeber-crumbs,
.zs-stadt-crumbs {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.zs-ratgeber-crumbs a,
.zs-stadt-crumbs a { color: rgba(255,255,255,0.9); transition: color .15s; }
.zs-ratgeber-crumbs a:hover,
.zs-stadt-crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Ratgeber Hero ---------- */
.zs-ratgeber-hero {
  background: linear-gradient(135deg, #0f1b2f 0%, #1f3a6d 100%);
  color: #fff;
  padding: 56px 0 48px;
}
.zs-ratgeber-hero h1 {
  margin: 6px 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  max-width: 880px;
}
.zs-ratgeber-lead {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 760px;
  margin: 0 0 18px;
}
.zs-ratgeber-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.zs-ratgeber-meta span { line-height: 1.2; }

/* ---------- Ratgeber Layout ---------- */
.zs-ratgeber-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 48px 20px 64px;
  align-items: start;
}
.zs-ratgeber-toc {
  position: sticky;
  top: 80px;
}
.zs-ratgeber-toc-inner {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}
.zs-ratgeber-toc h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
}
.zs-ratgeber-toc nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.zs-ratgeber-toc nav a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  color: #2d3748;
  line-height: 1.4;
  transition: background .15s, color .15s;
}
.zs-ratgeber-toc nav a:hover {
  background: #eceff4;
  color: var(--color-primary);
}

/* ---------- Ratgeber Body (prose) ---------- */
.zs-ratgeber-body {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
  color: #1a2236;
}
.zs-ratgeber-body p {
  margin: 0 0 1.1em;
}
.zs-ratgeber-body p:first-child {
  font-size: 19px;
  line-height: 1.6;
  color: #1a2236;
  font-weight: 500;
}
.zs-ratgeber-body h2 {
  font-size: 26px;
  line-height: 1.25;
  margin: 2em 0 0.6em;
  scroll-margin-top: 80px;
  color: #0f1b2f;
}
.zs-ratgeber-body h2:first-child { margin-top: 0; }
.zs-ratgeber-body h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 1.6em 0 0.5em;
  color: #1a2236;
}
.zs-ratgeber-body ul,
.zs-ratgeber-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.zs-ratgeber-body li {
  margin: 0.35em 0;
}
.zs-ratgeber-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(31,122,224,0.4);
  text-underline-offset: 2px;
}
.zs-ratgeber-body a:hover {
  text-decoration-color: var(--color-primary);
}
.zs-ratgeber-body strong { color: #0f1b2f; }
.zs-ratgeber-body blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: #29406d;
}
.zs-ratgeber-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 15px;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.zs-ratgeber-body th,
.zs-ratgeber-body td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.zs-ratgeber-body th {
  background: var(--color-bg-alt);
  font-weight: 700;
  color: #0f1b2f;
  font-size: 14px;
}
.zs-ratgeber-body tr:last-child td { border-bottom: none; }
.zs-ratgeber-body tbody tr:hover { background: #f8fbff; }

/* Info-Box-Style innerhalb Artikel (verwende: <div class="zs-info-box">…</div>) */
.zs-ratgeber-body .zs-info-box {
  background: #f0f7ff;
  border: 1px solid #c7deff;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 1.4em 0;
  font-size: 15px;
  color: #1e3a6e;
  line-height: 1.55;
}
.zs-ratgeber-body .zs-info-box strong { color: var(--color-primary-dark); }

/* FAQ-Block innerhalb Artikel */
.zs-ratgeber-body details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 0 0 10px;
  transition: border-color .15s;
}
.zs-ratgeber-body details[open] { border-color: var(--color-primary); }
.zs-ratgeber-body summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding-right: 24px;
  position: relative;
  font-size: 16px;
  color: #0f1b2f;
}
.zs-ratgeber-body summary::-webkit-details-marker { display: none; }
.zs-ratgeber-body summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  color: var(--color-primary);
  line-height: 1;
  font-weight: 400;
}
.zs-ratgeber-body details[open] summary::after { content: '−'; }
.zs-ratgeber-body details p { margin-top: 10px; font-size: 15px; }

/* End-CTA */
.zs-ratgeber-cta {
  margin: 2.5em 0 0;
  padding-top: 2em;
  border-top: 2px solid var(--color-border);
}
.zs-ratgeber-cta-inner {
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.zs-ratgeber-cta-icon { font-size: 36px; margin-bottom: 12px; }
.zs-ratgeber-cta-inner h3 { color: #fff; margin: 0 0 10px; font-size: 22px; }
.zs-ratgeber-cta-inner p { color: rgba(255,255,255,0.85); font-size: 15px; margin: 0 0 20px; }

/* ---------- Stadt-Landing post_content section ---------- */
.zs-stadt-content-inner {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #1a2236;
}
.zs-stadt-content-inner p { margin: 0 0 1.1em; }
.zs-stadt-content-inner h2 {
  font-size: 26px;
  line-height: 1.25;
  margin: 1.8em 0 0.6em;
  color: #0f1b2f;
}
.zs-stadt-content-inner h2:first-child { margin-top: 0; }
.zs-stadt-content-inner h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 1.4em 0 0.4em;
  color: #1a2236;
}
.zs-stadt-content-inner ul,
.zs-stadt-content-inner ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.zs-stadt-content-inner li { margin: 0.3em 0; }
.zs-stadt-content-inner a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.zs-stadt-content-inner strong { color: #0f1b2f; }
.zs-stadt-content-inner details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 0 0 10px;
}
.zs-stadt-content-inner details[open] { border-color: var(--color-primary); }
.zs-stadt-content-inner summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding-right: 24px;
  position: relative;
  font-size: 16px;
}
.zs-stadt-content-inner summary::-webkit-details-marker { display: none; }
.zs-stadt-content-inner summary::after {
  content: '+';
  position: absolute; right: 0; top: 0;
  font-size: 22px; color: var(--color-primary); line-height: 1;
}
.zs-stadt-content-inner details[open] summary::after { content: '−'; }
.zs-stadt-content-inner details p { margin-top: 10px; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .zs-ratgeber-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px 48px;
  }
  .zs-ratgeber-toc {
    position: static;
    order: 2;
  }
  .zs-ratgeber-body { max-width: none; }
}
@media (max-width: 700px) {
  .zs-ratgeber-hero { padding: 36px 0 30px; }
  .zs-ratgeber-body { font-size: 16px; }
  .zs-ratgeber-body p:first-child { font-size: 17px; }
  .zs-ratgeber-body h2 { font-size: 22px; margin-top: 1.6em; }
  .zs-ratgeber-body h3 { font-size: 18px; }
  .zs-ratgeber-body table { display: block; overflow-x: auto; }
  .zs-ratgeber-cta-inner { padding: 26px 18px; }
  .zs-ratgeber-cta-inner h3 { font-size: 19px; }
  .zs-stadt-content-inner h2 { font-size: 22px; }
  .zs-stadt-content-inner h3 { font-size: 17px; }
}


/* ==================== DESKTOP v1.8 — select2 hidden-accessible width fix ==================== */
/* WooCommerce form-row select { width: 100% } overrides select2's intended width:1px on the
   visually-hidden native <select>. At viewports < ~1654px (incl. 1440 / 1366 / 1280 laptops)
   the hidden SELECT pokes past the body → horizontal scroll on the checkout. Force the
   intended 1px width with specificity that beats the form-row rule. */
select.select2-hidden-accessible,
.woocommerce-checkout .form-row select.select2-hidden-accessible,
.woocommerce-checkout .form-row select[aria-hidden="true"],
body .woocommerce-checkout select.select2-hidden-accessible {
  width: 1px !important;
  max-width: 1px !important;
  min-width: 0 !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* TD-WP-SMILEY-INLINE v1.0 (20.04.2026)
   Twemoji-IMG-Tags (von wp_staticize_emoji erzeugt) müssen inline gerendert
   werden — der globale Reset img{display:block} würde sie sonst untereinander
   stapeln. Ersetzt die WP-Default-Regeln von print_emoji_styles, das in
   functions.php (TD-FORCE-TWEMOJI) deaktiviert wurde. */
img.wp-smiley,
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 .07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}
/* /TD-WP-SMILEY-INLINE */
/* ============================================================
   Vollsortiment-Hub Homepage v3 — Komplette Additions
   ============================================================ */

/* Hero --hub */
.hero--hub { padding: 110px 0 90px; }
.hero--hub h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.04; letter-spacing: -0.01em; max-width: 920px; }
.hero--hub .hero-accent { color: var(--color-primary-light); display: inline-block; padding-bottom: 2px; border-bottom: 3px solid var(--color-primary); }
.hero--hub .sub { max-width: 680px; margin: 18px 0 0; }
.hero--hub .hero-kpis { max-width: 720px; }
.btn.ghost-on-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.7); }
.btn.ghost-on-dark:hover { background: #fff; color: var(--color-dark); border-color: #fff; }
.sec-tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }

/* KATEGORIE-TILE-GRID */
.kat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kat-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .22s, box-shadow .22s, border-color .22s; box-shadow: var(--shadow); }
.kat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-light); }
.kat-tile-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-bg-alt); }
.kat-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.kat-tile:hover .kat-tile-img img { transform: scale(1.06); }
.kat-tile-badge { position: absolute; top: 12px; left: 12px; background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(211,12,3,.25); }
.kat-tile-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.kat-tile-body h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: var(--color-text); line-height: 1.25; }
.kat-tile-sub { color: var(--color-muted); font-size: 13px; line-height: 1.45; margin: 0 0 14px; flex: 1; }
.kat-tile-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--color-border-light); }
.kat-tile-count { font-size: 12px; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: .04em; }
.kat-tile-arrow { font-size: 18px; font-weight: 700; color: var(--color-primary); transition: transform .25s; }
.kat-tile:hover .kat-tile-arrow { transform: translateX(4px); }

/* KOMPLETTPAKETE */
.paket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.paket-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s; }
.paket-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.paket-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.paket-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.paket-card:hover .paket-card-img img { transform: scale(1.04); }
.paket-badge { position: absolute; top: 14px; left: 14px; background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.paket-badge.badge-bestseller { background: var(--color-primary); }
.paket-badge.badge-spar { background: #16a34a; }
.paket-badge.badge-plus { background: #1d1d1c; }
.paket-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.paket-card-body h3 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--color-text); }
.paket-sub { color: var(--color-muted); font-size: 14px; line-height: 1.5; margin: 0; }
.paket-price { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--color-border-light); border-bottom: 1px solid var(--color-border-light); }
.paket-price-val { font-size: 26px; font-weight: 900; color: var(--color-primary); line-height: 1; }
.paket-price-per { font-size: 12px; color: var(--color-muted); letter-spacing: .02em; }
.paket-feats { list-style: none; padding: 0; margin: 0; flex: 1; }
.paket-feats li { position: relative; font-size: 14px; line-height: 1.5; color: var(--color-text); padding: 5px 0 5px 22px; }
.paket-feats li::before { content: '✓'; position: absolute; left: 0; top: 5px; color: var(--color-primary); font-weight: 800; font-size: 14px; }
.paket-cta { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.paket-cta .btn { flex: 1; min-width: 120px; padding: 10px 14px; }
.paket-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 22px 26px; background: #fff; border: 1px dashed var(--color-border); border-radius: var(--radius); }
.paket-foot-note { font-size: 13px; color: var(--color-muted); margin: 0; flex: 1; line-height: 1.5; }

/* HÖHEN- UND FARBÜBERSICHT */
.hoehen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 32px; }
.hoehen-card { display: flex; align-items: stretch; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; text-decoration: none; }
.hoehen-card:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hoehen-visual { position: relative; width: 50px; flex-shrink: 0; background: var(--color-bg-alt); border-radius: var(--radius-xs); display: flex; align-items: flex-end; justify-content: center; padding: 4px; min-height: 100px; }
.hoehen-bar { width: 100%; background: linear-gradient(to top, var(--color-primary) 0%, var(--color-primary-dark) 100%); border-radius: 2px 2px 0 0; min-height: 12px; }
.hoehen-bar-label { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); letter-spacing: .02em; }
.hoehen-body { flex: 1; min-width: 0; }
.hoehen-label { font-size: 18px; font-weight: 800; color: var(--color-text); line-height: 1.1; margin-bottom: 4px; }
.hoehen-use { font-size: 13px; font-weight: 700; color: var(--color-primary); margin-bottom: 4px; }
.hoehen-sub { font-size: 12px; color: var(--color-muted); line-height: 1.4; }

.farben-strip { background: var(--color-bg-alt); border-radius: var(--radius); padding: 28px 30px; margin-top: 8px; }
.farben-strip-head { text-align: center; margin-bottom: 18px; }
.farben-strip-head h3 { margin: 6px 0 0; font-size: 20px; font-weight: 800; }
.farben-strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.farben-strip-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.farben-strip-grid-5 .farben-card { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.farben-strip-grid-5 .farben-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-light); }
.farben-strip-grid-5 .farben-swatch { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 0; box-shadow: inset 0 -1px 0 rgba(0,0,0,.08); }
.farben-strip-grid-5 .farben-swatch-verz { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 6px, transparent 6px, transparent 12px), linear-gradient(135deg,#B8BABE 0%,#9C9DA1 50%,#7E7F82 100%); }
.farben-card-body { padding: 12px 14px 14px; text-align: center; }
.farben-code { display: inline-block; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--color-muted); padding: 3px 10px; margin-bottom: 6px; }
.farben-card { display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.farben-swatch { width: 64px; height: 64px; border-radius: var(--radius-xs); flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.farben-name { font-size: 16px; font-weight: 800; color: var(--color-text); margin-bottom: 4px; }
.farben-strip-grid-5 .farben-name { margin-bottom: 4px; font-size: 15px; }
.farben-sub { font-size: 13px; color: var(--color-muted); line-height: 1.5; }
.farben-strip-grid-5 .farben-sub { font-size: 12px; }
.farben-note { font-size: 13px; color: var(--color-muted); text-align: center; margin: 0; line-height: 1.6; }
.farben-note strong { color: var(--color-text); }

/* TOR-HUB */
.tor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tor-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s, border-color .22s; color: inherit; }
.tor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-light); }
.tor-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-bg-alt); }
.tor-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tor-card:hover .tor-card-img img { transform: scale(1.05); }
.tor-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tor-card-body h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.tor-sub { font-size: 13px; color: var(--color-muted); margin: 0 0 10px; }
.tor-feats { list-style: none; padding: 0; margin: 0 0 14px; font-size: 12px; color: var(--color-text); flex: 1; }
.tor-feats li { position: relative; padding: 3px 0 3px 16px; line-height: 1.4; }
.tor-feats li::before { content: '·'; position: absolute; left: 4px; top: 3px; color: var(--color-primary); font-weight: 800; }
.tor-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--color-border-light); }
.tor-price { font-size: 14px; font-weight: 800; color: var(--color-primary); }
.tor-arrow { font-size: 18px; font-weight: 800; color: var(--color-primary); transition: transform .25s; }
.tor-card:hover .tor-arrow { transform: translateX(4px); }

/* MONTAGE-PLZ */
.montage-plz-sec { background: linear-gradient(135deg, #1d1d1c 0%, #2a2a29 100%); color: #fff; padding: var(--section-padding) 0; }
.montage-plz-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.montage-plz-text h2 { margin: 12px 0 16px; font-size: clamp(24px, 3vw, 36px); color: #fff; line-height: 1.15; }
.montage-plz-text p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); margin: 0 0 18px; }
.montage-plz-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.montage-plz-feats li { font-size: 14px; color: rgba(255,255,255,.9); line-height: 1.5; }
.montage-plz-feats strong { color: var(--color-primary); font-weight: 800; margin-right: 6px; }
.montage-plz-form { background: #fff; color: var(--color-text); border-radius: var(--radius); padding: 28px 28px 24px; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.montage-plz-form-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.montage-plz-icon { font-size: 28px; flex-shrink: 0; }
.montage-plz-form-label { font-size: 16px; font-weight: 800; line-height: 1.3; margin-bottom: 4px; }
.montage-plz-form-sub { font-size: 13px; color: var(--color-muted); }
.montage-plz-form-row { display: flex; gap: 8px; margin-bottom: 12px; }
.montage-plz-form-row input { flex: 1; padding: 12px 14px; border: 2px solid var(--color-border); border-radius: var(--radius-xs); font-size: 16px; font-family: inherit; font-weight: 700; letter-spacing: .04em; text-align: center; background: var(--color-bg-alt); transition: border-color .2s, background .2s; }
.montage-plz-form-row input:focus { outline: 0; border-color: var(--color-primary); background: #fff; }
.montage-plz-form-row .btn { flex: 0 0 auto; padding: 12px 22px; }
.montage-plz-result { padding: 12px 14px; border-radius: var(--radius-xs); font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
.montage-plz-result.is-ok { background: #e8f5e9; color: #1b5e20; border-left: 4px solid #16a34a; }
.montage-plz-result.is-neutral { background: #fff4e5; color: #663c00; border-left: 4px solid #f59e0b; }
.montage-plz-result.is-warn { background: #fde7e6; color: #7f1d1d; border-left: 4px solid var(--color-primary); }
.montage-plz-form-note { font-size: 12px; color: var(--color-muted); margin: 0; line-height: 1.4; }

/* TRUST-LAYER */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.trust-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px 22px; transition: box-shadow .2s, transform .2s; }
.trust-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.trust-icon { font-size: 30px; margin-bottom: 12px; line-height: 1; }
.trust-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.trust-card p { font-size: 14px; color: var(--color-muted); line-height: 1.55; margin: 0; }
.trust-payments { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid var(--color-border-light); }
.trust-payments-label { font-size: 13px; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
.trust-payment-chip { background: var(--color-bg-alt); border: 1px solid var(--color-border); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--color-text); }

/* SEO-LONGTEXT */
.longtext-sec { padding: var(--section-padding) 0; }
.longtext-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.longtext-toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; background: var(--color-bg-alt); border-radius: var(--radius); border: 1px solid var(--color-border-light); }
.longtext-toc-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--color-muted); margin-bottom: 8px; }
.longtext-toc a { font-size: 13px; font-weight: 600; color: var(--color-text); padding: 7px 10px; border-radius: var(--radius-xs); border-left: 3px solid transparent; transition: background .15s, border-color .15s, color .15s; line-height: 1.4; }
.longtext-toc a:hover { background: #fff; color: var(--color-primary); border-left-color: var(--color-primary); }
.longtext-body h2 { font-size: 24px; font-weight: 800; line-height: 1.25; margin: 28px 0 12px; scroll-margin-top: 90px; }
.longtext-body h2:first-child { margin-top: 0; }
.longtext-body p { font-size: 15px; line-height: 1.75; color: var(--color-text); margin: 0 0 14px; max-width: 70ch; }

/* RESPONSIVE */
@media (max-width: 1023px) {
  .kat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .paket-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .paket-grid > :nth-child(3) { grid-column: 1 / -1; }
  .paket-grid > :nth-child(3) .paket-card-img { aspect-ratio: 16 / 7; }
  .paket-foot { flex-direction: column; align-items: stretch; text-align: left; }
  .hoehen-grid { grid-template-columns: repeat(2, 1fr); }
  .tor-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .farben-strip-grid-5 { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 900px) {
  .montage-plz-grid { grid-template-columns: 1fr; gap: 30px; }
  .longtext-wrap { grid-template-columns: 1fr; gap: 24px; }
  .longtext-toc { position: static; }
}
@media (max-width: 640px) {
  .paket-grid { grid-template-columns: 1fr; gap: 16px; }
  .paket-grid > :nth-child(3) { grid-column: auto; }
  .paket-grid > :nth-child(3) .paket-card-img { aspect-ratio: 4 / 3; }
  .paket-card-body { padding: 18px 20px 20px; }
  .paket-price-val { font-size: 22px; }
  .farben-strip-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .kat-grid { grid-template-columns: 1fr; }
  .kat-tile-img { aspect-ratio: 16 / 9; }
  .hero--hub { padding: 70px 0 60px; }
  .hero--hub h1 { font-size: clamp(28px, 7vw, 38px); }
  .hoehen-grid { grid-template-columns: 1fr; gap: 10px; }
  .farben-strip-grid { grid-template-columns: 1fr; }
  .farben-strip-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .tor-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
/* END additions-FULL */
/* ============================================================
   MEGA-MENU im Header (v3 – Vollsortiment-Nav)
   ============================================================ */

/* Header-Container größer für Mega-Menu */
.zs-head-inner { gap: 24px; }

/* Nav-Items */
.zs-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.zs-nav-item { position: relative; }
.zs-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 22px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1c;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.zs-nav-link:hover, .zs-has-mega:hover > .zs-nav-link {
  color: #d30c03;
  border-bottom-color: #d30c03;
}
.zs-nav-link-highlight {
  background: #d30c03;
  color: #fff !important;
  margin-left: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  border: 0 !important;
  border-bottom: 0 !important;
}
.zs-nav-link-highlight:hover { background: #a90a02; color: #fff !important; }
.zs-caret { font-size: 11px; opacity: .5; }

/* Mega-Panel (großes für Sortiment) */
.zs-mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  width: 880px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid #ededec;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  padding: 24px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.zs-has-mega:hover > .zs-mega,
.zs-has-mega:focus-within > .zs-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease, transform .18s ease;
}

/* Hover-Bridge (verhindert Schließen beim Maus-Übergang) */
.zs-mega::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Sortiment-Grid (8 Kategorie-Karten in 4 Spalten) */
.zs-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.zs-mega-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background .15s, transform .15s;
}
.zs-mega-card:hover { background: #f7f7f5; transform: translateY(-1px); }
.zs-mega-img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f7f5;
}
.zs-mega-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zs-mega-body { min-width: 0; }
.zs-mega-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #1d1d1c;
  line-height: 1.2;
  margin-bottom: 2px;
}
.zs-mega-badge {
  display: inline-block;
  background: #d30c03;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-left: 4px;
  vertical-align: middle;
}
.zs-mega-sub {
  font-size: 11.5px;
  color: #6b6b6b;
  line-height: 1.3;
}

/* Mega-Footer */
.zs-mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #ededec;
  gap: 16px;
}
.zs-mega-footer-link {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1c;
  text-decoration: none;
  transition: color .15s;
}
.zs-mega-footer-link:hover { color: #d30c03; }
.zs-mega-footer-cta {
  background: #d30c03;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s;
}
.zs-mega-footer-cta:hover { background: #a90a02; }

/* Mega narrow (für Service / Unternehmen) */
.zs-mega-narrow { width: 320px; padding: 12px; }
.zs-mega-list { display: flex; flex-direction: column; gap: 2px; }
.zs-mega-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.zs-mega-list-item:hover { background: #f7f7f5; }
.zs-mega-list-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.zs-mega-list-name {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #1d1d1c;
  line-height: 1.2;
  margin-bottom: 2px;
}
.zs-mega-list-sub {
  display: block;
  font-size: 11.5px;
  color: #6b6b6b;
  line-height: 1.3;
}

/* ============================================================
   MOBILE-NAV (klappt unter Header auf)
   ============================================================ */

.zs-mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #ededec;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  box-shadow: 0 16px 24px rgba(0,0,0,.12);
  z-index: 199;
  padding: 8px 0;
}
.zs-mobile-nav[hidden] { display: none; }

.zs-mobile-link {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  color: #1d1d1c;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f4;
  transition: background .12s, color .12s;
}
.zs-mobile-link:hover, .zs-mobile-link:active { background: #f7f7f5; color: #d30c03; }
.zs-mobile-section { font-weight: 800; padding-top: 14px; padding-bottom: 14px; background: #fafaf9; }
.zs-mobile-sub { padding-left: 38px; font-size: 14px; color: #444; }
.zs-mobile-cta {
  background: #d30c03 !important;
  color: #fff !important;
  margin: 8px 16px !important;
  border-radius: 4px !important;
  text-align: center;
  border: 0 !important;
  font-weight: 800 !important;
}

/* Responsive: Mega-Menu auf Tablet zwei Spalten, Mobile Burger ausspielen */
@media (max-width: 1100px) {
  .zs-mega { width: 720px; }
  .zs-mega-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .zs-nav { display: none; }
  .zs-burger { display: flex !important; }
  .zs-mobile-nav:not([hidden]) { display: block; }
}
@media (max-width: 540px) {
  .zs-mega-grid { grid-template-columns: repeat(2, 1fr); }
  .zs-mega { width: calc(100vw - 16px); padding: 14px; }
}

/* ============================================================
   FOOTER v3 — Payments-Strip + Badges leicht angepasst
   ============================================================ */
.footer-payments {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px; padding: 18px 0; margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-payments-label {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .06em; margin-right: 8px;
}
.footer-payment {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.85);
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-badges span { font-size: 12px; color: rgba(255,255,255,.75); }

/* Konfigurator-Highlight rechtsbündig im Nav */
.zs-nav-link-highlight { margin-left: auto !important; }

/* Germanized Widerruf-Button (gesetzl. Pflicht) — sauber unter dem Footer statt frei schwebend */
.eu-owb-order-withdraw-from-contract-button{background:#111;margin:0;padding:14px 0 22px;text-align:center}
.eu-owb-order-withdraw-from-contract-button .button{display:inline-block;background:transparent;color:#9a9a98;border:1px solid #3a3a38;border-radius:4px;padding:7px 16px;font-size:12.5px;text-decoration:none;transition:color .15s,border-color .15s}
.eu-owb-order-withdraw-from-contract-button .button:hover{color:#fff;border-color:#6b6b6a}
