/* ============================================================
   DOBRE BAU — Main Stylesheet
   ============================================================ */

/* === CUSTOM PROPERTIES === */
:root {
  /* Brand colors */
  --navy:        #1B2D5E;
  --navy-dark:   #0F1B38;
  --navy-mid:    #243D7A;
  --blue:        #2272C4;
  --blue-dark:   #1A5AA0;
  --blue-light:  #3A8DE0;
  --blue-tint:   #EBF3FB;
  --blue-tint2:  #D6E8F8;

  /* Neutrals */
  --white:       #FFFFFF;
  --surface:     #F8FAFD;
  --surface-2:   #F0F4FA;
  --gray-100:    #EEF1F7;
  --gray-200:    #DDE3EE;
  --gray-400:    #9AA3BA;
  --gray-600:    #5B6480;
  --text:        #1C2340;
  --text-muted:  #5B6480;
  --text-light:  #8892A4;

  /* Shadows (dark navy-tinted) */
  --shadow-xs:   0 1px 2px rgba(27,45,94,0.07);
  --shadow-sm:   0 2px 8px rgba(27,45,94,0.08), 0 1px 3px rgba(27,45,94,0.05);
  --shadow-md:   0 4px 16px rgba(27,45,94,0.10), 0 2px 6px rgba(27,45,94,0.06);
  --shadow-lg:   0 8px 32px rgba(27,45,94,0.12), 0 3px 12px rgba(27,45,94,0.07);
  --shadow-xl:   0 16px 48px rgba(27,45,94,0.14), 0 6px 20px rgba(27,45,94,0.08);
  --shadow-blue: 0 8px 24px rgba(34,114,196,0.30), 0 2px 8px rgba(34,114,196,0.18);

  /* Border radius */
  --r-sm:  6px;
  --r:     10px;
  --r-lg:  16px;
  --r-xl:  24px;

  /* Typography */
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body:    'Inter', 'Segoe UI', Arial, sans-serif;

  /* Spacing tokens */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Section padding */
  --section-py: 88px;
  --header-h:   88px;
  --container:  1200px;
  --container-px: 24px;

  /* Transition */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--container-px) * 2);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
}

.section--surface {
  background: var(--surface);
}

.section--surface-2 {
  background: var(--surface-2);
}

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

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

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--sp-3);
}

.section-label--light {
  color: rgba(255,255,255,0.65);
}

.section-label__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--sp-5);
}

.section-title--light {
  color: var(--white);
}

.section-title--center {
  text-align: center;
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.75;
}

.section-intro--center {
  text-align: center;
  margin: 0 auto;
}

.section-intro--light {
  color: rgba(255,255,255,0.75);
}

.section-header {
  margin-bottom: var(--sp-12);
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

p { line-height: 1.7; }

strong { font-weight: 600; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  outline: none;
}

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

.btn:active {
  transform: scale(0.97);
}

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

.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 32px rgba(34,114,196,0.38), 0 4px 12px rgba(34,114,196,0.22);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0) scale(0.97);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn--ghost-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.22s var(--ease);
}

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

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.header__logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.header__logo-link:hover {
  opacity: 0.88;
}

.header__logo {
  height: 68px;
  width: auto;
}

.header__nav {
  flex: 1;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.header__nav-link {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.header__nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  transform: scaleX(1);
}

.header__nav-link.active {
  color: var(--white);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

.header__tel {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}

.header__tel:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background 0.2s;
}

.header__burger:hover {
  background: rgba(255,255,255,0.1);
}

.burger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.header__burger.open .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.open .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__burger.open .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.header__mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  padding: var(--sp-8) var(--container-px);
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.header__mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__list {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-8);
}

.mobile-nav__list li + li {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.mobile-nav__link {
  display: block;
  padding: var(--sp-4) 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s, padding-left 0.2s var(--ease);
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--white);
  padding-left: var(--sp-3);
}

.mobile-nav__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.mobile-nav__tel,
.mobile-nav__email {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.mobile-nav__tel:hover,
.mobile-nav__email:hover {
  color: var(--white);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grad1 {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34,114,196,0.22) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero__grad2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(27,45,94,0.85) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
}

.hero__grad3 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(58,141,224,0.12) 0%, transparent 70%);
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

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

.hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.hero__content {}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(34,114,196,0.18);
  border: 1px solid rgba(34,114,196,0.35);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #7DC4F8;
  margin-bottom: var(--sp-6);
  backdrop-filter: blur(4px);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7DC4F8;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--sp-6);
}

.hero__title-em {
  font-style: normal;
  color: #5AB0F5;
}

.hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--sp-10);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.hero__trust-item svg {
  color: #5AB0F5;
  flex-shrink: 0;
}

.hero__visual {
  position: relative;
}

.hero__visual-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero__visual-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.hero__visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,27,56,0.7) 0%, transparent 50%);
}

.hero__stat-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.hero__stat-card--1 {
  bottom: 32px;
  left: -24px;
  min-width: 180px;
}

.hero__stat-card--2 {
  top: 40px;
  right: -24px;
  min-width: 160px;
}

.hero__stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* === TRUST STRIP === */
.trust-strip {
  background: var(--navy);
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-8);
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-strip__item svg {
  color: #5AB0F5;
  flex-shrink: 0;
}

.trust-strip__divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
}

/* === INTRO SECTION === */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.intro__content {}

.intro__content .section-intro {
  margin-bottom: var(--sp-8);
}

.intro__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--gray-200);
}

.intro__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.intro__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.intro__image {
  position: relative;
}

.intro__image img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
}

.intro__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* === SERVICE CARDS GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

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

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: var(--sp-5);
  transition: background 0.2s, color 0.2s;
}

.service-card:hover .service-card__icon {
  background: var(--blue);
  color: var(--white);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap 0.2s var(--ease);
}

.service-card__link:hover {
  gap: var(--sp-3);
}

/* === SERVICE DETAIL (Leistungen page) === */
.service-detail {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--gray-100);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.service-detail__inner--reverse {
  direction: rtl;
}

.service-detail__inner--reverse > * {
  direction: ltr;
}

.service-detail__content {}

.service-detail__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--blue-tint);
  color: var(--blue);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}

.service-detail__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--sp-4);
  color: var(--navy);
}

.service-detail__intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.service-detail__list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.service-detail__list-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-detail__image {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* === WHY US === */
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: background 0.2s, transform 0.28s var(--ease-spring);
}

.why-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: rgba(90,176,245,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7DC4F8;
  margin-bottom: var(--sp-5);
}

.why-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.why-card__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* === PROCESS SECTION === */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), var(--gray-200), transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--sp-5);
}

.process-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-tint);
  border: 2px solid var(--blue-tint2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
  margin: 0 auto var(--sp-5);
  transition: background 0.25s, border-color 0.25s, transform 0.28s var(--ease-spring);
}

.process-step:hover .process-step__num {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: scale(1.08);
}

.process-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.process-step__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === REFERENCE CARDS === */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.ref-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s var(--ease);
}

.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.ref-card__image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.ref-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.ref-card:hover .ref-card__image img {
  transform: scale(1.06);
}

.ref-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,45,94,0.55) 0%, transparent 55%);
  transition: opacity 0.3s;
}

.ref-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: rgba(27,45,94,0.88);
  color: #7DC4F8;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
}

.ref-card__body {
  padding: var(--sp-6);
}

.ref-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

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

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  padding: var(--sp-20) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.04;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.07) 0%, transparent 65%);
  top: -200px;
  right: -100px;
  pointer-events: none;
  animation: shaderDrift 14s ease-in-out infinite;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-10);
  align-items: center;
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.025em;
}

.cta-banner__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-end;
}

.btn--white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
  font-weight: 700;
}

.btn--white:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

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

.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* === CONTACT SECTION === */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-16);
  align-items: start;
}

.contact__info {}

.contact__info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.contact__info-sub {
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}

.contact__info-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

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

.contact__info-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.contact__info-value {
  font-weight: 600;
  color: var(--text);
  font-size: 1.0625rem;
}

