/* ==========================================================================
   Michael Weniger – der-weniger.at
   Zwei Welten: Traditionsbetrieb am Flugfeld (Rot/Creme) & Ersatzteile für Europa (Blau/Gelb)
   ========================================================================== */

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

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #faf9f7;
  --paper-2: #f2f0ec;
  --surface: #ffffff;
  --ink: #161b22;
  --ink-2: #3a424d;
  --muted: #646d78;
  --line: #e6e3de;

  --red: #a3201f;
  --red-700: #7f1716;
  --red-50: #fbefed;
  --gold: #b0832a;

  --navy: #122a4c;
  --navy-900: #0b1c35;
  --navy-700: #1b3d6c;
  --blue: #2f6fd6;
  --star: #ffcc00;
  --post: #ffdc00;
  --green: #22874a;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(22 27 34 / 0.04), 0 4px 16px rgb(22 27 34 / 0.05);
  --shadow: 0 2px 4px rgb(22 27 34 / 0.04), 0 20px 48px rgb(22 27 34 / 0.09);

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 68px;
  --action-bar-h: calc(60px + env(safe-area-inset-bottom));
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  padding-bottom: var(--action-bar-h);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

picture {
  display: contents;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
  hyphens: auto;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 750; line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.3rem); }
h4 { font-size: 1.05rem; }

.h3 { font-size: clamp(1.15rem, 2vw, 1.3rem); }

