/* ═══════════════════════════════════════════
   ENERGIEVORSORGE DEUTSCHLAND – STYLESHEET
   Light Blue / Dark Blue Theme  2026
════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  /* Brand Blues (from logo) */
  --c-brand:     #2B50CC;   /* main logo blue */
  --c-brand-d:   #1A3AAF;   /* darker hover */
  --c-brand-dd:  #0D1F6B;   /* very dark navy */
  --c-brand-l:   #4F72E3;   /* lighter blue */
  --c-brand-xl:  #EBF0FF;   /* ultra-light blue */

  /* Backgrounds */
  --c-bg:        #FFFFFF;
  --c-bg-alt:    #F0F5FF;   /* section alternate */
  --c-bg-alt2:   #E8EFFE;
  --c-hero:      #0A1540;   /* deep navy hero */

  /* Text */
  --c-dark:      #0D1B52;   /* headings */
  --c-text:      #2C3A6B;   /* body text */
  --c-muted:     #64748B;
  --c-white:     #FFFFFF;

  /* UI */
  --c-border:    rgba(43,80,204,.12);
  --c-border-l:  rgba(43,80,204,.06);
  --c-green:     #22c55e;
  --c-red:       #ef4444;

  /* Shadows */
  --shadow-xs:   0 1px 4px rgba(13,27,82,.08);
  --shadow-sm:   0 4px 16px rgba(13,27,82,.10);
  --shadow-md:   0 8px 32px rgba(13,27,82,.14);
  --shadow-lg:   0 20px 60px rgba(13,27,82,.18);
  --shadow-blue: 0 8px 32px rgba(43,80,204,.28);

  /* Radii */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  --nav-h:      80px;
  --section-py: 88px;
  --transition: .26s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg-alt); }
::-webkit-scrollbar-thumb { background: var(--c-brand); border-radius: 4px; }

/* ─── TYPOGRAPHY ─── */
h1,h2,h3,h4,h5 {
  font-family: 'Nunito', sans-serif;
  color: var(--c-dark);
  line-height: 1.2;
  letter-spacing: -.01em;
}

/* ─── LAYOUT ─── */
.container { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.section    { padding-block: var(--section-py); }

.section__header { text-align: center; margin-bottom: 52px; }
.section__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-brand);
  background: var(--c-brand-xl);
  border: 1px solid rgba(43,80,204,.18);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.section__sub { font-size: 1rem; color: var(--c-muted); max-width: 520px; margin-inline: auto; }
.accent { color: var(--c-brand); }
.w-full { width: 100%; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: 'Nunito', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-brand);
  color: var(--c-white);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--c-brand-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(43,80,204,.4);
}
.btn--ghost {
  background: rgba(43,80,204,.08);
  color: var(--c-brand);
  border: 1px solid var(--c-border);
}
.btn--ghost:hover { background: rgba(43,80,204,.14); }
.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--c-white); }
.btn--outline-blue {
  background: transparent;
  color: var(--c-brand);
  border: 1.5px solid var(--c-border);
}
.btn--outline-blue:hover { background: var(--c-brand-xl); border-color: var(--c-brand); }
.btn--white {
  background: var(--c-white);
  color: var(--c-brand);
  font-weight: 700;
}
.btn--white:hover { background: var(--c-brand-xl); }
.btn--lg   { padding: 14px 30px; font-size: .98rem; border-radius: var(--r-lg); }
.btn--sm   { padding: 7px 16px; font-size: .8rem; }
.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   NAVIGATION  (always white)
════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border-l);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
  gap: 24px;
}
.nav__logo-img { height: 44px; width: auto; object-fit: contain; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-text);
  transition: all var(--transition);
}
.nav__links a:hover { color: var(--c-brand); background: var(--c-brand-xl); }
.nav__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--c-text);
  transition: color var(--transition);
}
.nav__phone:hover { color: var(--c-brand); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--c-white);
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 6px; text-align: center; width: 100%; padding: 24px; }
.mobile-menu a, .mobile-menu button {
  display: block;
  padding: 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-dark);
  border-radius: var(--r-md);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--c-brand); background: var(--c-brand-xl); }

