@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/Inter-Black.woff2") format("woff2");
}

:root {
  --brand-orange: #f9a800;
  --brand-orange-bg: #e09400;
  --brand-red: #960000;
  --brand-red2: #b00000;

  /* Einheitlicher „Textbox“-Einzug */
  --box-pad: clamp(16px, 2.2vw, 22px);
  --box-accent: 4px;

  /* Dark-on-overlay UI (keine weißen Boxen) */
  --surface: rgba(17, 24, 39, 0.55);
  --surface2: rgba(17, 24, 39, 0.38);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.78);
  --border: rgba(255, 255, 255, 0.14);

  --shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  --radius: 6px;
  --container: 1120px;
  --bg-scroll-y: 0px;
  --bg-opacity: 0.55;
  --header-height: 0px;
  --focus-ring: 0 0 0 3px rgba(249, 168, 0, 0.55),
    0 0 0 6px rgba(150, 0, 0, 0.18);

  --fw-regular: 400;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  /* Globales Overlay (über dem Hintergrundbild, unter dem Content) */
  --page-overlay: linear-gradient(120deg,
      rgba(17, 24, 39, 0.54) 0%,
      rgba(17, 24, 39, 0.38) 55%,
      rgba(17, 24, 39, 0.48) 100%);
}

/* Gemeinsame Basis für alle „Textboxen“ (siteweit) */
.prose,
.contact-card,
.profile-card,
.notice,
.contact-form,
.footer-block,
.footer-bottom,
.trust-bar,
.faq-item,
.cert-badge,
.page-head .container {
  padding: var(--box-pad);
}

/* Linke Akzentkante für konsistente Ausrichtung/Optik */
.prose,
.contact-card,
.profile-card,
.notice,
.contact-form,
.footer-block,
.footer-bottom,
.trust-bar,
.faq-item,
.cert-badge,
.page-head .container {
  border-left: var(--box-accent) solid var(--brand-orange);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--brand-orange-bg);
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background: transparent;
  line-height: 1.55;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  padding-top: var(--header-height);
  background-image:
    linear-gradient(120deg,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0.45) 45%,
      rgba(249, 168, 0, 0.12) 100%),
    url("../img/hero3.png");
  background-position:
    center,
    center calc(50% + var(--bg-scroll-y));
  background-repeat: no-repeat, no-repeat;
  background-size: auto, min(1400px, 78vw) auto;
  background-clip: border-box, content-box;
  background-origin: border-box, content-box;
  opacity: var(--bg-opacity);
  filter: saturate(0.85) contrast(0.92);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--page-overlay);
  z-index: -1;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--text);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-orange);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.nav-link:focus-visible,
.nav-cta__btn:focus-visible,
.card:focus-visible,
.contact-link:focus-visible,
.footer-link:focus-visible,
.lightbox__btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.skip-link:focus {
  left: 12px;
  z-index: 999;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(10px);
}

/* Header: dunkle Typo auf hellem Hintergrund */
.site-header .nav-link {
  color: rgba(17, 24, 39, 0.78);
}

.site-header .nav-link:hover {
  background: rgba(249, 168, 0, 0.12);
  color: var(--brand-red);
}

.site-header .nav-link.is-active {
  color: rgba(17, 24, 39, 0.92);
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: padding 180ms ease;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
}

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

.brand__logo {
  height: clamp(64px, 6.5vw, 96px);
  width: auto;
  display: block;
  transition: height 180ms ease;
}

@media (max-width: 600px) {
  .brand__logo {
    height: clamp(52px, 7vw, 68px);
  }
}

/* Sticky-Header: beim Scrollen etwas kompakter */
.site-header.is-scrolled .header-inner {
  padding: 8px 0;
}

.site-header.is-scrolled .brand__logo {
  height: clamp(52px, 5vw, 82px);
}

@media (max-width: 600px) {
  .site-header.is-scrolled .brand__logo {
    height: clamp(46px, 6vw, 60px);
  }
}

.header-nav {
  position: relative;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 6px;
  position: relative;
  background: var(--brand-orange);
  border-radius: 3px;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease;
}

.nav-toggle span:first-child {
  transform-origin: 0% 0%;
}

.nav-toggle span:nth-last-child(1) {
  transform-origin: 0% 100%;
  margin-bottom: 0;
}

.nav-toggle.is-active span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: var(--brand-red);
}

.nav-toggle.is-active span:nth-last-child(2) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.nav-toggle.is-active span:nth-last-child(1) {
  transform: rotate(-45deg) translate(0, -1px);
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
}

.site-nav[data-open="true"] {
  display: flex;
}

.nav-link {
  text-decoration: none;
  padding: 12px 12px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 14px;
  color: rgba(17, 24, 39, 0.78);
}

.nav-link:hover {
  background: var(--surface2);
  color: var(--brand-orange);
}

.nav-link.is-active {
  background: rgba(249, 168, 0, 0.18);
  color: rgba(17, 24, 39, 0.92);
}

