/* Nähzentrum München-Ost – statischer One-Pager */

:root {
  --red: #b3122a;
  --red-dark: #8c0d20;
  --ink: #1f1a17;
  --muted: #6b625c;
  --paper: #fbf8f4;
  --tint: #f3ece4;
  --line: #e5dcd2;
  --dark: #221c19;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 26, 23, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 5.5vw, 4rem); letter-spacing: -.01em; overflow-wrap: break-word; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

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

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: .8em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.5em; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 600; text-decoration: none;
  border: 2px solid var(--red); transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: currentColor; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--tint); border-color: var(--tint); }
.btn--small { padding: .55em 1.1em; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 248, 244, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--red); }

/* Hero */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(88vh, 760px); display: flex; align-items: flex-end;
  background: linear-gradient(135deg, #5a0a16, #b3122a 55%, #d8574f);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,12,10,.15) 0%, rgba(20,12,10,.55) 45%, rgba(20,12,10,.85) 100%);
}
.hero__content { padding: 120px 0 72px; max-width: 820px; margin-left: max(16px, (100% - 1160px) / 2); }
.hero .eyebrow { color: #ffd6cf; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 640px; opacity: .95; }

/* Handover */
.handover { background: #fff; border-bottom: 1px solid var(--line); }
.handover__inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 36px 0; }
.handover__logos { display: flex; align-items: center; gap: 18px; }
.handover__logos img { height: 54px; width: auto; max-width: 40%; object-fit: contain; }
.handover__arrow { font-size: 1.8rem; color: var(--red); }
.handover p { margin: 0; color: var(--muted); }
.handover strong { color: var(--ink); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #f5efe9; }
.section--dark .eyebrow { color: #ff9c8f; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { margin: 0; }
.split__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--tint);
}
.thanks { font-family: var(--serif); font-size: 1.25rem; }

.facts {
  list-style: none; padding: 0; margin: clamp(48px, 7vw, 80px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--red); line-height: 1.2; }
.facts span { color: var(--muted); font-size: .95rem; }

.gallery {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 10px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: var(--line); }
.gallery img:first-child { grid-column: span 2; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(5, 1fr); grid-auto-rows: 260px; gap: 12px; }
  .gallery img:first-child { grid-column: auto; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card__icon { font-size: 1.8rem; margin-bottom: 10px; }
.card p { color: var(--muted); flex: 1; }
.card__link { font-weight: 600; text-decoration: none; }
.card__link::after { content: " →"; }
.card__link:hover { text-decoration: underline; }

.checks { list-style: none; padding: 0; margin: 0 0 1.8em; }
.checks li { padding-left: 1.8em; position: relative; margin-bottom: .5em; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.tile {
  display: flex; align-items: flex-end; min-height: 110px; padding: 20px;
  border-radius: 14px; text-decoration: none; color: #fff; font-weight: 600;
  hyphens: auto; overflow-wrap: anywhere;
  background: linear-gradient(140deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s, transform .2s, border-color .2s;
}
.tile span::after { content: " →"; opacity: .6; }
.tile:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }

.feature {
  margin-top: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 28px;
}
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #3a302b; }
.feature p { opacity: .85; }

.brands {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.brands li { background: #fff; border-radius: 12px; display: grid; place-items: center; padding: 18px; min-height: 84px; }
.brands img { max-height: 44px; width: auto; object-fit: contain; }

/* Visit */
.visit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
address { font-style: normal; font-size: 1.2rem; margin-bottom: 1em; }
.visit__contact a { font-weight: 600; }
.hours { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0 0 1.2em; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; }
.hours__note { font-size: .9rem; color: var(--muted); margin: 0; }

/* Memory */
.memory__inner { display: flex; align-items: center; gap: 40px; }
.memory__inner img { width: 200px; height: auto; flex: none; }
.memory p { color: var(--muted); }

/* Footer */
.footer { background: var(--dark); color: #cfc5bd; padding: 32px 0; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer p { margin: 0; max-width: 620px; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .topbar__inner { justify-content: space-between; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand img { height: 54px; }
  .handover__inner, .split, .feature, .visit { grid-template-columns: 1fr; }
  .handover__inner { gap: 20px; }
  .split--reverse .split__media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .hero__content { padding: 96px 0 48px; }
  .memory__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .memory__inner img { width: 150px; }
  .gallery { grid-auto-rows: 170px; }
}
@media (max-width: 420px) {
  .btn--small { display: none; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
