/*
Theme Name: FensterAdler
Theme URI: https://codexo.usermd.net
Author: FensterAdler
Author URI: https://codexo.usermd.net
Description: Professionelles Theme fuer FensterAdler - Fenster, Tueren und Treppen aus Euskirchen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fensteradler
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --color-primary: #0d85b8;
  --color-primary-light: #88bbc8;
  --color-primary-dark: #0a6d96;
  /* Redesign (Kundenfeedback R2): Grau statt Blau, Orange nur als Akzent */
  --color-graphite: #232629;
  --color-graphite-dark: #1a1c1e;
  --color-graphite-light: #2e3134;
  --color-accent: #FF6817;
  --color-accent-hover: #f47429;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-gray-100: #f8f9fa;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-500: #6c757d;
  --color-gray-700: #495057;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --container-width: 1200px;
  --header-height: 90px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-primary); color: var(--color-dark); background: var(--color-white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--color-dark); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: var(--color-gray-700); }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--gray { background: var(--color-gray-100); }
.section--primary { background: var(--color-primary); color: var(--color-white); }
.section__title { text-align: center; margin-bottom: 1rem; position: relative; }
.section__title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--color-accent); margin: 0.75rem auto 0; border-radius: 2px; }
.section__subtitle { text-align: center; color: var(--color-gray-500); font-size: 1.1rem; max-width: 600px; margin: 0 auto 3rem; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border: none; border-radius: var(--radius-sm); font-family: var(--font-primary); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all var(--transition); text-decoration: none; line-height: 1.4; }
.btn--primary { background: var(--color-accent); color: var(--color-white); }
.btn--primary:hover { background: var(--color-accent-hover); color: var(--color-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--color-white); border: 2px solid var(--color-white); }
.btn--outline:hover { background: var(--color-white); color: var(--color-primary); }
.btn--outline-dark { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn--outline-dark:hover { background: var(--color-primary); color: var(--color-white); }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(35,38,41,0.94); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), background var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header__top { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; min-height: var(--header-height); }
.header__logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.header__logo img { height: 70px; width: auto; }
.header__logo-text { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); line-height: 1.1; }
.header__logo-text span { color: var(--color-accent); }
.header__logo-tagline { font-size: 0.7rem; color: var(--color-gray-500); font-weight: 400; letter-spacing: 0.5px; text-transform: uppercase; }
.header__contact { display: flex; align-items: center; gap: 1.5rem; }
.header__contact-item { display: flex; align-items: center; gap: 0.5rem; color: var(--color-white); text-decoration: none; font-size: 0.9rem; transition: color var(--transition); }
.header__contact-item:hover { color: var(--color-accent); }
.header__contact-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--color-primary); color: var(--color-white); border-radius: 50%; flex-shrink: 0; }
.header__contact-icon svg { width: 16px; height: 16px; fill: currentColor; }
.header__contact-text { display: flex; flex-direction: column; }
.header__contact-label { font-size: 0.7rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.5px; }
.header__contact-value { font-weight: 600; color: var(--color-white); font-size: 0.95rem; }

/* Navigation */
.nav-bar { background: var(--color-graphite); }
.main-nav { display: flex; align-items: center; justify-content: center; }
.main-nav .menu { display: flex; align-items: center; gap: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: block; padding: 0.9rem 1.25rem; color: var(--color-white); font-size: 0.95rem; font-weight: 500; transition: background var(--transition); white-space: nowrap; }
.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a { background: rgba(255,255,255,0.15); color: var(--color-white); }

/* Dropdown */
.main-nav .menu > li > .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--color-white); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius-md) var(--radius-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition); z-index: 100; }
.main-nav .menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu li a { display: block; padding: 0.7rem 1.25rem; color: var(--color-dark); font-size: 0.9rem; border-bottom: 1px solid var(--color-gray-200); transition: all var(--transition); }
.main-nav .sub-menu li:last-child a { border-bottom: none; }
.main-nav .sub-menu li a:hover { background: var(--color-gray-100); color: var(--color-primary); padding-left: 1.5rem; }