.nav-cta {
  display: flex;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

.nav-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  text-decoration: none;
  font-weight: var(--fw-extrabold);
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--brand-red);
  color: #fff;
  border: 1px solid var(--brand-red);
}

.nav-cta__btn:hover {
  background: var(--brand-red2);
  border-color: var(--brand-red2);
}

.nav-cta__btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.nav-cta__btn--ghost:hover {
  background: var(--surface2);
  border-color: rgba(150, 0, 0, 0.22);
}

@media (min-width: 920px) {
  .header-top {
    width: auto;
    order: 1;
    justify-content: flex-start;
  }

  .header-nav {
    width: auto;
    order: 2;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    gap: 2px;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
  }

  .nav-link {
    padding: 10px 10px;
    border-radius: 4px;
  }

  .nav-link.is-active {
    background: transparent;
    color: rgba(17, 24, 39, 0.92);
    border-bottom: 3px solid var(--brand-orange);
    border-radius: 0;
  }

  /* Desktop: CTA dauerhaft sichtbar (Anrufen / E‑Mail) */
  .nav-cta {
    display: flex;
    gap: 10px;
    padding-top: 0;
    border-top: none;
    margin-top: 0;
    margin-left: 12px;
    align-items: center;
  }

  .nav-cta__btn {
    flex: 0 0 auto;
    padding: 10px 12px;
    white-space: nowrap;
  }
}

.hero {
  background: transparent;
  border-bottom: 4px solid var(--brand-orange);
}

.hero-inner {
  padding: 64px 0;
}

.hero-box {
  max-width: 660px;
  background: var(--surface);
  border-top: 6px solid var(--brand-red);
  border-left: var(--box-accent) solid var(--brand-orange);
  border-radius: var(--radius);
  padding: var(--box-pad);
  box-shadow: var(--shadow);
  animation: fadeInUp 0.6s ease-out;
  transition: transform 0.3s ease;
}

