@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/poppins-800.woff2") format("woff2"); }

:root {
  --gruen: #1E3E38;
  --gruen-tief: #16302B;
  --creme: #F2EFE8;
  --creme-leise: rgba(242, 239, 232, 0.7);
  --creme-linie: rgba(242, 239, 232, 0.18);
  --mint: #23BAA2;
  --tinte: #1A1F1E;
}

* { box-sizing: border-box; }

html { background: var(--gruen-tief); }

body {
  margin: 0;
  background:
    radial-gradient(120% 70% at 50% 115%, rgba(35, 186, 162, 0.24) 0%, rgba(35, 186, 162, 0) 60%),
    radial-gradient(90% 60% at 85% -10%, rgba(242, 239, 232, 0.08) 0%, rgba(242, 239, 232, 0) 60%),
    var(--gruen);
  background-attachment: fixed;
  color: var(--creme);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* Eine Seite, ein Bildschirm: alles passt in die Höhe, Inhalt mittig */
.seite {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  padding: max(18px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.kopf { flex-shrink: 0; }
.logo { display: inline-block; line-height: 0; }
.logo img { width: 128px; height: auto; }

.buehne {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 12px 0 24px;
}
.adresse { margin: 0; font-size: 14px; font-weight: 600; color: var(--mint); letter-spacing: 0.02em; }
h1 {
  margin: 0;
  font-size: clamp(44px, 12.5vw, 88px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.unter { margin: 0; max-width: 520px; font-size: clamp(16px, 4.2vw, 19px); line-height: 1.55; color: var(--creme-leise); }

.status {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(22, 48, 43, 0.72);
  border: 1px solid var(--creme-linie);
  font-size: 15px;
}
.punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); animation: puls 2.4s ease-in-out infinite; flex-shrink: 0; }
.uhr { font-weight: 800; color: var(--creme); font-variant-numeric: tabular-nums; min-width: 2.6em; }

.knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform 0.15s ease;
}
.knopf:active { transform: scale(0.97); }
.knopf.voll { background: var(--creme); color: var(--tinte); }
.knopf.rand { border: 1.5px solid var(--creme-linie); color: var(--creme); }
.knopf.rand:hover { border-color: var(--creme-leise); }
.knopf:focus-visible, .logo:focus-visible, .fuss a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.fuss {
  flex-shrink: 0;
  display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
  font-size: 12px; color: var(--creme-leise);
}
.fuss nav { display: flex; gap: 18px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--creme); }

/* Rauch: nur transform und opacity, Weichheit steckt im Verlauf */
.rauch { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.rauch span {
  position: absolute; bottom: -180px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 239, 232, 0.16), rgba(242, 239, 232, 0.06) 55%, rgba(242, 239, 232, 0) 100%);
  opacity: 0;
  will-change: transform, opacity;
  animation: steigen 16s linear infinite;
}
.rauch span:nth-child(1) { left: 6%;  animation-delay: 0s; }
.rauch span:nth-child(2) { left: 38%; animation-delay: -3s;  width: 380px; height: 380px; }
.rauch span:nth-child(3) { left: 68%; animation-delay: -6s; }
.rauch span:nth-child(4) { left: 20%; animation-delay: -9s;  width: 260px; height: 260px; }
.rauch span:nth-child(5) { left: 55%; animation-delay: -11s; width: 300px; height: 300px; }
.rauch span:nth-child(6) { left: 82%; animation-delay: -13.5s; width: 240px; height: 240px; }

@keyframes steigen {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  15%  { opacity: 1; }
  60%  { opacity: 0.7; }
  100% { transform: translate3d(-40px, -115vh, 0) scale(1.7); opacity: 0; }
}
@keyframes puls { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.7); opacity: 0.45; } }

@media (min-width: 720px) {
  .seite { padding-left: 24px; padding-right: 24px; }
  .logo img { width: 150px; }
  .buehne { gap: 22px; }
}

@media (max-height: 640px) {
  .buehne { gap: 14px; }
  h1 { font-size: clamp(38px, 11vw, 72px); }
}

@media (prefers-reduced-motion: reduce) {
  .rauch span, .punkt { animation: none; }
  .rauch span { opacity: 0.5; }
  .rauch span:nth-child(n+4) { display: none; }
  .rauch span:nth-child(1) { bottom: 10%; }
  .rauch span:nth-child(2) { bottom: 30%; }
  .rauch span:nth-child(3) { bottom: 55%; }
}
