/* ============================================
   PSP ProSafety Prüfservice GmbH
   Premium Design System
   ============================================ */

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

:root {
  /* Primary palette */
  --navy: #0c1e3f;
  --navy-light: #162d5a;
  --navy-dark: #081428;
  --accent: #2a7de1;
  --accent-hover: #1b6ad0;
  --accent-light: #e8f1fc;
  --teal: #0ea5a0;
  --teal-light: #e6f7f7;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6eb;
  --gray-300: #c8cfd8;
  --gray-400: #9aa5b4;
  --gray-500: #6b7a8d;
  --gray-600: #4a5567;
  --gray-700: #334155;
  --text: #1e293b;
  --text-muted: #64748b;

  /* Semantic */
  --success: #16a34a;
  --warning: #f59e0b;

  /* Spacing */
  --section-y: clamp(64px, 8vw, 112px);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(12,30,63,0.06);
  --shadow: 0 4px 16px rgba(12,30,63,0.08);
  --shadow-lg: 0 12px 40px rgba(12,30,63,0.12);
  --shadow-xl: 0 24px 60px rgba(12,30,63,0.16);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

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

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

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

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

ul, ol {
  list-style: none;
}

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

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-label svg {
  width: 16px;
  height: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--gray {
  background: var(--gray-50);
}

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

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.section--navy .section-label {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  font-family: inherit;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration) var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(42,125,225,0.3);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,125,225,0.4);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

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

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

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(12,30,63,0.3);
}

.btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12,30,63,0.4);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(12,30,63,0.06);
  transition: all var(--duration) var(--ease);
}

.nav.scrolled {
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 52px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding-block: 4px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--navy);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  margin-left: 8px;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

.nav__mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(42,125,225,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(14,165,160,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 680px;
  padding-block: clamp(40px, 6vw, 80px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  line-height: 1.1;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-weight: 500;
}

/* Floating shapes */
.hero__shapes {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  border-radius: var(--radius-lg);
  opacity: 0.06;
}

.hero__shape--1 {
  width: 320px;
  height: 320px;
  background: var(--accent);
  top: 15%;
  right: 8%;
  transform: rotate(15deg);
  animation: float 8s ease-in-out infinite;
}

.hero__shape--2 {
  width: 200px;
  height: 200px;
  background: var(--teal);
  bottom: 20%;
  right: 25%;
  transform: rotate(-10deg);
  animation: float 6s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 140px;
  height: 140px;
  border: 2px solid rgba(255,255,255,0.08);
  top: 35%;
  right: 35%;
  transform: rotate(30deg);
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(-20px) rotate(18deg); }
}

/* --- Trust Bar --- */
.trust-bar {
  padding-block: 40px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.trust-bar__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity var(--duration) var(--ease);
}

.trust-bar__item:hover {
  opacity: 1;
}

.trust-bar__item:hover .trust-bar__icon {
  color: var(--accent);
}

.trust-bar__item:hover .trust-bar__name {
  color: var(--accent);
}

.trust-bar__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

.trust-bar__icon svg {
  width: 36px;
  height: 36px;
}

.trust-bar__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Intro / About --- */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.intro__visual {
  position: relative;
}

.intro__card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

.intro__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}

.intro__card-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 24px;
}

.intro__card-icon svg {
  width: 32px;
  height: 32px;
}

.intro__card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.intro__card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.intro__floating-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.intro__floating-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

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

.intro__floating-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.intro__floating-badge-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.intro__text h2 {
  margin-bottom: 20px;
}

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

.intro__text p:last-of-type {
  margin-bottom: 32px;
}

.intro__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}

.intro__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

.intro__check svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

/* --- Vorteile (Advantages) --- */
.vorteile__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.vorteil-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.vorteil-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease);
}

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

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

.vorteil-card__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 20px;
  color: var(--accent);
  transition: all var(--duration) var(--ease);
}

.vorteil-card:hover .vorteil-card__icon {
  background: var(--navy);
  color: var(--white);
}

.vorteil-card__icon svg {
  width: 26px;
  height: 26px;
}

.vorteil-card h4 {
  margin-bottom: 10px;
  color: var(--navy);
}

.vorteil-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Services / Leistungen --- */
.services__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
  margin-bottom: 48px;
}

.services__tab {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.services__tab:hover,
.services__tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

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

.service-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

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

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__norm {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.service-card h4 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card__list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-card__list svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Reparatur & Instandsetzung --- */
.reparatur__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 32px;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.reparatur__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--duration) var(--ease);
}

.reparatur__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.reparatur__item svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

/* --- Branchen / Industries --- */
.branchen__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.branche-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.branche-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.branche-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(42,125,225,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 14px;
  color: var(--accent);
}

.branche-card__icon svg {
  width: 24px;
  height: 24px;
}

