/* ===========================================
   MSE Gebäudereinigung - ULTRA MODERN
   Luftige Typografie · Floating Nav · Premium Design
   =========================================== */

:root {
  --clean-white: #ffffff;
  --clean-bg: #f8fafc;
  --clean-bg-alt: #f1f5f9;
  --teal-500: #06b6d4;
  --teal-600: #0891b2;
  --teal-700: #0e7490;
  --cyan-400: #22d3ee;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #64748b;
  --slate-400: #94a3b8;
  --text-muted: #64748b;
  --gradient-teal: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
  --gradient-hero: linear-gradient(160deg, #0c4a6e 0%, #0e7490 40%, #06b6d4 100%);
  --shadow-soft: 0 2px 24px rgba(6, 182, 212, 0.06);
  --shadow-card: 0 8px 40px rgba(14, 116, 144, 0.1);
  --shadow-hover: 0 20px 60px rgba(6, 182, 212, 0.15);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--slate-800);
  overflow-x: hidden;
  background: var(--clean-bg);
  min-height: 100vh;
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* ==========================================
   HEADER - Floating Pill Navigation
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem clamp(12px, 4vw, 60px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

header.scrolled::before {
  opacity: 1;
}

nav.nav-inner,
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.1);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  width: 100%;
  box-sizing: border-box;
}

header.scrolled nav.nav-inner,
header.scrolled nav {
  box-shadow: 0 8px 40px rgba(6, 182, 212, 0.12);
}

.logo-container a,
.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--slate-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--teal-600);
  background: rgba(6, 182, 212, 0.08);
}

/* Aktuelle Seite nur bei normalen Links hervorheben – nie beim CTA */
.nav-links a[aria-current="page"]:not(.nav-cta) {
  color: var(--teal-600);
  font-weight: 600;
  background: rgba(6, 182, 212, 0.08);
}

/* Preisanfrage: immer als CTA hervorgehoben, nie als „ausgewählt“ */
.nav-cta {
  background: var(--gradient-teal) !important;
  color: white !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--teal-600) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
}

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--clean-bg);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.burger:hover {
  background: rgba(6, 182, 212, 0.1);
}

