/* ===================================================================
   style.css - ProEnergie - ZENTRAL
   Quelle: basischeck.html, datenschutz.html, energieberatung.html,
           impressum.html, index.html, leckageortung.html, projektleitung.html
   Regel: index.html steht am ENDE und gewinnt alle Konflikte
   =================================================================== */

/* ===================================================================
   1. BASIS - Verwendet in: ALLEN Dateien (7/7)
   =================================================================== */
:root {
  --primary: #031F5C; --primary-mid: #1249B4; --secondary: #6BA242;
  --secondary-light: #72CD14; --accent-green: #72CD14; --accent-blue: #1249B4;
  --turquoise: #6BA242; --dark: #1a1f2e; --light: #e8edf5;
  --bg-page: #ffffff; --bg-page-alt: #f3f6fb; --bg-header: #ffffff;
  --bg-footer: #07163a; --bg-card: #ffffff; --bg-hint: #e4eaf5;
  --text-base: #1e2535; --text-muted: rgba(30,37,53,0.58);
  --text-heading: #031F5C; --text-nav: #1e2535; --text-footer: #dde5f5;
  --text-footer-muted: #7a96c4; --border-card: #dde4f0;
  --shadow-header: 0 1px 0 rgba(3,31,92,0.10);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; width: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--bg-page); color: var(--text-base);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden; width: 100%; max-width: 100vw; padding-top: 72px;
}
body.menu-open { overflow: hidden; }
header {
  position: fixed; top: 0; left: 0; right: 0;
  background-color: var(--bg-header); border-bottom: 1px solid var(--border-card);
  box-shadow: var(--shadow-header); transition: background-color 0.3s, border-color 0.3s;
  width: 100%; z-index: 99; height: 72px;
}
#page-blur-overlay {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.18); backdrop-filter: blur(4px);
  z-index: 45; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
#page-blur-overlay.active { opacity: 1; pointer-events: all; }
.logo-wrapper { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.logo-img-box { width: 46px; height: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: transparent !important; box-shadow: none !important; border-radius: 0; overflow: visible; }
.logo-img-box img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
.logo-img-box .logo-svg-fallback { width: 30px; height: 30px; }
.logo-text-block { display: flex; flex-direction: column; justify-content: center; }
.logo-brand { font-family: 'DM Sans', sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.logo-brand .pro { color: #1249B4; }
.logo-brand .energie { color: #72CD14; }
.logo-sub { font-size: 0.68rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; white-space: nowrap; margin-top: 1px; text-align: center; }
.nav-link { position: relative; color: var(--text-nav); font-size: 0.9375rem; font-weight: 500; transition: color 0.2s ease; white-space: nowrap; padding-bottom: 2px; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -2px; left: 0; background: var(--primary); transition: width 0.25s ease; border-radius: 2px; }
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }
.submenu { position: absolute; top: calc(100% + 12px); left: -16px; background-color: var(--bg-header); border: 1px solid var(--border-card); border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,0.12); min-width: 210px; opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 9999; padding: 8px 0; transform: translateY(6px); }
.nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 20px; color: var(--text-nav); font-size: 0.9rem; transition: all 0.15s ease; }
.submenu a:hover { background: rgba(3,31,92,0.06); color: var(--primary); padding-left: 26px; }
#mobile-menu { position: fixed; top: 72px; right: 0; width: 82%; max-width: 340px; height: calc(100dvh - 72px); background-color: var(--bg-header); border-left: 1px solid var(--border-card); transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); z-index: 55; overflow-y: auto; padding-bottom: 48px; }
#mobile-menu.active { transform: translateX(0); }
#mobile-menu a { color: var(--text-nav); }
.mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mobile-submenu.active { max-height: 500px; }
#mobile-menu .cta-button { background: linear-gradient(90deg, var(--primary), var(--primary-mid)) !important; color: #ffffff !important; box-shadow: 0 4px 15px rgba(3, 31, 92, 0.35) !important; border: none !important; }
#hamburger-icon { width: 26px; height: 18px; position: relative; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
#hamburger-icon span { display: block; width: 100%; height: 2px; background: var(--primary); border-radius: 2px; transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), opacity 0.3s ease; position: absolute; left: 0; }
#hamburger-icon span:nth-child(1) { top: 0; }
#hamburger-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
#hamburger-icon span:nth-child(3) { bottom: 0; }
#hamburger-icon.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
#hamburger-icon.is-open span:nth-child(2) { opacity: 0; transform: translateY(-50%) scaleX(0); }
#hamburger-icon.is-open span:nth-child(3) { top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }
.cta-button { background: linear-gradient(90deg, #031F5C, #1249B4); transition: all 0.3s ease; border-radius: 100px; }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(3,31,92,0.45); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary); transition: gap 0.2s, color 0.2s; }
.section-outer { padding: 5rem 2rem; }
.section-divider { height: 1px; background: var(--border-card); margin: 0 2rem; }
.section-h2 { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.12; font-weight: 400; color: var(--text-heading); margin-bottom: 1.25rem; }
.section-intro { font-size: clamp(1rem, 2vw, 1.1rem); color: var(--text-muted); line-height: 1.7; }
.proenergie-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 20px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 20px; padding: 1.75rem; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.why-card:hover { border-color: var(--secondary); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(107,162,66,0.10); }
.why-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.1rem; background: linear-gradient(135deg, rgba(3,31,92,0.08), rgba(107,162,66,0.10)); }
.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.55rem; color: var(--text-heading); }
.why-card p { font-size: 0.875rem; line-height: 1.7; color: var(--text-muted); }
.cta-banner { background: linear-gradient(110deg, #020f30 0%, #031F5C 40%, #0a3585 100%); border-radius: 24px; overflow: hidden; position: relative; padding: 4rem 2rem; text-align: center; }
.cta-banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 75% at 100% 50%, rgba(107,162,66,0.12) 0%, transparent 65%); pointer-events: none; }
.cta-banner h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 4vw, 2.5rem); color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-outline { background: rgba(255,255,255,0.10); border: 1.5px solid rgba(255,255,255,0.35); color: #fff; border-radius: 100px; transition: all 0.3s ease; }
.cta-outline:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
footer { background: var(--bg-footer); }
.desktop-contact-info { display: none; flex-direction: column; gap: 3px; font-size: 0.78rem; color: var(--text-muted); }
.desktop-contact-info a, .desktop-contact-info p { display: flex; align-items: center; gap: 5px; color: var(--text-muted); transition: color 0.2s; white-space: nowrap; line-height: 1.5; }
.desktop-contact-info a:hover { color: var(--primary); }
.desktop-contact-info i { font-size: 10px; color: var(--primary); flex-shrink: 0; }
.form-input { width: 100%; border: 1.5px solid var(--border-card); background: var(--bg-card); color: var(--text-base); border-radius: 12px; padding: 14px 18px; font-size: 0.95rem; font-family: inherit; outline: none; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-base); }
.prose-custom p { margin-bottom: 1.15rem; line-height: 1.75; color: var(--text-base); }

