/* ============================================================
   HANDWERK DIGITAL — style.css
   Colors: Navy #0D1B3E · Blue #1A6FD4 · White #FFFFFF
   Fonts: Plus Jakarta Sans (headings) · Inter (body)
   ============================================================ */

/* ---------- CSS Variables ---------------------------------- */
:root {
  --primary:      #0D1B3E;
  --primary-dark: #080f22;
  --blue:         #1A6FD4;
  --blue-hover:   #2D8BF0;
  --blue-light:   #EEF4FF;
  --white:        #FFFFFF;
  --bg:           #F8FAFC;
  --bg-alt:       #F1F5F9;
  --text:         #0D1B3E;
  --text-muted:   #64748B;
  --text-light:   #94A3B8;
  --border:       #E2E8F0;
  --border-dark:  #CBD5E1;
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:       0 4px 16px rgba(13,27,62,.10);
  --shadow-md:    0 8px 30px rgba(13,27,62,.13);
  --shadow-lg:    0 20px 60px rgba(13,27,62,.15);
  --shadow-blue:  0 8px 30px rgba(26,111,212,.22);
  --transition:   150ms ease;
  --transition-md: 280ms ease;
  --nav-h:        100px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Typography ------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { max-width: 68ch; }

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { margin: 0 auto; color: var(--text-muted); font-size: 1.0625rem; }

/* ---------- Layout ----------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ---------- Buttons ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--border-dark);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-lg { padding: .9375rem 2rem; font-size: 1rem; }

/* ---------- NAVIGATION ------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  padding: 8px 0;
  transition: border-color var(--transition-md), box-shadow var(--transition-md),
              backdrop-filter var(--transition-md), padding var(--transition-md);
}

.navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,.93);
}

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

.nav-logo img {
  height: 52px;
  width: auto;
  max-width: 420px;
  display: block;
  margin-top: 0;
  transition: height .3s ease;
}
.navbar.scrolled .nav-logo img { height: 44px; margin-top: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transition: width var(--transition-md);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: .5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 6px 2px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition-md), opacity var(--transition-md);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: .25rem;
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: var(--blue); }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: .75rem; }

/* ---------- HERO ------------------------------------------- */
/* ---------- HERO ------------------------------------------- */
@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero {
  position: relative;
  height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #EEECEA;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-webbauwerk.png');
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: saturate(0.8) brightness(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.97) 0%,
    rgba(255,255,255,0.94) 30%,
    rgba(255,255,255,0.70) 48%,
    rgba(255,255,255,0.15) 62%,
    rgba(255,255,255,0.00) 75%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--nav-h) max(1.5rem, calc((100% - 1280px) / 2 + 1.5rem)) 0;
}

.hero-content {
  max-width: 500px;
  animation: heroFadeInUp .65s ease both;
  animation-delay: .05s;
}

.hero-eyebrow {
  display: inline-block;
  background: none;
  color: var(--blue);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 0 0 0 .75rem;
  border-left: 2px solid var(--blue);
  margin-bottom: 1.625rem;
  animation: heroFadeInUp .55s ease both;
  animation-delay: .1s;
}

.hero-headline {
  font-size: clamp(1.625rem, 3vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1A2B4A;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
}

@keyframes hlSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hl-line {
  display: block;
  opacity: 0;
  animation: hlSlideUp .65s cubic-bezier(.22,.68,0,1.2) forwards;
}
.hl-line:nth-child(1) { animation-delay: .3s; }
.hl-line:nth-child(2) { animation-delay: .48s; }
.hl-line:nth-child(3) { animation-delay: .66s; }

/* Hero particle canvas */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-lead {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 1.75rem;
  animation: heroFadeInUp .6s ease both;
  animation-delay: .32s;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  animation: heroFadeInUp .6s ease both;
  animation-delay: .44s;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(26,111,212,.35);
  white-space: nowrap;
}
.btn-hero-primary:hover {
  background: #155BBF;
  box-shadow: 0 8px 24px rgba(26,111,212,.45);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  border: 2px solid #94A3B8;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-hero-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #CBD5E1;
  animation: heroFadeInUp .55s ease both;
  animation-delay: .56s;
}

.trust-sep { display: none; }

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 500;
  color: #334155;
}
.trust-bar-item svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }

/* ---------- REVIEWS ---------------------------------------- */
.reviews { background: var(--bg); }

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

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow var(--transition-md), transform var(--transition-md);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.review-quote-mark {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--blue);
  opacity: .25;
  margin-bottom: -.5rem;
  user-select: none;
}

