/*
Theme Name: CleanPro
Theme URI: https://cleanpro-theme.de
Author: CleanPro Theme
Author URI: https://cleanpro-theme.de
Description: Professionelles WordPress Theme für Reinigungsunternehmen. Zweisprachig DE/EN, moderne Optik, One-Click-Installer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleanpro
Tags: responsive, custom-colors, custom-logo, two-columns, full-width-template, translation-ready
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  /* Brand Colors */
  --cp-blue:        #1B4FD8;
  --cp-blue-dark:   #0F3BAE;
  --cp-blue-light:  #EEF3FF;
  --cp-orange:      #F97316;
  --cp-orange-dark: #EA6A0A;
  --cp-orange-light:#FFF4EC;

  /* Neutrals */
  --cp-white:       #FFFFFF;
  --cp-bg:          #F7F9FC;
  --cp-gray-100:    #F1F5F9;
  --cp-gray-200:    #E2E8F0;
  --cp-gray-400:    #94A3B8;
  --cp-gray-600:    #475569;
  --cp-gray-900:    #0F172A;

  /* Typography */
  --font-display:   'Syne', sans-serif;
  --font-body:      'DM Sans', sans-serif;

  /* Spacing */
  --section-gap:    5rem;
  --section-gap-sm: 3rem;

  /* Transitions */
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(27,79,216,0.08);
  --shadow-md:   0 4px 20px rgba(27,79,216,0.12);
  --shadow-lg:   0 8px 40px rgba(27,79,216,0.18);
  --shadow-blue: 0 8px 30px rgba(27,79,216,0.25);

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
}

/* === Custom Scrollbar === */

/* Für Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a; /* dunkler Hintergrund (anpassen falls nötig) */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #06b6d4); /* moderner Verlauf */
  border-radius: 10px;
  border: 2px solid #0f172a; /* sorgt für "padding" Effekt */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb, #0891b2);
}

/* Für Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #0f172a;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cp-gray-900);
  background: var(--cp-bg);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--cp-gray-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { max-width: 68ch; }
p + p { margin-top: 1em; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--cp-gray-600);
  font-weight: 400;
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1400px; }

section { padding: var(--section-gap) 0; }

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

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--cp-orange);
  color: #fff;
  box-shadow: 0 4px 15px rgba(249,115,22,0.35);
}
.btn-primary:hover { background: var(--cp-orange-dark); box-shadow: 0 6px 20px rgba(249,115,22,0.45); }

.btn-secondary {
  background: var(--cp-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-secondary:hover { background: var(--cp-blue-dark); }

.btn-outline {
  background: transparent;
  color: var(--cp-blue);
  border: 2px solid var(--cp-blue);
}
.btn-outline:hover { background: var(--cp-blue); color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* =========================================================
   BADGES / TAGS
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-blue   { background: var(--cp-blue-light); color: var(--cp-blue); }
.badge-orange { background: var(--cp-orange-light); color: var(--cp-orange-dark); }

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--cp-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--cp-gray-200);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--cp-blue-light);
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header .badge {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--cp-gray-600);
  font-size: 1.1rem;
}

/* =========================================================
   DIVIDERS
   ========================================================= */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
	background-color: rgba(225,225,225,0.8);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--cp-gray-900);
}

.site-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--cp-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo .logo-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
}

.logo-text-main { color: var(--cp-blue); }
.logo-text-accent { color: var(--cp-orange); }

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cp-gray-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cp-blue);
  background: var(--cp-blue-light);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--cp-gray-100);
  border-radius: 100px;
  padding: 0.25rem;
}

.lang-btn {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--cp-gray-400);
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--cp-blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) { color: var(--cp-blue); }

/* Header CTA (desktop) */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile right slot – hidden on desktop */
.mobile-header-right {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

/* Menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Dark burger when header scrolled */
.site-header.scrolled .menu-toggle span {
  background: var(--cp-gray-900);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #1B4FD8 50%, #1e3a8a 100%);
  padding-top: 5rem;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: blob-float 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #F97316, transparent 70%);
  top: -200px; right: -100px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #60A5FA, transparent 70%);
  bottom: -100px; left: -50px;
  animation-delay: 3s;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249,115,22,0.2);
  border: 1px solid rgba(249,115,22,0.4);
  color: #FCD34D;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #F97316;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--cp-orange);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: var(--cp-orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 0.8s 0.8s forwards;
}