/* Mobile Toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1001; }
.menu-toggle__bar { display: block; width: 24px; height: 2px; background: var(--color-white); margin: 5px 0; transition: all var(--transition); border-radius: 2px; }
.menu-toggle.active .menu-toggle__bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .menu-toggle__bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile contact */
.header__mobile-contact { display: none; align-items: center; gap: 0.75rem; }
.header__mobile-contact a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--color-primary); color: var(--color-white); border-radius: 50%; }
.header__mobile-contact svg { width: 18px; height: 18px; fill: currentColor; }

/* Hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; margin-top: calc(var(--header-height) + 53px); overflow: hidden; background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-graphite-dark) 100%); }
.hero__bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(23,25,27,0.88) 0%, rgba(35,38,41,0.72) 55%, rgba(46,49,52,0.55) 100%); z-index: 0; }
.hero__bg::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 50%; background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.hero__pattern { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.05; background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.1) 35px, rgba(255,255,255,0.1) 36px); z-index: 1; }
.hero__container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 4rem 1.5rem; }
.hero__content { color: var(--color-white); }
.hero__badge { display: inline-block; padding: 0.4rem 1rem; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; font-size: 0.85rem; margin-bottom: 1.5rem; backdrop-filter: blur(4px); }
.hero__title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; color: var(--color-white); margin-bottom: 1.25rem; line-height: 1.15; }
.hero__title span { color: var(--color-accent); }
.hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; line-height: 1.6; max-width: 500px; }
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__image { display: flex; align-items: center; justify-content: center; }
.hero__image-placeholder { width: 100%; aspect-ratio: 4/3; background: rgba(255,255,255,0.1); border-radius: var(--radius-lg); border: 2px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.hero__image-placeholder svg { width: 80px; height: 80px; fill: rgba(255,255,255,0.3); }
.hero__stats { display: flex; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2); }
.hero__stat { text-align: center; }
.hero__stat-number { font-size: 1.8rem; font-weight: 800; color: var(--color-accent); }
.hero__stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); border: 1px solid var(--color-gray-200); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card__image { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.service-card__image svg { width: 60px; height: 60px; fill: rgba(255,255,255,0.6); }
.service-card__body { padding: 1.75rem; }
.service-card__title { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--color-dark); }
.service-card__text { font-size: 0.95rem; color: var(--color-gray-500); margin-bottom: 1.25rem; line-height: 1.6; }
.service-card__link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-primary); font-weight: 600; font-size: 0.95rem; }
.service-card__link:hover { color: var(--color-accent); gap: 0.7rem; }
.service-card__link svg { width: 16px; height: 16px; fill: currentColor; transition: transform var(--transition); }
.service-card__link:hover svg { transform: translateX(3px); }

/* Advantages */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.advantage-item { text-align: center; padding: 2rem 1.5rem; }
.advantage-icon { width: 70px; height: 70px; margin: 0 auto 1.25rem; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.advantage-item:hover .advantage-icon { transform: scale(1.1); }
.advantage-icon svg { width: 30px; height: 30px; fill: var(--color-white); }
.advantage-title { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--color-dark); }
.advantage-text { font-size: 0.9rem; color: var(--color-gray-500); line-height: 1.5; }

/* Partners */
.partners-grid { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.partner-logo { padding: 1.5rem 2rem; background: var(--color-white); border-radius: var(--radius-md); border: 1px solid var(--color-gray-200); display: flex; align-items: center; justify-content: center; min-width: 180px; min-height: 80px; transition: all var(--transition); font-size: 1.1rem; font-weight: 700; color: var(--color-gray-500); letter-spacing: 1px; }
.partner-logo:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary-light); }