.review-text {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.review-avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--av-color, var(--blue));
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.review-info strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--primary); }
.review-info span   { font-size: .8125rem; color: var(--text-muted); }

/* ---------- BEFORE / AFTER --------------------------------- */
.before-after { background: var(--white); }

.ba-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.ba-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4375rem 1rem;
  border-radius: 999px;
}
.ba-label.before { background: var(--bg-alt); color: var(--text-muted); }
.ba-label.after  { background: var(--blue-light); color: var(--blue); }

.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.ba-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.ba-image.is-before img {
  border: 2px solid var(--border);
  filter: saturate(.7);
}
.ba-image.is-after img {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-blue);
}

.ba-caption {
  margin-top: .625rem;
  font-size: .875rem;
  color: var(--text-muted);
}

.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: var(--shadow-blue);
  animation: pulse-arrow 2.2s ease-in-out infinite;
}
.ba-arrow svg { width: 24px; height: 24px; }

@keyframes pulse-arrow {
  0%, 100% { transform: scale(1);    box-shadow: 0 8px 30px rgba(26,111,212,.22); }
  50%       { transform: scale(1.1); box-shadow: 0 12px 40px rgba(26,111,212,.40); }
}

/* ---------- PRICING ---------------------------------------- */
.pricing { background: var(--bg); }

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

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition-md), transform var(--transition-md);
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-blue);
  transform: translateY(-6px);
}
.pricing-card.featured:hover { transform: translateY(-10px); }

.pricing-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3125rem .875rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .25rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  flex-wrap: wrap;
  margin-bottom: .25rem;
}
.pricing-from    { font-size: .8125rem; color: var(--text-muted); align-self: center; }
.pricing-amount  { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.375rem; font-weight: 800; color: var(--primary); letter-spacing: -.025em; line-height: 1; }
.pricing-currency { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.375rem; font-weight: 700; color: var(--primary); align-self: flex-start; margin-top: 4px; }
.pricing-period  { font-size: .875rem; color: var(--text-muted); align-self: center; }

.pricing-desc {
  font-size: .875rem;
  color: var(--text-muted);
  margin: .875rem 0 1.25rem;
  line-height: 1.6;
  max-width: none;
}

.pricing-differentiator {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(26,111,212,.07);
  border: 1px solid rgba(26,111,212,.18);
  border-radius: 8px;
  padding: .5rem .75rem;
  margin-bottom: 1.25rem;
}
.pricing-differentiator svg { width: 15px; height: 15px; flex-shrink: 0; }

.pricing-divider { height: 1px; background: var(--border); margin-bottom: 1.25rem; }

.pricing-features { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.75rem; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.pricing-features li svg {
  width: 16px; height: 16px;
  color: #16A34A;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card .btn { width: 100%; justify-content: center; }

.pricing-feature-highlight {
  font-weight: 600;
  color: var(--primary) !important;
}
.pricing-feature-highlight svg { color: #16A34A; }

.pricing-delivery {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 600;
  color: #15803D;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 999px;
  padding: .25rem .75rem;
  margin-bottom: 1rem;
}
.pricing-delivery svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ---------- Betreuung add-on card -------------------------- */
.pricing-betreuung-wrap {
  margin-top: 2rem;
}

.pricing-betreuung-eyebrow {
  text-align: center;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-betreuung {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: center;
  transition: box-shadow var(--transition-md);
}
.pricing-betreuung:hover { box-shadow: var(--shadow-md); }

.pricing-betreuung-left .pricing-desc { margin-top: .5rem; margin-bottom: 0; }

.pricing-kundbar {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 999px;
  padding: .25rem .75rem;
  margin-top: .875rem;
}
.pricing-kundbar svg { width: 13px; height: 13px; flex-shrink: 0; }

.pricing-features-2col {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem 1.5rem;
  margin-bottom: 1.5rem !important;
}

.pricing-betreuung-right .btn { min-width: 180px; }

/* ---------- INDUSTRIES ------------------------------------- */
/* ── Über uns ──────────────────────────────────────────── */
.about-section { background: var(--white); padding: 5rem 0; }

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

.about-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 1.75rem;
  border: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .25s;
}
.about-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }

.about-icon {
  width: 48px; height: 48px;
  background: rgba(26,111,212,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.about-icon svg { width: 24px; height: 24px; }

.about-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--dark); }
.about-card p  { font-size: .95rem; color: var(--text-light); line-height: 1.6; }

.about-industries-label {
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

/* ── FAQ ───────────────────────────────────────────────── */
.faq-section { background: var(--bg); padding: 5rem 0; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  transition: color var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] .faq-question { color: var(--blue); }

.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  transition: transform .3s ease, background-image .15s;
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%231a6fd4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}

.faq-answer { padding-bottom: 1.375rem; }
.faq-answer p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
}

@media (max-width: 640px) {
  .faq-question { font-size: 1rem; padding: 1.125rem 0; gap: 1rem; }
  .faq-answer p { font-size: .9rem; }
}

.industries { background: var(--white); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: background var(--transition-md), border-color var(--transition-md),
              box-shadow var(--transition-md), transform var(--transition-md);
}
.industry-item:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.industry-icon {
  width: 54px; height: 54px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-md), color var(--transition-md);
}
.industry-item:hover .industry-icon { background: var(--blue); color: var(--white); }
.industry-icon svg { width: 26px; height: 26px; }