@keyframes underline-in {
  to { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

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

.hero-card-float {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  position: relative;
  width: 100%;
  max-width: 380px;
  animation: hero-card-float 6s ease-in-out infinite;
}

@keyframes hero-card-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--cp-orange), #FBBF24);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.08);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.hero-service-check {
  width: 20px; height: 20px;
  background: rgba(249,115,22,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FCD34D;
  font-size: 0.7rem;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--cp-gray-900);
  animation: float-badge 5s ease-in-out infinite;
}

.float-badge-1 { top: -1rem; right: -2rem; animation-delay: 1s; }
.float-badge-2 { bottom: 1rem; left: -2rem; animation-delay: 2.5s; }

@keyframes float-badge { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

.float-badge .fb-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* =========================================================
   SCROLL INDICATOR
   ========================================================= */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.5); opacity: 0.3; } }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--cp-white);
  border-top: 1px solid var(--cp-gray-200);
  border-bottom: 1px solid var(--cp-gray-200);
  padding: 1.5rem 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cp-gray-600);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-icon {
  width: 36px; height: 36px;
  background: var(--cp-blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cp-blue);
  font-size: 1rem;
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */
.services-section { background: var(--cp-bg); }

.service-card {
  background: var(--cp-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--cp-gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cp-blue), var(--cp-orange));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--cp-blue-light);
}

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

.service-icon-wrap {
  width: 60px; height: 60px;
  background: var(--cp-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--cp-blue);
}

.service-icon-wrap svg {
  width: 28px; height: 28px;
  stroke: var(--cp-blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap svg { stroke: #fff; }

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--cp-gray-600);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cp-blue);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: var(--font-display);
  transition: var(--transition);
}

.service-link:hover { gap: 0.75rem; color: var(--cp-orange); }

/* =========================================================
   WHY US / USP SECTION
   ========================================================= */
.usp-section { background: var(--cp-white); }

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

.usp-visual {
  position: relative;
}

.usp-image-wrap {
  background: linear-gradient(135deg, var(--cp-blue-light), #dbeafe);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 420px;
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.usp-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.usp-icon {
  width: 44px; height: 44px;
  background: var(--cp-blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cp-blue);
  font-size: 1.1rem;
}

.usp-item h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.usp-item p  { color: var(--cp-gray-600); font-size: 0.875rem; margin: 0; }

/* =========================================================
   PRICING SECTION
   ========================================================= */
.pricing-section { background: var(--cp-bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--cp-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 2px solid var(--cp-gray-200);
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--cp-blue), var(--cp-blue-dark));
  border-color: var(--cp-blue);
  color: #fff;
  transform: scale(1.04);
  box-shadow: var(--shadow-blue);
}

.pricing-card:not(.featured):hover {
  border-color: var(--cp-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cp-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--cp-gray-600);
}

.pricing-card.featured .pricing-name { color: rgba(255,255,255,0.7); }

.pricing-price {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-price .amount {
  font-size: 3rem;
  color: var(--cp-gray-900);
}

.pricing-card.featured .pricing-price .amount { color: #fff; }

.pricing-price .unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cp-gray-400);
}

.pricing-card.featured .pricing-price .unit { color: rgba(255,255,255,0.6); }

.pricing-desc {
  font-size: 0.875rem;
  color: var(--cp-gray-600);
  margin-bottom: 1.75rem;
  min-height: 2.5em;
}

.pricing-card.featured .pricing-desc { color: rgba(255,255,255,0.75); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.pricing-feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  background: rgba(27,79,216,0.1);
  color: var(--cp-blue);
}

.pricing-card.featured .pricing-feature-check {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section { background: var(--cp-white); }

.testimonial-card {
  background: var(--cp-gray-100);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 4rem;
  font-family: var(--font-display);
  color: var(--cp-blue-light);
  line-height: 1;
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--cp-gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cp-blue), var(--cp-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.author-name  { font-weight: 700; font-size: 0.9rem; }
.author-label { font-size: 0.78rem; color: var(--cp-gray-400); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--cp-blue-dark), var(--cp-blue));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(249,115,22,0.2), transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05), transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.cta-inner h2 { color: #fff; margin-bottom: 1rem; }
.cta-inner p  { color: rgba(255,255,255,0.8); margin: 0 auto 2.5rem; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-section { background: var(--cp-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--cp-blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cp-blue);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cp-gray-400);
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-weight: 600;
  color: var(--cp-gray-900);
}

.contact-detail-value a:hover { color: var(--cp-blue); }

/* Form */
.contact-form-wrap {
  background: var(--cp-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cp-gray-200);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cp-gray-600);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--cp-gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--cp-gray-900);
  background: var(--cp-white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--cp-blue);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.1);
}

