:root {
  --bg: #161614;
  --bg-2: #1e1e1b;
  --line: rgba(236, 233, 226, 0.12);
  --text: #ece9e2;
  --t2: rgba(236, 233, 226, 0.68);
  --t3: rgba(236, 233, 226, 0.48);
  --accent: #f5b800;
  --on-accent: #161614;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --pad: 20px;
  --gap: 72px;
}
@media (min-width: 900px) {
  :root { --pad: 40px; --gap: 120px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; letter-spacing: 0; }
.dim { color: var(--t3); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Kopfzeile */
.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.bar__logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo { height: 40px; width: auto; overflow: visible; }
.logo__badge { fill: var(--accent); }
.logo__s { font-family: "Archivo", sans-serif; font-weight: 600; font-stretch: 125%; font-size: 34px; fill: var(--on-accent); font-style: italic; }
.logo__name { font-family: "Archivo", sans-serif; font-weight: 600; font-stretch: 125%; font-size: 21px; letter-spacing: 0.01em; fill: var(--text); }
.logo__sub { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.12em; fill: var(--t2); }
.bar__nav { display: none; gap: 40px; color: var(--t2); }
.bar__nav a, .bar__tel { display: inline-flex; align-items: center; min-height: 44px; transition: color 150ms ease-out; }
.bar__nav a:hover, .bar__tel:hover { color: var(--accent); }
.bar__tel { color: var(--text); }
@media (max-width: 899px) { .bar__tel { display: none; } }
@media (min-width: 900px) { .bar__nav { display: flex; } .logo { height: 48px; } }

/* Erster Bildschirm */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  width: 100%; height: 115%;
  object-fit: cover; object-position: 38% 50%;
  transform: scale(1.15);
  animation: settle 1800ms var(--ease) forwards;
  will-change: transform;
}
@keyframes settle { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,22,20,0.55) 0%, rgba(22,22,20,0) 30%, rgba(22,22,20,0.2) 50%, rgba(22,22,20,0.94) 100%);
}
@media (min-width: 900px) {
  .hero { padding-bottom: 104px; }
  .hero__img { object-position: 50% 60%; }
  .hero__media::after { background: linear-gradient(90deg, rgba(22,22,20,0.9) 0%, rgba(22,22,20,0.35) 55%, rgba(22,22,20,0) 100%), linear-gradient(180deg, rgba(22,22,20,0.5) 0%, rgba(22,22,20,0) 25%); }
}
.hero__text { position: relative; width: 100%; }
.hero__addr { color: var(--t2); margin-bottom: 24px; }
h1 {
  font-weight: 500;
  font-stretch: 112%;
  font-size: clamp(48px, 12.5vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 11ch;
}
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span { display: inline-block; transform: translateY(105%); animation: rise 1000ms var(--ease) 200ms forwards; }
.line:nth-child(2) > span { animation-delay: 290ms; }
@keyframes rise { to { transform: none; } }

.hero__lead { font-size: 18px; color: var(--t2); margin-top: 24px; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }

.tag {
  position: absolute; right: 16px; bottom: 16px;
  font-size: 11px; color: var(--t3); letter-spacing: 0.04em;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 24px;
  border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.btn:hover { background: #ffc81f; transform: translateY(-1px); }
.btn--ghost { background: rgba(236,233,226,0.08); color: var(--text); border: 1px solid rgba(236,233,226,0.28); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(236,233,226,0.16); }

/* Occasionen */
.occ { display: grid; gap: 40px; }
.occ__img { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; }
.occ__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.occ__text { display: grid; gap: 24px; justify-items: start; }
.occ__text h2 { margin-bottom: 0; font-size: clamp(40px, 8vw, 88px); }
@media (min-width: 900px) {
  .occ { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
}
.open { clip-path: inset(100% 0 0 0); transition: clip-path 1000ms var(--ease); }
.open img { transform: scale(1.15); transition: transform 1400ms var(--ease); }
.open.in { clip-path: inset(0 0 0 0); }
.open.in img { transform: scale(1); }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--t2); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 150ms ease-out, border-color 150ms ease-out; }
.link:hover { color: var(--text); border-color: var(--text); }

/* Abschnitte */
.block { padding-top: var(--gap); padding-bottom: var(--gap); border-top: 1px solid var(--line); }
h2 {
  font-weight: 500; font-stretch: 112%;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } }
.big { font-size: 22px; line-height: 1.45; color: var(--t2); max-width: 32ch; }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  display: grid; gap: 16px; justify-items: start;
}
.card p:not(.mono) { color: var(--t2); }

.list { list-style: none; border-top: 1px solid var(--line); }
.list li {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  font-size: clamp(24px, 4vw, 40px);
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.note { color: var(--t3); margin-top: 24px; }

.facts { display: grid; gap: 24px; }
.facts dt { font-size: 14px; margin-bottom: 8px; }
.facts dd { font-size: 20px; line-height: 1.4; }
.facts dd a.mono { display: inline-flex; align-items: center; min-height: 44px; font-size: 20px; color: var(--accent); }
.placeholder { color: var(--t3); border: 1px dashed var(--line); border-radius: 8px; padding: 8px 16px; display: inline-block; font-size: 16px !important; }

.map {
  display: grid; align-content: space-between; gap: 40px;
  aspect-ratio: 4 / 3;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.map__num {
  font-stretch: 125%; font-weight: 500;
  font-size: clamp(96px, 20vw, 160px); line-height: 0.85; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}
.map__street { color: var(--t2); font-size: 20px; margin-top: -24px; }
.map__label {
  justify-self: start;
  background: var(--bg); color: var(--text);
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.map:hover .map__label { background: var(--accent); color: var(--on-accent); }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 40px; padding-bottom: 104px;
  border-top: 1px solid var(--line);
  color: var(--t3); font-size: 14px;
}

/* Anrufen-Leiste am Handy */
.callbar {
  position: fixed; left: var(--pad); right: var(--pad); bottom: 16px;
  height: 52px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent); font-weight: 600;
  transform: translateY(160%);
  transition: transform 600ms var(--ease);
}
.callbar.show { transform: none; }
@media (min-width: 900px) { .callbar { display: none; } .foot { padding-bottom: 40px; } }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line > span, .hero__img { animation: none; transform: none; }
  .open, .open img { clip-path: none; transform: none; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .callbar { transition: none; }
}