.industry-item span {
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
}

/* ---------- PROCESS ---------------------------------------- */
.process { background: var(--bg); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 29px;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--border) 0%, var(--blue) 50%, var(--border) 100%);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: background var(--transition-md), border-color var(--transition-md),
              color var(--transition-md), box-shadow var(--transition-md);
}
.process-step:hover .process-num,
.process-step.active .process-num {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.process-step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .375rem;
}
.process-step-body p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 18ch;
  margin: 0 auto;
}

/* ---------- STATS BAR -------------------------------------- */
.stats-bar {
  background: var(--primary);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  padding: 0 1rem;
}
.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,.15);
}
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}

/* ---------- FAQ -------------------------------------------- */
.faq-section { background: var(--bg); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.375rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-item[open] summary { color: var(--blue); }
.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue);
  transition: transform .25s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 2rem 1.375rem 0;
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---------- CTA SECTION ------------------------------------ */
/* ---------- CONTACT SECTION --------------------------------- */
.contact-section {
  background: #F8FAFC;
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

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

.contact-left h2 { margin-bottom: .75rem; }

.contact-intro {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-trust-items { display: flex; flex-direction: column; gap: .875rem; }
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--primary);
}
.contact-trust-item svg { width: 17px; height: 17px; color: var(--blue); flex-shrink: 0; }

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.cf-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1.25rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-label { font-size: .8125rem; font-weight: 600; color: var(--primary); }
.cf-optional { font-weight: 400; color: var(--text-muted); }

.cf-input {
  width: 100%;
  padding: .625rem .875rem;
  font-size: .9375rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #FAFAFA;
  color: var(--primary);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.cf-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,212,.12);
  background: var(--white);
}
.cf-textarea { resize: vertical; min-height: 80px; }

/* Package radio pills */
.cf-package-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .625rem;
}
.cf-pkg-option { cursor: pointer; }
.cf-pkg-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.cf-pkg-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .625rem .5rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #FAFAFA;
  transition: border-color .18s, background .18s, box-shadow .18s;
  text-align: center;
}
.cf-pkg-option input:checked + .cf-pkg-label {
  border-color: var(--blue);
  background: rgba(26,111,212,.06);
  box-shadow: 0 0 0 3px rgba(26,111,212,.1);
}
.cf-pkg-name { font-size: .8125rem; font-weight: 600; color: var(--primary); }
.cf-pkg-price { font-size: .875rem; font-weight: 700; color: var(--blue); }

/* Betreuung checkbox */
.cf-betreuung-check {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #FAFAFA;
  transition: border-color .18s, background .18s;
}
.cf-betreuung-check:has(input:checked) {
  border-color: var(--blue);
  background: rgba(26,111,212,.05);
}
.cf-betreuung-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.cf-check-box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid #CBD5E1;
  border-radius: 5px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, border-color .18s;
  position: relative;
}
.cf-betreuung-check:has(input:checked) .cf-check-box {
  background: var(--blue);
  border-color: var(--blue);
}
.cf-betreuung-check:has(input:checked) .cf-check-box::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}
.cf-check-label { display: flex; flex-direction: column; gap: .1rem; }
.cf-check-label > span:first-child { font-size: .9rem; font-weight: 600; color: var(--primary); }
.cf-check-sub { font-size: .775rem; color: var(--text-muted); }

.cf-submit { width: 100%; justify-content: center; gap: .5rem; margin-top: .5rem; }
.cf-disclaimer { font-size: .75rem; color: var(--text-muted); text-align: center; margin-top: .625rem; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 540px) {
  .cf-row { grid-template-columns: 1fr; }
  .cf-package-options { grid-template-columns: 1fr; }
  .contact-form { padding: 1.25rem; }
}