.form-control::placeholder { color: var(--cp-gray-400); }

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

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

.form-submit { width: 100%; margin-top: 0.5rem; }

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #16a34a;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
  background: linear-gradient(135deg, #0F172A, #1B4FD8);
  color: #fff;
  padding: 8rem 0 5rem;
  text-align: center;
}

.about-hero h1 { color: #fff; margin-bottom: 1rem; }
.about-hero p   { color: rgba(255,255,255,0.8); margin: 0 auto; }

.team-card {
  text-align: center;
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cp-blue), var(--cp-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.team-name  { font-weight: 700; margin-bottom: 0.25rem; }
.team-role  { font-size: 0.875rem; color: var(--cp-gray-400); }

/* =========================================================
   PAGE HERO (Generic)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1B4FD8 100%);
  color: #fff;
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(249,115,22,0.15), transparent 50%);
}

.page-hero h1 { color: #fff; margin-bottom: 1rem; position: relative; }
.page-hero p   { color: rgba(255,255,255,0.75); margin: 0 auto; position: relative; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  position: relative;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* =========================================================
   404 ERROR PAGE
   ========================================================= */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--cp-bg);
}

.error-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--cp-blue), var(--cp-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.error-title   { margin-bottom: 1rem; }
.error-text    { color: var(--cp-gray-600); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ========================================================= */
.legal-page { background: var(--cp-white); }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--cp-blue);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--cp-gray-600);
  margin-bottom: 0.75rem;
  max-width: none;
}

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

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--cp-gray-900);
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 28ch;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 0.8rem;
}