/* Reviews */
.reviews-container { max-width: 900px; margin: 0 auto; }
.reviews-header { text-align: center; margin-bottom: 2.5rem; }
.reviews-stars { display: flex; align-items: center; justify-content: center; gap: 0.25rem; margin-bottom: 0.5rem; }
.reviews-stars svg { width: 28px; height: 28px; fill: #fbbc04; }
.reviews-rating { font-size: 1.5rem; font-weight: 700; color: var(--color-dark); }
.reviews-count { font-size: 0.9rem; color: var(--color-gray-500); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { background: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); padding: 1.5rem; transition: box-shadow var(--transition); }
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card__stars { display: flex; gap: 2px; margin-bottom: 0.75rem; }
.review-card__stars svg { width: 16px; height: 16px; fill: #fbbc04; }
.review-card__text { font-size: 0.9rem; color: var(--color-gray-700); margin-bottom: 1rem; line-height: 1.6; font-style: italic; }
.review-card__author { font-size: 0.85rem; font-weight: 600; color: var(--color-dark); }
.review-card__date { font-size: 0.8rem; color: var(--color-gray-500); }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--color-graphite), var(--color-graphite-dark)); padding: 4rem 0; text-align: center; }
.cta-section h2 { color: var(--color-white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .section__title::after { background: var(--color-accent); }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.8); }
.footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding: 4rem 0; }
.footer__brand { margin-bottom: 1rem; }
.footer__logo-text { font-size: 1.5rem; font-weight: 800; color: var(--color-white); margin-bottom: 0.5rem; }
.footer__logo-text span { color: var(--color-accent); }
.footer__description { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 50%; color: var(--color-white); transition: all var(--transition); }
.footer__social a:hover { background: var(--color-primary); }
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.footer__heading { font-size: 1.05rem; font-weight: 700; color: var(--color-white); margin-bottom: 1.25rem; position: relative; padding-bottom: 0.75rem; }
.footer__heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--color-accent); }
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: all var(--transition); }
.footer__links a:hover { color: var(--color-white); padding-left: 5px; }
.footer__contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer__contact-item svg { width: 16px; height: 16px; fill: var(--color-primary-light); flex-shrink: 0; margin-top: 3px; }
.footer__contact-item a { color: rgba(255,255,255,0.6); }
.footer__contact-item a:hover { color: var(--color-white); }
.footer__hours { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer__hours-row { display: flex; justify-content: space-between; padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer__hours-day { font-weight: 500; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__copyright { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer__legal a:hover { color: var(--color-white); }

/* Page Templates */
.page-hero { margin-top: calc(var(--header-height) + 53px); padding: 4rem 0; background: linear-gradient(135deg, rgba(62,67,73,0.96) 0%, rgba(46,50,54,0.96) 100%); color: var(--color-white); text-align: center; }
.page-hero h1 { color: var(--color-white); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.breadcrumbs { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.9rem; }
.breadcrumbs a { color: rgba(255,255,255,0.6); }
.breadcrumbs a:hover { color: var(--color-white); }
.breadcrumbs span { color: rgba(255,255,255,0.4); }
.page-content { padding: 4rem 0; }
.page-content .container { max-width: 900px; }
.page-content h2 { margin: 2rem 0 1rem; }
.page-content h3 { margin: 1.5rem 0 0.75rem; }
.page-content ul { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: decimal; }
.page-content li { margin-bottom: 0.4rem; color: var(--color-gray-700); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; background: var(--color-gray-100); border-radius: var(--radius-md); margin-bottom: 1.25rem; }
.contact-info-card__icon { width: 50px; height: 50px; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card__icon svg { width: 22px; height: 22px; fill: var(--color-white); }
.contact-info-card h4 { margin-bottom: 0.25rem; }
.contact-info-card p { font-size: 0.9rem; margin-bottom: 0; }
.contact-map { margin-top: 3rem; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-map iframe { display: block; width: 100%; height: 400px; border: none; }

/* Quote Form */
.quote-form { max-width: 700px; margin: 0 auto; background: var(--color-gray-100); padding: 2.5rem; border-radius: var(--radius-md); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--color-gray-300); border-radius: var(--radius-sm); font-family: var(--font-primary); font-size: 0.95rem; transition: border-color var(--transition); background: var(--color-white); }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(13,133,184,0.1); }
.wpcf7 label { display: block; margin-bottom: 0.4rem; font-weight: 500; font-size: 0.9rem; }
.wpcf7 p { margin-bottom: 1.25rem; }
.wpcf7 input[type="submit"] { background: var(--color-accent); color: var(--color-white); border: none; padding: 0.85rem 2.5rem; font-size: 1rem; font-weight: 600; font-family: var(--font-primary); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition); }
.wpcf7 input[type="submit"]:hover { background: var(--color-accent-hover); transform: translateY(-2px); }

/* References */
.referenzen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.referenz-item { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); border: 1px solid var(--color-gray-200); }
.referenz-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.referenz-item__image { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)); display: flex; align-items: center; justify-content: center; }
.referenz-item__image svg { width: 48px; height: 48px; fill: rgba(255,255,255,0.5); }
.referenz-item__body { padding: 1.25rem; }
.referenz-item__title { font-size: 1rem; margin-bottom: 0.3rem; }
.referenz-item__text { font-size: 0.85rem; color: var(--color-gray-500); margin-bottom: 0; }

/* About */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.about-image-placeholder { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.about-image-placeholder svg { width: 80px; height: 80px; fill: rgba(255,255,255,0.4); }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.about-value { text-align: center; padding: 2rem 1.5rem; background: var(--color-gray-100); border-radius: var(--radius-md); }
.about-value__icon { width: 60px; height: 60px; margin: 0 auto 1rem; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.about-value__icon svg { width: 26px; height: 26px; fill: var(--color-white); }

/* WhatsApp */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37,211,102,0.4); transition: all var(--transition); cursor: pointer; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); color: var(--color-white); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--color-white); }
.whatsapp-tooltip { position: absolute; right: 70px; background: var(--color-white); color: var(--color-dark); padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-size: 0.85rem; white-space: nowrap; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all var(--transition); pointer-events: none; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; visibility: visible; }

