/* ====== Reset & root ====== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

:root {
  --brand: #e20006;
  --brand-dark: #b80005;
  --brand-soft: rgba(226, 0, 6, 0.08);
  --brand-tint: rgba(226, 0, 6, 0.04);
  --warm-bg: #fafaf8;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --content-max: 1200px;
  --pad-x: clamp(20px, 5vw, 48px);
}

body {
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate-700);
  background: var(--warm-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Krona One', 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: var(--slate-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

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

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

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

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ====== Eyebrow label (red dash + small caps) ====== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 56px;
  height: 3px;
  background: var(--brand);
}
.eyebrow span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 56px;
  height: 3px;
  background: var(--brand);
}

/* ====== Section headings ====== */
.section-h {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 24px;
}
.section-h .accent { color: var(--brand); }

section {
  padding: clamp(72px, 10vw, 128px) 0;
}

/* ====== Navbar ====== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-100);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 44px; width: auto; }
.nav__brand-text {
  font-family: 'Krona One', sans-serif;
  font-size: 14px;
  color: var(--slate-900);
  line-height: 1.1;
}
.nav__brand-text span { color: var(--brand); display: block; font-size: 11px; letter-spacing: 2px; margin-top: 2px; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}
.nav__phone:hover { color: var(--brand); }
@media (min-width: 768px) {
  .nav__phone { display: inline-flex; }
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 220ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 0 var(--brand-dark);
}
.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(226, 0, 6, 0.35);
}
.btn--primary:active { transform: translateY(0); box-shadow: 0 2px 0 var(--brand-dark); }
.btn--ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover { background: white; color: var(--slate-900); border-color: white; }
.btn--sm { padding: 10px 18px; font-size: 12px; }

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  padding-top: 72px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video,
.hero__media img.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.65) 50%, rgba(2, 6, 23, 0.85) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.3) 0%, transparent 30%, rgba(2, 6, 23, 0.6) 100%);
}
.hero__decor-ring {
  position: absolute;
  top: 80px;
  right: 80px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  z-index: 1;
}
.hero__decor-dot {
  position: absolute;
  top: 35%;
  right: 25%;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 2.4s ease-in-out infinite;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  backdrop-filter: blur(8px);
  margin-bottom: 32px;
}
.hero__badge .dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.hero__badge span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
.hero__title {
  font-size: clamp(40px, 7vw, 80px);
  color: white;
  line-height: 1;
  margin-bottom: 28px;
  max-width: 800px;
}
.hero__title .accent { color: var(--brand); }
.hero__sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 44px;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 64px;
}
@media (min-width: 640px) {
  .hero__cta { flex-direction: row; }
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 580px;
}
.hero__stat-num {
  font-family: 'Krona One', sans-serif;
  font-size: clamp(24px, 3.2vw, 36px);
  color: white;
  line-height: 1;
}
.hero__stat-num.accent { color: var(--brand); }
.hero__stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 3;
}
.hero__scroll span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero__scroll .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.25); }
}

/* ====== Generic content block ====== */
.section-warm { background: var(--warm-bg); }
.section-white { background: white; }
.section-dark { background: var(--slate-950); color: rgba(255,255,255,0.8); }
.section-dark h2 { color: white; }

/* ====== Services grid ====== */
.services-head {
  margin-bottom: 56px;
}
.services-head .lead {
  color: var(--slate-600);
  font-size: 17px;
  max-width: 560px;
  margin-top: 18px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 10px;
  padding: 32px 28px;
  transition: all 280ms ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--brand);
  transition: height 280ms ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 0, 6, 0.2);
  box-shadow: 0 16px 40px -10px rgba(226, 0, 6, 0.12);
}
.service-card:hover::before { height: 100%; }
.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--brand-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 20px;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--slate-900);
}
.service-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
  margin: 0 0 18px 0;
}
.service-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}
.service-card__price b {
  font-family: 'Krona One', sans-serif;
  font-size: 20px;
  color: var(--brand);
}
.service-card__price small {
  font-size: 12px;
  color: var(--slate-400);
}