.social-btn:hover {
  background: var(--cp-blue);
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-links a:hover { color: var(--cp-orange); padding-left: 0.25rem; }

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom-links a:hover { color: #fff; }

/* Site logo in footer */
.site-footer .site-logo { margin-bottom: 1rem; }
.site-footer .site-logo, .site-footer .logo-text-main { color: #fff; }

/* =========================================================
   ANIMATIONS & SCROLL EFFECTS
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* =========================================================
   MOBILE / RESPONSIVE
   ========================================================= */
/* =========================================================
   RESPONSIVE – TABLET (max 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual   { display: none; }
  .pricing-card.featured { transform: scale(1); }
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .usp-grid      { grid-template-columns: 1fr; }
  .usp-visual    { display: none; }

  /* Services page: stack detail rows */
  [style*="grid-template-columns:1fr 1fr"][style*="direction"] {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
  }
}

/* =========================================================
   RESPONSIVE – MOBILE (max 768px)
   ========================================================= */
@media (max-width: 768px) {
  :root { --section-gap: var(--section-gap-sm); }

  /* ── HEADER ── */
  .header-inner {
    padding: 0.85rem 1rem;
    gap: 0.5rem;
  }

  /* Hide desktop cta block entirely on mobile */
  .header-cta { display: none; }

  /* Show mobile right slot */
  .mobile-header-right { display: flex; }

  /* Shrink logo text on very small screens */
  .site-logo span { font-size: 1.1rem; }
  .logo-icon { width: 36px; height: 36px; border-radius: 10px; }

  /* ── FULLSCREEN NAV OVERLAY ── */
  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 18, 40, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    z-index: 999;
    padding: 2rem;
    overflow-y: auto;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    font-size: 1.35rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: rgba(255,255,255,0.85);
    padding: 0.9rem 2.5rem;
    border-radius: 14px;
    width: 100%;
    text-align: center;
    transition: var(--transition);
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--cp-orange);
    background: rgba(249,115,22,0.12);
  }

  /* Lang switcher inside mobile-header-right */
  .mobile-header-right .lang-switcher {
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 0.2rem;
  }
  .site-header.scrolled .mobile-header-right .lang-switcher {
    background: var(--cp-gray-100);
  }
  .mobile-header-right .lang-btn { font-size: 0.75rem; padding: 0.25rem 0.6rem; }
  .mobile-header-right .lang-btn.active { background: var(--cp-blue); color: #fff; }

  /* ── GRIDS → SINGLE COL ── */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* ── HERO ── */
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* ── SECTIONS ── */
  section { padding: 2.5rem 0; }

  /* ── SERVICES DETAIL PAGE ── */
  /* Override inline grid styles from tmpl-services.php */
  #leistungen-detail > div,
  [data-service-row] {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
  }

  /* Services detail cards: force single column */
  .container > div[style*="grid-template-columns:1fr 1fr"],
  .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 1.5rem !important;
  }

  /* Fix reversed direction blocks */
  .container > div[style*="direction:rtl"] > div,
  .container > div[style*="direction: rtl"] > div {
    direction: ltr !important;
  }

  /* ── ABOUT PAGE ── */
  /* Stats 4-col → 2-col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  /* Timeline text legibility */
  [style*="padding-left:2rem"] { padding-left: 1.5rem !important; }

  /* ── PRICING ── */
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 0.5rem 1rem;
    max-width: none;
    -webkit-overflow-scrolling: touch;
    /* hide scrollbar */
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-card {
    min-width: 82vw;
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  /* Scroll hint for pricing */
  .pricing-grid::after {
    content: '';
    flex-shrink: 0;
    width: 1rem;
  }

  /* ── PRICING TABLES ── */
  .container table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .container table td { white-space: normal !important; font-size: .8rem !important; padding: .75rem 1rem !important; }

  /* ── CONTACT ── */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row     { grid-template-columns: 1fr; }

  /* ── FOOTER ── */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* ── PAGE HERO ── */
  .page-hero { padding: 6rem 0 2.5rem; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }

  /* ── TRUST BAR ── */
  .trust-bar-inner { gap: 1.25rem; }
  .trust-item span { font-size: 0.8rem; }

  /* ── USP ── */
  .usp-list { gap: 1rem; }

  /* ── CTA SECTION ── */
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 360px; justify-content: center; }
  .cta-inner h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }

  /* ── LEGAL PAGES ── */
  .legal-content { padding: 2.5rem 1rem; }
  .legal-content h2 { font-size: 1.2rem; }

  /* ── 404 ── */
  .error-number { font-size: clamp(5rem, 20vw, 8rem); }
  .error-actions { flex-direction: column; align-items: center; }
  .error-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* Extra small (< 400px) */
@media (max-width: 400px) {
  .header-inner { padding: 0.75rem; }
  .site-logo span { display: none; }  /* logo-only on tiny screens */
  .logo-icon { width: 38px; height: 38px; }
  .hero-title { font-size: 1.9rem; }
  .btn-lg { padding: 0.9rem 1.5rem; font-size: 0.95rem; }
}

/* =========================================================
   ADMIN / BACKEND INSTALLER NOTICE
   ========================================================= */
.cleanpro-install-notice {
  background: linear-gradient(135deg, var(--cp-blue), var(--cp-blue-dark));
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 0;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.cleanpro-install-notice h3 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.cleanpro-install-notice p {
  margin: 0 0 1rem;
  opacity: 0.85;
  font-size: 0.9rem;
}

.cleanpro-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cp-orange);
  color: #fff !important;
  padding: 0.7rem 1.75rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: 0.2s;
}

.cleanpro-install-btn:hover { background: var(--cp-orange-dark); transform: translateY(-1px); }

/* =========================================================
   SERVICE DETAIL ROWS (tmpl-services.php)
   ========================================================= */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.service-detail-row:last-of-type { margin-bottom: 0; }

.service-detail-row--reverse {
  direction: rtl;
}

.service-detail-row--reverse .service-detail-visual,
.service-detail-row--reverse .service-detail-text {
  direction: ltr;
}

/* =========================================================
   ABOUT PAGE GRIDS
   ========================================================= */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

/* =========================================================
   MOBILE OVERRIDES FOR NEW CLASSES
   ========================================================= */
@media (max-width: 1024px) {
  .service-detail-row {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .service-detail-row--reverse { direction: ltr; }
  .about-story-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .service-detail-row { margin-bottom: 3rem; gap: 1.5rem; }
  .about-stats-grid   { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .about-stats-grid > div { padding: 1.25rem 0.75rem; }
  .about-stats-grid .hero-stat-value { font-size: 1.75rem; }
}
