/* ============================================================
   JS Fenster & Bau GmbH – Design System
   Marine Blau + Gold | Modern & Professionell
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Primärfarben */
  --primary:          #1a2e4a;
  --primary-light:    #2d4a6d;
  --primary-dark:     #0f1d30;
  --accent:           #c8861a;
  --accent-light:     #e8a020;
  --accent-dark:      #a06810;

  /* Hintergründe */
  --bg:               #ffffff;
  --bg-light:         #f8f9fb;
  --bg-section:       #f2f5f9;
  --bg-dark:          #1a2e4a;
  --bg-footer:        #0f1d30;

  /* Text */
  --text:             #1c1c1e;
  --text-muted:       #6b7280;
  --text-light:       #9ca3af;
  --text-white:       #ffffff;

  /* Borders */
  --border:           #e5e7eb;
  --border-light:     #f3f4f6;

  /* Shadows */
  --shadow-sm:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:           0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:        0 10px 40px rgba(0,0,0,.12);
  --shadow-xl:        0 20px 60px rgba(0,0,0,.15);

  /* Radius */
  --radius-sm:        6px;
  --radius:           12px;
  --radius-lg:        20px;
  --radius-xl:        28px;

  /* Spacing */
  --container:        1240px;
  --section-py:       clamp(60px, 8vw, 100px);

  /* Transition */
  --ease:             cubic-bezier(.4, 0, .2, 1);
  --duration:         .25s;
  --duration-slow:    .45s;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
}

h1 { font-size: clamp(36px, 5.5vw, 68px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.5vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 20px; }
p  { font-size: 16px; color: var(--text-muted); line-height: 1.8; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-light);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 160, 32, .35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 28px rgba(200, 134, 26, .45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 2px 12px rgba(0,0,0,.06);
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 2px 12px rgba(0,0,0,.06);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 38px; font-size: 17px; }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ── Navigation ─────────────────────────────────────────────── */
#navbar {
  /* Standard: weisser Hintergrund auf allen Seiten */
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 2px 12px rgba(0,0,0,.06);
  transition: all var(--duration-slow) var(--ease);
}

/* Startseite: Navbar transparent ueber Hero-Bild */
.navbar-transparent #navbar:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

#navbar.scrolled {
  /* Gleiche Hoehe wie default - kein Sprung */
  background: #ffffff;
  box-shadow: 0 2px 40px rgba(0,0,0,.1);
  padding: 18px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  font-family: 'Raleway', sans-serif;
  transition: transform var(--duration) var(--ease);
}

.nav-logo:hover .nav-logo-icon { transform: scale(1.05); }

.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--primary);
  transition: color var(--duration);
}
.nav-logo-text span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Transparent navbar (hero pages) */
.navbar-transparent #navbar:not(.scrolled) .nav-logo-text strong,
.navbar-transparent #navbar:not(.scrolled) .nav-link,
.navbar-transparent #navbar:not(.scrolled) .dropdown-toggle {
  color: #fff;
}
.navbar-transparent #navbar:not(.scrolled) .nav-logo-text span {
  color: rgba(255,255,255,.7);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  color: var(--primary);
  transition: all var(--duration) var(--ease);
  position: relative;
}
.nav-link:hover { color: var(--accent); background: rgba(26,46,74,.05); }
.nav-link.active { color: var(--accent); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  background: none;
  border: none;
  font-family: inherit;
}
.dropdown-toggle:hover { color: var(--accent); background: rgba(26,46,74,.05); }

.dropdown-toggle svg {
  width: 14px; height: 14px;
  transition: transform var(--duration) var(--ease);
}
.nav-dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown:hover .dropdown-toggle { color: var(--accent); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 12px 8px 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
  pointer-events: none;
}

/* Unsichtbare Brücke zwischen Button und Dropdown */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  display: none;
}

.nav-dropdown:hover::after {
  display: block;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all var(--duration) var(--ease);
}
.dropdown-item:hover { background: var(--bg-light); color: var(--accent); }
.dropdown-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.nav-cta {
  margin-left: 8px;
}

/* Mobile Nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--duration);
  background: none;
  border: none;
}
.nav-hamburger:hover { background: rgba(26,46,74,.07); }

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--duration-slow) var(--ease);
}
.navbar-transparent #navbar:not(.scrolled) .nav-hamburger span { background: #fff; }

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 70px;
  background: rgba(10,18,30,.97);
  z-index: 999;
  padding: 30px 24px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-link {
  display: block;
  padding: 16px 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--duration);
}
.mobile-nav-link:hover { background: rgba(255,255,255,.08); }

.mobile-nav-sub {
  padding-left: 16px;
  border-left: 2px solid var(--accent-light);
  margin: 4px 0 4px 20px;
}
.mobile-nav-sub .mobile-nav-link {
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-bottom: none;
  color: rgba(255,255,255,.8);
}

.mobile-nav-cta { margin-top: 16px; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,18,32,.85) 0%, rgba(26,46,74,.70) 60%, rgba(10,18,32,.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 80px;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.4);
  color: var(--accent-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 em {
  color: var(--accent-light);
  font-style: normal;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255,255,255,.82);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-stats-inner {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden;
}

.hero-stat {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.hero-stat:last-child { border-right: none; }

.hero-stat-number {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.hero-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Section ─────────────────────────────────────────────────── */
.section {
  padding: var(--section-py) 0;
}