/* ===================================================================
   2. SUBPAGES GEMEINSAM - Verwendet in: basischeck, datenschutz, energieberatung, impressum, leckageortung, projektleitung (6/7)
   =================================================================== */
.page-hero { background: linear-gradient(135deg, #020e30 0%, #031F5C 45%, #0a3585 100%); position: relative; overflow: hidden; padding: 5rem 2rem 4rem; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 70% at 80% 50%, rgba(107,162,66,0.12) 0%, transparent 65%); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to bottom, transparent, var(--bg-page)); pointer-events: none; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: #72CD14; }
.breadcrumb i { font-size: 0.6rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(107,162,66,0.18); border: 1px solid rgba(107,162,66,0.40); color: #b8e88a; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 18px; border-radius: 100px; margin-bottom: 1.75rem; }
.page-hero-h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; color: #fff; font-weight: 400; }
.page-hero-h1 em { font-style: italic; color: #a0d860; }
.page-hero-lead { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.65; color: rgba(255,255,255,0.78); margin-top: 1.25rem; max-width: 640px; }
.section-alt-bg { background: var(--bg-page-alt); transition: background 0.3s; }
.section-label { display: inline-block; font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); margin-bottom: 1rem; }
.highlight-banner { background: linear-gradient(110deg, #020f30 0%, #031F5C 40%, #0a3585 100%); border-radius: 24px; overflow: hidden; position: relative; padding: 3rem 2.5rem; }
.highlight-banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 75% at 100% 50%, rgba(107,162,66,0.12) 0%, transparent 65%); pointer-events: none; }
.stat-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 1.5rem 1.75rem; text-align: center; backdrop-filter: blur(8px); }
.stat-num { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 2.8rem); color: #a0d860; font-weight: 400; line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 0.5rem; line-height: 1.4; }
blockquote.big-quote { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; font-style: italic; line-height: 1.4; color: var(--text-heading); position: relative; padding: 0 2rem; }
blockquote.big-quote::before { content: '"'; font-size: 5rem; line-height: 0.5; color: var(--secondary); opacity: 0.4; display: block; margin-bottom: 1rem; font-family: 'DM Serif Display', serif; }
.form-input:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(107,162,66,0.1); }
.prose-custom ul { color: var(--text-base); }

/* ===================================================================
   3. CONTENT-GRUPPEN - Verwendet in: datenschutz, impressum, projektleitung
   =================================================================== */
.advantage-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border-card); }
.advantage-item:last-child { border-bottom: none; }
.advantage-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(3,31,92,0.07), rgba(107,162,66,0.12)); color: var(--secondary); font-size: 0.9rem; }
.advantage-text h5 { font-size: 0.95rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.2rem; }
.advantage-text p { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); }
.process-step { position: relative; display: flex; gap: 1.5rem; align-items: flex-start; padding-bottom: 2.5rem; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--secondary), transparent); }
.process-step:last-child::before { display: none; }
.step-num { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #031F5C, #1249B4); color: #fff; font-weight: 700; font-size: 0.9rem; box-shadow: 0 4px 12px rgba(3,31,92,0.25); z-index: 1; }
.step-content h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.4rem; }
.step-content p { font-size: 0.875rem; line-height: 1.7; color: var(--text-muted); }
.industry-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 100px; padding: 9px 18px; font-size: 0.875rem; font-weight: 500; color: var(--text-base); transition: all 0.2s ease; text-decoration: none; }
.industry-pill:hover { border-color: var(--secondary); color: var(--secondary); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,162,66,0.12); }
.industry-pill i { font-size: 0.8rem; color: var(--secondary); }