/* 404 */
.error-404 { text-align: center; padding: 6rem 1.5rem; margin-top: calc(var(--header-height) + 53px); }
.error-404__number { font-size: 8rem; font-weight: 800; color: var(--color-primary); line-height: 1; margin-bottom: 1rem; }
.error-404 p { font-size: 1.1rem; max-width: 500px; margin: 0 auto 2rem; }

/* Responsive */
@media (max-width: 992px) {
  .hero__container { grid-template-columns: 1fr; text-align: center; padding: 3rem 1.5rem; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__buttons { justify-content: center; flex-wrap: wrap; }
  .hero__image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    opacity: 0.25;
  }
  .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero__content { position: relative; z-index: 2; }
  .hero__stats { justify-content: center; }
  .hero { min-height: auto; }
  .services-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .referenzen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 65px; }
  .header__contact { display: none; }
  .header__mobile-contact { display: flex; }
  .menu-toggle { display: block; }
  .nav-bar { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--color-graphite); z-index: 999; transform: translateX(100%); transition: transform var(--transition); padding-top: var(--header-height); overflow-y: auto; }
  .nav-bar.active { transform: translateX(0); }
  .main-nav .menu { flex-direction: column; padding: 1rem; }
  .main-nav .menu > li > a { padding: 1rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav .menu > li > .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(0,0,0,0.1); box-shadow: none; border-radius: 0; display: none; }
  .main-nav .menu > li.submenu-open > .sub-menu { display: block; }
  .main-nav .sub-menu li a { color: rgba(255,255,255,0.8); border-bottom-color: rgba(255,255,255,0.05); padding-left: 2rem; }
  .main-nav .sub-menu li a:hover { color: var(--color-white); background: rgba(255,255,255,0.05); }
  .hero { min-height: auto; margin-top: var(--header-height); }
  .hero__container { padding: 3rem 1.5rem; }
  .hero__stats { flex-direction: column; gap: 1rem; }
  .page-hero { margin-top: var(--header-height); padding: 3rem 0; }
  .footer__main { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .advantages-grid { grid-template-columns: 1fr; }
  .referenzen-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.6rem; }
  .hero__buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .partners-grid { gap: 1rem; }
  .partner-logo { min-width: 140px; padding: 1rem; }
}

/* WordPress */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-gray-500); padding: 0.5rem 0; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }
.skip-link { position: absolute; top: -100%; left: 0; background: var(--color-accent); color: var(--color-white); padding: 0.5rem 1rem; z-index: 10000; }
.skip-link:focus { top: 0; }