.burger div {
  width: 20px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.burger.active .line1 {
  transform: rotate(-45deg) translate(-4px, 4px);
}

.burger.active .line2 { opacity: 0; }

.burger.active .line3 {
  transform: rotate(45deg) translate(-4px, -4px);
}

/* ==========================================
   HERO - Split Layout mit Glasmorphismus
   ========================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 7rem clamp(32px, 6vw, 100px) 5rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

/* Startseite: Hero mit Hintergrundbild + Overlay */
.hero.hero-home {
  background-image:
    linear-gradient(130deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.45)),
    url('hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero.hero-home::before {
  background: none;
}

/* Leistungen: Hero mit Hintergrundbild + Overlay */
.hero.hero-leistungen {
  background-image:
    linear-gradient(130deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.45)),
    url('hero-leistungen.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero.hero-leistungen::before {
  background: none;
}

/* Über uns: Hero mit Hintergrundbild + Overlay */
.hero.hero-ueber-uns {
  background-image:
    linear-gradient(130deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.45)),
    url('uber-uns-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero.hero-ueber-uns::before {
  background: none;
}

/* Kontakt: Hero mit Hintergrundbild + Overlay */
.hero.hero-kontakt {
  background-image:
    linear-gradient(130deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.45)),
    url('kontakt-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero.hero-kontakt::before {
  background: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.75rem;
  letter-spacing: 0.03em;
  animation: fadeInUp 0.8s ease-out both;
}

.hero-badge i {
  color: var(--cyan-400);
}

.hero-content h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, #22d3ee, #a5f3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 520px;
  letter-spacing: 0.015em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero .btn-primary {
  background: white;
  color: var(--teal-700);
  box-shadow: var(--shadow-hover);
}

.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image-wrap {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.hero-card h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.hero.hero-subpage {
  min-height: 65vh;
  grid-template-columns: 1fr;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.hero.hero-subpage .hero-content {
  max-width: 700px;
  margin: 0 auto;
}

/* Schrift & Farbe wie Startseite: weiße Überschrift, heller Untertitel */
.hero.hero-subpage .hero-content h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero.hero-subpage .hero-content h1 i {
  color: rgba(255, 255, 255, 0.95);
}
.hero.hero-subpage .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero.hero-subpage .hero-btns {
  justify-content: center;
}

.hero.hero-subpage .btn:not(.btn-outline) {
  background: white;
  color: var(--teal-700);
  box-shadow: var(--shadow-hover);
}

.hero.hero-subpage .btn:not(.btn-outline):hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   STATS BAR - Kennzahlen
   ========================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: -2rem auto 0;
  position: relative;
  z-index: 10;
  background: var(--clean-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(6, 182, 212, 0.06);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--teal-600);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--slate-600);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==========================================
   SCHNELLANFRAGE - Quick Contact
   ========================================== */
.schnellanfrage {
  padding: 6rem 2rem;
  background: var(--clean-bg);
}

.schnellanfrage-container {
  max-width: 520px;
  margin: 0 auto;
  background: var(--clean-white);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(6, 182, 212, 0.08);
}

.schnellanfrage h2 {
  font-size: 1.625rem;
  color: var(--slate-800);
  margin-bottom: 1.75rem;
  text-align: center;
  line-height: 1.3;
}

.schnellanfrage h2 i {
  color: var(--teal-600);
  margin-right: 0.5rem;
}

.schnellanfrage .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.schnellanfrage .form-group {
  margin-bottom: 1rem;
}

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

.schnellanfrage input,
.schnellanfrage textarea,
.schnellanfrage select,
.schnellanfrage .form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--clean-white);
}

.schnellanfrage select,
.schnellanfrage .form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.schnellanfrage input:focus,
.schnellanfrage textarea:focus,
.schnellanfrage select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

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

.schnellanfrage .submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-teal);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.schnellanfrage .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================
   ÜBER UNS TEASER
   ========================================== */
.uber-uns-teaser {
  padding: 6rem 2rem;
  background: var(--clean-white);
}

.uber-uns-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.uber-uns-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--slate-800);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.uber-uns-text p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.uber-uns-text .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-600);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.uber-uns-text .link-arrow:hover {
  gap: 12px;
  color: var(--teal-700);
}

.uber-uns-visual img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

/* ==========================================
   LEISTUNGEN TEASER – kompakt
   ========================================== */
.leistungen-teaser {
  padding: 6rem 2rem;
  background: var(--clean-bg);
  text-align: center;
}

.leistungen-teaser h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.leistungen-teaser-sub {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.leistungen-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.leistung-teaser-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1rem;
  background: var(--clean-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 182, 212, 0.08);
  text-decoration: none;
  color: var(--slate-700);
  font-weight: 500;
  transition: all 0.3s ease;
}

.leistung-teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--teal-600);
}

.leistung-teaser-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.leistungen-teaser-cta .btn-teaser {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.75rem;
  background: var(--gradient-teal);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.leistungen-teaser-cta .btn-teaser:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================
   PREISANFRAGE TEASER (Homepage)
   ========================================== */
.preisanfrage-teaser {
  padding: 6rem 2rem;
  background: var(--clean-bg);
}

.preisanfrage-teaser-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--clean-white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(6, 182, 212, 0.08);
}