/* ═══════════════════════════════════════════
   HERO  (dark navy background)
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-hero);
  padding-top: var(--nav-h);
}

/* Background video */
.hero__video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(130deg,
    rgba(10,21,64,.92) 0%,
    rgba(10,21,64,.65) 55%,
    rgba(43,80,204,.25) 100%
  );
}

/* Animated rays */
.hero__rays { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.ray {
  position: absolute;
  top: 50%; left: 50%;
  width: 200vmax; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(100,150,255,.1), transparent);
  transform-origin: 0 50%;
  animation: rayRotate 24s linear infinite;
}
.ray--1 { --rot: 0deg;   animation-delay: 0s; }
.ray--2 { --rot: 72deg;  animation-delay: -4.8s; opacity: .6; }
.ray--3 { --rot: 144deg; animation-delay: -9.6s; opacity: .4; }
.ray--4 { --rot: 216deg; animation-delay: -14.4s; opacity: .7; }
.ray--5 { --rot: 288deg; animation-delay: -19.2s; opacity: .5; }
@keyframes rayRotate {
  from { transform: rotate(var(--rot, 0deg)); }
  to   { transform: rotate(calc(var(--rot, 0deg) + 360deg)); }
}

/* Glow orb */
.hero__rays::after {
  content: '';
  position: absolute;
  top: 60%; right: 5%;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,80,204,.22) 0%, transparent 70%);
  animation: orbPulse 7s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,100% { opacity: .6; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.18); }
}

/* Floating decoration circles */
.hero__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero__deco--1 {
  width: 400px; height: 400px;
  right: 8%; top: 15%;
  border: 1px solid rgba(100,150,255,.15);
  animation: rotateDeco 30s linear infinite;
}
.hero__deco--2 {
  width: 260px; height: 260px;
  right: 14%; top: 22%;
  border: 1px solid rgba(100,150,255,.22);
  animation: rotateDeco 20s linear infinite reverse;
}
@keyframes rotateDeco {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin-inline: auto;
  padding: 60px 24px 80px;
  width: 100%;
  max-width: 700px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #93b4ff;
  background: rgba(100,150,255,.12);
  border: 1px solid rgba(100,150,255,.25);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
  animation: fadeUp .8s .15s both;
}
.hero__headline {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--c-white);
  margin-bottom: 22px;
  animation: fadeUp .8s .3s both;
}
.hero__accent {
  background: linear-gradient(90deg, #6AABFF 0%, #93C6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.62);
  max-width: 520px;
  margin-bottom: 38px;
  animation: fadeUp .8s .45s both;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
  animation: fadeUp .8s .6s both;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeUp .8s .75s both;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border-radius: var(--r-xl);
  padding: 24px 32px;
  width: fit-content;
}
.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
  display: inline;
}
.hero__stat > span:nth-child(2) {
  font-family: 'Nunito', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #6AABFF;
  line-height: 1;
  display: inline;
}
.hero__stat-label { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 4px; letter-spacing: .03em; }
.hero__stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,.1); }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  animation: fadeUp .8s 1s both;
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Wave separator hero → trustbar */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--c-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   TRUSTBAR
════════════════════════════════════════════ */
.trustbar {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border-l);
  padding-block: 16px;
  position: relative;
  z-index: 2;
}
.trustbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 28px;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text);
}
.trustbar__item svg { color: var(--c-brand); flex-shrink: 0; }
.trustbar__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-border); }

