/* ============================================================
   MHD DESIGN — Innenausbau & Wandgestaltung
   Premium dark theme · gold #D4AF37 · silver #E0E0E0 · #0A0A0A
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #0e0e0e;
  --bg-3: #141414;
  --card: #111111;
  --card-hover: #161616;
  --gold: #d4af37;
  --gold-light: #e9cc6b;
  --gold-deep: #a8862a;
  --silver: #e0e0e0;
  --text: #e8e8e8;
  --muted: #a3a3a3;
  --muted-2: #7a7a7a;
  --line: rgba(212, 175, 55, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --glow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 0 32px rgba(212, 175, 55, 0.18);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, Arial, sans-serif;
  --nav-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(1000px 500px at 85% -10%, rgba(212, 175, 55, 0.06), transparent 60%),
    radial-gradient(800px 420px at -10% 30%, rgba(224, 224, 224, 0.045), transparent 60%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--gold-light);
}

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

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Typography helpers ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.gold-text {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light) 45%, var(--silver) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
}

.section-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 55%, var(--gold-light));
  color: #0a0a0a;
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.28);
}

.btn-gold:hover {
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.42);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn-lg {
  padding: 1.05rem 2.1rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}

.btn-whatsapp {
  background: #1faa53;
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 170, 83, 0.3);
}

.btn-whatsapp:hover {
  background: #25d366;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4);
}

.footer__col ul .btn-whatsapp,
.footer__col ul .btn-whatsapp:hover {
  color: #fff;
}

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

.btn-ghost:hover {
  color: var(--gold-light);
}

/* ---------- Navbar ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav--scrolled {
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav__logo-img {
  height: 37px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.28));
}

.nav__logo em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: var(--muted-2);
  display: block;
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover,
.nav__links a.active-link {
  color: var(--silver);
}

.nav__links a:hover::after,
.nav__links a.active-link::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch button {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}

.lang-switch button.is-active {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light));
  color: #0a0a0a;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
}

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

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 2rem clamp(1.25rem, 5vw, 2rem);
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a {
  padding: 0.95rem 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu a:hover {
  color: var(--gold-light);
}

.mobile-menu .btn {
  margin-top: 1.4rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg .hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
  animation: hero-zoom 22s var(--ease) forwards;
}

.hero__slide.is-leaving {
  opacity: 0;
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(5, 5, 5, 0.94) 0%,
    rgba(5, 5, 5, 0.72) 42%,
    rgba(10, 10, 10, 0.35) 100%
  );
}

.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}

.hero__content {
  max-width: 780px;
  padding-block: clamp(3.5rem, 10vh, 7rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.55);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  margin-bottom: 1.6rem;
}

.hero__badge svg {
  width: 15px;
  height: 15px;
}

.hero__title {
  font-size: clamp(2.2rem, 5.6vw, 4.1rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
}

.hero__title .gold-text {
  display: block;
}

.hero__lead {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.3rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero__trust > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.45);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  line-height: 1.3;
  margin-right: 1.1rem;
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.hero__scroll {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted-2);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--gold), transparent);
}

/* ---------- Services ---------- */

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

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: var(--glow);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.08);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.55), transparent 45%);
  transition: opacity 0.4s var(--ease);
}

.card:hover .card__media::after {
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.7), rgba(212, 175, 55, 0.06));
}

.card__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.card__body {
  padding: 1.6rem 1.6rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.card__body h3 {
  font-size: 1.28rem;
  font-weight: 700;
}

.card__body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold);
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.card:hover .card__link svg {
  transform: translateX(5px);
}

.card--cta {
  position: relative;
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.12), rgba(10, 10, 10, 0.4) 60%);
  border: 1px solid var(--line);
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 100%;
}

.card--cta .card__tag {
  position: static;
  align-self: center;
  margin-bottom: 0.5rem;
}

.card--cta h3 {
  font-size: 1.5rem;
  margin: 0;
}

.card--cta .btn {
  align-self: center;
  margin-top: 1.1rem;
}

/* ---------- Projects ---------- */

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

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 3 / 4;
  display: block;
  background: var(--card);
}

.project-card__img {
  position: absolute;
  inset: 0;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 6, 6, 0.92) 0%, rgba(6, 6, 6, 0.25) 45%, transparent 75%);
  transition: background 0.4s var(--ease);
}

.project-card:hover .project-card__img::after {
  background: linear-gradient(0deg, rgba(6, 6, 6, 0.95) 0%, rgba(212, 175, 55, 0.12) 60%, transparent 78%);
}

.project-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1.5rem 1.6rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-card__cat {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.project-card__body p {
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-band {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  gap: 1.4rem;
  align-items: center;
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.1), transparent 55%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  flex-wrap: wrap;
}

.quote-band p {
  flex: 1;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
  min-width: 260px;
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease);
}

.contact__row:hover {
  border-color: var(--line);
}

.contact__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact__icon svg {
  width: 20px;
  height: 20px;
}

.contact__row small {
  display: block;
  color: var(--muted-2);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.contact__row strong {
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  word-break: break-word;
}

.contact__map {
  position: relative;
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 260px;
}

.contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  filter: grayscale(1) invert(0.92) contrast(0.9);
}

.contact__map.is-loaded iframe {
  opacity: 1;
  pointer-events: auto;
}

.map-consent {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    linear-gradient(150deg, rgba(212, 175, 55, 0.1), rgba(10, 10, 10, 0.75));
  color: var(--text);
  border-radius: inherit;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.map-consent:hover {
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.18), rgba(10, 10, 10, 0.85));
}