.preisanfrage-teaser h2 {
  font-size: 1.625rem;
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.preisanfrage-teaser h2 i {
  color: var(--teal-600);
  margin-right: 0.5rem;
}

.preisanfrage-teaser p {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.preisanfrage-teaser .btn-teaser {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.75rem;
  background: var(--gradient-teal);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.preisanfrage-teaser .btn-teaser:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================
   SERVICES - Bento Grid (für leistungen.html)
   ========================================== */
.services-section {
  padding: 6rem 2rem;
  background: var(--clean-white);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-600);
  margin-bottom: 1rem;
}

.services-section h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--slate-800);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.services-section .section-sub {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 3.5rem;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--clean-bg);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid rgba(6, 182, 212, 0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 182, 212, 0.2);
}

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

.service-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(14, 116, 144, 0.04) 100%);
}

.service-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--gradient-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--slate-800);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.service-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  color: var(--teal-600);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.3s ease;
}

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

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  padding: 6rem 2rem;
  background: var(--gradient-hero);
  position: relative;
}

.testimonials h2 {
  color: white;
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.testimonials .section-sub {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-card blockquote {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.testimonial-author strong {
  color: white;
  font-size: 0.95rem;
}

.testimonial-author span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

/* ==========================================
   EINSATZGEBIET
   ========================================== */
.einsatzgebiet {
  padding: 5rem 2rem;
  background: var(--clean-bg);
}

.einsatzgebiet h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.einsatzgebiet .section-sub {
  text-align: center;
  color: var(--slate-600);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.region-tag {
  background: var(--clean-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  border: 2px solid rgba(6, 182, 212, 0.15);
  transition: all 0.3s ease;
}

.region-tag:hover {
  border-color: var(--teal-500);
  color: var(--teal-600);
  background: rgba(6, 182, 212, 0.06);
}

/* ==========================================
   WARUM WIR - USP
   ========================================== */
.warum-section {
  padding: 5rem 2rem;
  background: var(--clean-white);
  text-align: center;
}

.warum-section .section-label,
.warum-section h2 {
  margin-left: auto;
  margin-right: auto;
}

.warum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.warum-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
}

.warum-card:hover {
  transform: translateY(-4px);
}

.warum-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(14, 116, 144, 0.08) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--teal-600);
}

.warum-card h3 {
  font-size: 1.25rem;
  color: var(--slate-800);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.warum-card p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
  padding: 6rem 2rem;
  background: var(--gradient-teal);
  text-align: center;
  position: relative;
}

.cta-banner h2 {
  color: white;
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1875rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2rem;
  background: white;
  color: var(--teal-700);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-hover);
}

.cta-banner .btn:hover {
  transform: translateY(-3px);
}

/* ==========================================
   ABOUT - Über uns
   ========================================== */
.about {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.about-text h2 {
  font-size: clamp(1.9rem, 3vw, 2.625rem);
  color: var(--slate-800);
  margin-bottom: 1.75rem;
  line-height: 1.25;
}

.about-text h2 i {
  color: var(--teal-600);
  margin-right: 0.5rem;
}

.about-text p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.about-caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-600);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--teal-500);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.4;
}

.about-container-reverse {
  flex-direction: row-reverse;
}

.about-container-reverse .about-image::after {
  right: auto;
  left: -16px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.about-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--slate-600);
}

.about-list li i {
  color: var(--teal-600);
  font-size: 1.1rem;
}

/* ==========================================
   LEGACY - Features (für leistungen.html)
   ========================================== */
.features {
  padding: 5rem 2rem;
  background: var(--clean-bg);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2,
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--slate-800);
  margin-bottom: 0.5rem;
}

.section-header p,
.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--clean-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 182, 212, 0.08);
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--slate-800);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.feature-card p {
  color: var(--slate-600);
  line-height: 1.7;
  font-size: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.feature-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: bold;
}

/* ==========================================
   LEISTUNGEN-SEITE – Service-Blöcke (Bild + Text)
   ========================================== */
.leistungen-intro {
  padding: 4rem 2rem 2rem;
  background: var(--clean-white);
  text-align: center;
}

.leistungen-intro-inner {
  max-width: 720px;
  margin: 0 auto;
}

