:root {
  --bg: #030303;
  --bg-soft: #101418;
  --text: #f5f5f5;
  --muted: #c8c8c8;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #f8f8f8;
  --accent-dark: #101010;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("../img/Arriereplan.png") center / cover fixed no-repeat;
}

main {
  animation: page-fade-in 0.6s ease both;
}

.internal-page main {
  padding-top: 64px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 36px;
  width: auto;
}

.site-nav {
  position: relative;
  display: flex;
  gap: 22px;
  padding-bottom: 8px;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.site-nav a.active,
.site-nav a:hover {
  opacity: 1;
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
  transform: translateX(0);
  width: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 90px 24px 24px;
  background:
    linear-gradient(130deg, rgba(2, 6, 8, 0.85) 0%, rgba(4, 5, 5, 0.75) 45%, rgba(2, 2, 2, 0.95) 100%),
    radial-gradient(1000px 600px at 65% 20%, rgba(14, 60, 45, 0.25), transparent 55%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.05), transparent 20%),
    url("../img/Arriereplan.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 20px
  );
  opacity: 0.35;
}

.ribbon {
  position: absolute;
  width: 65vw;
  height: 65vw;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 52% 48% 55% 45% / 45% 55% 45% 55%;
  filter: blur(0.5px);
  opacity: 0.75;
}

.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: inherit;
}

.ribbon::after {
  inset: 34px;
}

.ribbon-left {
  left: -25vw;
  top: 6vh;
  transform: rotate(-16deg);
  animation: drift 14s ease-in-out infinite;
}

.ribbon-right {
  right: -27vw;
  top: -10vh;
  transform: rotate(14deg);
  animation: drift 18s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  animation: reveal 1.2s ease both;
}

.hero-logo {
  display: block;
  width: min(380px, 78vw);
  height: auto;
  margin: 0 auto;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 0.9;
  font-family: "Caveat", cursive;
}

.tagline {
  margin: -50px 0 0;
  line-height: 1.1;
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  font-family: "Caveat", cursive;
}

.hero-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.hero-cta:hover {
  background: #f5f5f5;
  color: #111;
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.scroll-indicator span {
  position: absolute;
  inset: 0;
}

.scroll-indicator span::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 11px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: bounce 1.4s infinite;
}

.section {
  padding: 80px 22px;
}

.section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 34px;
}

.section-services {
  position: relative;
  background: rgba(3, 3, 3, 0.72);
  overflow: hidden;
}

.section-services::before,
.section-services::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.55;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.section-services::before {
  width: 780px;
  height: 780px;
  left: -540px;
  top: -120px;
  transform: rotate(-18deg);
}

.section-services::after {
  width: 760px;
  height: 760px;
  right: -530px;
  top: 70px;
  transform: rotate(16deg);
}

.services-shell {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.services-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.services-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;
  transform: translateY(64px);
}

.services-logo img {
  display: block;
  width: min(260px, 45vw);
  height: auto;
}

.logo-script {
  font-family: "Caveat", cursive;
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-sub {
  margin-top: 2px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.services-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: capitalize;
  border-bottom: 6px solid #fff;
  padding-bottom: 6px;
}

.price-card {
  background: #f5f5f5;
  color: #1c1c1c;
  border-radius: 22px;
  padding: 14px 18px 18px;
  margin: 18px auto;
  max-width: 700px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.38);
}

.price-title {
  margin: 2px 0 14px;
  color: #fff;
  background: #060606;
  border-radius: 12px;
  padding: 10px 16px;
  text-transform: uppercase;
  font-size: 1.85rem;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  font-size: 1.04rem;
}

.price-card strong,
.price-pill {
  background: #0c0c0f;
  color: #fff;
  border-radius: 10px;
  padding: 5px 11px;
  min-width: 72px;
  text-align: right;
  line-height: 1;
}

.price-pill {
  display: inline-block;
  margin: 10px 4px 0 auto;
  font-size: 2rem;
  font-weight: 800;
}

.services-notes {
  text-align: center;
  margin-top: 12px;
}

.services-notes p {
  margin: 10px 0;
  color: #efefef;
}

.contact-form-section {
  max-width: 1180px;
  margin: 0 auto;
  text-align: left;
  background: transparent;
}

.contact-form-section h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
}

.contact-intro {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-card {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 20px;
}

.form-card label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 700;
  font-size: 1.06rem;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid #555;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  margin-bottom: 16px;
}

.form-card textarea {
  resize: vertical;
  margin-bottom: 0;
}

