/*
Theme Name:   haar-it Theme
Theme URI:    https://haar-it.com
Description:  Premium WordPress Theme – Alexander Haar IT-Dienstleistungen
Author:       Alexander Haar
Author URI:   https://haar-it.com
Version:      2.3.0
License:      GNU General Public License v2 or later
Text Domain:  haar-it-theme
*/

/* ─────────────────────────────────────────────────────────────
   FONTS – lokal (kein Google Fonts, DSGVO-konform)
───────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --brand:        #5cbf5c;
  --brand-d:      #47a847;
  --brand-dd:     #358535;
  --brand-a:      rgba(92,191,92,.14);
  --brand-b:      rgba(92,191,92,.07);
  --danger:       #cc3333;

  /* Ink scale */
  --ink:          #0a0a0a;
  --ink-2:        #111827;
  --ink-3:        #1f2937;
  --ink-4:        #374151;
  --muted:        #6b7280;
  --light:        #9ca3af;

  /* Surface */
  --border:       #e5e7eb;
  --border-2:     #f0f0f0;
  --bg:           #f8faf8;
  --bg-green:     #f0faf0;
  --white:        #ffffff;

  /* Type */
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max:          1160px;
  --px:           clamp(18px, 4vw, 40px);

  /* Easing */
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --spring:       cubic-bezier(.34, 1.56, .64, 1);

  /* Radius */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Shadows */
  --s-xs:     0 1px 4px rgba(0,0,0,.06);
  --s-sm:     0 2px 10px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.04);
  --s-md:     0 6px 24px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --s-lg:     0 16px 48px rgba(0,0,0,.10), 0 4px 16px rgba(0,0,0,.05);
  --s-xl:     0 28px 70px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);
  --s-brand:  0 8px 32px rgba(92,191,92,.28);
  --s-brand-l:0 4px 20px rgba(92,191,92,.18);
}

/* ─────────────────────────────────────────────────────────────
   RESET
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font); }
button { cursor: pointer; }
::selection { background: var(--brand-a); color: var(--ink); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ─────────────────────────────────────────────────────────────
   ASTRA OVERRIDES
───────────────────────────────────────────────────────────── */
#masthead, #colophon,
.ast-breadcrumbs-wrapper,
.entry-meta, .entry-footer { display: none !important; }
.ast-container, .ast-container-fluid { max-width: 100% !important; padding: 0 !important; }
.site-content, .ast-article-single, .entry-content {
  padding: 0 !important; margin: 0 !important; max-width: 100% !important;
}
.hfeed { margin-top: 0 !important; }

/* ─────────────────────────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: inherit;
}
.display {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 12px;
}
.lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--px); }
.section    { padding: clamp(64px, 8vw, 112px) var(--px); }
.section-sm { padding: clamp(40px, 5vw, 64px) var(--px); }
.section-full { width: 100%; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-auto-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm    { gap: 12px; }
.gap-md    { gap: 20px; }
.gap-lg    { gap: 32px; }

/* ─────────────────────────────────────────────────────────────
   COLORS / SURFACES
───────────────────────────────────────────────────────────── */
.bg-dark    { background: var(--ink-2); }
.bg-darker  { background: var(--ink); }
.bg-light   { background: var(--bg); }
.bg-green   { background: var(--bg-green); }
.bg-brand   { background: var(--brand); }
.bg-white   { background: var(--white); }
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }
.text-brand { color: var(--brand); }

/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.22s var(--ease);
}
.btn:hover::after { background: rgba(255,255,255,.06); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--s-brand-l);
}
.btn-primary:hover {
  background: var(--brand-d);
  box-shadow: var(--s-brand);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.28);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.btn-ghost-brand {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-ghost-brand:hover {
  background: var(--brand);
  color: var(--white);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink-3);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}
.btn-white:hover {
  background: #f0f8f0;
  box-shadow: var(--s-md);
  transform: translateY(-2px);
  color: var(--brand-d);
}
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.75);
  color: var(--white);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.84rem; }