.section-bg { background: var(--bg-light); }
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,134,26,.1);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 17px; }

/* Trust Bar ─────────────────────────────────────────────────── */
.trust-bar {
  background: var(--primary);
  padding: 22px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 30px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.trust-item:last-child { border-right: none; }

.trust-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(232,160,32,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}
.trust-item-icon svg { width: 18px; height: 18px; }

.trust-item-text strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
}
.trust-item-text span {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Service Cards ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--duration-slow) var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(200,134,26,.2);
}

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.service-card:hover .service-card-image img { transform: scale(1.06); }

.service-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,74,.6) 0%, transparent 60%);
}

.service-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-light);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(200,134,26,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.service-card-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary);
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  transition: gap var(--duration);
}
.service-card-link:hover { gap: 10px; }
.service-card-link svg { width: 16px; height: 16px; }

/* ── USP Section ─────────────────────────────────────────────── */
.usps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.usp-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--duration-slow) var(--ease);
}

.usp-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}

.usp-icon {
  width: 64px;
  height: 64px;
  background: rgba(232,160,32,.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-light);
}
.usp-icon svg { width: 30px; height: 30px; }

.usp-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.usp-card p { font-size: 14px; color: rgba(255,255,255,.68); }

/* ── Fenster Tabs ────────────────────────────────────────────── */
.fenster-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.fenster-tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 2px 12px rgba(0,0,0,.06);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-family: 'Raleway', sans-serif;
}
.fenster-tab:hover { border-color: var(--accent); color: var(--accent); }
.fenster-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.fenster-tab-content { display: none; }
.fenster-tab-content.active { display: flex; gap: 60px; align-items: center; }

.fenster-tab-image {
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 540px;
}
.fenster-tab-image img { width: 100%; height: 400px; object-fit: cover; }

.fenster-tab-text { flex: 1; }
.fenster-tab-text h3 { font-size: 30px; margin-bottom: 16px; }
.fenster-tab-text p { margin-bottom: 24px; }

.fenster-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.fenster-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.fenster-feature-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200,134,26,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.fenster-feature-dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Referenzen / Galerie ────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,74,.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.gallery-item--tall { grid-row: span 2; aspect-ratio: auto; }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-stars svg { width: 18px; height: 18px; color: #f59e0b; fill: #f59e0b; }

.testimonial-quote {
  font-size: 38px;
  color: rgba(200,134,26,.2);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Raleway', sans-serif;
  flex-shrink: 0;
}

.testimonial-info strong { display: block; font-size: 14px; color: var(--primary); }
.testimonial-info span { font-size: 12px; color: var(--text-muted); }

/* ── Contact Section ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(200,134,26,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; }

.contact-info-text strong { display: block; color: var(--primary); font-size: 15px; margin-bottom: 4px; }
.contact-info-text span, .contact-info-text a {
  font-size: 14px;
  color: var(--text-muted);
}
.contact-info-text a:hover { color: var(--accent); }

/* Form ─────────────────────────────────────────────────────────── */
.form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .02em;
}

.form-input,
.form-select,
.form-textarea {
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-light);
  transition: all var(--duration) var(--ease);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26,46,74,.08);
}

.form-textarea { resize: vertical; min-height: 130px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--primary);
}

.form-checkbox a { color: var(--accent); text-decoration: underline; }

.form-submit { padding-top: 4px; grid-column: 1 / -1; }

.form-success {
  display: none;
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  grid-column: 1 / -1;
  align-items: center;
  gap: 8px;
}
.form-success svg { width: 20px; height: 20px; }

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 140px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,134,26,.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero-content { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.breadcrumb a, .breadcrumb span {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color var(--duration);
}
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .separator { color: rgba(255,255,255,.4); font-size: 11px; }
.breadcrumb .current { color: var(--accent-light); font-weight: 600; }

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 54px);
  margin-bottom: 18px;
}

.page-hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  max-width: 600px;
  font-weight: 300;
}