.contact__info-value a {
  color: var(--navy);
  transition: color 0.2s;
}

.contact__info-value a:hover {
  color: var(--blue);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34,114,196,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6480' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-privacy {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: var(--sp-3);
}

.form-privacy a {
  color: var(--blue);
  text-decoration: underline;
}

/* === PAGE HERO (sub-pages) === */
.page-hero {
  background: var(--navy-dark);
  padding: calc(var(--header-h) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 80% 30%, rgba(34,114,196,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 15% 70%, rgba(58,141,224,0.12) 0%, transparent 60%);
  animation: shaderDrift 16s ease-in-out infinite alternate;
}

.page-hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-4);
}

.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.page-hero__breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.025em;
}

.page-hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
}

/* === ABOUT PAGE === */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
}

.about-image__accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border-radius: var(--r-xl);
  background: var(--blue-tint);
  z-index: -1;
}

.about-content {}

.about-content .section-intro {
  margin-bottom: var(--sp-6);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.about-value {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--surface);
  border-radius: var(--r);
  border: 1px solid var(--gray-100);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.about-value:hover {
  border-color: var(--blue-tint2);
  box-shadow: var(--shadow-sm);
}

.about-value__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.about-value__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.about-value__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* === REFERENCES FILTERS === */
.ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}

.ref-filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ref-filter-btn:hover,
.ref-filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* === LEGAL PAGE === */
.legal-content {
  max-width: 780px;
}

.legal-section {
  padding: var(--sp-12) 0;
  border-bottom: 1px solid var(--gray-100);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--sp-6);
}

.legal-section h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: var(--sp-6) 0 var(--sp-3);
}

.legal-section p {
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.legal-section ul {
  list-style: disc;
  padding-left: var(--sp-6);
  color: var(--text-muted);
}

.legal-section ul li {
  margin-bottom: var(--sp-2);
}

/* === FOOTER === */
.footer {
  background: var(--navy-dark);
  color: var(--white);
}

.footer__main {
  padding: var(--sp-16) 0 var(--sp-12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--sp-12);
}

.footer__brand {}

.footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: var(--sp-5);
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: var(--sp-6);
}

.footer__contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer__contact-link:hover {
  color: var(--white);
}

.footer__contact-link svg {
  color: #5AB0F5;
  flex-shrink: 0;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-5);
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__col-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, padding-left 0.2s var(--ease);
}

.footer__col-link:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__bar {
  padding: var(--sp-5) 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer__bar-links {
  display: flex;
  gap: var(--sp-5);
}

.footer__bar-link {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer__bar-link:hover {
  color: rgba(255,255,255,0.75);
}

/* === SCROLL ANIMATION ===
   Only hide elements once JS has loaded (js-ready on body).
   Without JS they are always visible. */
.reveal {
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.10s; }
.reveal--delay-2 { transition-delay: 0.20s; }
.reveal--delay-3 { transition-delay: 0.30s; }
.reveal--delay-4 { transition-delay: 0.42s; }

/* === HERO SHADER (animated gradient overlay) === */
@keyframes shaderDrift {
  0%   { transform: translate(0px,    0px)    scale(1);    }
  25%  { transform: translate(90px,  -70px)   scale(1.18); }
  50%  { transform: translate(140px,  50px)   scale(0.88); }
  75%  { transform: translate(50px,  -90px)   scale(1.12); }
  100% { transform: translate(0px,    0px)    scale(1);    }
}

@keyframes shaderDrift2 {
  0%   { transform: translate(0px,   0px)   scale(1);    }
  33%  { transform: translate(-110px, 80px)  scale(1.22); }
  66%  { transform: translate(60px,  -50px)  scale(0.85); }
  100% { transform: translate(0px,   0px)   scale(1);    }
}

@keyframes shaderDrift3 {
  0%   { transform: translate(0px,  0px)  scale(1);    }
  50%  { transform: translate(-70px, -80px) scale(1.3);  }
  100% { transform: translate(0px,  0px)  scale(1);    }
}

@keyframes logoPulse {
  0%,100% { transform: scale(1);   opacity: 0.55; }
  50%     { transform: scale(1.4); opacity: 0.25; }
}

@keyframes logoPulse2 {
  0%,100% { transform: scale(1);   opacity: 0.35; }
  50%     { transform: scale(1.6); opacity: 0.12; }
}

@keyframes logoFloat {
  0%,100% { transform: translateY(0px)   rotate(0deg);   }
  50%     { transform: translateY(-14px) rotate(0.4deg); }
}

.hero__shader {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  z-index: 0;
}

.hero__shader-orb1 {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34,114,196,0.55) 0%, rgba(34,114,196,0.20) 30%, transparent 68%);
  top: -200px;
  right: -100px;
  animation: shaderDrift 7s ease-in-out infinite;
  will-change: transform;
}

