﻿:root {
  --petrol: #1F5A54;
  --petrol-dark: #184742;
  --sand: #F3EFEA;
  --sand-alt: #EDEAE6;
  --text: #2F2A28;
  --white: #ffffff;
  --radius: 6px;
  --section-space: clamp(7.5rem, 10vw, 8.75rem);
  --container: 1120px;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8f5f1 0%, #ffffff 20%);
  line-height: 1.6;
}

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

a {
  color: var(--petrol);
}

.container {
  width: min(var(--container), 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 239, 234, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 90, 84, 0.14);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand img {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--petrol);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-standard);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(47, 42, 40, 0.2);
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.45rem 0.8rem;
}

.hero {
  min-height: calc(100vh - 78px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #142f2c;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease-soft);
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(15, 30, 60, 0.72), rgba(12, 25, 50, 0.85));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #f7f4f1;
  padding: 4rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.22;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  max-width: 60ch;
  margin: 1.2rem 0 2rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--petrol);
  color: var(--white);
  border: 2px solid var(--petrol);
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.28s var(--ease-standard), background-color 0.28s var(--ease-standard), border-color 0.28s var(--ease-standard), box-shadow 0.28s var(--ease-standard);
}

.btn:hover {
  background: var(--petrol-dark);
  border-color: var(--petrol-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(24, 71, 66, 0.25);
}

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

.btn-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--petrol);
}

.btn-hero {
  background: #1F5A54;
  border-color: #1F5A54;
  color: #FFFFFF;
  font-weight: 700;
}

.btn-hero:hover {
  background: #184742;
  border-color: #184742;
  color: #FFFFFF;
}

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

.section-light {
  background: var(--sand);
}

.two-col,
.about-wrap,
.contact-wrap {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}

.quote-box {
  background: var(--sand-alt);
  padding: 2rem;
  border-left: 4px solid var(--petrol);
  align-self: start;
}

.section-intro {
  font-size: 1.18rem;
  max-width: 38em;
  margin: 0 auto 2.2rem;
  text-align: center;
  opacity: 0.85;
}

.cards {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-section {
  background: linear-gradient(180deg, #f4f1ec 0%, #ffffff 32%, #ffffff 100%);
  border-top: 1px solid rgba(31, 90, 84, 0.08);
  border-bottom: 1px solid rgba(31, 90, 84, 0.06);
}

.video-section .lead {
  max-width: 56ch;
}

.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.8rem;
}

.card,
.step,
.price-item {
  background: var(--white);
  border: 1px solid rgba(31, 90, 84, 0.15);
  padding: 1.5rem;
  transition: transform 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard), border-color 0.35s var(--ease-standard);
}

.card:hover,
.step:hover,
.price-item:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 90, 84, 0.32);
  box-shadow: 0 20px 34px rgba(31, 90, 84, 0.1);
}

.video-card {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(31, 90, 84, 0.1);
  box-shadow: 0 16px 34px rgba(24, 71, 66, 0.08);
  transition: transform 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard), border-color 0.35s var(--ease-standard);
}

.video-card h3 {
  margin-bottom: 0.25rem;
}

.video-card p {
  margin: 0;
  color: rgba(47, 42, 40, 0.8);
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 90, 84, 0.25);
  box-shadow: 0 26px 48px rgba(24, 71, 66, 0.14);
}

.video-frame {
  border-radius: 12px;
  overflow: hidden;
  background: #0f2c2a;
  border: 1px solid rgba(31, 90, 84, 0.2);
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 30px rgba(10, 33, 31, 0.22);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f2c2a;
}

/* Placeholder card state (icon + play button) */
.video-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0f2c2a 0%, #1a4a45 50%, #0f2c2a 100%);
  cursor: pointer;
}

.video-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.35s var(--ease-standard);
}

.video-placeholder:hover .video-icon {
  color: rgba(255, 255, 255, 0.5);
}

