:root {
  --bg: #07080d;
  --bg-soft: #11131c;
  --text: #f2f3f5;
  --muted: #b8bdc9;
  --gold: #d4af37;
  --gold-strong: #f3cd57;
  --line: #2a2f3e;
  --card: rgba(16, 18, 26, 0.85);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  --success: #8bdd9d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  background: radial-gradient(circle at 20% 10%, #1a1b24 0%, var(--bg) 40%), var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

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

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 14%, rgba(212, 175, 55, 0.2), transparent 35%),
    radial-gradient(circle at 12% 80%, rgba(212, 175, 55, 0.12), transparent 28%);
  z-index: -1;
}

/* ── Global Variants ── */

body.theme-variant-2 {
  --bg: #060c14;
  --bg-soft: #0f1823;
  --text: #e8eef5;
  --muted: #adc0d2;
  --gold: #6f9fbe;
  --gold-strong: #9cd0f3;
  --line: #284156;
  --card: rgba(11, 20, 30, 0.86);
  --success: #95e1cf;
}

body.theme-variant-2 .bg-glow {
  background:
    radial-gradient(circle at 80% 12%, rgba(156, 208, 243, 0.2), transparent 34%),
    radial-gradient(circle at 14% 84%, rgba(111, 159, 190, 0.16), transparent 30%);
}

body.theme-variant-2 .site-header,
body.theme-variant-2 nav,
body.theme-variant-2 form,
body.theme-variant-2 .card,
body.theme-variant-2 .stats article,
body.theme-variant-2 .step,
body.theme-variant-2 .meisterkarte {
  border-color: rgba(111, 159, 190, 0.35);
}

body.theme-variant-2 .btn {
  background: linear-gradient(180deg, #9cd0f3, #6f9fbe);
  color: #08131f;
}

body.theme-variant-2 .btn-ghost {
  color: #9cd0f3;
  border-color: rgba(156, 208, 243, 0.55);
}

body.theme-variant-3 {
  --bg: #120d08;
  --bg-soft: #26180f;
  --text: #f6efe6;
  --muted: #d6c4b1;
  --gold: #c57b2a;
  --gold-strong: #efb45c;
  --line: #5a3b21;
  --card: rgba(29, 19, 11, 0.87);
  --success: #9fd890;
}

body.theme-variant-3 .bg-glow {
  background:
    radial-gradient(circle at 82% 13%, rgba(239, 180, 92, 0.23), transparent 34%),
    radial-gradient(circle at 10% 82%, rgba(197, 123, 42, 0.18), transparent 29%);
}

body.theme-variant-3 .site-header,
body.theme-variant-3 nav,
body.theme-variant-3 form,
body.theme-variant-3 .card,
body.theme-variant-3 .stats article,
body.theme-variant-3 .step,
body.theme-variant-3 .meisterkarte {
  border-color: rgba(197, 123, 42, 0.35);
}

body.theme-variant-3 .btn {
  background: linear-gradient(180deg, #efb45c, #c57b2a);
  color: #1c1208;
}

body.theme-variant-3 .btn-ghost {
  color: #efb45c;
  border-color: rgba(239, 180, 92, 0.55);
}

/* ── Temporary Theme Switcher ── */

.theme-switcher {
  position: fixed;
  top: 88px;
  right: 1rem;
  z-index: 140;
  display: grid;
  gap: 0.3rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.theme-switcher label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.theme-switcher select {
  min-width: 140px;
  margin: 0;
  padding: 0.42rem 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ── Header / Nav ── */

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(7, 8, 13, 0.78);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  z-index: 1;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.55);
}

.brand-title {
  display: block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--gold-strong);
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-strong);
  transition: width 0.25s ease;
}

nav a:hover,
nav a.active {
  color: var(--gold-strong);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* ── Hamburger ── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
  z-index: 101;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 2rem;
}

