/* ============================================
   Allfinanzberatung Klaus & Partner
   Premium Financial Services Website
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #0a1628;
  --navy-light: #111d33;
  --navy-mid: #162240;
  --gold: #c9a96e;
  --gold-light: #dfc292;
  --gold-dark: #a8873f;
  --cream: #f8f5f0;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-gold: 0 4px 14px rgba(201,169,110,0.3);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-full);
  padding: 0.4em 1.2em;
  margin-bottom: 1.2rem;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-navy {
  background: var(--navy);
  color: var(--gold-light);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,22,40,0.3);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem 2rem;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transform: translateY(0);
  transition: transform var(--transition-slow);
}
.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}
.cookie-banner-text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.cookie-banner-text p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--gray-500);
}
.cookie-banner-text a {
  color: var(--gold-dark);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-banner-actions .btn {
  font-size: 0.85rem;
  padding: 0.65em 1.4em;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition-base);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo img {
  height: 48px;
  width: auto;
  border-radius: 4px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text .company-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.2;
}
.logo-text .company-sub {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Navigation */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu .btn {
  margin-top: 1rem;
  text-align: center;
  justify-content: center;
}

/* ============================================
   SOLAR BANNER (above hero)
   ============================================ */
.solar-banner {
  background: linear-gradient(135deg, #e8a020, #d4911a);
  padding: 0.7rem 0;
  margin-top: 72px;
}

.solar-banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.solar-banner-link:hover {
  opacity: 0.85;
}

.solar-banner + .hero {
  padding-top: 8rem !important;
  align-items: flex-start !important;
  min-height: auto !important;
}

@media (max-width: 768px) {
  .solar-banner { margin-top: 60px; }
  .solar-banner-link { font-size: 0.9rem; gap: 0.4rem; }
  .solar-banner-link svg:first-child { display: none; }
  .solar-banner + .hero { padding-top: 1rem !important; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(170deg, var(--white) 0%, var(--cream) 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10,22,40,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  margin-bottom: 1.2rem;
}
.hero-content h1 span {
  color: var(--gold);
}
.hero-content > p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-stat-icon.blue {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
}
.hero-stat-icon.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
}
.hero-stat-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.hero-stat-text span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-card {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(201,169,110,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-card-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}
.hero-card-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 2rem;
}
.hero-card-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}
.hero-card h2 {
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 2rem;
}
.hero-card h2 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-card-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hero-card-tag {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 0.5em 1em;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
}

/* ============================================
   PARTNER CAROUSEL
   ============================================ */
.partners-carousel {
  padding: 3rem 0 2.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.carousel-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: carousel-scroll 20s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.carousel-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 0 0.5rem;
  opacity: 0.55;
  transition: opacity var(--transition-base);
  filter: grayscale(30%);
}

.carousel-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.carousel-logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .carousel-track { gap: 2rem; animation-duration: 15s; }
  .carousel-logo img { height: 35px; }
}

/* ============================================
   SERVICES / PORTFOLIO SECTION
   ============================================ */
.services {
  padding: 6rem 0;
  background: var(--white);
}
.services-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  align-items: end;
}
.services-header-left h2 {
  margin-top: 0.5rem;
}
.services-header-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.services-header-right p {
  max-width: 600px;
}
.services-header-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  background: var(--cream);
  color: var(--gold-dark);
}

.service-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================
   KFZ SECTION
   ============================================ */
.kfz {
  padding: 5rem 0;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  position: relative;
  overflow: hidden;
}
.kfz::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.kfz-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.kfz-content .section-label {
  border-color: var(--gold);
  color: var(--gold);
}
.kfz-content h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.kfz-content > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}
.kfz-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.kfz-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.kfz-feature {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
  transition: all var(--transition-base);
}
.kfz-feature:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
}
.kfz-feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.kfz-feature h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.kfz-feature p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.kfz-price {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(201,169,110,0.05));
  border-color: rgba(201,169,110,0.3);
  padding: 1.5rem;
}
.kfz-price .price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}
.kfz-price .price-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   SOLAR / EKD SECTION
   ============================================ */
.solar {
  padding: 6rem 0;
  background: linear-gradient(170deg, var(--white) 0%, #f0f7ff 50%, var(--white) 100%);
}
.solar-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.solar-header h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.solar-header p {
  font-size: 1.05rem;
}

.solar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.solar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.solar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.solar-card:hover {
  border-color: #f59e0b;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.solar-card:hover::before {
  opacity: 1;
}

.solar-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  color: #d97706;
}