.play-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(31, 90, 84, 0.7);
  backdrop-filter: blur(6px);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.35s var(--ease-standard), background 0.35s var(--ease-standard), border-color 0.35s var(--ease-standard);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.video-placeholder:hover .play-btn {
  transform: scale(1.12);
  background: rgba(31, 90, 84, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Active video state */
.video-card.video-active .video-icon,
.video-card.video-active .play-btn {
  display: none;
}

.video-card.video-active .video-placeholder {
  cursor: default;
}

.video-card .video-embed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f2c2a;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--white);
  margin-bottom: 0.8rem;
}

.about-wrap picture {
  display: block;
}

.about-wrap picture img,
.about-wrap > img {
  border-radius: 4px;
  width: 100%;
  object-fit: cover;
  max-height: 620px;
}

.pricing {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  background: var(--white);
  border: 1px solid rgba(31, 90, 84, 0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard), border-color 0.35s var(--ease-standard);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 90, 84, 0.32);
  box-shadow: 0 20px 34px rgba(31, 90, 84, 0.1);
}

.price-card h3 {
  margin-bottom: 0.6rem;
}

.price-card p {
  color: rgba(47, 42, 40, 0.75);
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.price-amount {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--petrol);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(47, 42, 40, 0.6);
}

.price-card--highlight {
  border: 2px solid var(--petrol);
  box-shadow: 0 16px 40px rgba(31, 90, 84, 0.14);
  padding-top: 2.8rem;
}

.price-card--highlight:hover {
  border-color: var(--petrol-dark);
  box-shadow: 0 24px 48px rgba(31, 90, 84, 0.18);
}

.price-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--petrol);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-price {
  background: var(--petrol);
  color: var(--white);
  border: 2px solid var(--petrol);
  width: 100%;
  text-align: center;
}

.btn-price:hover {
  background: var(--petrol-dark);
  border-color: var(--petrol-dark);
}

.btn-price-outline {
  background: transparent;
  color: var(--petrol);
  border: 2px solid var(--petrol);
  width: 100%;
  text-align: center;
}

.btn-price-outline:hover {
  background: var(--petrol);
  color: var(--white);
}

.small-note {
  margin-top: 1.5rem;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--sand-alt);
  border: 1px solid rgba(31, 90, 84, 0.15);
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  transition: transform 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard), border-color 0.35s var(--ease-standard);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 90, 84, 0.32);
  box-shadow: 0 14px 24px rgba(31, 90, 84, 0.1);
}

.contact-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--petrol);
  flex-shrink: 0;
}

.contact-card .icon svg {
  width: 24px;
  height: 24px;
}

.contact-card .label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(47, 42, 40, 0.6);
  margin-bottom: 0.2rem;
}

.contact-card a {
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1rem;
}

.contact-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--petrol);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  border: none;
}

.contact-action p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 25ch;
  line-height: 1.4;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.btn-large {
  padding: 1.1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--sand);
  color: #000000 !important;
}

.btn-large:hover {
  background: var(--white);
}

/* Zertifikate */
.cert-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.cert-card {
  background: var(--white);
  border: 1px solid rgba(31, 90, 84, 0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard), border-color 0.35s var(--ease-standard);
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 90, 84, 0.32);
  box-shadow: 0 20px 34px rgba(31, 90, 84, 0.1);
}

.cert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--petrol);
  margin-bottom: 1.2rem;
}

.cert-icon svg {
  width: 32px;
  height: 32px;
}

.cert-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.cert-card p {
  color: rgba(47, 42, 40, 0.7);
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  flex-grow: 1;
}

.cert-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--petrol);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.28s var(--ease-standard);
}

.cert-card:hover .cert-link {
  border-bottom-color: var(--petrol);
}

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

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

.site-footer {
  background: #f7f4f0;
  border-top: 1px solid rgba(31, 90, 84, 0.14);
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wrap div {
  display: flex;
  gap: 1rem;
}

.fade-in {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.985);
  filter: blur(6px);
  transition: opacity 1.45s var(--ease-soft), transform 1.65s var(--ease-soft), filter 1.45s var(--ease-soft);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform, filter;
}

.fade-in.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (max-width: 980px) {
  .cards,
  .steps,
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-col,
  .about-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--sand);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(31, 90, 84, 0.14);
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav.open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .cards,
  .steps,
  .video-grid,
  .pricing {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: auto;
    height: 44px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

.hero.video-ready .hero-video {
  opacity: 1;
}