.eyebrow {
  color: var(--gold-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

h1,
h2,
h3 {
  font-family: 'Cinzel', serif;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  margin-bottom: 1rem;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.hero p {
  color: var(--muted);
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(7, 8, 13, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1rem;
  transition: box-shadow 0.3s ease;
}

.hero-card:hover {
  box-shadow: 0 20px 55px rgba(212, 175, 55, 0.15);
}

.hero-card img {
  width: 100%;
  border-radius: 14px;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-card-badge {
  position: absolute;
  bottom: -14px;
  right: 18px;
  background: #0b0d14;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: var(--gold-strong);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  margin-top: 0.75rem;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #131313;
  border: none;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.3rem;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  min-height: 46px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-strong);
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.08);
  box-shadow: none;
}

/* ── Sections ── */

.section {
  padding: 3rem 0;
}

/* ── Stats ── */

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

.stats article {
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.09), rgba(13, 15, 24, 0.95));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem 1.1rem;
  transition: border-color 0.25s, transform 0.25s;
}

.stats article:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.stat-icon {
  width: 36px;
  height: 36px;
  color: var(--gold-strong);
  margin-bottom: 0.7rem;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

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

/* ── Service Cards ── */

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-strong);
  margin-bottom: 0.85rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

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

/* ── Process Timeline ── */

.process .timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  position: relative;
  margin-top: 1.6rem;
  counter-reset: timeline-step;
  isolation: isolate;
}

.process .timeline::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(243, 205, 87, 0.65), rgba(212, 175, 55, 0.08));
  pointer-events: none;
  border-radius: 999px;
}

.process .timeline::after {
  content: '';
  position: absolute;
  inset: -10% 8% auto;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.16), transparent 70%);
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}

.step {
  position: relative;
  background: linear-gradient(165deg, rgba(20, 23, 35, 0.98), rgba(11, 13, 20, 0.94));
  border: 1px solid rgba(88, 96, 122, 0.5);
  border-radius: 18px;
  padding: 1.2rem 1.05rem 1.05rem;
  margin: 0;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--gold-strong);
  border: 3px solid #0b0d14;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(243, 205, 87, 0.2);
}

.step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243, 205, 87, 0.11), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.step h3 {
  position: relative;
  margin-bottom: 0.5rem;
}

.step:hover {
  border-color: rgba(243, 205, 87, 0.62);
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.step:hover::after {
  opacity: 1;
}

.step span {
  display: inline-block;
  color: var(--gold-strong);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin-top: 0.95rem;
  margin-bottom: 0.55rem;
  background: rgba(11, 13, 20, 0.7);
}

.step p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.97rem;
}

.step:nth-child(2n) {
  transform: translateY(0.45rem);
}

.step:nth-child(2n):hover {
  transform: translateY(-4px);
}

/* Variant 2: Clean Rail */

.theme-variant-2 .process .timeline {
  gap: 1rem;
}

.theme-variant-2 .process .timeline::before {
  display: none;
}

.theme-variant-2 .process .timeline::after {
  inset: 0 auto 0 18px;
  width: 2px;
  height: auto;
  background: linear-gradient(180deg, rgba(243, 205, 87, 0.15), rgba(243, 205, 87, 0.7), rgba(243, 205, 87, 0.15));
  filter: none;
}

.theme-variant-2 .process .step {
  border-radius: 14px;
  padding: 1.05rem 1rem 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(16, 18, 28, 0.92), rgba(11, 13, 20, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: none;
}

.theme-variant-2 .process .step::before {
  display: none;
}

.theme-variant-2 .process .step::after {
  content: '';
  position: absolute;
  left: -24px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow: 0 0 0 4px rgba(243, 205, 87, 0.18);
  opacity: 1;
  inset: auto;
}

.theme-variant-2 .process .step span {
  margin-top: 0;
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.55);
}

.theme-variant-2 .process .step:nth-child(2n),
.theme-variant-2 .process .step:nth-child(2n):hover {
  transform: none;
}

.theme-variant-2 .process .step:hover {
  transform: translateX(4px);
  border-color: rgba(243, 205, 87, 0.62);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

/* Variant 3: Number Focus */

.theme-variant-3 .process .timeline {
  gap: 1rem;
}

.theme-variant-3 .process .timeline::before {
  top: 34px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 205, 87, 0.75), transparent);
}

.theme-variant-3 .process .timeline::after {
  display: none;
}

.theme-variant-3 .process .step {
  padding: 1.8rem 1.05rem 1.05rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(23, 25, 36, 0.97), rgba(11, 13, 20, 0.93));
  border: 1px solid rgba(90, 96, 118, 0.55);
}

.theme-variant-3 .process .step::before {
  display: none;
}

.theme-variant-3 .process .step::after {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #161616;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border: 3px solid #0b0d14;
  opacity: 1;
  inset: auto;
}

.theme-variant-3 .process .step span {
  display: none;
}

.theme-variant-3 .process .step h3 {
  margin-top: 0.2rem;
  text-align: center;
}