.solar-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.solar-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.solar-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.solar-card-features li {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  padding-left: 1.2rem;
  position: relative;
}
.solar-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
}

/* Solar CTA */
.solar-cta {
  margin-bottom: 3rem;
}
.solar-cta-inner {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.solar-cta-text h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.solar-cta-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  max-width: 500px;
}
.solar-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.solar-cta-buttons .btn-secondary {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.solar-cta-buttons .btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Solar Stats */
.solar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.solar-stat {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.solar-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.solar-stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}

@media (max-width: 992px) {
  .solar-grid { grid-template-columns: repeat(2, 1fr); }
  .solar-stats { grid-template-columns: repeat(3, 1fr); }
  .solar-cta-inner { flex-direction: column; text-align: center; }
  .solar-cta-buttons { justify-content: center; }
}
@media (max-width: 768px) {
  .solar-grid { grid-template-columns: 1fr; }
  .solar-stats { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 6rem 0;
  background: var(--cream);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-content h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.about-content > p {
  margin-bottom: 2rem;
}
.about-checklist {
  margin-bottom: 2rem;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.about-checklist li:last-child { border-bottom: none; }
.about-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.about-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* About Visual Card */
.about-visual {
  position: relative;
}
.about-portrait {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}
.about-portrait-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(10,22,40,0.9) 0%, transparent 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.about-portrait-info h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}
.about-portrait-info span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.about-card {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle at bottom right, rgba(201,169,110,0.15) 0%, transparent 60%);
}
.about-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.about-card-header img {
  height: 50px;
  border-radius: 6px;
}
.about-card-header-text h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
}
.about-card-header-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}
.about-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-card-stat {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
}
.about-card-stat .stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}
.about-card-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: 6rem 0;
  background: var(--white);
}
.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.faq-header h2 { margin-top: 0.5rem; margin-bottom: 0.75rem; }
.faq-header p { font-size: 1rem; }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}
.faq-item:hover {
  border-color: var(--gold);
}
.faq-item.open {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}
.faq-question:hover { color: var(--gold-dark); }
.faq-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}
.faq-answer-inner {
  padding: 0 1.5rem 1.2rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 6rem 0;
  background: var(--cream);
}
.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.contact-header h2 { margin-top: 0.5rem; margin-bottom: 0.75rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
}
.form-consent a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.show { display: block; }
.form-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.form-success h3 {
  margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-base);
}
.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.contact-info-text h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.contact-info-text p {
  font-size: 0.85rem;
  color: var(--gray-500);
}
.contact-info-text a {
  color: var(--gold-dark);
}
.contact-info-text a:hover {
  text-decoration: underline;
}

/* Map placeholder */
.contact-map {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-height: 200px;
  position: relative;
}
.map-consent {
  position: absolute;
  inset: 0;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}
.map-consent p {
  font-size: 0.85rem;
  max-width: 300px;
}
.map-consent .btn { font-size: 0.85rem; }
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.partners-inner {
  text-align: center;
}
.partners-inner .section-label {
  margin-bottom: 1.5rem;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.5;
}
.partners-logos span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-500);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text .company-name {
  color: var(--gold-light);
}
.footer-brand .logo-text .company-sub {
  color: var(--gold);
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}
.footer-col a:hover {
  color: var(--gold-light);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.footer-contact-item span:first-child {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links a:hover {
  color: var(--gold-light);
}

.footer-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  transition: all var(--transition-base);
  color: white;
  font-size: 1.6rem;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }

  .services-header { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .kfz-inner { grid-template-columns: 1fr; }
  .kfz-features { max-width: 500px; }

  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .services-grid { grid-template-columns: 1fr; }

  .kfz-features { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

/* ============================================
   DATENSCHUTZ (Privacy Policy) PAGE
   ============================================ */
.privacy-page {
  padding: 8rem 0 4rem;
  background: var(--white);
}
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}
.privacy-content h1 {
  margin-bottom: 0.5rem;
}
.privacy-content .privacy-meta {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.privacy-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.privacy-content p {
  margin-bottom: 1rem;
}

/* ============================================
   IMPRESSUM PAGE
   ============================================ */
.impressum-page {
  padding: 8rem 0 4rem;
  background: var(--white);
}
.impressum-content {
  max-width: 800px;
  margin: 0 auto;
}
.impressum-content h1 {
  margin-bottom: 1.5rem;
}
.impressum-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.impressum-content p {
  margin-bottom: 1rem;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
  font-size: 1.1rem;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--gold-dark);
  color: var(--white);
}
