/* ============================================================
   PAHLAZZO PAHLEN — Fundament
   Farben, Schriften, Grundtypografie, Layoutmaße.
   Die Farbwerte stammen aus dem Clubinio-Shop (designAccentColor
   usw.) — hier an einer Stelle gepflegt.
   ============================================================ */

/* ---------- Schriften: selbst gehostet, kein Abruf bei Google ---------- */

/* Montserrat ExtraBold ist die Überschriftenschrift der Seite. Im
   alten CSS stand BabaPro als Vorgabe, überschrieben wurde sie aber
   zur Laufzeit aus den Seiteneinstellungen — dort war
   „Montserrat-ExtraBold" hinterlegt. */
@font-face {
  font-family: 'Montserrat';
  src: url('../schriften/montserrat-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../schriften/inter-variabel.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Gestaltungswerte ---------- */

:root {
  /* Flächen, von tief nach hoch */
  --grund:        #08080c;
  --grund-2:      #0e0e14;
  --flaeche:      #16161d;
  --flaeche-hoch: #1e1e27;

  /* Akzent — kommt so aus Clubinio.
     Die Abstufungen stehen als eigene Werte da, damit der helle
     Restaurantbereich sie geschlossen austauschen kann. */
  --akzent:          #6bdeb9;
  --akzent-dunkel:   #3fbe95;
  --akzent-hell:     #86e8c8;
  --akzent-kontrast: #06120d;
  --akzent-hauch:       rgba(107, 222, 185, .08);
  --akzent-hauch-stark: rgba(107, 222, 185, .16);
  --akzent-rand:        rgba(107, 222, 185, .30);
  --akzent-schimmer:    rgba(107, 222, 185, .35);
  --akzent-schein:      rgba(107, 222, 185, .55);

  /* Schrift */
  --text:       #f2f4f3;
  --text-ruhig: rgba(242, 244, 243, .68);
  --text-leise: rgba(242, 244, 243, .42);

  /* Linien */
  --linie:      rgba(242, 244, 243, .10);
  --linie-hart: rgba(242, 244, 243, .20);

  /* Schriftfamilien */
  --schrift-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --schrift-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Maße */
  --bahn: 78rem;          /* maximale Inhaltsbreite */
  --rand: clamp(1.25rem, 5vw, 4rem);
  --kopf-hoehe: 4.5rem;

  /* Rundungen und Schatten */
  --radius:       14px;
  --radius-klein: 8px;
  --schatten:     0 18px 50px -12px rgba(0, 0, 0, .75);

  /* Übergänge */
  --weich: 280ms cubic-bezier(.4, 0, .2, 1);

  color-scheme: dark;
}

/* ---------- Zurücksetzen ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe) + 1rem);
  -webkit-text-size-adjust: 100%;
  /* Auf dem iPhone reicht overflow-x am body allein nicht aus */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text-ruhig);
  font-family: var(--schrift-text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--akzent);
  color: var(--akzent-kontrast);
}

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

/* ---------- Typografie ---------- */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--schrift-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .025em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.6vw, 1.2rem); }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--akzent);
  text-decoration-color: var(--akzent-schimmer);
  text-underline-offset: 3px;
  transition: color var(--weich), text-decoration-color var(--weich);
}

a:hover { text-decoration-color: var(--akzent); }

strong { color: var(--text); font-weight: 600; }

/* Kleine Überschrift über der großen — das wiederkehrende Motiv der Seite */
.augenbraue {
  display: block;
  margin-bottom: 1rem;
  color: var(--akzent);
  font-family: var(--schrift-text);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.fuehrungstext {
  max-width: 44rem;
  font-size: 1.075rem;
  line-height: 1.75;
}

/* ---------- Layout ---------- */

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

.bahn--schmal { max-width: 52rem; }

section { position: relative; }

.abschnitt { padding-block: clamp(4rem, 11vw, 9rem); }
.abschnitt--eng { padding-block: clamp(2.5rem, 6vw, 5rem); }
.abschnitt--flaeche { background: var(--grund-2); }

/* Überschriftenblock, zentriert — für Abschnittsköpfe */
.kopfblock {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.kopfblock p {
  margin-top: 1rem;
  margin-inline: auto;
  max-width: 40rem;
  color: var(--text-ruhig);
}

/* Der kurze Akzentstrich unter zentrierten Überschriften */
.kopfblock::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 3px;
  margin: 1.5rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--akzent), transparent);
}

/* ---------- Schaltflächen ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-klein);
  background: var(--akzent);
  color: var(--akzent-kontrast);
  font-family: var(--schrift-text);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--weich), transform var(--weich), box-shadow var(--weich);
}

.knopf:hover {
  background: var(--akzent-hell);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px var(--akzent-schein);
}

.knopf:active { transform: translateY(0); }

.knopf--leer {
  background: transparent;
  border-color: var(--linie-hart);
  color: var(--text);
}

.knopf--leer:hover {
  background: var(--akzent-hauch);
  border-color: var(--akzent);
  color: var(--akzent);
  box-shadow: none;
}

.knopf[disabled] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------- Hilfsklassen ---------- */

.nur-fuer-screenreader {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Honeypot: im Markup vorhanden, aus dem Sichtfeld geschoben.
   Bewusst nicht display:none — das erkennen Bots. */
.falle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.versteckt { display: none !important; }

/* ---------- Einblenden beim Scrollen ---------- */

.auftritt {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.auftritt.sichtbar {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

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