/* ====== Process ====== */
.process-head {
  text-align: center;
  margin-bottom: 64px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.process-step { text-align: center; position: relative; }
.process-step__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Krona One', sans-serif;
  color: var(--brand);
  font-size: 22px;
  position: relative;
}
.process-step:not(:last-child) .process-step__num::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(100% + 32px);
  height: 1px;
  background: rgba(226, 0, 6, 0.18);
  display: none;
}
@media (min-width: 768px) {
  .process-step:not(:last-child) .process-step__num::after { display: block; }
}
.process-step h3 { font-size: 17px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--slate-500); }
.process-step__time {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

/* ====== About ====== */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.about h2 { color: white; font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }
.about h2 .accent { color: var(--brand); }
.about p { color: rgba(255, 255, 255, 0.55); margin: 0 0 18px 0; line-height: 1.75; }
.about__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 36px;
  backdrop-filter: blur(8px);
}
.about__card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.about__card-header img { height: 56px; }
.about__card-header h3 { color: white; font-size: 14px; }
.about__card-header p { color: rgba(255, 255, 255, 0.4); font-size: 12px; margin: 4px 0 0; }
.about__card-rows { margin-top: 24px; }
.about__card-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.about__card-row svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.about__cert {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}
.about__cert-num {
  font-family: 'Krona One', sans-serif;
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}
.about__cert-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ====== Reviews ====== */
.reviews-head { text-align: center; margin-bottom: 56px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--warm-bg);
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  padding: 32px;
  transition: transform 280ms ease;
}
.review-card:hover { transform: translateY(-3px); }
.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--brand);
}
.review-card__quote {
  font-style: italic;
  color: var(--slate-700);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px 0;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-card__author-avatar {
  width: 44px;
  height: 44px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Krona One', sans-serif;
  font-size: 14px;
}
.review-card__author-info p { margin: 0; }
.review-card__author-name { font-size: 14px; font-weight: 700; color: var(--slate-800); }
.review-card__author-role { font-size: 12px; color: var(--slate-400); }
.review-card__date {
  margin-left: auto;
  font-size: 12px;
  color: var(--slate-300);
}

/* ====== Form section (kontakt) ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.05fr 1fr; gap: 60px; }
}
.contact-info { }
.contact-info__person {
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact-info__person-avatar {
  width: 56px;
  height: 56px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info__person-info { flex: 1; }
.contact-info__person-info h3 { font-size: 16px; color: var(--slate-900); }
.contact-info__person-info p { font-size: 13px; color: var(--slate-400); margin: 4px 0 0; }
.contact-info__rows { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.contact-info__row { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; color: var(--slate-700); }
.contact-info__row svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.contact-info__row a:hover { color: var(--brand); }
.contact-info__row b { display: block; margin-bottom: 2px; font-weight: 600; }
.contact-info__row small { color: var(--slate-500); }

/* ====== Form ====== */
.form {
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 16px 50px -20px rgba(2, 6, 23, 0.12);
}
.form__title {
  font-size: 22px;
  margin-bottom: 8px;
}
.form__sub {
  font-size: 14px;
  color: var(--slate-500);
  margin: 0 0 28px;
}
.form__row { margin-bottom: 18px; }
.form__row--two {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .form__row--two { grid-template-columns: 1fr 1fr; }
}
.form__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate-700);
  margin-bottom: 8px;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--slate-900);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  outline: none;
  transition: all 160ms ease;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  background: white;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(226, 0, 6, 0.08);
}
.form__textarea { resize: vertical; min-height: 110px; }
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--slate-600);
  margin: 22px 0 24px;
  line-height: 1.5;
}
.form__check input { margin-top: 3px; accent-color: var(--brand); }
.form__check a { color: var(--brand); text-decoration: underline; }
.form__submit {
  width: 100%;
  margin-top: 6px;
}
.form__hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--slate-400);
  text-align: center;
}
.form__success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #15803d;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 18px;
  display: none;
}
.form__success.is-visible { display: block; }

/* ====== Footer ====== */
.footer {
  background: var(--slate-950);
  color: rgba(255, 255, 255, 0.4);
  padding: 52px 0 32px;
}
.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .footer__top { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { height: 48px; }
.footer__brand-text { font-family: 'Krona One', sans-serif; color: white; font-size: 14px; }
.footer__brand-text span { color: var(--brand); display: block; font-size: 11px; letter-spacing: 2px; margin-top: 2px; }
.footer__links { display: flex; gap: 24px; font-size: 14px; }
.footer__links a { color: rgba(255,255,255,0.5); transition: color 160ms; }
.footer__links a:hover { color: var(--brand); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.6); }
.footer__bottom a:hover { color: var(--brand); }

/* ====== Mobile sticky CTA ====== */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 55;
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--slate-100);
}
.mobile-cta .btn { flex: 1; padding: 14px; font-size: 12px; }
.mobile-cta .btn--secondary {
  background: var(--slate-900);
  color: white;
  box-shadow: 0 4px 0 var(--slate-700);
}
@media (min-width: 768px) {
  .mobile-cta { display: none; }
}

/* ====== Fade-up animation ====== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up[style*="delay-1"] { transition-delay: 100ms; }
.fade-up[style*="delay-2"] { transition-delay: 200ms; }
.fade-up[style*="delay-3"] { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero__decor-dot, .hero__badge .dot { animation: none; }
}

/* spacing for sticky mobile cta */
@media (max-width: 767px) {
  body { padding-bottom: 76px; }
  .nav__inner { height: 60px; }
  .nav__brand img { height: 36px; }
  .hero { padding-top: 60px; }
}
