/* ===== Variables ===== */
:root {
  --color-bg: #0b1220;
  --color-bg-alt: #f6f8fb;
  --color-surface: #ffffff;
  --color-text: #101828;
  --color-text-muted: #4b5768;
  --color-primary: #0f766e;      /* teal */
  --color-primary-dark: #0b5a54;
  --color-accent: #f59e0b;       /* amber accent */
  --color-navy: #0b2447;
  --gradient-hero: linear-gradient(135deg, #0b2447 0%, #0f766e 55%, #14b8a6 100%);
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 24, 40, 0.12);
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--color-navy);
}

p { margin: 0 0 1em; }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 66px;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  transition: color .3s ease;
  white-space: nowrap;
}
.logo span { color: var(--color-accent); }
.site-header.scrolled .logo { color: var(--color-navy); }

.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav a {
  color: #fff;
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  transition: color .3s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }
.site-header.scrolled .nav a { color: var(--color-text); }

.nav-cta { color: #fff; }
.site-header:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.5);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
}
.site-header.scrolled .menu-toggle span { background: var(--color-navy); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: heroShift 14s ease infinite;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.08), transparent 40%);
}
@keyframes heroShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
  max-width: 760px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1em;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: .4em;
}
.h1-sub {
  display: inline-block;
  font-size: .55em;
  font-weight: 600;
}
.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 2em 0 3em;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
}
.stat-num, .stat-suffix {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
}
.stat-label {
  flex-basis: 100%;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.stat-phone {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  transition: color .2s ease;
}
.stat-phone:hover { color: var(--color-accent); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-tag {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  margin-bottom: .8em;
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-title-sub {
  display: inline-block;
  font-size: .6em;
  font-weight: 600;
}
.section-lead {
  color: var(--color-text-muted);
  max-width: 640px;
  font-size: 1.05rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.card {
  background: var(--color-surface);
  border: 1px solid #eef1f5;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(15, 118, 110, .1);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.15rem; }
.card p { color: var(--color-text-muted); margin: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-media-box {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: #ffffff;
  overflow: visible;
  box-shadow: var(--shadow-md);
  padding: 10px;
  border: 3px solid rgba(0, 0, 0, 0.9);
  background-clip: padding-box;
}
.about-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  border-radius: calc(var(--radius) - 8px);
  display: block;
}
.check-list {
  list-style: none;
  margin: 1.5em 0 2em;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--color-text-muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.step {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid #eef1f5;
  transition: transform .3s ease;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--color-text-muted); margin: 0; font-size: .95rem; }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.testimonial {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
}
.testimonial p { font-style: italic; color: var(--color-text); }
.testimonial cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: .9rem;
}

/* Kontakt */
.kontakt-grid {
  display: grid;
  max-width: 640px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 2em 0 0;
  display: grid;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}
.contact-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15,118,110,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontakt-form {
  background: var(--color-surface);
  border: 1px solid #eef1f5;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 8px; }
.form-row label { font-weight: 600; font-size: .9rem; }
.form-row input, .form-row textarea {
  border: 1px solid #d9dfe7;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15,118,110,.15);
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,.75);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .9rem;
}
.back-to-top { font-weight: 600; color: #fff; }
.back-to-top:hover { color: var(--color-accent); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .about-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; }
}

@media (max-width: 760px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav.open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 16px 24px 24px;
  }
  .nav.open ul {
    flex-direction: column;
    gap: 4px;
  }
  .nav.open a {
    color: var(--color-navy);
    display: block;
    padding: 12px 0;
  }
  .nav.open a::after { display: none; }

  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero-stats { gap: 24px; }
  .hero h1 { font-size: 1.7rem; }
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.site-header.scrolled .menu-toggle.active span { background: var(--color-navy); }