/* ═══════════════════════════════════════════
   LEISTUNGEN (white bg)
════════════════════════════════════════════ */
.leistungen { background: var(--c-bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--c-white);
  border: 1px solid var(--c-border-l);
  border-radius: var(--r-xl);
  padding: 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.card--hover:hover {
  transform: translateY(-5px);
  border-color: rgba(43,80,204,.2);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 58px; height: 58px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon--solar   { background: #EBF0FF; color: var(--c-brand); }
.card__icon--battery { background: #ECFDF5; color: #16a34a; }
.card__icon--wall    { background: #EFF6FF; color: #2563eb; }
.card__icon--heat    { background: #FFF1F2; color: #e11d48; }
.card__icon--monitor { background: #F5F3FF; color: #7c3aed; }
.card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; color: var(--c-dark); }
.card p  { font-size: .88rem; color: var(--c-muted); line-height: 1.65; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--c-brand);
  transition: gap var(--transition);
}
.card__link:hover { gap: 10px; }

/* CTA card */
.card--cta {
  background: linear-gradient(140deg, var(--c-brand) 0%, var(--c-brand-l) 100%);
  border-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
}
.card--cta:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(43,80,204,.4); }
.card__cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.card--cta h3, .card--cta p { color: var(--c-white); }
.card--cta svg { color: rgba(255,255,255,.7); }
.card--cta .btn--white { color: var(--c-brand); }

/* ═══════════════════════════════════════════
   IMAGE BREAK
════════════════════════════════════════════ */
.imgbreak {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.imgbreak__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.imgbreak:hover .imgbreak__bg { transform: scale(1.1); }
.imgbreak__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(10,21,64,.88) 0%,
    rgba(10,21,64,.6) 100%
  );
}
.imgbreak__content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 720px;
  padding-inline: 24px;
}
.imgbreak__quote {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════
   COMPARISON  (light blue bg)
════════════════════════════════════════════ */
.comparison { background: var(--c-bg-alt); }
.comparison__grid {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 56px;
}
.comparison__col {
  background: var(--c-white);
  border: 1px solid var(--c-border-l);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-xs);
}
.comparison__col--problems  { border-top: 3px solid var(--c-red); }
.comparison__col--solutions { border-top: 3px solid var(--c-green); }
.comparison__head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.comparison__col--problems .comparison__head  { color: var(--c-red); }
.comparison__col--solutions .comparison__head { color: var(--c-green); }
.comparison__head h3 { font-size: 1rem; font-weight: 800; color: var(--c-dark); }
.comparison__list { display: flex; flex-direction: column; gap: 13px; }
.comparison__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; line-height: 1.55; color: var(--c-text);
}
.comparison__list li svg { flex-shrink: 0; margin-top: 2px; }
.comparison__divider { display: flex; align-items: center; justify-content: center; padding-top: 56px; }
.comparison__vs {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-brand-xl);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: .78rem; font-weight: 900;
  color: var(--c-brand);
}
.comparison__cta {
  background: var(--c-white);
  border: 1px solid var(--c-border-l);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.comparison__cta h3 { font-size: 1.25rem; margin-bottom: 28px; }
.dream-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.dream-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border-l);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  text-align: left;
  min-width: 220px;
}
.dream-icon { font-size: 1.8rem; }
.dream-item strong { display: block; color: var(--c-dark); font-weight: 700; margin-bottom: 2px; font-family: 'Nunito', sans-serif; }
.dream-item p { font-size: .84rem; color: var(--c-muted); margin: 0; }

/* ═══════════════════════════════════════════
   PROCESS  (white bg)
════════════════════════════════════════════ */
.process { background: var(--c-white); }
.process__steps {
  display: flex;
  align-items: flex-start;
  margin-bottom: 52px;
  position: relative;
}
/* connecting line between steps */
.process__steps::after {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(50% / 4 + 24px);
  right: calc(50% / 4 + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--c-brand-xl), var(--c-border));
  z-index: 0;
}
.process__step {
  flex: 1;
  text-align: center;
  padding: 28px 18px;
  position: relative;
  z-index: 1;
}
.process__num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--c-brand-xl);
  border: 2px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--c-brand);
  margin: 0 auto 18px;
  transition: all var(--transition);
}
.process__step:hover .process__num {
  background: var(--c-brand);
  color: var(--c-white);
  border-color: var(--c-brand);
  box-shadow: var(--shadow-blue);
}
.process__content h4 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; color: var(--c-dark); }
.process__content p  { font-size: .86rem; color: var(--c-muted); line-height: 1.6; }
.process__connector { display: none; } /* replaced by ::after */
.process__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.process__img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-sm);
}
.process__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.process__img-wrap:hover img { transform: scale(1.04); }
.process__cta { text-align: center; }