p,
ul,
ol,
dl,
table,
address {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

main:focus {
  outline: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 860px;
}

/* --------------------------------------------------------------------------
   Typo-Bausteine
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: color-mix(in srgb, currentColor 9%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.lead {
  max-width: 62ch;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
}

.t-red { color: var(--red); }
.t-blue { color: var(--navy-700); }

.hero__title em,
.t-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

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

.small {
  font-size: 0.9rem;
}

.mt-s { margin-top: 0.75rem; }
.mt-l { margin-top: 2.25rem; }

/* --------------------------------------------------------------------------
   Buttons, Chips, Status
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-border: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--btn-fg);
  text-decoration: none;
  background: var(--btn-bg);
  border: 2px solid var(--btn-border);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.14);
}

.btn--primary:hover { --btn-bg: var(--red-700); }
.btn--euro { --btn-bg: var(--navy); }
.btn--euro:hover { --btn-bg: var(--navy-700); }
.btn--star { --btn-bg: var(--star); --btn-fg: var(--navy-900); }
.btn--star:hover { --btn-bg: #ffd633; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-border: var(--ink); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgb(255 255 255 / 0.4); }
.btn--light:hover { --btn-bg: rgb(255 255 255 / 0.1); --btn-border: #fff; }
.btn--whatsapp { --btn-bg: #1f9d55; }
.btn--whatsapp:hover { --btn-bg: #188647; }

.btn--sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s, transform 0.15s;
}

.chip:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.chips--dark .chip {
  color: #fff;
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.18);
}

.chips--dark .chip:hover {
  border-color: rgb(255 255 255 / 0.7);
}

.chip--featured,
.chips--dark .chip--featured {
  background: #fff;
  border-color: #fff;
}

.ez-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  color: #1e9be0;
}

.ez-logo b {
  color: #e3202a;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-700);
  background: var(--red-50);
  border-radius: 999px;
}

.world__body .status {
  align-self: flex-start;
}

.status__dot {
  width: 0.6rem;
  height: 0.6rem;
  background: currentColor;
  border-radius: 50%;
}

.status.is-open {
  color: #17663a;
  background: #e5f4ea;
}

.status.is-open .status__dot {
  box-shadow: 0 0 0 0 rgb(34 135 74 / 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgb(34 135 74 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(34 135 74 / 0); }
}

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

.topbar {
  display: none;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.85);
  background: var(--navy-900);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 40px;
}

.topbar .status {
  padding: 0;
  color: rgb(255 255 255 / 0.85);
  background: none;
}

.topbar .status.is-open {
  color: #8be0a9;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}

.topbar__link:hover {
  color: #fff;
}

.topbar__link--euro {
  margin-left: auto;
  color: var(--star);
}

.topbar__link--euro:hover {
  color: #ffe066;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 249 247 / 0.8);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  background: linear-gradient(145deg, #c42a28, var(--red-700));
  border-radius: 12px;
  box-shadow: 0 4px 12px rgb(163 32 31 / 0.28);
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.brand__claim {
  font-size: 0.78rem;
  color: var(--muted);
}

.brand--light,
.brand--light:hover {
  color: #fff;
}

.brand--light .brand__claim {
  color: rgb(255 255 255 / 0.65);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle .icon {
  width: 24px;
  height: 24px;
}

.nav-toggle__close,
.nav-open .nav-toggle__open {
  display: none;
}

.nav-open .nav-toggle__close {
  display: block;
}

.nav {
  position: fixed;
  inset: var(--nav-top, var(--header-h)) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem var(--gutter) calc(2rem + var(--action-bar-h));
  overflow-y: auto;
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.nav-open .nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-open body {
  overflow: hidden;
}

.nav__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav__link[aria-current="page"] {
  color: var(--red);
}

.nav__cta {
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Startseite: Hero mit zwei Welten
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 7vw, 5rem) var(--section);
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgb(18 42 76 / 0.09), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgb(163 32 31 / 0.07), transparent 60%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(rgb(22 27 34 / 0.09) 1px, transparent 1.5px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.hero__intro {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero__title {
  max-width: 17ch;
  font-size: clamp(2.3rem, 6.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.worlds {
  display: grid;
  gap: 1.25rem;
}

.world {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.world h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.world__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.world__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.world__body .actions {
  margin-top: auto;
  padding-top: 1.5rem;
}

.world--local {
  background: var(--surface);
}

.world--local .world__kicker {
  color: var(--red);
}

.world__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
}

.world__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.world__media .stamp {
  position: absolute;
  right: 1rem;
  bottom: -0.5rem;
  width: clamp(92px, 16vw, 120px);
  transform: rotate(-10deg);
  filter: drop-shadow(0 6px 16px rgb(0 0 0 / 0.25));
}

.world--euro {
  justify-content: flex-end;
  color: rgb(255 255 255 / 0.86);
  background:
    radial-gradient(600px 400px at 100% 0%, rgb(47 111 214 / 0.45), transparent 65%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
}

.world--euro h2,
.world--euro strong {
  color: #fff;
}

.world--euro .world__kicker {
  color: var(--star);
}

.world--euro .eu-stars {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 260px;
  color: var(--star);
  opacity: 0.9;
}

.world--euro .world__body {
  position: relative;
  padding-top: clamp(6rem, 18vw, 9rem);
}

.world__appliances {
  display: flex;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.world__appliances li {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 12px;
}

.world__appliances .icon {
  width: 24px;
  height: 24px;
}

.world__note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 0.65);
}

.ticks {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.ticks .icon {
  margin-top: 0.3em;
  color: var(--red);
}

.world--euro .ticks .icon {
  color: var(--star);
}

/* Stempel */

.stamp__bg { fill: var(--red); }
.stamp__line { fill: none; stroke: rgb(255 255 255 / 0.55); stroke-width: 1.2; }
.stamp__ring { font: 600 11.5px var(--font-sans); letter-spacing: 0.22em; fill: #fff; }
.stamp__small { font: italic 500 15px var(--font-serif); fill: rgb(255 255 255 / 0.85); }
.stamp__year { font: 800 30px var(--font-sans); letter-spacing: -0.02em; fill: #fff; }

/* --------------------------------------------------------------------------
   Kennzahlen
   -------------------------------------------------------------------------- */

.facts {
  margin-top: calc(var(--section) * -0.5);
  position: relative;
  z-index: 1;
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.facts__list li {
  padding: 1.25rem 1.25rem;
  border-color: var(--line);
  border-style: solid;
  border-width: 0;
}

.facts__list li:nth-child(odd) { border-right-width: 1px; }
.facts__list li:nth-child(-n+2) { border-bottom-width: 1px; }

.facts__value {
  display: block;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--red);
}

.facts__list li:last-child .facts__value {
  color: var(--navy-700);
}

.facts__label {
  font-size: 0.92rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Sektionen & Karten
   -------------------------------------------------------------------------- */

.section {
  padding-block: var(--section);
}

.section--tint {
  background: var(--paper-2);
}

.section--white {
  background: var(--surface);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

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

.section-head p:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card > :last-child {
  margin-bottom: 0;
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  color: var(--red);
  background: var(--red-50);
  border-radius: 14px;
}

.card__icon .icon {
  width: 26px;
  height: 26px;
}

.card__icon--euro {
  color: var(--navy-700);
  background: #e8eef8;
}

.card__icon--post {
  color: var(--ink);
  background: var(--post);
}

.card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}

.card--link:hover {
  color: inherit;
  border-color: #d5c9b3;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card--link p {
  color: var(--ink-2);
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-weight: 600;
  color: var(--red);
}

.card--link:hover .card__more .icon {
  transform: translateX(3px);
}

.card__more .icon {
  transition: transform 0.18s;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-title-row .card__icon {
  margin: 0;
}

.card-title-row h2,
.card-title-row h3 {
  margin: 0;
}

/* Öffnungszeiten */

.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours th,
.hours td {
  padding: 0.55rem 0.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.hours th {
  font-weight: 500;
  color: var(--ink-2);
}

.hours td {
  text-align: right;
}

.hours td span {
  display: block;
}

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

.hours .is-today th,
.hours .is-today td {
  font-weight: 700;
  color: var(--ink);
}

.hours .is-today th::after {
  content: "heute";
  margin-left: 0.5rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  vertical-align: 0.1em;
  background: var(--red);
  border-radius: 999px;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-list .icon {
  margin-top: 0.25em;
  color: var(--red);
}

.contact-list a {
  font-weight: 600;
}

.contact-list small {
  display: block;
  color: var(--muted);
}

/* Ersatzteile-Band */

.band-euro {
  position: relative;
  overflow: hidden;
  color: rgb(255 255 255 / 0.85);
  background:
    radial-gradient(800px 500px at 110% 10%, rgb(47 111 214 / 0.35), transparent 60%),
    linear-gradient(170deg, var(--navy), var(--navy-900));
}

.band-euro h2,
.band-euro h3,
.band-euro strong {
  color: #fff;
}

.band-euro .eyebrow {
  color: var(--star);
}

.band-euro .lead {
  color: rgb(255 255 255 / 0.8);
}

.band-euro .eu-stars {
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 520px;
  color: var(--star);
  opacity: 0.12;
  pointer-events: none;
}

.band-euro a:not(.btn):not(.chip) {
  color: var(--star);
}

.band-euro .contact-list .icon {
  color: var(--star);
}

.band-euro .contact-list small {
  color: rgb(255 255 255 / 0.6);
}

.band-euro__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.panel-dark {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-lg);
}

.panel-dark h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.panel-dark + .panel-dark {
  margin-top: 1.25rem;
}

/* Post-Teaser */

.post-teaser {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, #fff7c2, var(--post));
  border-radius: var(--radius-lg);
}

.post-teaser__logo {
  width: 150px;
  margin-bottom: 1.25rem;
}

.post-teaser .eyebrow {
  color: var(--ink);
}

.post-teaser .btn--ghost {
  --btn-border: rgb(27 34 44 / 0.25);
}

.post-teaser .card {
  border: 0;
}

/* Geschichte-Teaser */

.history-teaser {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.history-teaser__media {
  position: relative;
}

.history-teaser__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.history-teaser__media .stamp {
  position: absolute;
  left: -14px;
  bottom: -24px;
  width: 112px;
  transform: rotate(8deg);
  filter: drop-shadow(0 6px 16px rgb(0 0 0 / 0.25));
}

.generations {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: gen;
}

.generations li {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}

.generations li:last-child {
  border-bottom: 0;
}

.generations__year {
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}

.generations__name {
  font-weight: 600;
}

.generations__name small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

/* Auszeichnungen */

.awards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.award {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s, box-shadow 0.18s;
}

a.award:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.award__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.award__media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.award__media .icon {
  width: 56px;
  height: 56px;
  color: var(--navy-700);
}

.award__text {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.award__text strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Unterseiten
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 22ch;
}

.page-hero .lead {
  margin-bottom: 0;
}

.page-hero--heritage {
  background:
    radial-gradient(900px 400px at 100% 0%, rgb(163 32 31 / 0.08), transparent 60%),
    var(--paper);
}

.page-hero--euro {
  color: rgb(255 255 255 / 0.85);
  background:
    radial-gradient(800px 400px at 100% 0%, rgb(47 111 214 / 0.45), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border-bottom: 0;
}

.page-hero--euro h1 { color: #fff; }
.page-hero--euro .eyebrow { color: var(--star); }
.page-hero--euro .lead { color: rgb(255 255 255 / 0.82); }
.page-hero--euro .breadcrumb,
.page-hero--euro .breadcrumb a { color: rgb(255 255 255 / 0.7); }

.page-hero--euro .eu-stars {
  position: absolute;
  top: -70px;
  right: -90px;
  width: 240px;
  color: var(--star);
  opacity: 0.18;
  pointer-events: none;
}

@media (min-width: 900px) {
  .page-hero--euro .eu-stars {
    top: 50%;
    right: -60px;
    width: 360px;
    opacity: 0.85;
    transform: translateY(-50%);
  }
}

.page-hero--post {
  background: linear-gradient(135deg, #fff9d6, var(--post));
  border-bottom: 0;
}

.page-hero--post .eyebrow { color: var(--ink); }

.page-hero--plain {
  background: var(--paper);
}

.page-hero__inner {
  position: relative;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--muted);
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  opacity: 0.6;
}

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

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

.layout-aside {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.sticky-aside {
  display: grid;
  gap: 1.25rem;
}

.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
}

.callout > .icon {
  margin-top: 0.2em;
  width: 1.4em;
  height: 1.4em;
  color: var(--red);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout--euro {
  border-left-color: var(--navy-700);
}

.callout--euro > .icon {
  color: var(--navy-700);
}

.callout--post {
  border-left-color: var(--post);
}

.callout--post > .icon {
  color: var(--ink);
}

/* Sortiment */

.range {
  display: grid;
  gap: 1.25rem;
}

.range .card {
  display: flex;
  flex-direction: column;
}

.range .card p {
  color: var(--ink-2);
}

.range .card .card__more {
  padding-top: 0.5rem;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.inline-list li {
  padding: 0.2rem 0.65rem;
  font-size: 0.88rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Post Partner */

.services {
  display: grid;
  gap: 1.25rem;
}

.services ul {
  margin: 0;
  padding-left: 1.1rem;
}

.services li + li {
  margin-top: 0.35rem;
}

.services li::marker {
  color: var(--gold);
}

.acceptance {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.acceptance th,
.acceptance td {
  padding: 0.55rem 0.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

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

.acceptance th {
  font-weight: 500;
}

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

/* Ersatzteile */

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 64px;
  padding: 0.85rem 1.1rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, transform 0.15s;
}

.market:hover {
  color: var(--ink);
  border-color: var(--navy-700);
  transform: translateY(-2px);
}

.market .icon {
  color: var(--muted);
}

.shop-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.shop-card .ez-logo {
  display: block;
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.1;
}

/* Geschichte: Zeitleiste */

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 11px;
  width: 2px;
  background: linear-gradient(var(--red), var(--gold) 60%, var(--navy-700));
}

.timeline__item {
  position: relative;
  padding: 0 0 2.25rem 3rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 4px;
  width: 16px;
  height: 16px;
  background: var(--paper);
  border: 3px solid var(--red);
  border-radius: 50%;
}

.timeline__item--major::before {
  background: var(--red);
  box-shadow: 0 0 0 5px var(--red-50);
}

.timeline__date {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

.timeline__item h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.timeline__body {
  display: grid;
  gap: 1rem;
}

.timeline__body p {
  margin: 0;
  color: var(--ink-2);
}

.timeline__body > picture {
  display: block;
  max-width: 220px;
}

.timeline__img {
  max-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Galerie & Lightbox */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__item {
  margin: 0;
}

.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--paper-2);
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.gallery__btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__btn:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  padding: 0.55rem 0.15rem 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

.gallery figcaption strong {
  display: block;
  color: var(--ink);
}

.lightbox {
  width: min(960px, 100% - 2rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgb(11 17 26 / 0.9);
}

.lightbox__figure {
  margin: 0;
}

.lightbox__figure img {
  width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__caption {
  padding: 0.75rem 3.5rem 0 0;
  font-size: 0.95rem;
  color: rgb(255 255 255 / 0.85);
}

.lightbox__caption strong {
  display: block;
  color: #fff;
}

.lightbox__controls {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.lightbox__controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 50%;
  cursor: pointer;
}

.lightbox__controls button:hover {
  background: rgb(255 255 255 / 0.22);
}

/* Karte mit Einwilligung */

.map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(rgb(18 42 76 / 0.82), rgb(18 42 76 / 0.88)),
    repeating-linear-gradient(45deg, #26456f 0 2px, transparent 2px 22px),
    var(--navy);
  border-radius: var(--radius-lg);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  color: rgb(255 255 255 / 0.85);
}

.map__consent > .icon {
  width: 44px;
  height: 44px;
  margin-inline: auto;
  color: var(--star);
}

.map__consent p {
  max-width: 42ch;
  margin: 0 auto;
  font-size: 0.92rem;
}

.map__consent strong {
  color: #fff;
}

.map__consent p a {
  color: var(--star);
}

.map__consent .actions {
  justify-content: center;
  margin-top: 0.5rem;
}

.map.is-loaded .map__consent {
  display: none;
}

.sign {
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  vertical-align: -0.3em;
}

/* Barrierefreiheit */

.a11y-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.a11y-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.45rem 0;
}

.a11y-list .icon {
  margin-top: 0.3em;
  color: var(--green);
}

.a11y-list .is-warning .icon {
  color: var(--gold);
}

/* Rechtstexte */

.prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
}

.prose h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.prose h4 {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  overflow-wrap: anywhere;
}

.prose .box {
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose .box > :last-child {
  margin-bottom: 0;
}

.prose .meta {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.def-list {
  display: grid;
  gap: 0.1rem 1.25rem;
}

.def-list dt {
  color: var(--muted);
}

.def-list dd {
  margin: 0 0 0.6rem;
  font-weight: 500;
}

@media (min-width: 600px) {
  .def-list {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.35rem 1.25rem;
  }

  .def-list dd {
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   Footer & Aktionsleiste
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: 3rem 2rem;
  color: rgb(255 255 255 / 0.72);
  background: var(--navy-900);
}

.site-footer a {
  color: rgb(255 255 255 / 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .chip:hover {
  text-decoration: none;
}

.site-footer__shops {
  display: grid;
  gap: 1rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.site-footer__shops-title {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

.site-footer__brand address {
  margin: 1.25rem 0 1rem;
  line-height: 1.8;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-footer__social .icon {
  width: 0.9em;
  height: 0.9em;
}

.site-footer__title {
  margin-bottom: 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--star);
}

.site-footer__col ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-compact {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.hours-compact div {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
}

.hours-compact dt {
  color: rgb(255 255 255 / 0.5);
}

.hours-compact dd {
  margin: 0;
}

.site-footer__bottom {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.action-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgb(27 34 44 / 0.08);
}

.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 60px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.action-bar a + a {
  border-left: 1px solid var(--line);
}

.action-bar .icon {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.action-bar a:nth-child(2) .icon {
  color: #1f9d55;
}

.action-bar a:nth-child(3) .icon {
  color: var(--navy-700);
}

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

@media (min-width: 600px) {
  .facts__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .facts__list li {
    border-width: 0 1px 0 0 !important;
  }

  .facts__list li:last-child {
    border-right-width: 0 !important;
  }

  .awards {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .grid--2,
  .services,
  .range {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 78px;
    --action-bar-h: 0px;
  }

  .topbar {
    display: block;
  }

  .action-bar {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav,
  .nav-open .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding: 0;
    overflow: visible;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav__list {
    display: flex;
    gap: 0.25rem;
  }

  .nav__link {
    position: relative;
    padding: 0.5rem 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 550;
    border: 0;
    border-radius: 999px;
  }

  .nav__link:hover {
    color: var(--ink);
    background: rgb(27 34 44 / 0.05);
  }

  .nav__link[aria-current="page"] {
    color: var(--red);
    background: var(--red-50);
  }

  .nav__cta {
    align-self: auto;
  }

  .worlds {
    grid-template-columns: 1.15fr 1fr;
  }

  .world--euro .world__body {
    padding-top: clamp(1.5rem, 3.5vw, 2.25rem);
  }

  .world--euro .eu-stars {
    top: 50%;
    right: -110px;
    width: 400px;
    opacity: 0.16;
    transform: translateY(-50%);
  }

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

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

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

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

  .band-euro__grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }

  .post-teaser {
    grid-template-columns: 1.3fr 1fr;
  }

  .history-teaser {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .layout-aside {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 3rem;
  }

  .sticky-aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .site-footer__shops {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2rem;
  }

  .site-footer__bottom {
    grid-template-columns: auto 1fr;
  }

  .site-footer__legal {
    justify-content: flex-end;
  }

  .timeline::before {
    left: 50%;
    margin-left: -1px;
  }

  .timeline__item {
    width: 50%;
    padding: 0 3rem 2.75rem 0;
    text-align: right;
  }

  .timeline__item::before {
    left: auto;
    right: -8px;
  }

  .timeline__item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 2.75rem 3rem;
    text-align: left;
  }

  .timeline__item:nth-child(even)::before {
    right: auto;
    left: -8px;
  }

  .timeline__item:nth-child(odd) .timeline__body > picture,
  .timeline__item:nth-child(odd) .timeline__body > img {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .topbar,
  .site-header,
  .action-bar,
  .site-footer__shops,
  .map {
    display: none !important;
  }

  body {
    padding: 0;
    background: #fff;
  }
}
