/* ============================================
   NOBELIS — Design System 2026
   Premium Gebäudereinigung Website
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #0A1628;
  --navy-light: #132038;
  --dark: #1A2B3D;
  --text: #334155;
  --text-light: #64748B;
  --border: #E2E8F0;
  --light: #F1F5F9;
  --lighter: #F8FAFC;
  --white: #FFFFFF;
  --accent: #00B67A;
  --accent-dark: #009963;
  --accent-light: #E6F9F1;
  --accent-glow: rgba(0, 182, 122, 0.15);
  --gold: #F59E0B;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 3px rgba(10,22,40,0.06);
  --shadow: 0 4px 20px rgba(10,22,40,0.08);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.12);
  --shadow-xl: 0 20px 60px rgba(10,22,40,0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

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

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,182,122,0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,182,122,0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,182,122,0.3);
  transition: all var(--transition);
}

.btn-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0,182,122,0.4);
}

.btn-icon svg { width: 22px; height: 22px; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(10,22,40,0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  transition: color var(--transition);
  z-index: 1001;
}

.header.scrolled .logo { color: var(--navy); }

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

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

.nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all var(--transition);
}

.header.scrolled .nav a { color: var(--text); }

.nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.header.scrolled .nav a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}

.header.scrolled .header-phone { color: var(--navy); }

.header-phone svg { width: 18px; height: 18px; }

.header-btn {
  padding: 10px 24px !important;
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 60px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0,182,122,0.3);
}

.header-btn:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header.scrolled .menu-toggle span { background: var(--navy); }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,182,122,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,182,122,0.08) 0%, transparent 50%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 2;
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(0,182,122,0.12);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(0,182,122,0.08);
  bottom: 20%;
  right: -5%;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(245,158,11,0.06);
  top: 60%;
  left: 40%;
  animation-delay: -2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: var(--header-h);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 60px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,182,122,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0,182,122,0); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-number .accent { color: var(--accent); }

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-image-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
  background: var(--navy-light);
  position: relative;
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating cards on hero */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 6s ease-in-out infinite;
  z-index: 4;
}

.hero-float-card-1 {
  bottom: 15%;
  left: -40px;
  animation-delay: 0s;
}

.hero-float-card-2 {
  top: 20%;
  right: -30px;
  animation-delay: -3s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card-icon.green { background: var(--accent-light); color: var(--accent); }
.float-card-icon.gold { background: #FEF3C7; color: var(--gold); }

.float-card-icon svg { width: 22px; height: 22px; }

.float-card-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
}

.float-card-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 60px 0;
  background: var(--white);
  position: relative;
  z-index: 5;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: var(--lighter);
  border-radius: 60px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.trust-item:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg { width: 20px; height: 20px; }

.trust-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

/* --- Services Section --- */
.services {
  padding: 100px 0;
  background: var(--lighter);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.service-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card-body {
  padding: 24px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}

.service-card:hover .service-link { gap: 10px; }

.service-link svg { width: 16px; height: 16px; }

/* --- Why Us / Stats --- */
.why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-content { max-width: 520px; }

.why-content .section-title { margin-bottom: 20px; }

.why-content > p {
  color: var(--text-light);
  margin-bottom: 36px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg { width: 22px; height: 22px; }

.why-feature h4 {
  margin-bottom: 4px;
}

.why-feature p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--lighter);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.stat-card:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* --- About / Über Uns --- */
.about {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,182,122,0.1) 0%, transparent 60%);
}