.map-consent svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.map-consent span {
  font-weight: 600;
}

.map-consent small {
  color: var(--muted);
  font-size: 0.8rem;
  max-width: 26ch;
  text-align: center;
  line-height: 1.4;
}

.contact__map.is-loaded .map-consent {
  display: none;
}

/* Form */

.form-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

.form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.form-card > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}

.form-card .est__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver);
  margin-bottom: 0.45rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  resize: vertical;
}

.form-field textarea {
  min-height: 130px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.dsgvo-box {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
}

.dsgvo-box input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.dsgvo-box label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.dsgvo-box a {
  color: var(--gold-light);
  text-decoration: underline;
}

.form-status {
  display: none;
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--gold-light);
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #e2705f;
  border: 1px solid rgba(226, 112, 95, 0.35);
  background: rgba(226, 112, 95, 0.08);
  border-radius: 12px;
  padding: 0.7rem 1rem;
}

/* ---------- Footer ---------- */

.footer {
  background: #070707;
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer h4 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.2rem;
}

.footer__about p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 1.1rem 0 1.3rem;
  max-width: 34ch;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__col a {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer__col a:hover {
  color: var(--gold-light);
}

.footer__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__values span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: rgba(212, 175, 55, 0.05);
}

.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  color: var(--muted-2);
  font-size: 0.85rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

.footer__legal a {
  color: var(--muted-2);
}

.footer__legal a:hover {
  color: var(--gold);
}

.footer__legal a::before {
  content: "·";
  margin-right: 0;
}

.footer__by {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.32rem 0.95rem;
  background: rgba(212, 175, 55, 0.04);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.footer__by svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.footer__by b {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.footer__by:hover {
  border-color: var(--line);
  box-shadow: var(--glow);
  transform: translateY(-1px);
}

/* ---------- Cookie banner ---------- */

.cookie {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 160;
  max-width: 560px;
  margin-inline: auto;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.6rem;
  backdrop-filter: blur(12px);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}

.cookie.is-visible {
  transform: translateY(0);
}

.cookie h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.cookie h3 svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.cookie p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.cookie p a {
  text-decoration: underline;
  color: var(--gold-light);
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Chat ---------- */

.chat-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
  color: #0a0a0a;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
  transition: transform 0.3s var(--ease);
}

.chat-fab:hover {
  transform: scale(1.08);
}

.chat-fab svg {
  width: 26px;
  height: 26px;
}

.chat-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 6rem;
  z-index: 149;
  width: min(360px, calc(100vw - 2.5rem));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(520px, calc(100svh - 8rem));
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.chat-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.14), transparent);
  border-bottom: 1px solid var(--line-soft);
}

.chat__avatar {
  width: 54px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.chat__head strong {
  font-size: 0.98rem;
  display: block;
}

.chat__head .chat__status {
  font-size: 0.78rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fd06b;
  flex-shrink: 0;
}

.chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--bg-3);
}

.chat__msg {
  max-width: 86%;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: msg-in 0.3s var(--ease);
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.chat__msg--bot {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat__msg--user {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold));
  color: #0a0a0a;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line-soft);
}

.chat__quick button {
  font-size: 0.78rem;
  color: var(--gold-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(212, 175, 55, 0.06);
  transition: all 0.25s var(--ease);
}

.chat__quick button:hover {
  background: rgba(212, 175, 55, 0.16);
}

.chat__input {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line-soft);
  background: var(--card);
}

.chat__input input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
}

.chat__input input:focus {
  outline: none;
  border-color: var(--gold);
}

.chat__send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
  color: #0a0a0a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chat__send svg {
  width: 18px;
  height: 18px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- FAQ ---------- */

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq__list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq__list details[open] {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
}

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

.faq__list summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.faq__list details[open] summary::after {
  transform: rotate(45deg);
}

.faq__list details p {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- 404 ---------- */

.error-404 {
  min-height: 70svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: var(--nav-h);
  padding-bottom: 4rem;
}

.error-404 .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.error-404__code {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgba(212, 175, 55, 0.25));
}

.error-404 h1 {
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  margin-bottom: 0.2rem;
}

.error-404 p {
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 1.6rem;
}

.error-404 .btn-whatsapp {
  margin-left: 0.7rem;
}

/* ---------- Legal pages ---------- */

.legal-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.07), transparent 80%);
}

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal-content {
  padding-bottom: clamp(4rem, 9vw, 6rem);
}

.legal-content article {
  max-width: 860px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 2.6rem 0 1rem;
  color: var(--gold-light);
}

.legal-content h3 {
  font-size: 1.08rem;
  margin: 1.8rem 0 0.7rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 0.8rem;
  font-size: 0.98rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 0.8rem;
}

.legal-content a {
  text-decoration: underline;
  color: var(--gold-light);
}

.legal-placeholder {
  background: rgba(212, 175, 55, 0.07);
  border: 1px dashed var(--gold);
  color: var(--gold-light);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-style: normal;
}

.last-updated {
  color: var(--muted-2);
  font-size: 0.85rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.2rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .services__grid,
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 820px) {
  .nav__links,
  .nav__actions .btn {
    display: none;
  }

  .nav__burger {
    display: flex;
  }
}

@media (max-width: 640px) {
  .nav__logo-img {
    height: 30px;
  }

  .services__grid,
  .projects__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__scroll {
    display: none;
  }

  .form-card .est__row {
    grid-template-columns: 1fr;
  }

  .cookie {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .cookie__actions .btn {
    flex: 1;
  }
}
