/* === Variables === */
:root {
  --font-primary: 'Outfit', sans-serif;

  /* Color Palette - Automotive Dark Theme */
  --bg-primary: #0a0b0d;
  /* Deep black */
  --bg-secondary: #0f1115;
  /* Dark Anthracite */
  --bg-tertiary: #171a21;
  /* Lighter Anthracite for cards */

  --text-primary: #ffffff;
  --text-secondary: #9ca3af;

  /* Logo Derived Chameleon Colors (Prominent Brand Colors) */
  --color-primary: #75c043;
  /* Prominent Chameleon Green */
  --color-secondary: #f37021;
  /* Prominent Chameleon Orange/Red */
  --color-accent: #75c043;

  --chameleon-gradient: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --neon-glow: rgba(117, 192, 67, 0.4);

  --glass-bg: rgba(23, 26, 33, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --input-bg: rgba(0, 0, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --radius-btn: 10px;
  /* Modern slightly rounded buttons */

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 130px;
  --container-width: 1200px;
  --color-success: #75c043;
}

/* === Preloader === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(117, 192, 67, 0.2);
  border-radius: 50%;
  border-top-color: var(--color-primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

/* === Cookie Banner === */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background: var(--bg-tertiary);
  border: 1px solid var(--color-primary);
  padding: 25px;
  border-radius: var(--radius-md);
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: none; 
  backdrop-filter: blur(10px);
}

#cookie-banner.active {
  display: block;
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  from { transform: translate(-50%, 100%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.cookie-content h4 {
  font-size: 1.2rem !important;
  margin-bottom: 10px !important;
  color: #fff !important;
}

.cookie-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.cookie-actions {
  display: flex;
  gap: 15px;
}

.cookie-actions .btn-glow {
  padding: 10px 25px;
  font-size: 0.95rem;
}

.cookie-actions .btn-outline {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  /* Removed scroll-behavior smooth since we don't use anchor links anymore */
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 140px 0;
  position: relative;
  z-index: 2;
}

.bg-dark {
  background-color: var(--bg-primary);
}

.bg-anthracite {
  background-color: var(--bg-secondary);
}

/* === Logo Watermark Background === */
.watermark-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vh;
  background-image: url('images/logo.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.04;
  /* Slightly more visible but remains subtle */
  z-index: 0;
  pointer-events: none;
  /* Reduced grayscale to let some genuine logo color subtly bleed into the background */
  filter: grayscale(70%) contrast(120%);
}

/* === Typography === */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.lead {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 500;
}

.mt-4 {
  margin-top: 2rem;
}

/* Utilities */
.nowrap {
  white-space: nowrap;
}

.nowrap-email {
  white-space: nowrap;
}

.gradient-text {
  background: var(--chameleon-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradientFlow 5s ease infinite;
}

.text-accent {
  background: var(--chameleon-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* === Buttons === */
/* All buttons now embrace the strong logo colors */
.btn-glow {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 15px 36px;
  background: var(--chameleon-gradient);
  background-size: 200% auto;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(117, 192, 67, 0.3);
  transition: var(--transition-bounce);
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  /* Ensure contrast */
}

/* Glossy sheen effect for the button */
.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.6s ease;
}

.btn-glow:hover::after {
  left: 150%;
}

.btn-glow:hover {
  background-position: right center;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(117, 192, 67, 0.7);
}

.btn-outline {
  display: inline-block;
  padding: 13px 32px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-primary);
  backdrop-filter: blur(5px);
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(117, 192, 67, 0.5);
}

.full-width {
  width: 100%;
}

/* === Header & Navigation === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  height: 85px;
  background: rgba(10, 11, 13, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header.scrolled .logo img {
  height: 50px;
}

.header.scrolled .logo {
  padding: 4px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  /* Increased from var(--container-width) for more space */
  margin: 0 auto;
  padding: 0 5%;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  background: #fff;
  /* White background to let logo pop */
  padding: 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.logo img {
  height: 90px;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--neon-glow);
}

.desktop-nav {
  margin: 0 60px;
  /* Guarantee significant minimum space visually */
}

.desktop-nav ul {
  display: flex;
  gap: 32px;
  flex-wrap: nowrap;
}

.desktop-nav a {
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--chameleon-gradient);
  transition: var(--transition-smooth);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.desktop-nav a {
  white-space: nowrap;
  /* Prevent wrapping onto second line */
}

.desktop-nav a:hover {
  color: #fff;
}

.desktop-cta {
  font-size: 1rem;
  padding: 12px 28px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.hamburger-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

/* === Offcanvas Menu === */
.offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  transition: 0.5s ease;
  visibility: hidden;
}

.offcanvas.active {
  right: 0;
  visibility: visible;
}

.offcanvas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: 0.4s ease;
}

.offcanvas.active .offcanvas-overlay {
  opacity: 1;
}

.offcanvas-content {
  position: relative;
  width: 400px;
  max-width: 80%;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 2px solid var(--color-primary);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0, 1);
}

.offcanvas.active .offcanvas-content {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.offcanvas-logo {
  height: 45px;
  background: #fff;
  padding: 4px;
  border-radius: 4px;
}

.close-btn {
  background: transparent;
  border: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
}

.close-btn .cross {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
}

.close-btn .cross:nth-child(1) {
  transform: rotate(45deg);
}

.close-btn .cross:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: auto;
}

.mobile-nav a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-primary);
  padding-left: 10px;
}