/* === Product Pages === */
.product-intro {
    margin-bottom: 2.5rem;
}
.product-intro img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 1.5rem;
}
.product-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}
.product-section:last-of-type {
    border-bottom: none;
}
.product-section img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.product-section h2,
.product-section h3 {
    color: var(--color-primary, #0d85b8);
    margin-bottom: .75rem;
}
.product-section ul {
    padding-left: 1.2rem;
    margin: 1rem 0;
}
.product-section ul li {
    margin-bottom: .4rem;
    line-height: 1.6;
}
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.product-features .feature-card,
.product-features > div {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}
.product-features h3 {
    color: var(--color-primary, #0d85b8);
    margin-bottom: .5rem;
}
.product-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--color-primary, #0d85b8), #0a6d96);
    border-radius: 16px;
    margin-top: 2.5rem;
    color: #fff;
}
.product-cta h2 {
    color: #fff;
    margin-bottom: .5rem;
}
.product-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}
.product-cta .btn {
    display: inline-block;
    padding: .8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
}
.product-cta .btn--primary {
    background: var(--color-accent, #FF6817);
    color: #fff;
}
.product-cta .btn--primary:hover {
    background: #e55a0e;
    transform: translateY(-2px);
}
.product-cta .btn--secondary {
    background: #fff;
    color: var(--color-primary, #0d85b8);
    margin-left: .5rem;
}

/* Values grid (Über Uns) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.value-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: box-shadow .3s;
}
.value-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.value-card .icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary, #0d85b8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: 1.5rem;
}
.value-card h3 {
    color: var(--color-primary, #0d85b8);
    margin-bottom: .5rem;
}

/* Service cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow .3s;
}
.service-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.service-card h3 {
    color: var(--color-primary, #0d85b8);
    margin-bottom: .75rem;
}

/* Reference gallery */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.reference-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.reference-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* About intro grid */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}
.about-intro img {
    width: 100%;
    border-radius: 12px;
}
@media (max-width: 768px) {
    .about-intro { grid-template-columns: 1fr; }
    .product-intro img { height: 220px; }
    .product-section img { height: 200px; }
    .product-cta .btn { display: block; margin: .5rem 0; }
    .product-cta .btn--secondary { margin-left: 0; }
}

/* =============================================
   FRONT PAGE – NEW SECTIONS (Reichel-style)
   ============================================= */

/* 2. CTA Bar */
.cta-bar {
  background: var(--color-graphite-dark);
  border-top: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  padding: 1rem 0;
}
.cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.cta-bar__text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 500;
}
.cta-bar__text svg {
  flex-shrink: 0;
}
.btn--white {
  background: var(--color-white);
  color: var(--color-accent);
  font-weight: 700;
  border: none;
}
.btn--white:hover {
  background: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* 3. Intro text */
.intro-text__body {
  max-width: 900px;
  margin: 2rem auto 0;
  text-align: left;
}
.intro-text__body p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* 4. Checklist Grid (Unsere Vorteile) */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.checklist-grid__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition);
}
.checklist-grid__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.checklist-grid__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}
.checklist-grid__item h4 {
  margin-bottom: 0.3rem;
}
.checklist-grid__item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--color-gray-500);
}

/* 5. Product Alternating Sections */
.product-alt__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.product-alt__row--reverse .product-alt__text {
  order: 2;
}
.product-alt__row--reverse .product-alt__image {
  order: 1;
}
.product-alt__text h2 {
  margin-bottom: 1rem;
  text-align: left;
}
.product-alt__text h2::after {
  display: none;
}
.product-alt__text p {
  font-size: 1.02rem;
  line-height: 1.7;
}
.product-alt__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* 6. Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.process-step {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition);
}
.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.process-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 800;
  border-radius: 50%;
}
.process-step h3 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}
.process-step p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* 7. Checklist (single-column orange checks) */
.checklist {
  max-width: 700px;
  margin: 2rem auto 0;
}
.checklist ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}

/* 8. Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-grid__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.gallery-grid__item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

/* 9. Team Section */
.team-section {
  padding: 5rem 0;
}
.team-section h2 {
  text-align: left;
}
.team-section h2::after {
  display: none;
}

/* 10. Kalkulation Box */
.kalkulation-box {
  background: linear-gradient(135deg, var(--color-graphite-dark) 0%, var(--color-graphite-light) 100%);
  padding: 4rem 0;
}
.kalkulation-box__inner {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}
.kalkulation-box h2 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.kalkulation-box p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* =============================================
   RESPONSIVE – NEW SECTIONS
   ============================================= */
@media (max-width: 992px) {
  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-alt__row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-alt__row--reverse .product-alt__text,
  .product-alt__row--reverse .product-alt__image {
    order: unset;
  }
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 1rem auto 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cta-bar__inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-bar__text {
    flex-direction: column;
    font-size: 1rem;
  }
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .checklist li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}