.branche-card h4 {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
}

/* --- Process / Ablauf --- */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.process__step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.process__step-number {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-inline: auto;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.process__step h4 {
  margin-bottom: 8px;
}

.process__step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- FAQ --- */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  max-width: 960px;
  margin-inline: auto;
}

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

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

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--navy);
  gap: 16px;
}

.faq-item__question svg {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}

.faq-item.open .faq-item__question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding-block: clamp(56px, 7vw, 88px);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(42,125,225,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-top: 48px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--duration) var(--ease);
}

.contact-info-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.contact-info-card__icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-info-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact__form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--duration) var(--ease);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42,125,225,0.1);
}

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

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

.form-group--consent {
  margin-top: 4px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--navy);
}

.consent-label a {
  color: var(--primary);
  text-decoration: underline;
}

.contact__form .btn {
  width: 100%;
  margin-top: 8px;
}

/* --- WhatsApp Sticky --- */
.whatsapp-sticky {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.whatsapp-sticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

.whatsapp-sticky__dot {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  flex-shrink: 0;
}

.whatsapp-sticky__label {
  white-space: nowrap;
}

.whatsapp-sticky svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.8;
}

@media (max-width: 480px) {
  .whatsapp-sticky {
    bottom: 16px;
    right: 16px;
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding-top: clamp(48px, 6vw, 80px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  font-size: 0.8rem;
}

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

.footer__bottom-links a {
  color: rgba(255,255,255,0.4);
}

.footer__bottom-links a:hover {
  color: var(--white);
}

/* --- Lead Qualification Wizard --- */
.wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8,20,40,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.wizard-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.wizard {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease);
}

.wizard-overlay.active .wizard {
  transform: translateY(0) scale(1);
}

.wizard__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
  z-index: 10;
}

.wizard__close:hover {
  background: var(--gray-200);
  color: var(--navy);
}

.wizard__close svg {
  width: 18px;
  height: 18px;
}

/* Progress */
.wizard__progress {
  height: 4px;
  background: var(--gray-100);
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.wizard__progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 4px;
  transition: width 0.4s var(--ease);
}

.wizard__steps-indicator {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

/* Steps */
.wizard__step {
  display: none;
}

.wizard__step.active {
  display: block;
  animation: wizardFadeIn 0.35s var(--ease);
}

@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.wizard__step-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.wizard__step-icon--success {
  background: var(--teal-light);
  color: var(--teal);
}

.wizard__step-icon svg {
  width: 28px;
  height: 28px;
}

.wizard__step h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.wizard__step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Options */
.wizard__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard__options--compact {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.wizard__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wizard__option {
  cursor: pointer;
}

.wizard__option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: all var(--duration) var(--ease);
  position: relative;
}

.wizard__option-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.wizard__option-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(42,125,225,0.12);
}

.wizard__option-card.selected::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 16px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.wizard__option-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}

.wizard__option-card.selected .wizard__option-icon {
  background: var(--accent);
  color: var(--white);
}

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

.wizard__option-text strong {
  display: block;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.wizard__option-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Pill options (branchen) */
.wizard__pill {
  padding: 10px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.wizard__pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.wizard__pill.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

/* Urgency badge */
.wizard__option-badge {
  position: absolute;
  top: -1px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wizard__option-badge--urgent {
  background: #fee2e2;
  color: #dc2626;
}

/* Wizard form */
.wizard__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

/* Success state */
.wizard__success {
  text-align: center;
  padding-block: 20px;
}

.wizard__success-icon {
  width: 80px;
  height: 80px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 24px;
  color: var(--teal);
}

.wizard__success-icon svg {
  width: 40px;
  height: 40px;
}

.wizard__success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.wizard__success p {
  color: var(--text-muted);
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: 24px;
  line-height: 1.7;
}

.wizard__success-info {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 28px;
  display: inline-block;
}

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

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

/* Wizard navigation */
.wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.wizard__btn-back {
  padding: 12px 24px;
}

.wizard__btn-next {
  padding: 14px 32px;
  margin-left: auto;
}

/* Shake animation for validation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.shake {
  animation: shake 0.4s var(--ease);
}

/* Wizard responsive */
@media (max-width: 640px) {
  .wizard {
    padding: 28px 20px;
    max-height: 95vh;
    border-radius: var(--radius-lg);
  }

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

  .wizard__option-card.selected::after {
    top: 10px;
    right: 12px;
    width: 18px;
    height: 18px;
    background-size: 11px;
  }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

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

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

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

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

  .branchen__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process__steps::before {
    display: none;
  }

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

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px var(--gutter);
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__cta {
    margin-left: 0;
  }

  .nav__mobile-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-block: 120px 60px;
  }

  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero__shapes {
    display: none;
  }

  .intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

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

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

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

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }
}
