/**
 * DTB Bautrockner – Stylesheet
 * ============================
 * Farbschema: Marineblau (#0f2b4c) + Orange (#e85d04) auf Warmweiß (#fafaf8)
 * Typografie: Sora (Headlines) + Source Sans 3 (Body)
 * Animationen: Fade-in, Slide-in, Float, Hover-Effekte
 */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
/* iOS Safari body-lock when mobile nav is open */
body.nav-open { overflow: hidden; position: fixed; width: 100%; height: 100%; touch-action: none; }
body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  color: #1a1a1a; background: #fafaf8; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0f2b4c; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: #e85d04; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Sora', 'Segoe UI', sans-serif; font-weight: 700; line-height: 1.25; color: #0f2b4c; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* === SKIP LINK === */
.skip-link { position: absolute; top: -100%; left: 0; background: #e85d04; color: #fff; padding: 0.5rem 1rem; z-index: 9999; }
.skip-link:focus { top: 0; }

/* === HEADER === */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(15,43,76,0.06); transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.header.scrolled { box-shadow: 0 4px 30px rgba(15,43,76,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 2rem; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; transition: opacity 0.3s ease; }
.logo-link:hover { opacity: 0.85; }
.logo { height: 48px; width: auto; object-fit: contain; }
.header-cta-group { display: none; align-items: center; gap: 0.4rem; }
.header-whatsapp { display: none; align-items: center; gap: 0.4rem; background: #25d366; color: #fff; padding: 0.55rem 1.1rem; border-radius: 50px; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.01em; transition: all 0.3s ease; white-space: nowrap; box-shadow: 0 4px 12px rgba(37,211,102,0.35); }
.header-whatsapp:hover { background: #1ebe5c; color: #fff; transform: translateY(-2px); }
.header-phone { display: none; align-items: center; gap: 0.4rem; background: #e85d04; color: #fff; padding: 0.55rem 1.1rem; border-radius: 50px; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.01em; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); white-space: nowrap; box-shadow: 0 4px 12px rgba(232,93,4,0.3); }
.header-phone:hover { background: #d45203; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,93,4,0.4); }
.header-phone svg { flex-shrink: 0; }
@media (min-width: 1024px) { .header-phone { display: flex; } }

/* === NAVIGATION === */
.nav { display: none; }
.nav.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; background: #0f2b4c; padding: 6rem 2rem 2rem; overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 1100; animation: navSlideIn 0.4s cubic-bezier(0.4,0,0.2,1); }
@keyframes navSlideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.nav > a, .nav-dropdown-toggle { display: block; padding: 1rem 0; font-weight: 600; font-size: 1.2rem; color: #0f2b4c; border: none; background: none; cursor: pointer; text-align: left; width: 100%; font-family: 'Sora', sans-serif; letter-spacing: 0.01em; position: relative; transition: color 0.3s ease; line-height: 1.4; }
.nav.open > a, .nav.open .nav-dropdown-toggle { color: #fff; font-size: 1.4rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav.open > a:hover, .nav.open .nav-dropdown-toggle:hover { color: #e85d04; }
.nav > a:hover, .nav-dropdown-toggle:hover { color: #e85d04; }
.nav > a.active { color: #e85d04; }
.nav > a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: #e85d04; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); transform: translateX(-50%); }
.nav > a:hover::after, .nav > a.active::after { width: 100%; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; background: #fff; padding: 0.75rem 0; }
.nav.open .nav-dropdown-menu { background: rgba(255,255,255,0.05); padding: 0.5rem 0; border-radius: 8px; }
.nav.open .nav-dropdown-menu a { color: rgba(255,255,255,0.8); padding: 0.5rem 1.5rem; font-size: 1rem; }
.nav.open .nav-dropdown-menu a:hover { color: #e85d04; background: rgba(255,255,255,0.05); }
.nav-dropdown-menu a { display: block; padding: 0.6rem 1.5rem; font-size: 0.92rem; color: #333; transition: all 0.2s ease; border-radius: 4px; }
.nav-dropdown-menu a:hover { color: #e85d04; background: #fef6f0; padding-left: 1.8rem; }
.nav-dropdown-menu hr { border: none; border-top: 1px solid #eee; margin: 0.4rem 1.2rem; }
.nav.open .nav-dropdown-menu hr { border-color: rgba(255,255,255,0.1); }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
@media (min-width: 1024px) {
  .nav { display: flex !important; align-items: center; gap: 0.1rem; position: static; background: none; border: none; box-shadow: none; padding: 0; flex-direction: row; }
  .nav > a, .nav-dropdown-toggle { padding: 0.6rem 0.6rem; font-size: 0.875rem; color: #0f2b4c; line-height: 1.2; white-space: nowrap; }
  .nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 260px; border-radius: 12px; box-shadow: 0 12px 40px rgba(15,43,76,0.12); border: 1px solid rgba(15,43,76,0.06); z-index: 100; padding: 0.75rem; padding-top: 1.25rem; margin-top: 0; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px); transition: all 0.25s cubic-bezier(0.4,0,0.2,1); }
  /* Bridge gap between toggle and menu so hover doesn't break */
  .nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; background: transparent; }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.hovered .nav-dropdown-menu { display: block; opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  /* JS-based delay fallback – keep hover reliable */
  .nav-dropdown-menu a { padding: 0.55rem 1rem; border-radius: 6px; }
  .nav-toggle { display: none !important; }
}
/* Dropdown Sections & Labels */
.nav-dropdown-section { margin-bottom: 0.5rem; }
.nav-dropdown-section:last-child { margin-bottom: 0; }
.nav-dropdown-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #8a919c; padding: 0.4rem 1rem 0.25rem; font-family: 'Sora', sans-serif; }
.nav.open .nav-dropdown-label { color: rgba(255,255,255,0.75); }
.nav-dropdown-highlight { border-top: 1px solid #eee; padding-top: 0.5rem; margin-top: 0.25rem; }
.nav.open .nav-dropdown-highlight { border-color: rgba(255,255,255,0.1); }
.nav-emergency { color: #e85d04 !important; font-weight: 700 !important; }
@media (min-width: 1024px) {
  .nav-dropdown:first-of-type .nav-dropdown-menu { min-width: 480px; display: none; grid-template-columns: 1fr 1fr; gap: 0; padding-top: 1.25rem; }
  .nav-dropdown:first-of-type:hover .nav-dropdown-menu, .nav-dropdown:first-of-type.hovered .nav-dropdown-menu { display: grid; opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .nav-dropdown:first-of-type .nav-dropdown-highlight { grid-column: 1 / -1; }
  .nav-dropdown:nth-of-type(2) .nav-dropdown-menu { min-width: 420px; display: none; grid-template-columns: 1fr 1fr; gap: 0; }
  .nav-dropdown:nth-of-type(2):hover .nav-dropdown-menu { display: grid; opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}

.nav-toggle { display: flex; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1200; position: relative; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: #0f2b4c; border-radius: 2px; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.nav-toggle.open span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* === HERO === */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0f2b4c 0%, #163d6b 50%, #0f2b4c 100%); padding: 4rem 0 3rem; color: #fff; }
.hero-bg-shape { position: absolute; width: 400px; height: 400px; border-radius: 50%; opacity: 0.06; background: #e85d04; animation: heroFloat 8s ease-in-out infinite; }
.hero-bg-shape:nth-child(1) { top: -100px; right: -100px; }
.hero-bg-shape:nth-child(2) { bottom: -150px; left: -150px; animation-delay: -4s; }
@keyframes heroFloat { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px, -20px) scale(1.05); } }
.hero-content { display: grid; gap: 2rem; align-items: center; position: relative; z-index: 2; }
.hero-text h1 { color: #fff; margin-bottom: 1rem; }
.hero-text h1 .text-accent { color: #e85d04; }
.hero-text p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 1.5rem; max-width: 550px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.85rem; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-image { text-align: center; }
.hero-image img { border-radius: 12px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,0.3); animation: slideInRight 0.8s ease-out; max-width: 420px; }
@media (min-width: 768px) { .hero { padding: 5rem 0 4rem; } .hero-content { grid-template-columns: 1fr 1fr; } }


/* === HERO TRUST === */
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }
.trust-item { font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 500; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; max-width: 550px; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.25s ease; text-decoration: none; }
.btn-primary { background: #e85d04; color: #fff; }
.btn-primary:hover { background: #d45203; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,93,4,0.3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-secondary { background: #0f2b4c; color: #fff; }
.btn-secondary:hover { background: #163d6b; color: #fff; transform: translateY(-2px); }

/* === SECTIONS === */
.section { padding: 5rem 0; }
.section.alt-bg { background: #f0eeeb; }
.section.dark, .section-dark { background: linear-gradient(135deg, #0f2b4c 0%, #163d6b 100%); color: #fff; }
.section.dark h2, .section.dark h3, .section-dark h2, .section-dark h3 { color: #fff; }
.section.dark .light-text, .section-dark p { color: rgba(255,255,255,0.8); }
.section-dark .section-title { color: #fff; }
.section-dark .section-title::after { background: #e85d04; }
.section-dark .section-intro { color: rgba(255,255,255,0.92); }
.section-dark .card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
.section-dark .card-body h3 { color: #fff; }
.section-dark .card-body p { color: rgba(255,255,255,0.8); }
.section-dark .card-link { color: #e85d04; }
.section-title { text-align: center; margin-bottom: 0.5rem; position: relative; padding-bottom: 0.75rem; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: #e85d04; border-radius: 2px; }
.section-intro { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; color: #444; font-size: 1.05rem; }

/* === PAGE HERO === */
.page-hero { position: relative; min-height: 400px; display: flex; align-items: flex-end; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.page-hero.compact { min-height: 340px; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,43,76,.9) 0%, rgba(15,43,76,.7) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 3rem 0; width: 100%; }
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero-sub { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 700px; }
.text-accent { color: #e85d04; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,.88); margin-bottom: 0.75rem; }
.breadcrumb a { color: rgba(255,255,255,0.88); }
.breadcrumb a:hover { color: #e85d04; }

/* === CARDS === */
.card-grid, .cards-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .card-grid, .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid, .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid rgba(15,43,76,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(15,43,76,0.1); }
.section.dark .card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.section.dark .card-body h3, .section.dark .card-body p { color: #fff; }
.section.dark .card-body p { opacity: 0.85; }
.section.dark .card-link { color: #e85d04; }
.card-img, .card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-body h3 a { color: #0f2b4c; }
.card-body h3 a:hover { color: #e85d04; }
.card-body p { color: #444; font-size: 0.95rem; }
.card-link { display: inline-flex; align-items: center; gap: 0.3rem; color: #e85d04; font-weight: 600; font-size: 0.9rem; margin-top: 0.5rem; }
.card-link:hover { gap: 0.5rem; }
.card-link::after { content: '\2192'; }

/* === CONTENT PAGE === */
.content-page { display: grid; gap: 2rem; }
@media (min-width: 768px) { .content-page { grid-template-columns: 2fr 1fr; } }
.content-main h2 { margin-top: 2rem; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { margin-top: 1.5rem; color: #0f2b4c; }
.content-main p { color: #333; }
.content-main img { border-radius: 8px; margin: 1.5rem 0; }
.content-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-card { background: #fff; border-radius: 10px; padding: 1.25rem; border: 1px solid rgba(15,43,76,0.08); }
.sidebar-card.emergency { background: linear-gradient(135deg, #0f2b4c, #163d6b); color: #fff; }
.sidebar-card.emergency h3 { color: #e85d04; }
.sidebar-card.emergency p { color: rgba(255,255,255,0.88); }
.sidebar-card.emergency a:not(.btn) { color: #fff; }
.sidebar-card.emergency h3 { color: #fff; }
.emergency-phone { display: block; font-size: 1.3rem; font-weight: 700; color: #e85d04; margin-top: 0.5rem; }
.sidebar-links { display: flex; flex-direction: column; gap: 0.4rem; }
.sidebar-links a { font-size: 0.9rem; padding: 0.3rem 0; border-bottom: 1px solid #f0f0f0; }
.sidebar-links a:last-child { border-bottom: none; }

/* === LISTS === */
.check-list { padding-left: 0; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.6rem; color: #333; }
.check-list li::before { content: '\2713'; position: absolute; left: 0; color: #e85d04; font-weight: 700; }
.check-list.warning li::before { content: '\26A0'; color: #d45203; }
.numbered-list { padding-left: 1.5rem; list-style: decimal; }
.numbered-list li { margin-bottom: 0.75rem; color: #333; padding-left: 0.5rem; }

/* === TABLES === */
.content-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.content-table th, .content-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #e8e6e3; }
.content-table th { background: #0f2b4c; color: #fff; font-weight: 600; font-family: 'Sora', sans-serif; font-size: 0.9rem; }
.content-table tr:hover { background: #f5f5f3; }

/* === INFO BOX === */
.info-box { background: #0f2b4c; color: #fff; border-left: 4px solid #e85d04; padding: 1.5rem 2rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0; }
.info-box h3, .info-box h4 { color: #e85d04; margin-bottom: 0.5rem; }
.info-box p, .info-box li { color: rgba(255,255,255,0.9); }
.info-box a { color: #e85d04; }
.info-box.emergency-info { background: linear-gradient(135deg, #0f2b4c, #163d6b); }
.info-box.emergency-info h4 { color: #e85d04; }
.info-box.emergency-info a { color: #e85d04; }

/* === PRICE CARDS === */
.price-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: #fff; border-radius: 10px; padding: 1.5rem; border: 2px solid rgba(15,43,76,0.08); transition: border-color 0.3s ease, transform 0.3s ease; }
.price-card:hover { border-color: #e85d04; transform: translateY(-3px); }
.price-card.featured { border-color: #e85d04; position: relative; }
.price-card.featured::before { content: 'Beliebt'; position: absolute; top: -12px; right: 20px; background: #e85d04; color: #fff; padding: 0.2rem 0.75rem; border-radius: 4px; font-size: 0.8rem; font-weight: 600; }
.price-amount { font-size: 2rem; font-weight: 700; color: #e85d04; font-family: 'Sora', sans-serif; }
.price-unit { font-size: 0.9rem; color: #777; }
.price-features { margin-top: 1rem; }
.price-features li { padding: 0.4rem 0; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; color: #444; }
.price-features li:last-child { border-bottom: none; }

/* === RECHNER (einheitlich, modern, großzügig) === */
.rechner-box, .calculator { max-width: 800px; margin: 2.5rem 0; background: linear-gradient(145deg, #0f2b4c 0%, #163a64 50%, #1a4270 100%); border-radius: 20px; padding: 2.5rem 3rem; box-shadow: 0 20px 60px rgba(15,43,76,.25); border: 1px solid rgba(255,255,255,0.05); }
.rechner-header { text-align: center; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.rechner-header h4 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; font-family: 'Sora', sans-serif; }
.rechner-header p { color: rgba(255,255,255,.88); font-size: 0.95rem; margin-bottom: 0; }
.rechner-form { margin-bottom: 0; }
.rechner-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.25rem; }
.rechner-field { display: flex; flex-direction: column; }
.rechner-field label { color: rgba(255,255,255,.85); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: 0.01em; }
.rechner-field input, .rechner-field select { width: 100%; padding: 0.85rem 1.15rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: #fff; font-size: 1rem; font-family: inherit; transition: all 0.25s ease; }
.rechner-field input::placeholder { color: rgba(255,255,255,.35); }
.rechner-field input:focus, .rechner-field select:focus { outline: none; border-color: #e85d04; background: rgba(255,255,255,.12); box-shadow: 0 0 0 3px rgba(232,93,4,0.15); }
.rechner-field select option { background: #0f2b4c; color: #fff; }
.rechner-field-full { grid-column: 1 / -1; }
.rechner-checkboxes { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.rechner-checkbox { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,.85); font-size: 0.9rem; cursor: pointer; }
.rechner-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: #e85d04; cursor: pointer; }
.rechner-btn { display: block; width: 100%; padding: 1.1rem; background: linear-gradient(135deg, #e85d04, #f07020); color: #fff; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); font-family: 'Sora', sans-serif; margin-top: 1rem; letter-spacing: 0.02em; box-shadow: 0 4px 15px rgba(232,93,4,0.3); }
.rechner-btn:hover { background: linear-gradient(135deg, #d45203, #e85d04); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(232,93,4,0.4); }
.rechner-result { margin-top: 2rem; padding: 2rem; background: rgba(255,255,255,.06); border-radius: 16px; border: 1px solid rgba(255,255,255,.1); display: none; }
.rechner-result.active { display: block; animation: fadeInUp 0.5s ease-out; }
.rechner-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.rechner-result-main { text-align: center; padding: 1.5rem; background: rgba(232,93,4,0.1); border-radius: 12px; border: 1px solid rgba(232,93,4,0.2); }
.rechner-result-label { display: block; color: rgba(255,255,255,.88); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.rechner-result-value { display: block; font-size: 2.5rem; font-weight: 800; color: #e85d04; font-family: 'Sora', sans-serif; line-height: 1.1; margin-bottom: 0.25rem; }
.rechner-result-sub { display: block; color: rgba(255,255,255,.82); font-size: 0.8rem; }
.rechner-result-details p { color: rgba(255,255,255,.8); margin-bottom: 0.5rem; font-size: 0.95rem; }
.rechner-result-details strong { color: #fff; }
.rechner-hinweis { font-size: 0.82rem; color: rgba(255,255,255,0.92) !important; font-style: italic; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); line-height: 1.5; }
.rechner-hinweis a { color: #e85d04; }
@media (max-width: 639px) {
  .rechner-row { grid-template-columns: 1fr; gap: 1rem; }
  .rechner-box, .calculator { padding: 1.5rem; border-radius: 14px; }
  .rechner-result-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .rechner-result-value { font-size: 2rem; }
  .rechner-checkboxes { flex-direction: column; gap: 0.75rem; }
}

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e8e6e3; overflow: hidden; }
.faq-item summary { padding: 1.25rem 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; color: #0f2b4c; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color 0.25s ease; }
.faq-item summary:hover { color: #e85d04; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: #e85d04; transition: transform 0.3s ease; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p, .faq-item ul { padding: 0 0 1.25rem; color: #333; }
.faq-item a { color: #e85d04; font-weight: 600; }

/* === REVIEWS === */
.reviews-section { background: #f0eeeb; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; justify-content: center; margin-bottom: 2rem; }
.reviews-stars { font-size: 1.5rem; color: #e85d04; }
.reviews-avg { font-weight: 700; font-size: 1.2rem; color: #0f2b4c; }
.reviews-count { color: #777; }
.reviews-google-link { color: #e85d04; font-weight: 600; font-size: 0.9rem; }
.reviews-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: #fff; border-radius: 10px; padding: 1.25rem; border: 1px solid rgba(15,43,76,0.06); }
.review-header { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: #0f2b4c; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.review-meta { display: block; font-size: 0.8rem; color: #666; }
.review-stars { color: #e85d04; white-space: nowrap; display: block; font-size: 0.9rem; margin-top: 0.2rem; }
.review-text { font-size: 0.95rem; color: #333; font-style: italic; }
.review-reply { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #f0f0f0; font-size: 0.85rem; color: #777; }

/* === CONTACT FORM === */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 2fr 1fr; } }
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: 0.9rem; color: #fff; }
.section.dark .contact-form label { color: rgba(255,255,255,0.9); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 0.75rem 1rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; font-size: 1rem; font-family: inherit; background: rgba(255,255,255,0.08); color: #fff; transition: border-color 0.25s ease, background 0.25s ease; margin-top: 0.3rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #e85d04; background: rgba(255,255,255,0.12); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.75); }
.contact-form button { background: #e85d04; color: #fff; border: none; padding: 0.85rem 2rem; border-radius: 6px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.25s ease, transform 0.2s ease; font-family: 'Sora', sans-serif; }
.contact-form button:hover { background: #d45203; transform: translateY(-2px); }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 1.25rem; color: #fff; }
.contact-card h3 { color: #e85d04; }
.contact-card a { color: #e85d04; }
.contact-card p { margin-bottom: 0.4rem; font-size: 0.95rem; }

/* === ALERTS === */
.alert { padding: 1.25rem 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* === CHECKLIST GRID === */
.checklist-grid { display: grid; gap: 1.25rem; margin: 2rem 0; }
@media (min-width: 640px) { .checklist-grid { grid-template-columns: repeat(2, 1fr); } }
.checklist-card { background: #fff; border-radius: 10px; padding: 1.5rem; border: 1px solid rgba(15,43,76,0.08); position: relative; padding-left: 4rem; }
.checklist-card.urgent { border-left: 4px solid #e85d04; }
.checklist-number { position: absolute; left: 1rem; top: 1.25rem; width: 36px; height: 36px; border-radius: 50%; background: #0f2b4c; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Sora', sans-serif; }
.checklist-card.urgent .checklist-number { background: #e85d04; }

/* === MAP === */
.map-container { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* === LEGAL PAGE === */
.legal-page { max-width: 800px; }
.legal-page h2 { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e8e6e3; }
.legal-page h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-page h3 { margin-top: 1.25rem; }

/* === TEAM === */
.team-hero { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .team-hero { grid-template-columns: 1fr 1fr; } }
.team-image { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; max-width: 480px; }
.team-quote { font-size: 1.2rem; font-style: italic; color: #333; border-left: 4px solid #e85d04; padding-left: 1.25rem; margin: 1.5rem 0; }
.timeline { position: relative; padding-left: 2rem; margin: 2rem 0; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #e85d04; }
.timeline-item { position: relative; margin-bottom: 2rem; padding-left: 1.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.35rem; top: 0.3rem; width: 14px; height: 14px; border-radius: 50%; background: #e85d04; border: 3px solid #fff; box-shadow: 0 0 0 3px #e85d04; }
.timeline-year { font-weight: 700; color: #e85d04; font-family: 'Sora', sans-serif; }

/* === BEZIRKE GRID === */
.bezirke-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.bezirk-card { display: block; background: #fff; border: 1px solid rgba(15,43,76,.06); border-radius: 12px; padding: 1.5rem; text-decoration: none; color: #2d3748; transition: all .3s ease; position: relative; overflow: hidden; }
.bezirk-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #e85d04; transform: scaleY(0); transform-origin: bottom; transition: transform .3s ease; }
.bezirk-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); color: #2d3748; }
.bezirk-card:hover::before { transform: scaleY(1); }
.bezirk-card h3 { font-size: 1rem; margin-bottom: .3rem; color: #0f2b4c; }
.bezirk-card .bezirk-plz { font-size: .82rem; color: #5a6577; margin-bottom: .3rem; }
.bezirk-link { font-size: .82rem; color: #e85d04; font-weight: 600; }
.section-dark .bezirk-card, .section.dark .bezirk-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.section-dark .bezirk-card h3, .section.dark .bezirk-card h3 { color: #fff; }
.section-dark .bezirk-card .bezirk-plz, .section.dark .bezirk-card .bezirk-plz { color: rgba(255,255,255,.7); }
.section-dark .bezirk-card:hover, .section.dark .bezirk-card:hover { background: rgba(255,255,255,.1); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* === ZAPFANLAGEN DARK MODE === */
.zapf-dark { background: #0f2b4c; color: #fff; }
.zapf-dark h1, .zapf-dark h2, .zapf-dark h3 { color: #fff; }
.zapf-dark p { color: rgba(255,255,255,.85); }
.zapf-dark .section { background: transparent; }
.zapf-dark .section.alt-bg { background: rgba(255,255,255,.03); }
.zapf-dark .section-title { color: #fff; }
.zapf-dark .section-intro { color: rgba(255,255,255,.92); }
.zapf-dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.zapf-dark .card-body h3 { color: #fff; }
.zapf-dark .card-body p { color: rgba(255,255,255,.8); }
.zapf-dark .price-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.zapf-dark .price-card:hover { border-color: #e85d04; }
.zapf-dark .price-card h3 { color: #fff; }
.zapf-dark .price-amount { color: #e85d04; }
.zapf-dark .price-unit, .zapf-dark .price-features li { color: rgba(255,255,255,.7); }
.zapf-dark .check-list li { color: rgba(255,255,255,.85); }
.zapf-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.3); }
.zapf-dark .btn-outline:hover { background: #fff; color: #0f2b4c; }
.zapf-dark .btn-primary { color: #0f2b4c; }
.zapf-dark .btn-primary:hover { color: #fff; }
.zapf-dark .page-hero .btn-primary { color: #fff; }
.zapf-dark .page-hero .btn-primary:hover { color: #fff; }
.zapf-dark .content-main p, .zapf-dark .content-main li { color: rgba(255,255,255,.85); }
.zapf-dark .content-main h2, .zapf-dark .content-main h3 { color: #fff; }
.zapf-dark .sidebar-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.zapf-dark .sidebar-card h3 { color: #fff; }
.zapf-dark .sidebar-card p { color: rgba(255,255,255,.7); }
/* zapf-dark: header fixes */
.zapf-dark .header { background: rgba(10,22,40,0.97); border-bottom-color: rgba(255,255,255,0.08); }
/* Logo: invert to white on dark header */
.zapf-dark .header .logo { filter: brightness(0) invert(1); }
/* Phone button: white pill with navy text so it's readable on dark header */
.zapf-dark .header-phone { background: #fff; color: #0f2b4c; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.zapf-dark .header-phone:hover { background: #d45203; color: #fff; }
/* WhatsApp button stays green – already readable */
/* Nav links: white on dark */
.zapf-dark .nav > a, .zapf-dark .nav-dropdown-toggle { color: rgba(255,255,255,0.9); }
.zapf-dark .nav > a:hover, .zapf-dark .nav-dropdown-toggle:hover { color: #e85d04; }
.zapf-dark .nav > a.active { color: #e85d04; }
.zapf-dark .nav-toggle span { background: #fff; }
/* zapf-dark: reviews – white cards need dark text */
.zapf-dark .reviews-section { background: rgba(255,255,255,0.04); }
.zapf-dark .review-card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }
.zapf-dark .review-card .review-text { color: rgba(255,255,255,0.88); }
.zapf-dark .review-card strong { color: #fff; }
.zapf-dark .review-card .review-meta { color: rgba(255,255,255,0.55); }
.zapf-dark .reviews-avg { color: #fff; }
.zapf-dark .reviews-count { color: rgba(255,255,255,0.6); }
.zapf-dark .price-card p { color: rgba(255,255,255,.82); }
.zapf-dark .price-card .price-desc { color: rgba(255,255,255,.82); }
.zapf-dark .price-card .price-label { color: rgba(255,255,255,.7); }
.zapf-dark .price-card .price-unit { color: rgba(255,255,255,.7); }
.zapf-dark .price-card .price-features li { color: rgba(255,255,255,.82); }
.zapf-dark .price-note { color: rgba(255,255,255,.82); }
.zapf-dark .price-note strong { color: #fff; }
.zapf-dark .price-note a { color: #e85d04; }
.zapf-dark .price-badge { background: #e85d04; color: #fff; }
.zapf-dark .section-title::after { background: #e85d04; }
.zapf-dark .card-link { color: #e85d04; }
.zapf-dark .bezirk-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #fff; }
.zapf-dark .bezirk-card h3 { color: #fff; }
.zapf-dark .bezirk-card .bezirk-plz { color: rgba(255,255,255,.7); }
.zapf-dark .bezirk-card .bezirk-link { color: #e85d04; }
.zapf-dark .bezirk-card:hover { background: rgba(255,255,255,.1); }
.zapf-dark .info-box { background: rgba(255,255,255,.07); border-left-color: #e85d04; }
.zapf-dark .info-box h4 { color: #e85d04; }
.zapf-dark .info-box p, .zapf-dark .info-box li { color: rgba(255,255,255,.88); }
.zapf-dark table { color: rgba(255,255,255,.85); }
.zapf-dark th { background: rgba(255,255,255,.1); color: #fff; }
.zapf-dark td { border-color: rgba(255,255,255,.1); }
.zapf-dark .content-table th { background: rgba(255,255,255,.12); color: #fff; }
.zapf-dark .content-table td { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.08); }
.zapf-dark .highlight-box { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.zapf-dark .highlight-box p { color: rgba(255,255,255,.85); }
.zapf-dark a { color: #e85d04; }
.zapf-dark nav.breadcrumb a { color: rgba(255,255,255,.75); }

/* === SPLIT CONTENT === */
.split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-content.reverse { direction: rtl; }
.split-content.reverse > * { direction: ltr; }
.split-text h2 { margin-bottom: 1rem; }
.split-text p { color: #5a6577; margin-bottom: 1rem; }
.split-img-square { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; }
@media (max-width: 768px) { .split-content { grid-template-columns: 1fr; gap: 2rem; } .split-content.reverse { direction: ltr; } }

/* === FOOTER === */
.footer { background: #0f2b4c; color: rgba(255,255,255,0.8); padding: 3rem 0 1.5rem; }
.footer h3 { color: #e85d04; font-size: 1rem; margin-bottom: 0.75rem; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #e85d04; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col ul li { margin-bottom: 0.3rem; }
.footer-col ul li a { font-size: 0.9rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.footer-social a { color: rgba(255,255,255,.88); }
.footer-social a:hover { color: #e85d04; }
.footer-ratgeber { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.9rem; }
.footer-ratgeber a { margin: 0 0.25rem; }
.footer-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.85rem; }
.footer-legal a { margin: 0 0.25rem; }

/* === WHATSAPP FLOAT === */
.whatsapp-float { position: fixed; bottom: 90px; right: 20px; z-index: 998; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37,211,102,0.4); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); color: #fff; }

/* === MOBILE CTA === */
.mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; background: #0f2b4c; border-top: 2px solid #e85d04; }
.mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.85rem; color: #fff; font-weight: 600; font-size: 0.9rem; text-align: center; }
.mobile-cta-phone { background: #e85d04; }
.mobile-cta-phone:hover { background: #d45203; color: #fff; }
.mobile-cta-wa { background: #25d366; }
.mobile-cta-wa:hover { background: #1da851; color: #fff; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* === ANIMATIONS === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { transform: translateX(-50%) scaleX(0); } to { transform: translateX(-50%) scaleX(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.slide-in-left.visible { opacity: 1; transform: translateX(0); }
.slide-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.slide-in-right.visible { opacity: 1; transform: translateX(0); }
.card-grid .card:nth-child(1) { transition-delay: 0s; }
.card-grid .card:nth-child(2) { transition-delay: 0.1s; }
.card-grid .card:nth-child(3) { transition-delay: 0.2s; }
.card-grid .card:nth-child(4) { transition-delay: 0.3s; }
.card-grid .card:nth-child(5) { transition-delay: 0.4s; }
.card-grid .card:nth-child(6) { transition-delay: 0.5s; }

/* === UTILITY === */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
@media (max-width: 767px) { body { padding-bottom: 60px; } .whatsapp-float { bottom: 75px; } }

.review-info { display: flex; flex-direction: column; }