/* === Team Section Improvements === */
.team-section__image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.team-section__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* === Gallery Hover Effects === */
.gallery-grid img {
    transition: transform .3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
}
.gallery-grid > div {
    overflow: hidden;
    border-radius: 12px;
}

/* === Smooth scroll === */
html {
    scroll-behavior: smooth;
}

/* === CTA buttons improvements === */
.cta-bar a:hover,
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,104,23,.4);
}

/* === Product alternating rows improvements === */
.product-alt__image img {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
    transition: transform .3s;
}
.product-alt__image img:hover {
    transform: scale(1.02);
}

/* === Process steps improvements === */
.step-card {
    transition: transform .3s, box-shadow .3s;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

/* === Kalkulation box improvements === */
.kalkulation-box {
    position: relative;
    overflow: hidden;
}
.kalkulation-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,.03);
    border-radius: 50%;
}


/* === Referenzen Gallery === */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.reference-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
}
.reference-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.reference-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.reference-item:hover img {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .reference-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
    .reference-item img { height: 160px; }
}


/* === Checklist with checkmarks === */
.checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.checklist li {
    padding: .6rem 0 .6rem 2rem;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}
.checklist li:last-child {
    border-bottom: none;
}
.checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #FF6817;
    font-weight: 700;
    font-size: 1.2rem;
}

/* === Product alternating rows responsive === */




@media (max-width: 768px) {
    .product-alt__row {
        grid-template-columns: 1fr;
    }
    
}

/* === Gallery cursor === */
.reference-grid img,
.gallery-grid img {
    cursor: zoom-in;
}


/* === Floating Logo Card === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.header__logo {
    position: absolute;
    left: max(1rem, calc(50% - var(--container-width) / 2 + 1.5rem));
    top: 6px;
    z-index: 1002;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    transition: all .3s ease;
}
.header__logo img {
    height: 78px;
    width: auto;
    display: block;
}
.header__logo-text {
    font-size: 1.6rem;
}

.header__top {
    position: relative;
    z-index: 1001;
}

/* nav-bar z-index handled in main rules */

/* Logo centered across both bars (top bar ~60px + nav bar ~45px = ~105px total) */
/* Logo card height: ~75px img + 32px padding = ~107px - naturally centered */

/* On scroll, slightly reduce logo */



/* Mobile */
@media (max-width: 768px) {
    .header__logo {
        position: relative;
        left: auto;
        top: auto;
        padding: 0;
        border-radius: 0;
        margin-right: auto;
        box-shadow: none;
    }
    .header__logo img {
        height: 58px;
    }
    .header__top {
        padding-left: 0;
    }
    .nav-bar {
        padding-left: 0;
    }
    .nav-bar .container {
        padding-left: 1.5rem;
    }
    
}

/* On scroll, make logo slightly smaller */



/* Mobile: keep logo prominent but adjusted */
@media (max-width: 768px) {
    .header__logo {
        padding: 0;
        margin-bottom: 0;
        border-radius: 0;
    }
    .header__logo img {
        height: 58px;
    }
    
    
}



}


/* === Layout overflow prevention === */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}
.hero, .hero-split {
    overflow: hidden;
    max-width: 100%;
}


/* === Header spacing for floating logo === */
.header__top .header__contact {
    margin-left: auto;
}
.nav-bar .container {
    padding-left: 180px;
}
@media (max-width: 768px) {
    .nav-bar .container {
        padding-left: 1.5rem;
    }
}

/* === Product sections centered fix === */
.product-alt .container {
    max-width: var(--container-width);
}


/* === Mobile hero text visibility fix === */
@media (max-width: 992px) {
    .hero__title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        text-shadow: 0 2px 10px rgba(0,0,0,.3);
    }
    .hero__subtitle {
        text-shadow: 0 1px 5px rgba(0,0,0,.2);
    }
    .hero__badge {
        background: rgba(255,255,255,0.25);
    }
}
@media (max-width: 480px) {
    .hero__container {
        padding: 2rem 1rem !important;
    }
    .hero__title {
        font-size: 1.5rem;
    }
    .hero__stats {
        padding-top: 1rem;
        margin-top: 1rem;
    }
    .hero__stat-number {
        font-size: 1.3rem;
    }
}