.about .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-light);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-image-badge .accent {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.about-image-badge span {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
}

.about-content { max-width: 520px; }

.about-content .section-label { color: var(--accent); }
.about-content .section-label::before { background: var(--accent); }

.about-content .section-title {
  color: var(--white);
  margin-bottom: 20px;
}

.about-content > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-values {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.about-value svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  background: var(--lighter);
  position: relative;
}

.cta-card {
  background: var(--white);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.cta-benefit svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Contact form in CTA */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--navy);
  background: var(--lighter);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

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

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

.form-submit {
  width: 100%;
  justify-content: center;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

/* --- Area / Service Region --- */
.area {
  padding: 100px 0;
  background: var(--white);
}

.area-header {
  text-align: center;
  margin-bottom: 60px;
}

.area-header .section-subtitle { margin: 0 auto; }

.area-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.area-city {
  padding: 10px 24px;
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: 60px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
}

.area-city:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.area-city.primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* --- FAQ --- */
.faq {
  padding: 100px 0;
  background: var(--lighter);
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header .section-subtitle { margin: 0 auto; }

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

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  text-align: left;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--accent);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-icon svg { width: 16px; height: 16px; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand > p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-social svg { width: 18px; height: 18px; color: var(--white); }

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

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

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--accent); }

/* --- Floating WhatsApp Button --- */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--transition);
  animation: whatsappPulse 3s ease-in-out infinite;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

.float-whatsapp svg { width: 28px; height: 28px; color: var(--white); }

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.7s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Toast / Form Success --- */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid var(--accent); }
.toast.error { border-left: 4px solid #EF4444; }

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { order: 1; }

  .hero-visual {
    order: 0;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-image-main { aspect-ratio: 1/1; border-radius: 20px; }
  .hero-float-card { display: none; }

  .hero-text { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }

  .why-us .container,
  .about .container,
  .cta-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .nav { display: none; }
  .header-phone { display: none; }
  .menu-toggle { display: flex; }

  /* Mobile menu */
  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    padding: 100px 24px 40px;
    gap: 4px;
    z-index: 1000;
    align-items: stretch;
  }

  .nav.mobile-open a {
    color: rgba(255,255,255,0.8);
    padding: 14px 16px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
  }

  .nav.mobile-open a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
  }

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

  .service-card-img { height: 140px; }

  .service-card-body { padding: 16px; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .cta-card {
    padding: 32px 24px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-values {
    flex-direction: column;
    gap: 12px;
  }

  .trust-bar .container {
    flex-direction: column;
    align-items: center;
  }

  .area-cities { gap: 8px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stat-number { font-size: 2rem; }
  .cta-card { padding: 24px 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-img { height: 160px; }
  .hero-visual { max-width: 260px; }
}

/* --- Page header for subpages --- */
.page-header {
  background: var(--navy);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header.has-bg {
  background-size: cover;
  background-position: center;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}

.page-header.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.6) 50%, rgba(10,22,40,0.3) 100%);
  z-index: 1;
}

.page-header.has-bg .container { z-index: 2; }

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(0,182,122,0.12) 0%, transparent 60%);
}

.page-header .container { position: relative; }

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--accent); }

/* --- Smooth page load --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-content > *:nth-child(6) { animation-delay: 0.6s; }

/* --- Urgency Badge --- */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border: 1px solid #6EE7B7;
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #065F46;
  animation: urgencyPulse 3s ease-in-out infinite;
}

.urgency-badge svg { width: 16px; height: 16px; }

@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,182,122,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(0,182,122,0); }
}

/* --- Sticky Mobile CTA Bar --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(10,22,40,0.1);
  gap: 10px;
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

.mobile-cta-call {
  background: var(--navy);
  color: var(--white);
}

.mobile-cta-anfrage {
  background: var(--accent);
  color: var(--white);
}

.mobile-cta-bar svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  .float-whatsapp { bottom: 80px; }
  .toast { bottom: 160px; }
  body { padding-bottom: 70px; }
}

/* --- Google Maps Footer --- */
.footer-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.5) brightness(0.9);
  transition: filter var(--transition);
}

.footer-map:hover iframe {
  filter: grayscale(0) brightness(1);
}

/* --- Blog / Article styles --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 200px;
  background: var(--lighter);
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 60px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-content th,
.article-content td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.article-content th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.article-content tr:hover td {
  background: var(--lighter);
}

.article-content ul, .article-content ol {
  margin: 16px 0;
  padding-left: 24px;
  list-style: disc;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--text);
}

.article-cta {
  background: var(--accent-light);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cta h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.article-cta p {
  margin-bottom: 16px;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}