.offcanvas-footer {
  margin-top: auto;
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Stack vertically for safe margin centering */
  padding-top: calc(var(--dynamic-header-height, var(--nav-height)) + 80px);
  /* Increased from 30px for more clearance */
  padding-bottom: 80px;
  /* Safe bottom padding */
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: contrast(1.15) brightness(0.9) saturate(1.2);
  /* Enhanced photography contrast & premium look */
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 11, 13, 0.4) 0%, rgba(10, 11, 13, 0.85) 100%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.7) 0%, rgba(10, 11, 13, 0.3) 50%, var(--bg-primary) 100%);
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
  margin: auto 0;
  /* This enables 'safe centering' so it never pushes into header padding! */
}

.hero-text {
  max-width: 850px;
}

.hero-logo-large {
  width: 280px;
  margin-bottom: 30px;
  background: #fff;
  padding: 15px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: rgba(117, 192, 67, 0.1);
  border: 1px solid var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #dfdfdf;
  max-width: 700px;
  margin-bottom: 40px;
}

.btn-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* === Services Section === */
.services {
  overflow: hidden;
}

.section-icon-watermark {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

.logo-mark-small {
  width: 400px;
  filter: grayscale(100%);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
  position: relative;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: linear-gradient(145deg, var(--bg-tertiary) 0%, #1a1d24 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* slightly sharper border */
  border-radius: var(--radius-lg);
  padding: 45px 35px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  /* Added baseline shadow for depth */
}

/* Automotive gloss reflection top */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  /* Thicker accent line */
  background: var(--chameleon-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(117, 192, 67, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
  /* Deeper shadow on hover */
}

.service-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: rgba(117, 192, 67, 0.1);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  /* Solidified roundness */
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 2rem;
  /* For fa-icons fallback */
  box-shadow: 0 0 20px rgba(117, 192, 67, 0.2);
  transition: var(--transition-bounce);
  position: relative;
}

.card-icon i {
  margin: 0;
  padding: 0;
  display: block;
  line-height: 1;
}

.card-icon::after {
  /* content: '' - Moved to specific classes to avoid space conflict */
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: transform 0.4s ease;
}

.service-card:hover .card-icon::after {
  transform: scale(1.15);
  /* Icon dynamic pop effect */
}

.icon-spotrepair::after {
  content: '';
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19.36 2.73l-1.42 1.42 2.82 2.82 1.42-1.42c.39-.39.39-1.02 0-1.41l-1.41-1.41c-.39-.39-1.02-.39-1.41 0zM17.11 5.56L3.93 18.73V21h2.27L19.38 7.82l-2.27-2.26z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19.36 2.73l-1.42 1.42 2.82 2.82 1.42-1.42c.39-.39.39-1.02 0-1.41l-1.41-1.41c-.39-.39-1.02-.39-1.41 0zM17.11 5.56L3.93 18.73V21h2.27L19.38 7.82l-2.27-2.26z"/></svg>');
}

.icon-smartrepair::after {
  content: '';
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/></svg>');
}

.icon-rims::after {
  content: '';
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3"></circle><line x1="12" y1="2" x2="12" y2="9"></line><line x1="12" y1="15" x2="12" y2="22"></line><line x1="22" y1="12" x2="15" y2="12"></line><line x1="9" y1="12" x2="2" y2="12"></line><line x1="19.07" y1="4.93" x2="14.12" y2="9.88"></line><line x1="9.88" y1="14.12" x2="4.93" y2="19.07"></line><line x1="4.93" y1="4.93" x2="9.88" y2="9.88"></line><line x1="14.12" y1="14.12" x2="19.07" y2="19.07"></line></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3"></circle><line x1="12" y1="2" x2="12" y2="9"></line><line x1="12" y1="15" x2="12" y2="22"></line><line x1="22" y1="12" x2="15" y2="12"></line><line x1="9" y1="12" x2="2" y2="12"></line><line x1="19.07" y1="4.93" x2="14.12" y2="9.88"></line><line x1="9.88" y1="14.12" x2="4.93" y2="19.07"></line><line x1="4.93" y1="4.93" x2="9.88" y2="9.88"></line><line x1="14.12" y1="14.12" x2="19.07" y2="19.07"></line></svg>');
}

.icon-dent::after {
  content: '';
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12c0-4 4-7 9-7s9 3 9 7"></path><path d="M3 12c0 4 4 7 9 7s9-3 9-7"></path><path d="M9 11.5c0.5-1 1.5-1.5 3-1.5s2.5 0.5 3 1.5"></path><circle cx="12" cy="14" r="0.6" fill="currentColor"></circle></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12c0-4 4-7 9-7s9 3 9 7"></path><path d="M3 12c0 4 4 7 9 7s9-3 9-7"></path><path d="M9 11.5c0.5-1 1.5-1.5 3-1.5s2.5 0.5 3 1.5"></path><circle cx="12" cy="14" r="0.6" fill="currentColor"></circle></svg>');
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 0;
}

/* === Vorteile Section === */
.benefits-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.benefits-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: contrast(1.15) brightness(0.9) saturate(1.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.image-accent-border {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.about-images:hover .image-accent-border {
  top: 10px;
  left: 10px;
  opacity: 1;
  border-width: 3px;
}

.benefits-logo-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 15px;
  border: 4px solid var(--color-primary);
  z-index: 10;
}

.benefits-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: none;
  filter: none;
  border-radius: 0;
}

.benefits-list {
  margin-top: 40px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  padding: 15px 25px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-primary);
  transition: transform 0.3s ease;
}

.benefits-list li:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--color-secondary);
}