.leistungen-intro .section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-600);
  margin-bottom: 1rem;
}

.leistungen-intro h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.leistungen-intro p {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.75;
}

/* Inhaltsverzeichnis für Leistungen (Sprungmarken) */
.leistungen-toc {
  padding: 1.5rem 2rem 0;
  background: var(--clean-white);
}

.leistungen-toc-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.leistungen-toc-inner a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--clean-bg);
  border: 1px solid rgba(6, 182, 212, 0.15);
  font-size: 0.9rem;
  color: var(--slate-700);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.leistungen-toc-inner a:hover {
  border-color: var(--teal-500);
  color: var(--teal-600);
  background: rgba(6, 182, 212, 0.06);
}

.service-block {
  padding: 4rem 2rem;
  background: var(--clean-bg);
}

.service-block-alt {
  background: var(--clean-white);
}

.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.service-block-alt .service-block-inner {
  direction: rtl;
}

.service-block-alt .service-block-inner > * {
  direction: ltr;
}

.service-block-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-block-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.service-block-placeholder {
  min-height: 280px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(14, 116, 144, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-400);
  font-size: 0.9375rem;
  font-weight: 500;
}

.placeholder-content i {
  font-size: 3rem;
  color: var(--teal-500);
  opacity: 0.5;
}

.service-block-content h2,
.service-block-content h3 {
  font-size: 1.5rem;
  color: var(--slate-800);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-block-content h2 {
  font-size: 1.625rem;
}

.service-block-content p {
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.service-block-content p:last-of-type {
  margin-bottom: 0;
}

.service-sublist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-sublist li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--slate-600);
  line-height: 1.6;
}

.service-sublist li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: bold;
}

/* SEO-Text-Bereich (für späteren SEO-Content) */
.seo-text-section {
  padding: 4rem 2rem;
  background: var(--clean-bg);
}

.seo-text-inner {
  max-width: 800px;
  margin: 0 auto;
}

.seo-text-inner h2 {
  font-size: 1.5rem;
  color: var(--slate-800);
  margin-bottom: 1.25rem;
}

.seo-text-inner p {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .service-block-inner,
  .service-block-alt .service-block-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .service-block-image {
    order: -1;
  }

  .service-block-image img {
    height: 220px;
  }

  .service-block-placeholder {
    min-height: 220px;
  }
}

/* ==========================================
   KONTAKT – Neues Bento-Design
   ========================================== */
.kontakt-section {
  padding: 2.5rem 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kontakt-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  background: var(--clean-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 182, 212, 0.08);
  text-decoration: none;
  color: var(--slate-800);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.kontakt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.kontakt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 182, 212, 0.2);
}

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

.kontakt-card-address {
  grid-column: span 2;
}

.kontakt-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(8, 145, 178, 0.1) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--teal-600);
  margin-bottom: 0.75rem;
}

.kontakt-card-whatsapp .kontakt-card-icon {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(34, 197, 94, 0.15) 100%);
  color: #25d366;
}

.kontakt-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.kontakt-card p {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0.1rem 0;
}

.kontakt-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-600);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
}

.kontakt-card:hover .kontakt-card-link {
  opacity: 1;
  transform: translateY(0);
}

.kontakt-cta {
  text-align: center;
  margin-bottom: 1.5rem;
}

.kontakt-preisanfrage-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: var(--gradient-teal);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.kontakt-preisanfrage-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.45);
  color: white;
}

.kontakt-preisanfrage-btn:hover .kontakt-preisanfrage-arrow {
  transform: translateX(4px);
}

.kontakt-preisanfrage-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.kontakt-preisanfrage-arrow {
  font-size: 0.9rem;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.kontakt-map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(6, 182, 212, 0.06);
}

.kontakt-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background: linear-gradient(135deg, var(--clean-bg) 0%, rgba(6, 182, 212, 0.04) 100%);
  padding: 2rem;
  text-align: center;
}