/* ─────────────────────────────────────────────────────────────
   BADGES
───────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-brand {
  background: var(--brand-a);
  color: var(--brand-d);
  border: 1px solid rgba(92,191,92,.25);
}
.badge-white {
  background: rgba(255,255,255,.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.18);
}
.badge-dark {
  background: rgba(255,255,255,.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.1);
}
.badge-check {
  background: rgba(92,191,92,.12);
  color: var(--brand-d);
  border: 1px solid rgba(92,191,92,.2);
  font-size: 0.78rem;
  padding: 4px 10px;
}

/* ─────────────────────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
}
.nav.is-solid {
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo span { color: var(--brand); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav__links a {
  display: block;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--r-xs);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  text-decoration: none;
}
.nav__links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.07);
}
.nav__links a.is-active { color: var(--brand); }
.nav__cta {
  background: var(--brand) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: var(--r-sm) !important;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease) !important;
}
.nav__cta:hover {
  background: var(--brand-d) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--s-brand-l) !important;
}
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xs);
  padding: 8px;
  transition: background 0.2s var(--ease);
}
.nav__burger:hover { background: rgba(255,255,255,.12); }
.nav__burger span {
  display: block;
  height: 2px;
  background: rgba(255,255,255,.75);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 68px 0 0 0;
    background: rgba(5,5,5,.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--px) 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.05rem; padding: 12px 16px; width: 100%; border-radius: var(--r-sm); }
  .nav__cta { margin-top: 12px !important; width: 100% !important; text-align: center !important; justify-content: center; }
}

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px var(--px) 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 70% 50%, rgba(92,191,92,.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(92,191,92,.05) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30,30,50,.5) 0%, transparent 80%);
  pointer-events: none;
}
.hero__bg-dot {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,191,92,.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatDot 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floatDot {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-30px, 20px) scale(1.06); }
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__kicker { margin-bottom: 20px; }
.hero__h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.hero__h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
}
.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #ffffff;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  background: rgba(92,191,92,.12);
  border: 1px solid rgba(92,191,92,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.hero__trust-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.hero__trust-text span {
  font-size: 0.75rem;
  color: #ffffff;
}
/* Hero card */
.hero__card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero__card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero__avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(92,191,92,.18), rgba(92,191,92,.06));
  border: 1px solid rgba(92,191,92,.25);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.hero__card-name {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2px;
}
.hero__card-sub {
  font-size: 0.78rem;
  color: #ffffff;
}
.hero__card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.hero__stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__stars span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}
.hero__quote {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #ffffff;
  font-style: italic;
  border-left: 2px solid var(--brand);
  padding-left: 14px;
  margin-bottom: 10px;
}
.hero__quote-author {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero__card-cta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero__card-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .hero { min-height: auto; padding: 120px var(--px) 72px; }
}

/* ─────────────────────────────────────────────────────────────
   STATS BAR
───────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.stats-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.05);
}
.stats-bar__item {
  background: var(--ink-2);
  padding: 28px 24px;
  text-align: center;
}
.stats-bar__val {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 4px;
}
.stats-bar__lbl {
  font-size: 0.8rem;
  color: #ffffff;
  font-weight: 500;
}
@media (max-width: 640px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────────────────────────────── */
.sec-head { margin-bottom: clamp(36px, 4vw, 52px); }
.sec-head--center { text-align: center; }
.sec-head--center .lead { margin: 0 auto; }
.sec-head .lead { max-width: 580px; margin-top: 14px; }
.sec-head h2 { margin-top: 8px; }