.benefits-list strong {
  font-weight: 500;
}

.check-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-right: 20px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(117, 192, 67, 0.3);
}

.check-icon::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--bg-primary);
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* === Über Uns Section === */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-images .img-main {
  width: 100%;
  /* Fill the width of the container */
  height: 450px;
  /* Fixed height for consistent look */
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  filter: contrast(1.15) brightness(0.9) saturate(1.1);
}

.about-images .img-overlap {
  width: 55%;
  aspect-ratio: 1/1;
  /* Control height */
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 8px solid var(--bg-secondary);
  box-shadow: -10px -10px 40px rgba(0, 0, 0, 0.4);
  filter: contrast(1.1) brightness(0.95) saturate(1.1);
}

/* === Kontakt Section === */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.info-blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.info-block {
  background: var(--bg-tertiary);
  padding: 30px;
  border-radius: var(--radius-md);
  border-top: 3px solid var(--color-primary);
}

.info-block h4 {
  color: var(--color-primary);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.contact-link {
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--color-primary);
}

.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.input-group {
  margin-bottom: 25px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid rgba(117, 192, 67, 0.2);
  padding: 18px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
}

.input-group textarea {
  resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 15px var(--neon-glow);
}

/* === Footer === */
.footer {
  background: #050607;
  border-top: 2px solid var(--color-primary);
  /* Stronger accent top border */
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}

/* Large faded logo in right corner of footer */
.footer::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background-image: url('images/logo.jpg');
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

.footer-logo-large {
  max-width: 250px;
  /* Much larger logo in footer */
  margin-bottom: 25px;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  max-width: 300px;
}

.footer h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
}

