/* ==========================================================================
   RE-motion Sanitätshaus – Sperrseite ("In Kürze für Sie da")
   Mobile-First · keine externen Ressourcen beim Seitenaufruf
   ========================================================================== */

:root {
  --color-navy-900: #0b1a33;
  --color-navy-800: #12274a;
  --color-navy-700: #1b3560;

  --color-red-600: #d81f27;
  --color-red-500: #ff3b3b;

  --color-white: #ffffff;
  --color-gray-200: #e7eaf0;
  --color-gray-400: #a9b3c4;

  --font-base: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;

  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;

  --max-content-width: 46rem;
}

/* --------------------------------------------------------------------
   Reset & Basis
   -------------------------------------------------------------------- */

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

[hidden] {
  display: none !important;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-base);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-white);
  background: radial-gradient(120% 120% at 50% 0%, var(--color-navy-700) 0%, var(--color-navy-900) 55%);
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-white);
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--color-gray-200);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-red-500);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-white);
  color: var(--color-navy-900);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
}

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  color: var(--color-red-500);
  vertical-align: -0.2em;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------- */

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-2) var(--space-3);
  text-align: center;
}

.brand {
  width: 100%;
  display: flex;
  justify-content: center;
}

.brand__logo {
  width: min(90vw, 380px);
}

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

.hero {
  width: 100%;
  max-width: var(--max-content-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.hero__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-red-500);
}

.hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-white);
}

.hero__text {
  margin: 0;
  max-width: 34rem;
  color: var(--color-gray-200);
  font-size: 1.0625rem;
}

.hero__text strong {
  color: var(--color-white);
}

/* --------------------------------------------------------------------
   Standort / Karten-Ausschnitt (2-Klick-Lösung)
   -------------------------------------------------------------------- */

.location {
  width: 100%;
  max-width: 30rem;
}

.location__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  aspect-ratio: 3 / 2;
}

.location__map--live {
  border-color: rgba(255, 255, 255, 0.18);
}

.location__preview {
  position: relative;
  width: 100%;
  height: 100%;
}

.location__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Darkening overlay so the button/text stay readable on any map image */
.location__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 51, 0.15) 0%, rgba(11, 26, 51, 0.75) 100%);
  pointer-events: none;
}

.location__load-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--color-red-600);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(216, 31, 39, 0.4);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.location__load-btn:hover {
  background: var(--color-red-500);
  transform: translate(-50%, -50%) scale(1.03);
}

.location__load-btn .icon {
  color: var(--color-white);
}

.location__privacy-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
  color: var(--color-gray-200);
  background: rgba(11, 26, 51, 0.65);
}

.location__privacy-hint a {
  color: var(--color-white);
  text-decoration: underline;
  font-weight: 600;
}

.location__badge {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(11, 26, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
  max-width: calc(100% - 1.5rem);
}

.location__badge .icon {
  width: 1.05em;
  height: 1.05em;
}

/* --------------------------------------------------------------------
   Kontaktbereich
   -------------------------------------------------------------------- */

.contact {
  width: 100%;
  max-width: var(--max-content-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.contact__always {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
  background: rgba(255, 59, 59, 0.14);
  border: 1px solid rgba(255, 59, 59, 0.4);
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.contact__always .icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--color-red-500);
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: center;
}

.contact__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-gray-200);
  font-size: 1.0625rem;
  white-space: nowrap;
}

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

.site-footer {
  width: 100%;
  text-align: center;
  padding: var(--space-3) var(--space-2) var(--space-4);
  font-size: 0.875rem;
  color: var(--color-gray-400);
}

.site-footer a {
  color: var(--color-gray-200);
  text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-white);
}

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

@media (min-width: 600px) {
  .page {
    padding: var(--space-5) var(--space-3);
    gap: var(--space-5);
  }

  .contact__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-4);
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3rem;
  }
}

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

  .location__load-btn {
    transition: none;
  }
}