.hero-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.16);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.hero-motto {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.hero-motto__emblem {
  height: 24px;
  width: auto;
  display: block;
}

.hero-motto__text {
  display: inline-block;
}

.hero-kicker {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.hero-title {
  margin: 10px 0 10px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 919px) {
  .hero {
    background: transparent;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(249, 168, 0, 0.16);
  border: 1px solid rgba(150, 0, 0, 0.12);
  font-weight: var(--fw-extrabold);
  font-size: 13px;
}

@media (min-width: 920px) {
  .hero-inner {
    padding: 84px 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: var(--fw-extrabold);
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(150, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red2) 100%);
  border-color: var(--brand-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-red2);
  border-color: var(--brand-red2);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface2);
  border-color: rgba(150, 0, 0, 0.22);
}

.section {
  padding: 56px 0;
}

/* Gleichmäßiger vertikaler Rhythmus (v. a. Startseite) */
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Wenn wir Spacing über .stack steuern, braucht der Header keine Extra-Margin */
.stack .section-head {
  margin-bottom: 0;
}

.section-compact {
  padding: 28px 0;
}

.section-alt {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.trust-bar {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-label {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

.section-head {
  width: 100%;
  margin-bottom: 18px;
  padding: var(--box-pad);
  border: 1px solid var(--border);
  border-top: 6px solid var(--brand-red);
  border-left: var(--box-accent) solid var(--brand-orange);
  border-radius: var(--radius);
  background: var(--surface);
}

/* Textbreite im Header begrenzen – Box bleibt sauber ausgerichtet */
.section-head:not(.section-head--plain)>* {
  max-width: 70ch;
}

.section-head--plain {
  padding: 0;
  border: none;
  background: transparent;
}

.section-head h2 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg,
      var(--brand-red) 0 75%,
      var(--brand-orange) 75% 100%);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head--row>div {
  max-width: 70ch;
}

.section-note {
  padding: var(--box-pad);
  border: 1px solid var(--border);
  border-left: var(--box-accent) solid var(--brand-orange);
  border-radius: var(--radius);
  background: var(--surface2);
}

.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  height: 100%;
}

.card-icon {
  font-size: 48px;
  color: var(--brand-red2);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}

@supports (color: color-mix(in srgb, red 50%, white)) {
  .card-icon {
    color: color-mix(in srgb, var(--brand-red2) 72%, white);
  }
}

.card h3 {
  margin: 0 0 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 10px;
  color: var(--brand-orange);
  font-weight: var(--fw-extrabold);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(150, 0, 0, 0.22);
  transition: 150ms ease;
}

.card--feature {
  text-align: center;
  cursor: default;
}

.card--feature:hover {
  transform: none;
}

.card-icon--small {
  font-size: 36px;
  height: 48px;
  margin-bottom: 10px;
}

@media (min-width: 740px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.steps--timeline {
  position: relative;
  gap: 18px;
  padding-left: 8px;
}

.steps--timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(150, 0, 0, 0.18);
}

/* Ablauf (Startseite) – weiße Typo auf transparentem Hintergrund */
.section-alt--ablauf {
  color: #fff;
}

.section-alt--ablauf .section-head {
  background: rgba(17, 24, 39, 0.22);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.section-alt--ablauf .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

.section-alt--ablauf .steps--timeline::before {
  background: rgba(255, 255, 255, 0.22);
}

.section-alt--ablauf .steps--timeline .step {
  background: rgba(17, 24, 39, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 16px;
  border-radius: var(--radius);
}

.section-alt--ablauf .step h3 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.section-alt--ablauf .step p {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.steps--timeline .step {
  background: transparent;
  border: none;
  padding: 0;
  align-items: flex-start;
}

.steps--timeline .step-num {
  background: #fff;
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-extrabold);
  background: var(--brand-red);
  color: #fff;
  flex: 0 0 auto;
}

.step h3 {
  margin: 0 0 4px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

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

.gallery__item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.gallery__caption {
  padding: 8px 10px 10px;
  border-top: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.55);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 360px) {
  .gallery--preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery--preview {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery__item img {
    aspect-ratio: 16/11;
  }
}

.page-head {
  padding: 44px 0 18px;
  border-bottom: none;
  background: transparent;
}

.page-head--hero {
  background: transparent;
  border-bottom: none;
  padding: 56px 0 28px;
}

.page-head .container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 6px solid var(--brand-red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Hero Variations */
.page-head--kontakt .container {
  border-top-color: var(--brand-orange);
  border-left-color: var(--brand-red);
}

@media (min-width: 920px) {
  .page-head--hero {
    padding: 72px 0 38px;
  }
}

.page-head h1 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.page-head h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg,
      var(--brand-red) 0 75%,
      var(--brand-orange) 75% 100%);
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 75ch;
}

.prose {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

/*
  Wichtig: .prose wird als Klasse direkt auf .container verwendet (z. B. <div class="container prose">).
  Wenn .prose selbst ein max-width setzt, wird der gesamte Container schmal und zentriert – wirkt dann
  „nicht ausgerichtet“ im Vergleich zu anderen Boxen.
  Daher: Box bleibt volle Containerbreite, Inhalt innen auf Lesebreite begrenzen.
*/
.prose>* {
  max-width: 82ch;
}

.prose h2[id] {
  scroll-margin-top: 110px;
}

.prose h2 {
  margin-top: 28px;
  letter-spacing: -0.02em;
}

.prose ul {
  padding-left: 18px;
}

.prose li {
  margin: 6px 0;
  color: var(--text);
}

.prose p {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-title {
  font-weight: 900;
  margin-bottom: 8px;
}

.contact-link {
  font-weight: var(--fw-extrabold);
  text-decoration: none;
  color: var(--brand-orange);
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-text {
  color: var(--text);
}

.contact-hint {
  margin-top: 8px;
  color: var(--muted);
}

.profile-card {
  border: 1px solid var(--border);
  border-top: 6px solid var(--brand-red);
  border-radius: var(--radius);
  background: var(--surface);
}

.profile-meta {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brand-red);
}

.profile-name {
  margin-top: 6px;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  font-size: 22px;
}

.profile-sub {
  margin-top: 6px;
  color: var(--muted);
}

.profile-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notice {
  border: 1px dashed rgba(150, 0, 0, 0.28);
  border-radius: var(--radius);
  background: rgba(249, 168, 0, 0.1);
  color: var(--muted);
}

.cta {
  padding: 44px 0;
  background: transparent;
  border-top: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--box-pad);
  border: 1px solid var(--border);
  border-top: 6px solid var(--brand-red);
  border-left: var(--box-accent) solid var(--brand-orange);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  margin: 0 0 6px;
}

.cta-inner p {
  margin: 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (min-width: 880px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
  }
}

.site-footer {
  background: transparent;
  color: var(--text);
  padding: 36px 0 22px;
  border-top: none;
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-title {
  font-weight: var(--fw-extrabold);
  margin-bottom: 6px;
}

.footer-text {
  color: var(--muted);
}

.footer-link {
  color: var(--brand-orange);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.footer-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

@media (min-width: 840px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.lightbox[data-open="true"] {
  display: flex;
}

.lightbox__inner {
  max-width: min(1100px, 100%);
  max-height: min(80vh, 100%);
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  background: transparent;
}

.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.86);
}

.lightbox__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: var(--fw-extrabold);
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.cert-badge i {
  font-size: 36px;
  color: var(--brand-red2);
}

@supports (color: color-mix(in srgb, red 50%, white)) {
  .cert-badge i {
    color: color-mix(in srgb, var(--brand-red2) 72%, white);
  }
}

.cert-badge strong {
  font-size: 14px;
  line-height: 1.4;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-orange);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 12px 0 0 0;
  color: var(--muted);
  padding-left: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  max-width: 680px;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(249, 168, 0, 0.15);
}

.form-input::placeholder {
  color: var(--muted);
}

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

.form-feedback {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  display: none;
}

.form-feedback:not(:empty) {
  display: block;
}

.form-feedback--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.form-feedback--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.form-hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