/* === Force hero text visibility === */
.hero__title,
.hero__badge,
.hero__subtitle,
.hero__content,
.hero__content * {
    color: #ffffff !important;
}
.hero__stat-number {
    color: var(--color-accent) !important;
}
.hero__title {
    text-shadow: 0 2px 15px rgba(0,0,0,.4);
}
.hero__content {
    position: relative;
    z-index: 5 !important;
}
.hero__image {
    z-index: 1 !important;
}

/* Ensure hero container has proper z-index */
.hero__container {
    position: relative;
    z-index: 3;
}


/* === Nav-bar mobile fix - ensure hidden when not active === */
@media (max-width: 768px) {
    .nav-bar {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-graphite);
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding-top: var(--header-height);
        overflow-y: auto;
        visibility: hidden;
    }
    .nav-bar.active {
        transform: translateX(0);
        visibility: visible;
    }
}


/* === Hero Slider === */
.hero__slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
    background: #1a1a1a;
    aspect-ratio: 4/3;
    max-height: 420px;
}
.hero__slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero__slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity .6s ease;
}
.hero__slide.active {
    opacity: 1;
}
.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__slider-prev,
.hero__slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #1a1a1a;
    cursor: pointer;
    z-index: 5;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.hero__slider-prev:hover,
.hero__slider-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}
.hero__slider-prev { left: 12px; }
.hero__slider-next { right: 12px; }
.hero__slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.hero__slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}
.hero__slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}
.hero__slider-label {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,.92);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

/* Hero with background image */
.hero-split {
    background-size: cover;
    background-position: center;
}
.hero-split .hero__bg {
    opacity: 0.88;
}

/* Desktop: slider visible, on mobile: hidden (bg image shows through) */
@media (max-width: 992px) {
    .hero__slider {
        display: none;
    }
}

/* === Hero slider border (R2: schlichter, weniger Orange) === */
.hero__slider {
    border: 1px solid rgba(255,255,255,0.18);
}

/* === Fix checklist bullets === */
.page-content .checklist ul,
.page-content ul.checklist,
.checklist ul {
    list-style: none !important;
    padding-left: 0 !important;
}
.page-content .checklist li,
.checklist li {
    list-style: none !important;
}

/* === SEO Stadt-Seite === */
.stadt-hero p { max-width: 760px; margin-left: auto; margin-right: auto; }
.stadt-hero__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

/* H-Tags -> p umgewandelt (SEO-Heading-Struktur, Kundenfeedback): Optik beibehalten */
p.section__title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--color-dark); line-height: 1.2; }
.cta-section p.section__title { color: var(--color-white); }
.checklist-grid__item .checklist-grid__title { font-size: 1.1rem; font-weight: 700; color: var(--color-dark); line-height: 1.2; margin-bottom: 0.3rem; }
.process-step .process-step__title { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; color: var(--color-primary); line-height: 1.2; margin-bottom: 0.75rem; }