/* ── Product Features ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all var(--duration) var(--ease);
}
.feature-item:hover { border-color: rgba(200,134,26,.3); background: rgba(200,134,26,.04); }

.feature-check {
  width: 32px;
  height: 32px;
  background: rgba(200,134,26,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.feature-check svg { width: 16px; height: 16px; }

.feature-item strong { display: block; font-size: 14px; color: var(--primary); margin-bottom: 4px; }
.feature-item span { font-size: 13px; color: var(--text-muted); }

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,134,26,.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 32px; }
.cta-banner .btn-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Leistungsseite Content ──────────────────────────────────── */
.leistung-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.leistung-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.leistung-image img { width: 100%; height: 480px; object-fit: cover; }

.leistung-text h2 { margin-bottom: 20px; }
.leistung-text p { margin-bottom: 16px; }
.leistung-text .features-grid { margin: 28px 0; }

/* ── Process Steps ───────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-light), transparent);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border: 3px solid var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-light);
}

.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13px; }

/* ── Kontakt Seite ───────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 300px;
  margin-top: 28px;
  box-shadow: var(--shadow);
}

.map-container iframe { width: 100%; height: 100%; border: none; }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--bg-footer);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.68);
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent-light); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.68); transition: color var(--duration); }
.footer-contact-item a:hover { color: var(--accent-light); }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color var(--duration);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-link:hover { color: var(--accent-light); }
.footer-link::before {
  content: '›';
  color: var(--accent-light);
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  transition: color var(--duration);
}
.footer-legal a:hover { color: var(--accent-light); }

/* ── WhatsApp Button ─────────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: all var(--duration) var(--ease);
  color: #fff;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}
.whatsapp-btn svg { width: 28px; height: 28px; }

/* ── Cookie Banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 460px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  border: 1px solid rgba(255,255,255,.12);
  animation: slideUp .4s var(--ease) both;
}

.cookie-banner.hidden { display: none; }

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner p { color: rgba(255,255,255,.75); font-size: 13px; margin-bottom: 16px; }
.cookie-banner p a { color: var(--accent-light); }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-accept {
  flex: 1;
  padding: 10px 18px;
  background: var(--accent-light);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  transition: background var(--duration);
}
.cookie-accept:hover { background: var(--accent-dark); }
.cookie-decline {
  padding: 10px 16px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 2px 12px rgba(0,0,0,.06);
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--duration);
}
.cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,.5); }

/* ── Animations ──────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }
.fade-in-delay-5 { transition-delay: .5s; }

/* ── Impressum / Datenschutz / AGB ──────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  margin: 36px 0 12px;
  color: var(--primary);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
}

.legal-content a { color: var(--accent); text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .usps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .fenster-tab-content.active { flex-direction: column; }
  .fenster-tab-image { max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .leistung-content { grid-template-columns: 1fr; gap: 40px; }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .hero-stats-inner { flex-wrap: wrap; }
  .hero-stat { flex: calc(50% - 1px); border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
}

@media (max-width: 680px) {
  :root { --section-py: clamp(50px, 10vw, 70px); }

  .services-grid { grid-template-columns: 1fr; }
  .usps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .hero-stats { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-banner { padding: 36px 24px; }
  .form-card { padding: 28px 20px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-lg { width: 100%; justify-content: center; }

  .trust-bar-inner { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; justify-content: center; }
  .trust-item:last-child { border-bottom: none; }
}

/* Back to top */
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.4);
  font-size: 13px;
  cursor: pointer;
  transition: color var(--duration);
  background: none;
  border: none;
  font-family: inherit;
}
.back-top:hover { color: var(--accent-light); }
.back-top svg { width: 16px; height: 16px; }



/* ── Mobile Optimierung ────────────────────────────────────── */

/* Navbar auf Mobile: kompakter */
@media (max-width: 900px) {
  #navbar {
    padding: 12px 0 !important;
  }

  .nav-logo-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .nav-logo-text strong {
    font-size: 15px;
  }

  .nav-logo-text span {
    font-size: 11px;
  }

  .page-hero {
    padding: 100px 0 50px;
  }

  .page-hero h1 {
    font-size: clamp(26px, 6vw, 36px);
  }

  .hero-content {
    padding: 110px 0 60px;
  }
}

/* Bilder mobile-optimiert */
img {
  height: auto !important;
}

.service-card-image {
  height: 180px;
}

@media (max-width: 680px) {
  .service-card-image {
    height: 160px;
  }

  .leistung-image img {
    height: 280px !important;
    object-fit: cover;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 100px 0 40px;
  }

  .hero h1 {
    font-size: clamp(28px, 7vw, 42px);
  }

  .cta-banner {
    padding: 32px 20px;
  }

  .cta-banner h2 {
    font-size: clamp(20px, 5vw, 28px);
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 15px;
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Touch-friendly: Groessere Klickflaechen */
@media (hover: none) and (pointer: coarse) {
  .mobile-nav-link {
    padding: 18px 20px;
    font-size: 17px;
  }

  .dropdown-item {
    padding: 14px;
    font-size: 15px;
  }
}