/* ═══════════════════════════════════════════
   PARTNERS  (light blue bg)
════════════════════════════════════════════ */
.partners { background: var(--c-bg-alt); }
.partners__track {
  overflow: hidden;
  position: relative;
  padding-block: 16px;
}
.partners__track::before,
.partners__track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.partners__track::before { left: 0;  background: linear-gradient(to right, var(--c-bg-alt), transparent); }
.partners__track::after  { right: 0; background: linear-gradient(to left,  var(--c-bg-alt), transparent); }
.partners__logos {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: infiniteScroll 24s linear infinite;
  width: max-content;
}
.partner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  flex-shrink: 0;
  opacity: .45;
  filter: grayscale(1);
  transition: all var(--transition);
}
.partner__logo:hover { opacity: 1; filter: grayscale(0); }
.partner__logo img { max-height: 48px; max-width: 130px; object-fit: contain; }
@keyframes infiniteScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   REVIEWS  (white bg)
════════════════════════════════════════════ */
.reviews { background: var(--c-white); }
.google-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border-l);
  border-radius: var(--r-xl);
  padding: 24px 32px;
  max-width: 500px;
  margin: 0 auto 44px;
  box-shadow: var(--shadow-xs);
}
.google-badge__label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--c-brand);
  margin-bottom: 4px;
}
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 1rem; }
.stars--lg { font-size: 1.5rem; margin-block: 4px; }
.google-badge__count { font-size: .76rem; color: var(--c-muted); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.review-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-l);
  border-radius: var(--r-xl);
  padding: 24px;
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-border);
  box-shadow: var(--shadow-md);
}
.review-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.review-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: white; flex-shrink: 0;
}
.review-card__header > div:nth-child(2) { flex: 1; }
.review-card__header strong { display: block; font-size: .88rem; color: var(--c-dark); margin-bottom: 2px; font-weight: 700; }
.review-card__header .stars { font-size: .86rem; }
.review-card__google { opacity: .5; margin-left: auto; flex-shrink: 0; }
.review-card p { font-size: .86rem; color: var(--c-muted); line-height: 1.62; font-style: italic; }
.review-card--placeholder {
  border: 2px dashed var(--c-border);
  display: flex; align-items: center; justify-content: center;
  min-height: 160px;
  background: var(--c-bg-alt);
}
.review-placeholder-inner { text-align: center; opacity: .55; }
.review-placeholder-inner p { margin-block: 10px; font-size: .86rem; color: var(--c-muted); }
.review-placeholder-inner small { font-size: .73rem; color: var(--c-muted); }

/* ═══════════════════════════════════════════
   BERLIN  (light bg)
════════════════════════════════════════════ */
.berlin { display: grid; grid-template-columns: 1fr 1fr; }
.berlin__img { position: relative; overflow: hidden; }
.berlin__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s ease; }
.berlin:hover .berlin__img img { transform: scale(1.04); }
.berlin__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 55%, var(--c-bg-alt) 100%);
}
.berlin__content {
  background: var(--c-bg-alt);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.berlin__content h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.berlin__content p { font-size: .93rem; color: var(--c-muted); line-height: 1.75; }
.berlin__address {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid var(--c-border-l);
  padding: 11px 16px;
  border-radius: var(--r-md);
  width: fit-content;
  box-shadow: var(--shadow-xs);
}
.berlin__address svg { color: var(--c-brand); flex-shrink: 0; }

/* ═══════════════════════════════════════════
   KONTAKT  (white bg)
════════════════════════════════════════════ */
.kontakt { background: var(--c-white); }
.kontakt__layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 52px; align-items: start; }
.kontakt__info { display: flex; flex-direction: column; gap: 20px; }
.kontakt__item { display: flex; align-items: flex-start; gap: 14px; }
.kontakt__icon {
  width: 46px; height: 46px;
  background: var(--c-brand-xl);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--c-brand);
}
.kontakt__item > div { display: flex; flex-direction: column; gap: 3px; }
.kontakt__label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.kontakt__item a, .kontakt__item span { font-size: .93rem; color: var(--c-dark); transition: color var(--transition); font-weight: 600; }
.kontakt__item a:hover { color: var(--c-brand); }