.send-btn {
  justify-self: start;
  border: 1px solid #0a7be5;
  background: #0a7be5;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 20px;
  cursor: pointer;
}

.send-btn:hover {
  filter: brightness(1.08);
}

.contact-infos {
  margin-top: 20px;
}

.contact-infos p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  font-size: 1.15rem;
}

.mail-popup {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}

.mail-popup.is-open {
  display: grid;
  place-items: center;
}

.mail-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(2px);
}

.mail-popup-card {
  position: relative;
  z-index: 1;
  width: min(460px, 92vw);
  background: #ffffff;
  color: #101010;
  border-radius: 18px;
  padding: 24px 20px 20px;
  text-align: center;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
  animation: popup-in 0.35s ease;
}

.mail-popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

.mail-popup-check {
  width: 90px;
  height: 90px;
  margin: 2px auto 8px;
}

.mail-popup-check svg {
  width: 100%;
  height: 100%;
}

.check-ring {
  fill: none;
  stroke: #16b364;
  stroke-width: 4;
  stroke-dasharray: 164;
  stroke-dashoffset: 164;
  animation: check-ring-draw 0.55s ease forwards;
}

.check-path {
  fill: none;
  stroke: #16b364;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: check-path-draw 0.35s ease 0.35s forwards;
}

.mail-popup-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.mail-popup-card p {
  margin: 8px 0 0;
  font-size: 1rem;
  color: #303030;
}

.info-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 1.2rem;
  line-height: 1;
}

.section-contact {
  text-align: center;
  background: rgba(4, 4, 4, 0.72);
}

.motto {
  display: inline-block;
  margin: 0;
  font-style: italic;
  color: var(--muted);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0;
}

.section-contact .socials {
  display: inline-flex;
  margin: 0 0 0 12px;
  vertical-align: middle;
}

.section-contact .hero-cta {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
}

.socials img {
  width: 20px;
  height: 20px;
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #010101;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a,
.site-footer p {
  color: var(--text);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(4px) rotate(45deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(-16deg);
  }

  50% {
    transform: translateY(14px) rotate(-11deg);
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes check-ring-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes check-path-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
  }

  .mail-popup-card,
  .check-ring,
  .check-path {
    animation: none;
  }
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll, scroll;
  }

  .section {
    padding: 64px 18px;
  }

  .site-nav {
    position: fixed;
    right: 12px;
    top: 68px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--line);
    padding: 12px;
  }

  .nav-indicator {
    display: none;
  }

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

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

  .ribbon {
    width: 110vw;
    height: 110vw;
  }

  .services-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .services-logo {
    min-width: 0;
    transform: none;
  }

  .price-card {
    max-width: 100%;
  }

  .price-title {
    font-size: 1.45rem;
  }

  .price-pill {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 84vh;
    padding-top: 110px;
  }

  .hero-logo {
    width: min(320px, 82vw);
  }

  .tagline {
    margin-top: -24px;
  }

  .contact-form-section {
    max-width: 760px;
  }

  .contact-intro {
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 58px;
    padding: 0 12px;
  }

  .internal-page main {
    padding-top: 58px;
  }

  .brand img {
    height: 28px;
  }

  .section {
    padding: 52px 12px;
  }

  .section-services {
    padding-left: 12px;
    padding-right: 12px;
  }

  .services-heading h2 {
    font-size: 2rem;
  }

  .price-card {
    border-radius: 16px;
    padding: 12px;
  }

  .price-title {
    padding: 9px 12px;
    font-size: 1.2rem;
  }

  .price-card li {
    font-size: 0.95rem;
  }

  .price-card strong,
  .price-pill {
    min-width: 56px;
    padding: 4px 8px;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 78vh;
    padding-top: 92px;
  }

  .hero-logo {
    width: min(280px, 86vw);
  }

  .tagline {
    margin-top: -12px;
    font-size: 1.1rem;
  }

  .hero-cta {
    margin-top: 14px;
    padding: 10px 14px;
  }

  .scroll-indicator {
    bottom: 14px;
  }

  .form-card {
    padding: 14px;
  }

  .form-card input,
  .form-card textarea {
    padding: 9px 10px;
  }

  .send-btn {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }

  .contact-infos p {
    font-size: 1.2rem;
  }

  .mail-popup-card {
    border-radius: 14px;
    padding: 16px 14px;
  }

  .mail-popup-check {
    width: 74px;
    height: 74px;
  }
}
