/* ==========================================================================
   Meyer Elektronic GbR – Stylesheet
   ========================================================================== */

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

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --red: #e10600;
  --red-dark: #b30500;
  --red-glow: rgba(225, 6, 0, 0.35);
  --ink: #0f1012;
  --ink-2: #17191c;
  --ink-3: #22252a;
  --line-dark: rgba(255, 255, 255, 0.08);
  --text: #1b1d21;
  --muted: #5d636d;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --line: #e4e6ea;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 16, 18, 0.04), 0 8px 30px rgba(15, 16, 18, 0.06);
  --shadow-lg: 0 20px 60px rgba(15, 16, 18, 0.14);
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
  hyphens: auto;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--red-glow);
}

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
  color: var(--text);
  border-color: var(--line);
  background: #fff;
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Topbar & Header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}

.topbar__links {
  display: flex;
  gap: 4px 24px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.topbar a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.topbar a:hover {
  color: #fff;
}

.topbar svg {
  width: 15px;
  height: 15px;
  color: var(--red);
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9aa0a8;
  flex: none;
}

.dot--open {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.dot--closed {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.2);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 16, 18, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s;
}

.header.is-scrolled {
  background: rgba(15, 16, 18, 0.95);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

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

.brand img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav .nav__cta {
  margin-left: 8px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav .nav__cta:hover {
  background: var(--red-dark);
}

.nav__cta svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  color: #fff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle span + span {
  margin-top: 6px;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

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

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/meyer-slider-bulbs.jpg") center / cover no-repeat;
  opacity: 0.9;
  z-index: -2;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(15, 16, 18, 0.85), transparent 70%),
    linear-gradient(180deg, rgba(15, 16, 18, 0.2) 0%, rgba(15, 16, 18, 0.55) 70%, var(--ink) 100%);
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero .container {
  padding: clamp(80px, 14vw, 160px) 0 clamp(90px, 12vw, 140px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  font-size: clamp(36px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0 0 40px var(--red-glow);
}

.hero__lead {
  font-size: clamp(18px, 2vw, 21px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 34ch;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__card {
  justify-self: end;
  width: 100%;
  max-width: 380px;
  background: rgba(23, 25, 28, 0.72);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero__card h2 {
  font-size: 15px;
  font-family: var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero__card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.hero__card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.hero__card dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero__card dt {
  color: rgba(255, 255, 255, 0.6);
}

.hero__card dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section__head--center {
  text-align: center;
  margin-inline: auto;
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section__head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
}

.section__head p {
  font-size: 19px;
  color: var(--muted);
}

.section--dark .section__head p {
  color: rgba(255, 255, 255, 0.65);
}

/* Über uns */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  width: 100%;
  aspect-ratio: 5 / 3.4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about__badge {
  position: absolute;
  right: -20px;
  bottom: -28px;
  background: var(--red);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px var(--red-glow);
  max-width: 220px;
}

.about__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  margin-bottom: 6px;
}

.about__badge span {
  font-size: 14px;
  line-height: 1.35;
  display: block;
  opacity: 0.92;
}

.about h2 {
  font-size: clamp(30px, 4vw, 44px);
}

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

.about__claim {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  color: var(--text);
}

.about__claim svg {
  width: 26px;
  height: 26px;
  color: var(--red);
  flex: none;
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service:hover::before {
  transform: scaleX(1);
}

.service__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(225, 6, 0, 0.08);
  color: var(--red);
  margin-bottom: 24px;
}

.service__icon svg {
  width: 30px;
  height: 30px;
}

.service h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

/* Banner */

.banner {
  position: relative;
  color: #fff;
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--red-dark) url("../img/meyer_web_redback3.jpg") center / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(120, 0, 0, 0.55), rgba(225, 6, 0, 0.15));
  z-index: -1;
}

.banner h2 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0 auto;
}

/* Kontakt */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(225, 6, 0, 0.3);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  margin-bottom: 20px;
  transition: background 0.25s;
}

a.contact-card:hover .contact-card__icon {
  background: var(--red);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.contact-card .big {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  word-break: break-word;
}

.contact-card .phone-row + .phone-row {
  margin-top: 12px;
}

.contact-card .phone-row a {
  text-decoration: none;
}

.contact-card .phone-row a:hover {
  color: var(--red);
}

.contact-card__more {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-card__more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

a.contact-card:hover .contact-card__more svg {
  transform: translateX(4px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Formular */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

.form-card > p {
  color: var(--muted);
  margin-bottom: 28px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  background: #eceef1;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.12);
}

fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}

.segmented {
  display: inline-flex;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  width: fit-content;
}

.segmented {
  position: relative;
}

.segmented input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.segmented label {
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.segmented input:checked + label {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(15, 16, 18, 0.1);
}

.segmented input:focus-visible + label {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.form-footer small {
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.5;
}

.form-footer small a {
  color: var(--text);
}

/* Team */

.team {
  display: grid;
  gap: 20px;
}

.team__title {
  font-size: 15px;
  font-family: var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

.person {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.person img {
  width: 96px;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
  flex: none;
}

.person h4 {
  font-size: 20px;
  margin-bottom: 2px;
}

.person p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 15px;
}

.person a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.person a:hover {
  text-decoration: underline;
}

.person a svg {
  width: 16px;
  height: 16px;
}

/* Anfahrt */

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.visit__card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px;
}

.visit__card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  margin-bottom: 20px;
}

.visit__card h3 svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.visit__card address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.visit__card address strong {
  color: #fff;
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.visit__card address a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.visit__card address a:hover {
  color: var(--red);
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 400;
  vertical-align: top;
}

.hours th {
  color: rgba(255, 255, 255, 0.6);
  padding-right: 16px;
  white-space: nowrap;
}

.hours td {
  text-align: right;
  font-weight: 600;
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

.hours tr.is-today th,
.hours tr.is-today td {
  color: #fff;
}

.hours tr.is-today th::after {
  content: "Heute";
  margin-left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: 2px;
}

.hours-note {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.hours-note em {
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

.visit__card--emergency {
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  border: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(225, 6, 0, 0.25);
}

.visit__card--emergency h3 svg {
  color: #fff;
}

.visit__card--emergency p {
  color: rgba(255, 255, 255, 0.85);
}

.emergency-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  margin: 8px 0 24px;
}

.visit__card--emergency .btn {
  margin-top: auto;
  background: #fff;
  color: var(--red);
  align-self: flex-start;
}

.visit__card--emergency .btn:hover {
  background: var(--ink);
  color: #fff;
}

.visit__logo {
  width: 120px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.visit__actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.footer {
  background: #08090a;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  padding: 56px 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}

.footer__brand img {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
}

.footer__brand p {
  max-width: 32ch;
  margin: 0;
}

.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  color: #fff;
  padding: clamp(80px, 12vw, 140px) 0 clamp(56px, 8vw, 90px);
  background: var(--red-dark) center / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(60, 0, 0, 0.2), rgba(60, 0, 0, 0.55));
}

.page-hero--impressum {
  background-image: url("../img/meyer_web_redback2.jpg");
}

.page-hero--datenschutz {
  background-image: url("../img/meyer_web_redback-e1526570731314.jpg");
}

.page-hero h1 {
  font-size: clamp(32px, 8vw, 72px);
  margin: 0;
  hyphens: manual;
}

.page-hero .eyebrow {
  color: #fff;
  opacity: 0.85;
}

.breadcrumb {
  font-size: 14px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.legal {
  padding: clamp(56px, 8vw, 96px) 0;
}

.legal__inner {
  max-width: 780px;
}

.legal h2 {
  font-size: 24px;
  margin: 2.2em 0 0.6em;
  padding-top: 0.2em;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: #3b3f46;
}

.legal a {
  color: var(--red);
  word-break: break-word;
}

.legal .meta {
  color: var(--muted);
  font-size: 15px;
}

.legal-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 0 0 1.5em;
}

.legal-card dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 28px;
  margin: 0;
}

.legal-card dt {
  font-weight: 600;
  color: var(--text);
}

.legal-card dd {
  margin: 0;
  color: #3b3f46;
}

.toc {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}

.toc li {
  break-inside: avoid;
  padding: 2px 0;
}

.toc a {
  color: var(--text);
  text-decoration: none;
}

.toc a:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Reveal-Animation
   -------------------------------------------------------------------------- */

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

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

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

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

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

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

  .visit__card--emergency {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  /* Ohne Blur-Effekte: Firefox auf Android ruckelt sonst beim Scrollen */
  .header,
  .header.is-scrolled {
    background: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
  }

  .hero__bg {
    animation: none;
    transform: none;
  }

  .hero__card,
  .btn--ghost {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero__card {
    background: var(--ink-2);
  }

  .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: rgba(15, 16, 18, 0.98);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  .nav-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 17px;
  }

  .nav .nav__cta {
    margin: 8px 0 0;
    justify-content: center;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__card {
    justify-self: start;
    max-width: 480px;
  }

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

  .about__badge {
    right: 16px;
  }

  .services {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

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

  .team__title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .topbar__note {
    display: none;
  }

  .contact-cards,
  .visit,
  .team,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .visit__card {
    padding: 24px;
  }

  .person img {
    width: 80px;
    height: 96px;
  }

  .legal-card dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal-card dd {
    margin-bottom: 10px;
  }

  .toc ol {
    columns: 1;
  }

  .footer__bottom {
    flex-direction: column;
  }
}