.theme-variant-3 .process .step p {
  text-align: center;
}

.theme-variant-3 .process .step:nth-child(2n),
.theme-variant-3 .process .step:nth-child(2n):hover {
  transform: none;
}

.theme-variant-3 .process .step:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 205, 87, 0.6);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
}

.theme-variant-3 .process .step:nth-child(1)::after {
  content: '01';
}

.theme-variant-3 .process .step:nth-child(2)::after {
  content: '02';
}

.theme-variant-3 .process .step:nth-child(3)::after {
  content: '03';
}

.theme-variant-3 .process .step:nth-child(4)::after {
  content: '04';
}

/* ── Quality ── */

.quality {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.quality ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.quality ul li {
  margin-bottom: 0.4rem;
}

.meisterkarte {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem;
  transition: border-color 0.25s;
}

.meisterkarte:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.meisterkarte img {
  width: 100%;
  border-radius: 12px;
}

.meisterkarte figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.55rem;
}

/* ── Contact ── */

.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.6rem;
}

form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
}

label {
  display: block;
  margin-top: 0.7rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #3a4052;
  border-radius: 10px;
  background: #0f121b;
  color: var(--text);
  padding: 0.72rem;
  font: inherit;
  transition: border-color 0.2s, outline-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(212, 175, 55, 0.45);
  border-color: var(--gold);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

#formStatus {
  min-height: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

#formStatus.success {
  color: var(--success);
}

#formStatus.error {
  color: #ff9c9c;
}

/* ── Footer ── */

footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
  color: var(--muted);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-legal {
  font-size: 0.82rem;
  color: rgba(184, 189, 201, 0.6);
  max-width: 60ch;
  margin: 0 auto;
}

/* ── Scroll-to-Top ── */

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(11, 13, 20, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50%;
  color: var(--gold-strong);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  z-index: 50;
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: rgba(212, 175, 55, 0.15);
}

/* ── Reveal animation ── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero,
  .quality,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .process .timeline::before {
    display: none;
  }

  .process .timeline::after {
    inset: auto 15% -6%;
    height: 90px;
  }

  .step {
    margin: 0;
  }

  .step::before {
    display: none;
  }

  .step:nth-child(2n) {
    transform: none;
  }

  .theme-variant-2 .process .timeline::after {
    left: 14px;
  }

  .theme-variant-2 .process .step::after {
    left: -20px;
    top: 20px;
  }

  .theme-variant-3 .process .step::after {
    top: -14px;
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }
}

@media (max-width: 680px) {
  body.menu-open {
    overflow: hidden;
  }

  .container {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .section {
    padding: 2.35rem 0;
  }

  .theme-switcher {
    top: auto;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    padding: 0.55rem 0.6rem;
    width: min(210px, calc(100% - 1.5rem));
  }

  .theme-switcher select {
    min-width: 0;
    width: 100%;
  }

  h1 {
    max-width: none;
    margin-bottom: 0.85rem;
  }

  h2 {
    line-height: 1.25;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-sub {
    font-size: 0.8rem;
  }

  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
  }

  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 8, 13, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    gap: 0.2rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 0.65rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  nav a:last-child {
    border-bottom: none;
  }

  nav a::after {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .hero {
    padding: 1.5rem 0 1rem;
    gap: 1.25rem;
  }

  .hero-card {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-text p {
    margin-top: 0.65rem;
  }

  .hero-card-badge {
    right: 12px;
    bottom: -10px;
    font-size: 0.7rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    margin-top: 0.45rem;
  }

  .step {
    padding: 1rem;
  }

  .quality ul {
    padding-left: 1rem;
  }

  .contact {
    gap: 1.2rem;
  }

  form {
    padding: 1rem;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  .scroll-top {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .process .timeline {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .theme-variant-2 .process .timeline::after {
    display: none;
  }

  .theme-variant-2 .process .step::after {
    left: auto;
    right: 14px;
    top: 16px;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 3px rgba(243, 205, 87, 0.16);
  }

  .grid-3,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(1120px, calc(100% - 1rem));
  }

  .brand-title {
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .card,
  .stats article,
  .step {
    padding: 0.95rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .footer-legal {
    font-size: 0.78rem;
  }
}

@media (max-width: 400px) {
  .brand-sub {
    display: none;
  }

  .hero p,
  .stats p,
  .card p,
  .step p,
  .footer-legal {
    font-size: 0.95rem;
  }
}