.kontakt-map-placeholder i {
  font-size: 2.25rem;
  color: var(--teal-500);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.kontakt-map-placeholder p {
  color: var(--slate-600);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.kontakt-map-placeholder .btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.kontakt-map-placeholder .btn-outline {
  background: transparent;
  border: 2px solid var(--teal-600);
  color: var(--teal-600);
}

.kontakt-map-placeholder .btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
}

.kontakt-map-container {
  height: 280px;
  width: 100%;
}

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

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

  .kontakt-card-address {
    grid-column: span 1;
  }

  .kontakt-map-container {
    height: 220px;
  }
}

/* Legacy contact (für Impressum etc.) */
.contact {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact-info {
  background: var(--clean-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--slate-800);
}

.contact-info h2 i {
  color: var(--teal-600);
  margin-right: 0.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--clean-bg);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.contact-detail-icon {
  min-width: 48px;
  height: 48px;
  background: var(--gradient-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-info a {
  color: var(--teal-600);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 350px;
  background: var(--clean-bg);
}

.contact-form-container {
  max-width: 600px;
  margin: 3rem auto 0;
  padding: 2.5rem;
  background: var(--clean-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--slate-800);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
}

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

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-teal);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Impressum & Datenschutz – an Website-Design angepasst */
.impressum {
  padding: 3rem 2rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.impressum-container {
  background: var(--clean-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(6, 182, 212, 0.08);
}

.impressum h1 { font-size: 2rem; margin-bottom: 2rem; color: var(--slate-800); }
.impressum h2 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: 1rem; color: var(--teal-600); }
.impressum h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.impressum p { color: var(--slate-600); line-height: 1.8; margin-bottom: 1rem; }
.impressum a { color: var(--teal-600); }
.impressum a:hover { text-decoration: underline; }

/* Danke-Seite – an Website-Design angepasst */
.danke-content {
  padding: 4rem 2rem;
  background: var(--clean-bg);
}
.danke-content-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--clean-white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(6, 182, 212, 0.08);
}
.danke-icon-wrap {
  width: 80px;
  height: 80px;
  background: var(--gradient-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.danke-icon-wrap i {
  font-size: 2.25rem;
  color: white;
}
.danke-content-inner h2 {
  font-size: 1.5rem;
  color: var(--slate-800);
  margin-bottom: 1rem;
}
.danke-content-inner p {
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.danke-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.danke-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.danke-buttons .btn-primary {
  background: var(--gradient-teal);
  color: white;
  box-shadow: var(--shadow-soft);
}
.danke-buttons .btn-primary:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.danke-buttons .btn-outline-secondary {
  background: transparent;
  color: var(--teal-600);
  border: 2px solid var(--teal-500);
}
.danke-buttons .btn-outline-secondary:hover {
  background: rgba(6, 182, 212, 0.08);
}

/* Footer */
footer {
  background: var(--slate-800);
  color: white;
  text-align: center;
  padding: 2.5rem;
}

footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: var(--gradient-teal);
}

footer p { margin: 0.5rem 0; font-size: 0.95rem; opacity: 0.9; }
footer a { color: var(--cyan-400); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .credits { font-size: 0.8rem; opacity: 0.7; margin-top: 1rem; }

/* ==========================================
   FLOATING BUTTONS
   ========================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 14px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease-out 2s both;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
}

.call-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--gradient-teal);
  border-radius: 14px;
  padding: 0 22px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-hover);
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease-out 2s both;
}

.call-btn:hover {
  transform: translateY(-2px);
}

/* Quote Button - Floating */
.quote-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 999;
  background: white;
  color: var(--teal-600);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease-out 2.5s both;
}

.quote-float:hover {
  transform: translateY(-2px);
  color: var(--teal-700);
}

/* ==========================================
   COOKIE BANNER – an Website-Design angepasst
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 640px;
  margin: 0 auto;
  background: var(--clean-white);
  color: var(--slate-800);
  z-index: 9999;
  padding: 1.5rem 1.75rem;
  display: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(6, 182, 212, 0.12);
  animation: slideUp 0.4s ease-out;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cookie-content { max-width: 100%; }
.cookie-content h2 {
  color: var(--teal-600);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.cookie-content p { margin-bottom: 1rem; line-height: 1.6; color: var(--slate-600); font-size: 0.9375rem; }
.cookie-content a { color: var(--teal-600); font-weight: 500; }
.cookie-options { margin-bottom: 1rem; }
.cookie-options label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.9375rem; color: var(--slate-700); }
.cookie-options input { width: 18px; height: 18px; accent-color: var(--teal-500); }
.cookie-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-buttons button {
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.3s ease;
}
#accept-cookies { background: var(--gradient-teal); color: white; }
#accept-cookies:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
#reject-cookies { background: var(--clean-bg); color: var(--slate-700); border: 1px solid rgba(6, 182, 212, 0.2); }
#reject-cookies:hover { background: rgba(6, 182, 212, 0.06); }
#save-cookies { background: transparent; color: var(--teal-600); border: 1.5px solid var(--teal-500); }
#save-cookies:hover { background: rgba(6, 182, 212, 0.08); }

/* ==========================================
   LOADING ANIMATION – Premium/Modern
   ========================================== */
#loading-animation {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.loader-bg {
  position: absolute;
  inset: 0;
}

.loader-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 25%, #06b6d4 50%, #22d3ee 75%, #0891b2 100%);
  background-size: 400% 400%;
  animation: loaderGradientShift 8s ease infinite;
}

.loader-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(at 40% 20%, rgba(6, 182, 212, 0.4) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(34, 211, 238, 0.3) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(8, 145, 178, 0.35) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(6, 182, 212, 0.25) 0px, transparent 50%);
  animation: loaderMeshPulse 4s ease-in-out infinite;
  opacity: 0.9;
}

.loader-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loader-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: loaderFloat 6s ease-in-out infinite;
}