/* Form */
.kontakt__form {
  background: var(--c-white);
  border: 1px solid var(--c-border-l);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .02em;
  font-family: 'Nunito', sans-serif;
}
.req { color: var(--c-brand); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--c-bg-alt);
  border: 1.5px solid var(--c-border-l);
  border-radius: var(--r-md);
  padding: 12px 15px;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  color: var(--c-dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-muted); opacity: .65; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(43,80,204,.08);
  background: var(--c-white);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--c-bg-alt);
  padding-right: 36px;
  cursor: pointer;
}
.form-group select option { background: var(--c-white); color: var(--c-dark); }
.form-group textarea { resize: vertical; min-height: 110px; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer;
  font-size: .83rem;
  color: var(--c-muted);
  line-height: 1.55;
}
.checkbox-label input[type=checkbox] {
  width: 17px; height: 17px;
  min-width: 17px;
  accent-color: var(--c-brand);
  margin-top: 2px;
  cursor: pointer;
}
.checkbox-label a { color: var(--c-brand); text-decoration: underline; }
.form-success {
  display: flex; align-items: center; gap: 10px;
  background: #f0fdf4;
  border: 1px solid rgba(34,197,94,.25);
  padding: 14px 18px;
  border-radius: var(--r-md);
  color: #16a34a;
  font-weight: 700;
  font-size: .9rem;
}