/* ---------- FOOTER ----------------------------------------- */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.72);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand img { height: 76px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p   { font-size: .9rem; color: rgba(255,255,255,.6); max-width: 28ch; margin-bottom: 1.5rem; line-height: 1.65; }

.footer-social { display: flex; gap: .625rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .625rem; }
.footer-col li a {
  font-size: .9rem;
  color: rgba(255,255,255,.58);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: rgba(255,255,255,.58);
  margin-bottom: .625rem;
}
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--blue); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .875rem;
  color: rgba(255,255,255,.38);
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.38); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ---------- FLOATING WHATSAPP BUTTON ----------------------- */
@keyframes waFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-4px) scale(1.03); }
}
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: .625rem;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: .875rem 1.25rem .875rem 1rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.15);
  text-decoration: none;
  animation: waFloat 3s ease-in-out infinite;
  transition: box-shadow .2s, background .2s;
}
.wa-float:hover {
  background: #1ebe5d;
  box-shadow: 0 10px 32px rgba(37,211,102,.55), 0 4px 12px rgba(0,0,0,.18);
  color: #fff;
}
.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.wa-float-label { font-size: .875rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 540px) {
  .wa-float { padding: .875rem; border-radius: 50%; }
  .wa-float-label { display: none; }
}

/* ---------- COOKIE BANNER ---------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(calc(100% + 2.5rem));
  opacity: 0;
  pointer-events: none;
  transition: transform .42s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.cookie-icon svg { width: 22px; height: 22px; }

.cookie-text { flex: 1; min-width: 200px; }
.cookie-text p { font-size: .875rem; color: var(--text-muted); margin: 0; max-width: none; }
.cookie-text a { color: var(--blue); text-decoration: underline; }

.cookie-buttons { display: flex; gap: .625rem; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- INNER PAGES ------------------------------------ */
.page-hero {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 3rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: .625rem; }
.page-hero p  { color: var(--text-muted); font-size: 1.0625rem; margin: 0; max-width: none; }

.legal-content {
  padding: 4rem 0 5rem;
  max-width: 780px;
}

.legal-content h2 {
  font-size: 1.4375rem;
  margin-top: 2.5rem;
  margin-bottom: .875rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.legal-content h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 .5rem;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: .875rem;
  max-width: none;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: .875rem;
}

.legal-content li {
  color: var(--text-muted);
  margin-bottom: .375rem;
  line-height: 1.65;
}
.legal-content li::marker { color: var(--blue); }

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

/* ---------- DANKE PAGE ------------------------------------- */
.danke-section {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: var(--nav-h) 0 4rem;
}

.danke-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.danke-icon {
  width: 80px; height: 80px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16A34A;
  margin: 0 auto 1.5rem;
}
.danke-icon svg { width: 40px; height: 40px; }

.danke-card h1 { font-size: 2rem; margin-bottom: .75rem; }
.danke-card p  { color: var(--text-muted); margin: 0 auto 2rem; }

/* ---------- Scroll animations base ------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity .65s ease;
}
.fade-in.visible { opacity: 1; }

/* ---------- RESPONSIVE ------------------------------------- */
@media (max-width: 1024px) {
  .hero               { height: 680px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .industries-grid    { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid       { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(2n+1) { border-left: none; }
  .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; }

  .reviews-grid  { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .pricing-betreuung { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-features-2col { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  section { padding: 3.5rem 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 42px; max-width: 270px; margin-top: 0; }
  .navbar.scrolled .nav-logo img { height: 42px; margin-top: 0; }

  .hero { height: auto; padding-bottom: 3rem; }
  .hero-bg { background-position: right top; }
  .hero-overlay { background: rgba(255,255,255,0.91); }
  .hero-content-wrap { padding-top: calc(var(--nav-h) + 1.5rem); }
  .hero-content { max-width: 100%; }
  .hero-lead { max-width: 100%; }
  .trust-sep { display: none; }
  .hero-trust { gap: .625rem .875rem; flex-wrap: wrap; }

  .ba-header { grid-template-columns: 1fr; gap: .75rem; }
  .ba-header .ba-spacer { display: none; }
  .ba-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; margin: 0 auto; }

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

  .cta-section { background-attachment: scroll; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cookie-banner {
    bottom: 0; left: 0; right: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

@media (max-width: 540px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .hero-trust-inner { gap: .75rem 1rem; }
  .process-steps { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-links { flex-direction: column; gap: .5rem; }
}

/* ---------- Reduced motion --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .ba-arrow { animation: none; }
  .fade-up, .fade-in { opacity: 1 !important; transform: none !important; }
}