/* ─────────────────────────────────────────────────────────────
   CARDS
───────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 30px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              border-color 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-d));
  border-radius: 0 0 2px 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--s-lg);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px;
  height: 52px;
  background: var(--bg-green);
  border: 1px solid rgba(92,191,92,.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: background 0.25s var(--ease), transform 0.25s var(--spring);
}
.card:hover .card__icon {
  background: var(--brand-a);
  transform: scale(1.06);
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-d);
  font-weight: 700;
  font-size: 0.84rem;
  margin-top: 16px;
  transition: gap 0.2s var(--ease);
}
.card:hover .card__link { gap: 9px; }
a.card { display: block; text-decoration: none; color: inherit; }

/* ─────────────────────────────────────────────────────────────
   FEATURE / BENEFIT ROWS
───────────────────────────────────────────────────────────── */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.feature:last-child { margin-bottom: 0; }
.feature__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--bg-green);
  border: 1px solid rgba(92,191,92,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 0.25s var(--ease);
}
.feature:hover .feature__icon { background: var(--brand-a); }
.feature h4 {
  font-size: 0.97rem;
  font-weight: 800;
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}
.feature p { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* Dark variant */
.feature--dark .feature__icon {
  background: rgba(92,191,92,.1);
  border-color: rgba(92,191,92,.18);
}
.feature--dark h4 { color: var(--white); }
.feature--dark p { color: #ffffff; }

/* ─────────────────────────────────────────────────────────────
   STEPS
───────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% - 100px);
  right: calc(50% - 100px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92,191,92,.3), transparent);
}
.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-d));
  color: var(--white);
  font-weight: 900;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--s-brand-l);
  flex-shrink: 0;
}
.step h4 {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.step p { font-size: 0.875rem; color: #ffffff; line-height: 1.65; margin: 0; }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   REGION TILES
───────────────────────────────────────────────────────────── */
.region-tile {
  display: block;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.28s var(--ease);
}
.region-tile:hover {
  border-color: var(--brand);
  background: var(--bg-green);
  transform: translateY(-4px);
  box-shadow: var(--s-md);
  color: inherit;
}
.region-tile__icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  transition: transform 0.25s var(--spring);
}
.region-tile:hover .region-tile__icon { transform: scale(1.12); }
.region-tile h3 { font-size: 0.97rem; font-weight: 800; margin-bottom: 4px; }
.region-tile p { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* ─────────────────────────────────────────────────────────────
   BLOG CARDS
───────────────────────────────────────────────────────────── */
.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--s-lg); color: inherit; }
.blog-card__img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}
.blog-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.04);
  transition: background 0.25s var(--ease);
}
.blog-card:hover .blog-card__img::after { background: rgba(0,0,0,.08); }
.blog-card__body { padding: 22px; }
.blog-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-d);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 7px;
}
.blog-card__title {
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.blog-card__excerpt { font-size: 0.84rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ─────────────────────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────────────────────── */
.tcard {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 28px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.tcard:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.tcard__stars { color: #fbbf24; font-size: 1rem; letter-spacing: 0.04em; margin-bottom: 14px; }
.tcard__text { font-size: 0.92rem; color: #ffffff; line-height: 1.8; margin-bottom: 18px; font-style: italic; }
.tcard__author { font-size: 0.8rem; font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: 0.07em; }

/* ─────────────────────────────────────────────────────────────
   HIGHLIGHT / BLOCKQUOTE
───────────────────────────────────────────────────────────── */
.highlight {
  background: var(--bg-green);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 22px;
  margin: 20px 0;
}
.highlight p { font-size: 0.9rem; color: var(--ink-4); font-style: italic; margin: 0; line-height: 1.75; }

/* ─────────────────────────────────────────────────────────────
   FAQ
───────────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s var(--ease);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.faq-toggle:hover { color: var(--brand-d); }
.faq-q {
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
}
.faq-arr {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--brand);
  transition: transform 0.3s var(--ease), background 0.2s var(--ease);
}
.faq-item.is-open .faq-arr { transform: rotate(180deg); background: var(--brand-a); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer__inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding 0.3s var(--ease);
}
.faq-item.is-open .faq-answer__inner { padding-bottom: 20px; }
.faq-answer p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   CTA BOX
───────────────────────────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-d) 100%);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cta-box p {
  font-size: clamp(0.97rem, 1.5vw, 1.08rem);
  color: #ffffff;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.cta-box__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ─────────────────────────────────────────────────────────────
   ALEX PROFILE CARD
───────────────────────────────────────────────────────────── */
.profile-card {
  background: var(--bg-green);
  border: 1.5px solid rgba(92,191,92,.2);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 20px;
}
.profile-card__avi {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--brand-a), rgba(92,191,92,.06));
  border: 2px solid rgba(92,191,92,.25);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}
.profile-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.profile-card__role {
  font-size: 0.8rem;
  color: var(--brand-d);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}
.profile-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  background: var(--white);
  color: var(--ink-4);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}

/* ─────────────────────────────────────────────────────────────
   FORM
───────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink-3);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(92,191,92,.12);
}
textarea.form-control { height: 130px; resize: vertical; }
.form-control.error { border-color: var(--danger); }
.form-msg { display: none; padding: 16px 20px; border-radius: var(--r-sm); font-size: 0.875rem; font-weight: 600; margin-top: 12px; }
.form-msg.success { background: var(--bg-green); color: var(--brand-dd); border: 1px solid rgba(92,191,92,.3); display: block; }
.form-msg.error { background: #fff0f0; color: var(--danger); border: 1px solid rgba(204,51,51,.25); display: block; }

/* ─────────────────────────────────────────────────────────────
   HERO (INNER PAGES)
───────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: clamp(80px, 10vw, 120px) var(--px) clamp(60px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 70% 50%, rgba(92,191,92,.07), transparent);
  pointer-events: none;
}
.page-hero__inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-hero__inner .badge { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.page-hero h1 em { font-style: normal; color: var(--brand); }
.page-hero p { font-size: 1rem; color: #ffffff; max-width: 560px; }
.page-hero__inner--has-img {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(32px,5vw,64px);
  align-items: center;
}
.page-hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
@media (max-width: 768px) {
  .page-hero__inner--has-img { grid-template-columns: 1fr; }
  .page-hero__img-wrap { display: none; }
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg);
  padding: 12px var(--px);
  font-size: 0.8rem;
  color: var(--light);
}
.breadcrumb a { color: var(--brand-d); text-decoration: none; transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--brand-dd); }
.breadcrumb__sep { margin: 0 6px; color: var(--border); }

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
  display: block !important; /* override reset above for OUR footer */
  background: #060606;
  color: #ffffff;
  padding: clamp(48px, 6vw, 80px) var(--px) 28px;
}
.footer__inner { max-width: var(--max); margin: 0 auto; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
}
.footer__logo span { color: var(--brand); }
.footer__desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 18px;
  max-width: 260px;
}
.footer__contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s var(--ease);
}
.footer__contact a:hover { color: var(--brand); }
.footer__col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: #ffffff;
  font-size: 0.84rem;
  margin-bottom: 9px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--brand); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}