/* ═══════════════════════════════════════════
   FOOTER  (dark navy)
════════════════════════════════════════════ */
.footer { background: var(--c-hero); }
.footer__top { padding-block: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.footer__logo-placeholder { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__logo-placeholder span {
  font-family: 'Nunito', sans-serif;
  font-size: .88rem;
  line-height: 1.3;
  color: var(--c-white);
  font-weight: 700;
}
.footer__brand p { font-size: .86rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 270px; margin-bottom: 18px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--c-brand); color: var(--c-white); border-color: var(--c-brand); }
.footer__col h4 {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 18px;
  font-family: 'Nunito', sans-serif;
}
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col li a, .footer__col li span { font-size: .86rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__col li a:hover { color: rgba(255,255,255,.9); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.06); padding-block: 22px; }
.footer__bottom .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer__bottom span { font-size: .8rem; color: rgba(255,255,255,.25); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { font-size: .8rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer__legal a:hover { color: rgba(255,255,255,.7); }

/* Footer logo: show white version OR tint the colored logo */
.footer__logo-placeholder img { height: 36px; filter: brightness(0) invert(1); opacity: .85; }

/* ═══════════════════════════════════════════
   WIZARD MODAL
════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,21,64,.6);
  backdrop-filter: blur(6px);
  z-index: 990;
  opacity: 0; pointer-events: none;
  transition: opacity .32s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.95);
  z-index: 995;
  width: 92%;
  max-width: 620px;
  max-height: 92svh;
  overflow-y: auto;
  background: var(--c-white);
  border: 1px solid var(--c-border-l);
  border-radius: var(--r-2xl);
  opacity: 0; pointer-events: none;
  transition: all .32s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.modal.open { opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1); }
.modal__inner { padding: 36px 36px 28px; }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border-l);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted);
  transition: all var(--transition);
  z-index: 1;
}
.modal__close:hover { background: var(--c-brand); color: var(--c-white); border-color: var(--c-brand); }
.modal__progress {
  height: 4px;
  background: var(--c-bg-alt);
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}
.modal__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--c-brand), var(--c-brand-l));
  border-radius: 4px;
  width: 20%;
  transition: width .5s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 10px rgba(43,80,204,.4);
}
.modal__step-label { font-size: .74rem; color: var(--c-muted); margin-bottom: 28px; letter-spacing: .04em; }
.wizard-step { display: none; animation: fadeUp .36s ease; }
.wizard-step.active { display: block; }
.wizard-step__icon { font-size: 2.2rem; margin-bottom: 12px; }
.wizard-step h2 { font-size: 1.45rem; font-weight: 900; margin-bottom: 6px; color: var(--c-dark); }
.wizard-step > p { font-size: .9rem; color: var(--c-muted); margin-bottom: 26px; }

/* Radio cards */
.radio-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 6px; }
.radio-grid--2 { grid-template-columns: repeat(2,1fr); }
.radio-card { display: block; cursor: pointer; }
.radio-card input[type=radio] { display: none; }
.radio-card__inner {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 18px 10px;
  background: var(--c-bg-alt);
  border: 1.5px solid var(--c-border-l);
  border-radius: var(--r-lg);
  transition: all var(--transition);
  text-align: center;
}
.radio-card__inner:hover { border-color: var(--c-border); background: var(--c-bg-alt2); }
.radio-card input:checked + .radio-card__inner {
  border-color: var(--c-brand);
  background: var(--c-brand-xl);
  box-shadow: 0 0 0 1px var(--c-brand);
}
.radio-card__icon  { font-size: 1.6rem; }
.radio-card__label { font-size: .82rem; font-weight: 700; color: var(--c-dark); line-height: 1.25; font-family: 'Nunito', sans-serif; }
.radio-card small  { font-size: .73rem; color: var(--c-muted); }

.wizard-form { display: flex; flex-direction: column; gap: 13px; }

/* Success */
.wizard-step--success { text-align: center; padding: 20px 0 10px; }
.success-anim { display: flex; justify-content: center; margin-bottom: 22px; }
.success-circle {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex; align-items: center; justify-content: center;
  animation: successPop .6s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 0 36px rgba(34,197,94,.3);
}
@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.wizard-step--success h2 { font-size: 1.8rem; margin-bottom: 10px; }
.wizard-step--success p  { color: var(--c-muted); margin-bottom: 24px; font-size: .93rem; }

/* Nav buttons */
.modal__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border-l);
}
#btnNext { margin-left: auto; }
#btnBack  { color: var(--c-muted); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1060px) {
  .cards-grid   { grid-template-columns: repeat(2,1fr); }
  .reviews__grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .comparison__grid { grid-template-columns: 1fr; }
  .comparison__divider { display: none; }
  .radio-grid   { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 880px) {
  :root { --section-py: 60px; }
  .nav__links  { display: none; }
  .nav__phone  { display: none; }
  .nav__burger { display: flex; }
  .berlin { grid-template-columns: 1fr; }
  .berlin__img { height: 300px; }
  .berlin__img-overlay { background: linear-gradient(to bottom, transparent 55%, var(--c-bg-alt) 100%); }
  .berlin__content { padding: 36px 24px; }
  .kontakt__layout { grid-template-columns: 1fr; gap: 36px; }
  .process__steps::after { display: none; }
  .process__steps { flex-wrap: wrap; }
  .process__step { flex-basis: 50%; }
  .process__images { grid-template-columns: 1fr; }
  .hero::after { height: 50px; }
}
@media (max-width: 620px) {
  :root { --section-py: 44px; }
  .cards-grid   { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr; }
  .process__step { flex-basis: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .dream-list { flex-direction: column; }
  .hero__stats { padding: 18px 22px; gap: 20px; width: 100%; justify-content: space-around; }
  .hero__stat-divider { height: 32px; }
  .modal__inner { padding: 24px 20px 20px; }
  .radio-grid   { grid-template-columns: repeat(2,1fr); }
  .radio-grid--2 { grid-template-columns: 1fr; }
  .imgbreak { height: 320px; }
}
@media (max-width: 420px) {
  .hero__headline { font-size: 2.1rem; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { justify-content: center; }
}