.footer-contact p,
.footer-links a {
  margin-bottom: 15px;
  display: block;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-contact a {
  color: var(--text-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 10;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.agency-credit {
  font-weight: 500;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

/* Agency branding block (Footer "Made with ♥ by …") */
.agency-branding {
  text-align: center;
  padding: 20px;
}

.agency-branding a {
  color: inherit;
  text-decoration: none;
}

.agency-branding a:hover {
  color: var(--color-primary);
}

.agency-heart {
  color: #e0245e;
  margin: 0 4px;
}

/* === Accessibility utility === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Honeypot (Spam-Schutz, unsichtbar) === */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* === Contact-Form DSGVO-Checkbox === */
.input-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.input-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.input-checkbox label {
  cursor: pointer;
  line-height: 1.5;
}

.input-checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* === Map-Section / 2-Klick-Lösung === */
.map-section {
  padding: 0 !important;
  height: 500px;
}

.gmap-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.gmap-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.gmap-placeholder p {
  margin: 0;
  color: var(--text-secondary);
}

.gmap-placeholder a {
  color: var(--color-primary);
  text-decoration: underline;
}

.gmap-placeholder #gmap-load {
  margin-top: 6px;
}

.gmap-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* === Cookie Banner: zweiter Button === */
.cookie-actions .btn-outline.reject-btn {
  padding: 10px 25px;
  font-size: 0.95rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 600;
  border: 2px solid var(--text-secondary);
  border-radius: var(--radius-btn);
  transition: var(--transition-smooth);
}

.cookie-actions .btn-outline.reject-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* === Legal pages (Impressum / Datenschutz) === */
.legal-page {
  max-width: 800px;
  padding-top: 150px;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: #fff;
}

.legal-page h2:first-of-type {
  margin-top: 30px;
}

.legal-page p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.7;
}

.legal-page a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--color-secondary);
}

.legal-list {
  margin: 0 0 20px 20px;
  list-style: disc;
  color: var(--text-secondary);
}

.legal-list li {
  margin-bottom: 6px;
  font-size: 1rem;
}

.legal-page code {
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

/* === Scroll Reveal Animations === */
.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

.reveal-up {
  transform: translateY(60px);
}

.reveal-scale {
  transform: scale(0.9);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* === Gallery & Before/After Styling === */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 5px 15px var(--neon-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.gallery-item {
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  animation: fadeIn 0.5s ease forwards;
}

.gallery-item:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: ew-resize;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  z-index: 2;
  /* This will be cropped by the slider */
  clip-path: inset(0 50% 0 0);
}

.ba-after {
  z-index: 1;
}

.ba-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-slider::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.ba-label {
  position: absolute;
  top: 15px;
  padding: 5px 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 4;
}

.ba-label-before { left: 15px; }
.ba-label-after { right: 15px; }

.gallery-info {
  padding: 25px;
}

.gallery-info h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.gallery-info span {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* === Responsive === */
@media (max-width: 1250px) {

  .desktop-nav {
    display: none;
  }

  .desktop-cta {
    margin-left: auto;
    margin-right: 30px;
    padding: 12px 20px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .hamburger-btn {
    display: flex;
  }

  .benefits-wrapper,
  .about-wrapper {
    gap: 40px;
  }
}

@media (max-width: 992px) {

  .contact-container,
  .benefits-wrapper,
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .about-images {
    min-height: 400px;
    margin-top: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-image img {
    aspect-ratio: 4/3;
    /* Less dominant height on tablet/mobile */
  }
}

@media (max-width: 850px) {

  .header,
  .header.scrolled {
    position: relative !important;
    /* Lösung A: Keine Überschneidung mehr auf Mobile */
    height: auto !important;
    padding-bottom: 25px;
    /* More breathing room */
  }

  .header-container {
    flex-wrap: wrap;
    padding-top: 20px;
    /* More breathing room top */
    align-items: flex-start;
    /* Keep logo and hamburger aligned */
  }

  .hamburger-btn {
    margin-left: auto;
    order: 2;
    margin-top: 15px;
    /* Align visually with centered logo */
  }

  .desktop-cta {
    margin: 30px 0 0 0;
    /* More space between logo/hamburger and phone button */
    width: 100%;
    order: 3;
    display: flex;
    justify-content: center;
  }

  h1 {
    margin-bottom: 15px;
  }

  /* Content is naturally pushed down by the relative header */
  .hero {
    padding-top: 40px;
    min-height: auto;
  }

  /* Email unwrapping on extremely small devices */
  .nowrap-email {
    font-size: clamp(0.8rem, 4vw, 1.1rem);
  }

  .hero-bg img {
    object-position: center 30%;
    /* Better cropping */
  }

  .section {
    padding: 60px 0;
    /* Slightly tighter sections on mobile */
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-blocks-grid {
    grid-template-columns: 1fr;
  }

  .benefits-logo-badge {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: -20px;
  }

  .benefits-list li {
    font-size: 1.05rem;
    padding: 12px 15px;
  }

  .contact-form {
    padding: 30px 20px;
  }
}