/* === Logo Splash / Ladebildschirm (Kundenfeedback R2) === */
#fa-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: faSplashOut .5s ease 1.1s forwards;
  pointer-events: none;
}
#fa-splash img { height: 110px; width: auto; animation: faSplashIn .6s ease both; }
#fa-splash .fa-splash__bar { position: absolute; bottom: 38%; width: 140px; height: 3px; background: var(--color-gray-200); border-radius: 2px; overflow: hidden; }
#fa-splash .fa-splash__bar::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 40%; background: var(--color-accent); border-radius: 2px; animation: faSplashBar 1.1s ease forwards; }
@keyframes faSplashIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes faSplashBar { from { width: 0; } to { width: 100%; } }
@keyframes faSplashOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { #fa-splash { display: none; } }

/* === Weniger Orange: product-cta Boxen (inline styles in Inhalten) auf Graphit === */
.product-cta { background: linear-gradient(135deg, var(--color-graphite), var(--color-graphite-dark)) !important; border-left: 4px solid var(--color-accent); }
.product-cta h1, .product-cta h2, .product-cta h3, .product-cta h4 { color: var(--color-white) !important; }
.product-cta p, .product-cta li, .product-cta span { color: rgba(255,255,255,0.88) !important; }
.product-cta a { color: var(--color-accent) !important; }
.product-cta .btn, .product-cta .btn--primary { background: var(--color-accent) !important; color: var(--color-white) !important; margin: 0.35rem 0.4rem !important; }
.product-cta .btn--secondary { background: transparent !important; border: 2px solid var(--color-white) !important; color: var(--color-white) !important; }
.product-cta .btn--secondary:hover { background: var(--color-white) !important; color: var(--color-graphite-dark) !important; }

/* === Fenster-Seite R2: Hersteller-Reihen + Profil-Karten === */
.hersteller-row { margin: 3.5rem 0; }
.hersteller-row__head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--color-gray-200); }
.hersteller-row__head img { height: 44px; width: auto; }
.hersteller-row__head .hersteller-row__claim { color: var(--color-gray-500); font-size: .95rem; margin: 0; }
.profil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.profil-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; transition: all var(--transition); color: inherit; }
.profil-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.profil-card__body { padding: 1.25rem 1.25rem .75rem; }
.profil-card__body h3 { font-size: 1.15rem; margin-bottom: .4rem; color: var(--color-dark); }
.profil-card__body p { font-size: .9rem; color: var(--color-gray-700); margin-bottom: 0; }
.profil-card__img { margin-top: auto; background: var(--color-gray-100); }
.profil-card__img img { width: 100%; height: 240px; object-fit: contain; padding: 1rem; }
.profil-card { position: relative; }
.profil-card__more { display: block; padding: .7rem 1.25rem; font-weight: 600; font-size: .95rem; border-top: 1px solid var(--color-gray-200); }
.profil-card__more a { color: var(--color-accent); }
.profil-card__more a::after { content: ''; position: absolute; inset: 0; }
@media (max-width: 900px) { .profil-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .profil-grid { grid-template-columns: 1fr; } }

/* === Profil-Detailseite: Spezifikationstabelle === */
.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; }
.spec-table th, .spec-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--color-gray-200); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 600; color: var(--color-dark); background: var(--color-gray-100); }
.spec-table td { color: var(--color-gray-700); }
.profil-detail__top { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 1rem; }
.profil-detail__lead { font-size: 1.05rem; }
.profil-detail__top > p:empty { display: none; } /* wpautop-Leerabsaetze im Grid ausblenden */
.profil-detail__top img { width: 100%; max-height: 460px; object-fit: contain; background: var(--color-gray-100); border-radius: var(--radius-md); padding: 1.5rem; }
@media (max-width: 800px) { .profil-detail__top { grid-template-columns: 1fr; } }

/* === Startseite: 3-Spalten-Produktbereich (R2) === */
.produkt-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.produkt-col { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); }
.produkt-col:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.produkt-col img { width: 100%; height: 220px; object-fit: cover; }
.produkt-col h3 { margin: 1.25rem 1.25rem .5rem; }
.produkt-col p { margin: 0 1.25rem 1rem; font-size: .95rem; }
.produkt-col__links { margin: auto 1.25rem 1.25rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.produkt-col__links .btn { padding: .6rem 1.2rem; font-size: .9rem; }
@media (max-width: 900px) { .produkt-cols { grid-template-columns: 1fr; } }

/* === Katalog-Downloads (R2) === */
.katalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; max-width: 980px; margin: 0 auto; }
.katalog-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; transition: all var(--transition); color: inherit; }
.katalog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-accent); color: inherit; }
.katalog-card__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 10px; background: var(--color-graphite); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; letter-spacing: .5px; border-bottom: 3px solid var(--color-accent); }
.katalog-card__body { display: flex; flex-direction: column; line-height: 1.35; }
.katalog-card__body strong { color: var(--color-dark); }
.katalog-card__body span { color: var(--color-gray-500); font-size: .85rem; }

/* Inotherm-Banner auf Haustueren-Seite */
.inotherm-banner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--color-graphite), var(--color-graphite-dark)); border-left: 4px solid var(--color-accent); border-radius: var(--radius-md); padding: 1.75rem 2rem; margin: 2.5rem 0; }
.inotherm-banner h3 { color: #fff !important; margin: 0 0 .35rem; }
.inotherm-banner p { color: rgba(255,255,255,.85) !important; margin: 0; }

/* R3: helle Icons im dunklen Header (mobile) */
.header__mobile-contact a { color: var(--color-white); }
.header__mobile-contact svg { fill: currentColor; }

/* WP-Admin-Bar: fixierten Header nach unten schieben, damit keine Luecke entsteht (nur eingeloggt) */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