.loader-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 5s; }
.loader-particles span:nth-child(2) { left: 20%; top: 80%; animation-delay: 0.5s; animation-duration: 7s; }
.loader-particles span:nth-child(3) { left: 35%; top: 40%; animation-delay: 1s; animation-duration: 6s; }
.loader-particles span:nth-child(4) { left: 50%; top: 90%; animation-delay: 0.2s; animation-duration: 8s; }
.loader-particles span:nth-child(5) { left: 65%; top: 15%; animation-delay: 1.5s; animation-duration: 5.5s; }
.loader-particles span:nth-child(6) { left: 80%; top: 60%; animation-delay: 0.8s; animation-duration: 6.5s; }
.loader-particles span:nth-child(7) { left: 90%; top: 30%; animation-delay: 0.3s; animation-duration: 7.5s; }
.loader-particles span:nth-child(8) { left: 5%; top: 50%; animation-delay: 1.2s; animation-duration: 5.8s; }
.loader-particles span:nth-child(9) { left: 70%; top: 75%; animation-delay: 0.6s; animation-duration: 6.2s; }
.loader-particles span:nth-child(10) { left: 45%; top: 5%; animation-delay: 1.8s; animation-duration: 7.2s; }

.loading-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.loader-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 16px;
  background: white;
  padding: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.loader-ring {
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: loaderRingSpin 3s linear infinite;
}

.loader-ring-2 {
  inset: -20px;
  border-color: rgba(255, 255, 255, 0.15);
  animation-direction: reverse;
  animation-duration: 4s;
}

.loader-logo-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: loaderShimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

.loader-logo {
  height: 140px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(6, 182, 212, 0.3);
  animation: loaderLogoEntrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  transform: scale(0.5);
}

.loader-progress {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin: 1.5rem auto 0;
  animation: loaderFadeIn 0.8s 0.5s ease forwards;
  opacity: 0;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22d3ee, #fff);
  border-radius: 999px;
  transition: width 0.15s ease;
}

