/* Glanzvoll — Mobile Clean */

html {
  background: var(--navy-deep);
  scroll-behavior: smooth;
}

body.m-page {
  background: var(--navy-deep);
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color: rgba(255, 255, 255, 0.88);
}

body.m-page::before,
body.m-page::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--navy-deep);
  pointer-events: none;
}

body.m-page::before { top: 0; height: env(safe-area-inset-top, 0px); }
body.m-page::after { bottom: 0; height: env(safe-area-inset-bottom, 0px); }

#site {
  position: relative;
}

#site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--stars-pattern);
  background-size: var(--stars-size) var(--stars-size);
  background-repeat: repeat;
  opacity: 0.58;
  animation: starsDrift 90s ease-in-out infinite;
}

.m-hero,
.m-section,
.m-footer {
  position: relative;
  z-index: 1;
}

.m-hero-bg::after {
  content: "";
  position: absolute;
  inset: -15%;
  background-image: var(--stars-pattern);
  background-size: var(--stars-size) var(--stars-size);
  background-repeat: repeat;
  opacity: 0.35;
  pointer-events: none;
  animation: starsDrift 100s ease-in-out infinite reverse;
}

#kontakt > * {
  position: relative;
  z-index: 1;
}

/* ─── Header ─── */
.m-header {
  position: sticky;
  top: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(0.55rem + env(safe-area-inset-top, 0px)) 1.35rem 0.55rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease,
    -webkit-backdrop-filter 0.4s ease;
}

.m-header.is-scrolled {
  background: rgba(10, 22, 40, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.m-brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

.m-brand-logo {
  display: block;
  width: auto;
  height: 70px;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.m-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.m-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.m-menu-btn.is-open span { background: var(--gold-light); }
.m-menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.m-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.m-menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Menu ─── */
.m-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.m-menu-overlay.is-open { opacity: 1; visibility: visible; }

.m-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  width: min(280px, 82vw);
  padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--navy-deep);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
}

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

.m-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.m-menu-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.m-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  cursor: pointer;
}

.m-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.m-menu-link {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.25s ease;
}

.m-menu-link--cta {
  margin-top: 1.5rem;
  padding: 0.9rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 8px;
  border-bottom: none;
}

.m-menu-footer {
  margin-top: auto;
  padding-top: 1.5rem;
}

.m-menu-phone {
  display: block;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

body.menu-open { overflow: hidden; }

/* ─── Hero ─── */
.m-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  margin-top: calc(-1 * (5.5rem + env(safe-area-inset-top, 0px)));
  padding: calc(5.5rem + 1.75rem + env(safe-area-inset-top, 0px)) 1.35rem 3rem;
  overflow: hidden;
}

.m-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.m-hero-glow {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 20rem;
  height: 20rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.m-hero-glow--2 {
  display: none;
}

.m-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5rem;
  background: linear-gradient(180deg, transparent 0%, var(--navy-deep) 100%);
  pointer-events: none;
  z-index: 1;
}

.m-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 78%);
}

.m-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.m-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
}

.m-hero-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.m-hero-title-wrap {
  position: relative;
  padding-top: 0.15rem;
}

.m-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 8.8vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.015em;
  max-width: 18ch;
  margin-inline: auto;
  text-align: center;
}

.m-hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #f0d98a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(228, 199, 107, 0.2));
}

.m-hero-divider {
  width: 4rem;
  height: 1px;
  margin: 1.2rem auto 1rem;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.45), transparent);
  border-radius: 1px;
}

.m-hero-sub {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36ch;
  margin-inline: auto;
  text-align: center;
}

.m-quick-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 22rem;
}

.m-quick-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.m-quick-btn:active { transform: scale(0.98); opacity: 0.85; }

.m-quick-btn--primary {
  color: var(--navy-deep);
  background: var(--gold);
}

.m-quick-btn--outline {
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
}

/* ─── Sections (einheitlich) ─── */
.m-section {
  padding: 3rem 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 4rem;
}

.m-hero + .m-section {
  border-top: none;
  padding-top: 2rem;
}

.m-section-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.m-section h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.75rem;
}

/* ─── Leistungen — Karten-Buttons ─── */
.m-service-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.m-service-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.m-service-card:active {
  transform: scale(0.99);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 168, 76, 0.25);
}

.m-service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border-radius: 10px;
}

.m-service-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.m-service-card-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
}

.m-service-card-teaser {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.m-service-card-arrow {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
  transform: rotate(-45deg);
}

/* ─── Vorteile — runde Kreise, horizontal scroll ─── */
.m-usp-scroll-wrap {
  position: relative;
  margin: 0 -1.25rem;
}

.m-usp-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.5rem;
  background: linear-gradient(to right, transparent, var(--navy-deep));
  pointer-events: none;
}

.m-usp-grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 1.25rem 0.85rem;
  scrollbar-width: none;
}

.m-usp-grid::-webkit-scrollbar {
  display: none;
}

.m-usp-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 6.5rem;
  padding: 0;
  text-align: center;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.m-usp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1.5px solid rgba(201, 168, 76, 0.28);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.m-usp-copy {
  min-width: 0;
}