.footer__legal a { color: #ffffff; text-decoration: none; margin-left: 20px; transition: color 0.2s var(--ease); }
.footer__legal a:hover { color: #ffffff; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ─────────────────────────────────────────────────────────────
   FLOATING WHATSAPP
───────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 13px 20px 13px 16px;
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(37,211,102,.4);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s var(--spring), opacity 0.4s var(--ease),
              box-shadow 0.2s var(--ease);
}
.wa-float.is-visible { transform: translateY(0); opacity: 1; }
.wa-float:hover {
  box-shadow: 0 10px 40px rgba(37,211,102,.55);
  transform: translateY(-2px);
  color: var(--white);
}
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 500px) {
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
}

/* ─────────────────────────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* ─────────────────────────────────────────────────────────────
   MISC UTILITIES
───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0 !important; }

.divider { height: 1px; background: var(--border); margin: 0; border: none; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-3);
}

/* ─────────────────────────────────────────────────────────────
   BLOG SINGLE
───────────────────────────────────────────────────────────── */
.post-content {
  max-width: 720px;
  margin: 0 auto;
}
.post-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 32px 0 10px;
  letter-spacing: -0.02em;
}
.post-content p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.post-content p:first-of-type {
  font-size: 1.05rem;
  color: var(--ink-3);
}
.post-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ─────────────────────────────────────────────────────────────
   404
───────────────────────────────────────────────────────────── */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--px);
}
.error-page__num {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.error-page h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 14px; }
.error-page p { color: var(--muted); max-width: 420px; margin: 0 auto 32px; }

/* ─────────────────────────────────────────────────────────────
   LEISTUNGSSEITEN – Kontrast-Fix (alle Texte auf dunklem BG)
   Betrifft: Hero-Fließtext, wbox-Heading, Zitat-Texte, CTA
───────────────────────────────────────────────────────────── */
.hi-p               { color: #ffffff !important; }
.wbox-h             { color: #ffffff !important; }
.ql p               { color: #ffffff !important; }
.hi-cta p           { color: #ffffff !important; }