@keyframes loaderGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes loaderMeshPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 0.9; }
}

@keyframes loaderShimmer {
  0% { left: -100%; }
  60%, 100% { left: 200%; }
}

@keyframes loaderRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes loaderLogoEntrance {
  to { opacity: 1; transform: scale(1); }
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}


/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE – Mobile Overflow verhindern
   ========================================== */
main,
section {
  max-width: 100%;
  box-sizing: border-box;
}

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

@media (max-width: 768px) {
  main {
    overflow-x: hidden;
  }
  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero,
  .hero.hero-subpage {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .schnellanfrage,
  .preisanfrage-section,
  .about,
  .warum-section,
  .cta-banner,
  .leistungen-intro,
  .service-block,
  .seo-text-section,
  .kontakt-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .schnellanfrage-container {
    padding: 1.5rem 1rem;
  }
  .stats-bar {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1.5rem 1rem;
  }
  .cookie-content {
    padding: 0 1rem;
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: 2; max-width: 400px; margin: 0 auto; }
  .hero-image-wrap { max-width: 100%; }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin: -2rem 1rem 0;
  }

  .uber-uns-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .uber-uns-visual img {
    margin: 0 auto;
  }

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

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

  .service-card.featured {
    grid-column: span 2;
  }

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

@media (max-width: 768px) {
  /* Mobile Nav – kompakt und ästhetisch */
  header {
    padding: 0.5rem 0.75rem;
  }

  nav.nav-inner,
  nav {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  }

  .nav-logo {
    height: 44px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0.75rem;
    right: 0.75rem;
    width: calc(100% - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    background: var(--clean-white);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(14, 116, 144, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.1);
    gap: 2px;
  }

  .nav-links.active { display: flex; }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .nav-links a:hover {
    background: rgba(6, 182, 212, 0.08);
  }
  /* CTA im Mobile-Menü: dezent mit Rahmen statt blauem Hintergrund */
  .nav-links a.nav-cta {
    margin-top: 0.35rem;
    margin-bottom: 0.2rem;
    text-align: center;
    border-radius: var(--radius-full);
    font-weight: 600;
    background: transparent !important;
    color: var(--teal-700) !important;
    border: 1.5px solid rgba(6, 182, 212, 0.55);
    box-shadow: none;
  }
  .burger {
    display: flex;
    border-radius: var(--radius-md);
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .service-card.featured {
    grid-column: span 1;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-container .about-text,
  .about-container .about-image,
  .service-block-inner .service-block-content,
  .service-block-inner .service-block-image {
    min-width: 0;
  }

  .about-image::after {
    right: 50%;
    transform: translateX(50%);
  }

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

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

  .leistungen-teaser-grid {
    grid-template-columns: 1fr;
  }

  .call-btn span { display: none; }
  .quote-float { bottom: 90px; right: 90px; }

  /* Hero-Buttons auf Mobile untereinander und nicht abgeschnitten */
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn {
    width: 100%;
    justify-content: center;
    padding-inline: 1.25rem;
  }
}

@media (max-width: 480px) {
  /* Auf sehr kleinen Geräten: Hero-Buttons kompakt und nicht abgeschnitten */
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .hero .btn {
    width: auto;
    max-width: 280px;
    justify-content: center;
    padding-inline: 1.25rem;
  }
  /* Hero-Text auf kleinsten Screens etwas kleiner und mit mehr Luft */
  .hero-content {
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: 2.1rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .region-tags { flex-direction: column; }
  .quote-float { display: none; }
  header { padding: 0.5rem 0.5rem; }
  nav.nav-inner { padding: 0.5rem 0.5rem; }
  .nav-links {
    left: 0.5rem;
    right: 0.5rem;
    width: calc(100% - 1rem);
    max-width: calc(100vw - 1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