.m-usp-card h4 {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.1rem;
  line-height: 1.2;
}

.m-usp-card p {
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.25;
}

/* ─── Leistungs-Detailseite ─── */
.m-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.m-detail {
  padding: 1.5rem 1.35rem 2rem;
}

.m-detail-hero {
  margin-bottom: 1.5rem;
}

.m-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  border-radius: 14px;
}

.m-detail h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.m-detail-teaser {
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.m-detail-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

.m-detail-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.m-detail-points li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.m-detail-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.m-section--form {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── Leistungs-Auswahl im Formular (Popup) ─── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.m-service-picker-wrap {
  margin: 0.5rem 0 1rem;
}

.m-service-open-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1rem;
  font-family: var(--font-sans);
  text-align: left;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(201, 168, 76, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.m-service-open-btn:active {
  transform: scale(0.99);
}

.m-service-open-btn.has-selection {
  border-color: rgba(201, 168, 76, 0.35);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, rgba(201, 168, 76, 0.04) 100%);
}

.m-service-open-btn-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.m-service-open-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border-radius: 10px;
}

.m-service-open-btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.m-service-open-btn-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.m-service-open-btn-hint {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-service-open-btn.has-selection .m-service-open-btn-hint {
  color: var(--gold-light);
}

.m-service-open-btn-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 100px;
}

.m-service-open-btn-badge.is-visible {
  display: flex;
}

.m-service-open-btn-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
}

body.service-modal-open {
  overflow: hidden;
}

.m-service-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
}

.m-service-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

.m-service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.m-service-modal.is-open .m-service-modal-overlay {
  opacity: 1;
}

.m-service-modal-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: min(82vh, 640px);
  padding: 0 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
}

.m-service-modal.is-open .m-service-modal-sheet {
  transform: translateY(0);
}

.m-service-modal-handle {
  width: 36px;
  height: 4px;
  margin: 0.65rem auto 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
}

.m-service-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.m-service-modal-header h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.m-service-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.m-service-modal-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.m-service-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.m-service-modal-footer {
  flex-shrink: 0;
}

.m-service-pick-field {
  border: none;
  margin: 0;
  padding: 0;
}

.m-service-pick {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.m-service-pick-item {
  cursor: pointer;
}

.m-service-pick-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.m-service-pick-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.m-service-pick-icon {
  display: flex;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.m-service-pick-icon svg {
  width: 18px;
  height: 18px;
}

.m-service-pick-item input:checked + .m-service-pick-chip {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.25);
}

.m-service-pick-item input:checked + .m-service-pick-chip .m-service-pick-icon {
  color: var(--navy-deep);
}

.m-service-pick-item input:focus-visible + .m-service-pick-chip {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* ─── Kontakt ─── */
.m-contact-head {
  margin-bottom: 1.75rem;
}

.m-contact-head .m-section-label {
  margin-bottom: 0.5rem;
}

.m-contact-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 6vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.m-contact-intro {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.42);
  max-width: 32ch;
}

.m-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.m-contact-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  min-height: 118px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.25s ease, background 0.25s ease;
}

.m-contact-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12) 0%, transparent 60%);
  transition: opacity 0.25s ease;
  pointer-events: none;
}

a.m-contact-tile:active {
  transform: scale(0.98);
}

a.m-contact-tile:active::before {
  opacity: 1;
}

.m-contact-tile--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: auto;
}

.m-contact-tile--static {
  cursor: default;
}

.m-contact-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.m-contact-tile--phone .m-contact-tile-icon {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.14);
}

.m-contact-tile--whatsapp .m-contact-tile-icon {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}

.m-contact-tile--email .m-contact-tile-icon {
  color: #7eb8ff;
  background: rgba(126, 184, 255, 0.12);
}

.m-contact-tile--region .m-contact-tile-icon {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.m-contact-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.m-contact-tile-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.m-contact-tile-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.35;
}

.m-contact-tile--wide .m-contact-tile-value {
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.m-contact-tile--phone:active,
a.m-contact-tile--whatsapp:active,
a.m-contact-tile--email:active {
  border-color: rgba(201, 168, 76, 0.25);
  background: rgba(201, 168, 76, 0.06);
}

.m-contact-form {
  padding-top: 0.5rem;
}

.m-contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.m-contact-form .input-group label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.m-contact-form .input-group input,
.m-contact-form .input-group textarea {
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.m-contact-form .input-group textarea {
  resize: none;
  min-height: 88px;
}

.m-btn-full {
  width: 100%;
  padding: 0.9rem;
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.m-btn-full:disabled { opacity: 0.6; }

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem;
  font-size: 0.82rem;
  text-align: center;
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
}

.form-success.visible { display: block; }

/* ─── Footer ─── */
.m-footer {
  padding: 2.5rem 1.35rem calc(2rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.m-footer-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.m-footer-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.m-footer p {
  margin-top: 1rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.25);
}

.m-footer-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.m-footer-logout {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.version-switch {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── Fade-in beim Scrollen ─── */
.m-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.m-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Maintenance */
#maintenance {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.maintenance-card { padding: 2rem 1.5rem; }
.maintenance-logo { width: 150px; }
.maintenance-card h1 { font-size: 1.4rem; }