/* ===================================================================
   4. ANALYSE-GRUPPE - Verwendet in: energieberatung, leckageortung
   =================================================================== */
.analysis-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 16px; padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.analysis-card:hover { border-color: var(--secondary); box-shadow: 0 8px 24px rgba(107,162,66,0.08); }
.analysis-icon { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(3,31,92,0.08), rgba(107,162,66,0.12)); font-size: 1.2rem; }
.analysis-card h5 { font-size: 0.95rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.25rem; }
.analysis-card p { font-size: 0.82rem; line-height: 1.6; color: var(--text-muted); }
.usecase-pill { display: flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 14px; padding: 1rem 1.25rem; transition: all 0.2s ease; }
.usecase-pill:hover { border-color: var(--secondary); box-shadow: 0 6px 18px rgba(107,162,66,0.10); transform: translateX(4px); }
.usecase-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; }
.usecase-pill span { font-size: 0.875rem; font-weight: 500; color: var(--text-base); }

/* ===================================================================
   5. EXKLUSIV - Nur verwendet in: leckageortung.html
   =================================================================== */
.cost-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-card); }
.cost-table thead { background: var(--bg-header); border-bottom: 1px solid var(--border-card); }
.cost-table th, .cost-table td { padding: 0.9rem 1.2rem; text-align: left; border-bottom: 1px solid var(--border-card); }
.cost-table tbody tr:last-child td { border-bottom: none; }
.cost-table th { font-weight: 600; color: var(--text-heading); }
.cost-table td { color: var(--text-base); }
.cost-table .highlight-row td { background: rgba(107, 162, 66, 0.06); font-weight: 500; }
.cost-table .green-text { color: #6BA242; font-weight: 600; }

/* ===================================================================
   6. EXKLUSIV - Nur verwendet in: projektleitung.html
   =================================================================== */
.advantage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.advantage-grid .why-card { padding: 1.5rem; }
.advantage-grid .why-card h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.advantage-grid .why-card p { font-size: 0.82rem; line-height: 1.6; }

/* ===================================================================
   7. INDEX.HTML - EXKLUSIV + ÜBERSCHREIBT ALLES (muss am Ende stehen)
   Konflikte: theme-toggle, form-input:focus, link-arrow:hover etc.
   =================================================================== */
.theme-toggle-btn { background: rgba(3,31,92,0.18); border: 2px solid rgba(3,31,92,0.45); }
.toggle-knob { left: 4px; width: 18px; height: 18px; background: #ffffff; box-shadow: 0 2px 6px rgba(0,0,0,0.25); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.toggle-sun { right: 4px; font-size: 11px; color: #6BA242; }
.toggle-moon { left: 6px; top: 5px; font-size: 12px; }
.form-input:focus { border-color: var(--border-card); box-shadow: none; }
.link-arrow:hover { gap: 14px; color: var(--accent-blue); }
.section-outer { padding: 6rem 2rem; }
.section-outer + .section-outer { padding-top: 0; }
.section-divider { background: var(--border-card); }
.proenergie-card:hover { border-color: none; transform: none; box-shadow: none; }
.text-heading { color: var(--text-heading); }
.text-muted-custom { color: var(--text-muted); }

/* Index only - Hero */
.hero-bg { background-image: url('bilder/hintergrund_start-1920.webp'); background-image: -webkit-image-set( url('bilder/hintergrund_start-800.webp') 1x, url('bilder/hintergrund_start-1280.webp') 1.5x, url('bilder/hintergrund_start-1920.webp') 2x ); background-image: image-set( url('bilder/hintergrund_start-800.webp') 800w, url('bilder/hintergrund_start-1280.webp') 1280w, url('bilder/hintergrund_start-1920.webp') 1920w ); background-position: 40% center; background-size: cover; background-repeat: no-repeat; position: relative; overflow: hidden; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: rgba(3, 31, 92, 0.65); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); pointer-events: none; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(107, 162, 66, 0.12) 0%, transparent 70%); pointer-events: none; }
#hero-content { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2rem; max-width: 1400px; margin: 0 auto; padding: 6rem 2rem; position: relative; z-index: 1; min-height: calc(100vh - 72px); }
#hero-text-block { text-align: center; max-width: 800px; width: 100%; margin: 0 auto; }
.hero-h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(2.5rem, 5.5vw, 4rem); line-height: 1.08; color: #fff; font-weight: 400; }
.hero-h1 em { font-style: italic; color: #a0d860; }
.hero-p { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.65; color: rgba(255,255,255,0.80); margin: 1.25rem auto 0; max-width: 800px; }
#efficiency-widget-wrapper { display: none; }
#efficiency-widget { padding: 2.25rem 1.75rem 1.75rem; background: rgba(255,255,255,0.08); backdrop-filter: blur(16px); border-radius: 24px; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 30px 60px -15px rgba(0,0,0,0.35); }
.eff-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.4rem, 3.5vw, 1.8rem); font-weight: 400; color: #fff; margin-bottom: 0.25rem; text-align: center; letter-spacing: -0.01em; }
.eff-subtitle { font-size: clamp(0.9rem, 2.5vw, 1rem); color: rgba(255,255,255,0.80); margin-bottom: 1.75rem; text-align: center; line-height: 1.5; }
.eff-chart-area { display: flex; align-items: flex-end; justify-content: center; gap: clamp(36px, 8vw, 72px); width: 100%; height: clamp(220px, 38vw, 300px); margin: 0 auto 1.25rem; }
.eff-bar-group { display: flex; flex-direction: column; align-items: center; flex: 1; max-width: 160px; height: 100%; justify-content: flex-end; position: relative; }
.eff-bar-value { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 600; color: #fff; margin-bottom: 10px; text-align: center; transition: color 0.3s, transform 0.4s; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; min-height: 1.8em; }
.eff-bar-value.scrambling { color: rgba(255,255,255,0.40); }
.eff-bar-wrap { width: 100%; display: flex; align-items: flex-end; justify-content: center; height: 100%; }
.eff-bar { width: min(90px, 75%); border-radius: 12px 12px 4px 4px; height: 0; transition: height 2.8s cubic-bezier(0.25,0.1,0.25,1); box-shadow: 0 8px 20px -4px rgba(0,0,0,0.30); }
.eff-bar.ist { background: linear-gradient(180deg, #e06040 0%, #c0392b 100%); }
.eff-bar.opt { background: linear-gradient(180deg, #72CD14 0%, #4a9a08 100%); }
.eff-bar-label { font-size: clamp(0.85rem, 2vw, 0.95rem); color: rgba(255,255,255,0.85); margin-top: 12px; text-align: center; font-weight: 600; letter-spacing: 0.03em; }
.eff-badge-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 0.75rem; }
.eff-badge { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); border-radius: 100px; padding: 7px 16px; font-size: clamp(0.78rem, 1.8vw, 0.88rem); color: #fff; font-weight: 600; opacity: 0; transform: translateY(12px); transition: all 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.eff-badge.visible { opacity: 1; transform: translateY(0); }
.eff-badge .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.eff-badge .dot.red { background: #e05a3a; }
.eff-badge .dot.green { background: #72CD14; }
.eff-badge .dot.yellow { background: #f1c40f; }
.eff-loss-hint { background: rgba(220,50,50,0.16); border: 1.5px solid rgba(220,50,50,0.45); border-radius: 100px; padding: 10px 24px; color: #fff; font-weight: 700; font-size: clamp(0.85rem, 2.2vw, 0.95rem); text-align: center; margin: 1.25rem auto 0; max-width: 360px; opacity: 0; transform: translateY(16px); transition: all 0.7s cubic-bezier(0.34,1.56,0.64,1); }
.eff-loss-hint.visible { opacity: 1; transform: translateY(0); }
.eff-footnote { font-size: 0.78rem; color: rgba(255,255,255,0.50); text-align: center; margin: 1rem auto 0; line-height: 1.4; }
main { width: 100%; max-width: 1400px; margin: 0 auto; }
.img-col { height: 400px; overflow: hidden; border-radius: 20px; }
.img-col img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-text-wrapper { display: flex; flex-direction: column; gap: 3.5rem; align-items: center; }
.img-placeholder { width: 100%; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #031F5C 0%, #1249B4 100%); color: rgba(255,255,255,0.7); font-size: 3rem; }
.section-h2-leistungen { white-space: nowrap; margin-bottom: 6rem; }
.quote-section { padding: 5rem 2rem; }
.anfrage-layout { display: flex; flex-direction: column; gap: 3.5rem; align-items: center; max-width: 1180px; margin: 0 auto; }
.ceo-col { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 420px; width: 100%; }
.ceo-col .prose-custom { text-align: left; }
.ceo-heading { font-size: clamp(1.5rem, 3vw, 2rem); }
.form-col { width: 100%; max-width: 640px; }
.ceo-photo-frame { position: relative; flex-shrink: 0; width: 200px; height: 200px; margin: 0 auto; }
.ceo-photo-frame::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid var(--secondary); opacity: 0.45; }
.ceo-photo-circle { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 20px 45px -12px rgba(3,31,92,0.35); border: 4px solid var(--bg-card); background: linear-gradient(135deg, #031F5C 0%, #1249B4 100%); }
.ceo-photo-circle img { width: 100%; height: 110%; object-fit: cover; display: block; }
.ceo-badge-tag { position: absolute; bottom: 6px; right: 0px; background: var(--secondary); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; padding: 6px 14px; border-radius: 100px; box-shadow: 0 6px 16px rgba(107,162,66,0.40); white-space: nowrap; }
.ceo-text-col { text-align: center; }
.ceo-name { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.15rem; color: var(--text-heading); font-weight: 400; margin-top: 1.25rem; }
.ceo-role { font-size: 0.82rem; color: var(--secondary); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.fa-chevron-up { transform: rotate(180deg); }

/* ===================================================================
   8. RESPONSIVE - gruppiert
   =================================================================== */
@media (max-width: 768px) {
  .section-outer { padding: 3.5rem 1.25rem; }
  .cta-banner { padding: 2rem 1.25rem !important; border-radius: 16px; }
  .section-h2-leistungen { white-space: normal; margin-bottom: 3rem; }
  .img-col { height: 250px; }
}
@media (max-width: 1024px) { .img-col { height: 300px; } }
@media (max-width: 480px) { .img-col { height: 220px; width: 100%; } }
@media (max-width: 768px) and (orientation: portrait) {
  .hero-bg { background-position: 70% center; }
  .hero-bg::before { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
}
@media (min-width: 900px) {
  .image-text-wrapper { flex-direction: row; gap: 5rem; }
  .image-text-wrapper.reverse { flex-direction: row-reverse; }
  .image-text-wrapper > .img-col { flex: 0 0 42%; }
  .image-text-wrapper > .text-col { flex: 1; }
  .ceo-text-col { text-align: left; }
}
@media (min-width: 1024px) {
  .anfrage-layout { flex-direction: row; align-items: center; gap: 4.5rem; }
  .ceo-col { flex: 0 0 320px; }
  .form-col { flex: 1; min-width: 0; }
}
@media (min-width: 1280px) { .desktop-contact-info { display: flex; } }
@media (max-width: 1279px) {
  header { height: 72px !important; }
  body { padding-top: 72px !important; }
  #mobile-menu { top: 72px !important; height: calc(100dvh - 72px) !important; }
  #page-blur-overlay { top: 72px !important; }
}
@media (max-width: 640px) {
  .cost-table { font-size: 0.75rem; }
  .cost-table th, .cost-table td { padding: 0.6rem 0.8rem; }
  .advantage-grid { grid-template-columns: 1fr; }
}