.hero__shader-orb2 {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(58,141,224,0.42) 0%, rgba(58,141,224,0.10) 40%, transparent 68%);
  bottom: -100px;
  left: 5%;
  animation: shaderDrift2 9s ease-in-out infinite;
  will-change: transform;
}

.hero__shader-orb3 {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(90,176,245,0.22) 0%, transparent 65%);
  top: 20%;
  left: 20%;
  animation: shaderDrift3 11s ease-in-out infinite;
  will-change: transform;
}

/* Hero logo display (right column) */
.hero__logo-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__logo-halo {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34,114,196,0.32) 0%, transparent 68%);
  animation: logoPulse 3.5s ease-in-out infinite;
  pointer-events: none;
}

.hero__logo-halo--2 {
  width: 620px;
  height: 620px;
  background: radial-gradient(ellipse, rgba(58,141,224,0.18) 0%, transparent 65%);
  animation: logoPulse2 4.5s ease-in-out infinite;
  animation-delay: -1.5s;
}

.hero__logo-large {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  filter:
    drop-shadow(0 0 32px rgba(34,114,196,0.55))
    drop-shadow(0 0 80px rgba(34,114,196,0.25))
    brightness(0) invert(1);
  animation: logoFloat 4.5s ease-in-out infinite;
  will-change: transform;
}

/* Section background accent */
.section--with-shader {
  position: relative;
  overflow: hidden;
}

.section--with-shader::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(34,114,196,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(34,114,196,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* === VALUE CARDS (Über Uns) === */
.value-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid #e8eef5;
  box-shadow: 0 2px 12px rgba(27,45,94,0.07), 0 1px 4px rgba(27,45,94,0.04);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(27,45,94,0.11), 0 3px 12px rgba(27,45,94,0.07);
}

.value-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #EBF3FB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  color: #2272C4;
}

.value-card__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  color: #2272C4;
  stroke: #2272C4;
  fill: none;
  flex-shrink: 0;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1B2D5E;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.value-card__desc {
  font-size: 0.9rem;
  color: #5B6480;
  line-height: 1.68;
}

/* === MISC UTILITIES === */
.text-blue { color: var(--blue); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }
.font-display { font-family: var(--font-display); }

.divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: var(--sp-5) 0;
}

.divider--center {
  margin: var(--sp-5) auto;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process__steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --section-py: 64px;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .hero__visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero__stat-card--1 { left: 0; bottom: 16px; }
  .hero__stat-card--2 { right: 0; top: 24px; }

  .intro__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .intro__image { order: -1; }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .service-detail__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    direction: ltr;
  }

  .cta-banner__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .cta-banner__actions {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

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

@media (max-width: 768px) {
  .header__nav,
  .header__actions {
    display: none;
  }

  .header__burger {
    display: flex;
    margin-left: auto;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

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

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

  .about-values {
    grid-template-columns: 1fr;
  }

  .trust-strip__inner {
    gap: var(--sp-5);
  }

  .trust-strip__divider {
    display: none;
  }
}

@media (max-width: 540px) {
  :root {
    --section-py: 48px;
    --container-px: 16px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 64px;
  }

  .hero__ctas {
    flex-direction: column;
  }

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

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

  .contact-form {
    padding: var(--sp-6);
  }

  .intro__stats {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

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