/* ====================================================================
   CLUB L — clubl-eat.com
   Redesign 2026. Mobile first, Breakpoints greifen nach oben.

   Farben direkt aus dem Logo-PNG und der Layoutvorlage gesampelt.
   Die Klassennamen sind absichtlich unverändert geblieben, damit
   impressum.html und mail.php ohne Anpassung mitgezogen werden.
   ==================================================================== */


/* ---------- 1. Futura ---------------------------------------------------

   Eingebundene Dateien:
     assets/fonts/futura-book.woff2       Futura EF Book
     assets/fonts/futura-medium.woff2     Futura EF Medium
     assets/fonts/futura-bold.woff2       Futura EF Bold

   Die Obliquen aus deinem Paket sind nicht eingebunden — die Seite
   nutzt nirgends Kursiv. Falls doch mal nötig, nach demselben Muster
   mit font-style: italic ergänzen.

   Hinweis: Eine Desktop-Lizenz für Futura deckt die Einbindung als
   Webfont in der Regel NICHT ab — dafür braucht es eine Webfont-Lizenz.
   Vor dem Livegang kurz prüfen.
   ----------------------------------------------------------------------- */

@font-face {
  font-family: "Futura";
  src: url("assets/fonts/futura-book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura";
  src: url("assets/fonts/futura-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura";
  src: url("assets/fonts/futura-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ---------- 2. Tokens --------------------------------------------------- */

:root {
  --paper:    #EDE6D6;   /* Hintergrund, aus der Layoutvorlage */
  --ink:      #111110;   /* Text, entspricht dem Schwarz im Logo */
  --ink-soft: #4A463C;   /* Sekundärtext, Kontrast 7.6:1 */
  --red:      #EE0202;   /* Logo-Rot. Nur für Flächen und große Typo */
  --red-ink:  #C01008;   /* dunkler, für Linktext und Hover (5.1:1) */
  --gold:     #CD9328;   /* rein dekorativ, nie für Text */

  --rule:      rgba(17, 17, 16, 0.16);
  --rule-gold: rgba(205, 147, 40, 0.55);
  --field:     rgba(17, 17, 16, 0.28);

  --font: "Futura", "Futura PT", "Century Gothic", "Avenir Next",
          Avenir, "Trebuchet MS", system-ui, sans-serif;

  /* Futura hat eine kleine x-Höhe, deshalb etwas größer als üblich */
  --step--1: clamp(0.875rem, 0.84rem + 0.16vw, 0.9375rem);
  --step-0:  clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.1875rem, 1.1rem + 0.32vw, 1.3125rem);
  --step-2:  clamp(1.375rem, 1.2rem + 0.85vw, 1.875rem);

  --gutter: clamp(1.5rem, 5vw, 3.5rem);
  --radius: 0;            /* geometrisch, keine Rundungen */
}


/* ---------- 3. Reset ---------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; margin: 0; padding: 0; }
a   { color: inherit; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


/* ---------- 4. Grundgerüst ---------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(2.5rem, 10vw, 5rem) clamp(2rem, 8vw, 3.5rem);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 11vw, 5.5rem);
}

.skip-link { position: absolute; left: -9999px; top: 0; }

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  z-index: 10;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1rem;
  text-decoration: none;
}


/* ---------- 5. Hero ------------------------------------------------------ */

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.75rem, 7vw, 2.5rem);
}

.logo {
  margin: 0;
  width: 100%;
  max-width: 11rem;        /* mobil bewusst zurückhaltend */
}

.logo img { width: 100%; }

.claim {
  margin: 0;
  font-weight: 500;
  font-size: var(--step-1);
  line-height: 1.42;
  text-transform: uppercase;

  /* Die Vorlage ist in Photoshop mit optischer Laufweite gesetzt, das
     kerned jedes Paar einzeln. Der Browser kann nur metrisches Kerning
     aus der Schrift — hier explizit eingeschaltet. Statt die Lücken mit
     Spationierung zuzuschieben, läuft die Zeile eng und dafür etwas
     größer, das kommt dem Original näher. */
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  letter-spacing: 0.01em;
}

/* Handkorrekturen am Paar A * – E. Futura EF kennt weder A/Stern noch
   A/R als Kerning-Paar, und der Halbgeviertstrich steht in der Schrift
   deutlich enger als in der Photoshop-Vorlage. Beide Werte in em, sie
   skalieren also mit der fließenden Schriftgröße mit.
   An der Vorlage gemessen: Weißraum links vom Strich 18,2 % der
   Versalhöhe, rechts davon 26,8 %. */
.claim .kern      { margin-left: -0.1em; }
.claim .kern-dash { margin-right: 0.1em; }

/* Dasselbe Mittel ließe sich auf A/R in VEGETARIAN anwenden — auch
   dieses Paar fehlt in der Schrift. Dafür das zweite A in ein
   <span class="kern-ar"> fassen und hier etwa -0.03em setzen:
   .claim .kern-ar { margin-right: -0.03em; } */

/* Der kurze Strich unter der Tagline, wie in der Vorlage */
.claim::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 1.1rem;
  background: var(--ink);
}

/* Kleine Variante für impressum.html und die Seiten aus mail.php */
.hero--small { gap: 0; }
.hero--small .logo { max-width: 6.5rem; }
.logo--link { display: block; }

/* Fallback, falls irgendwo noch die alte Tagline-Liste steht */
.tags {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* ---------- 6. Kontaktbereich ------------------------------------------- */

.contact {
  border-top: 1px solid var(--rule-gold);
  padding-top: clamp(2.25rem, 9vw, 3.5rem);
}

.contact__title {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact__intro {
  margin: 0.75rem 0 clamp(2rem, 8vw, 3rem);
  max-width: 36ch;
  color: var(--ink-soft);
}


/* ---------- 7. Formular -------------------------------------------------- */

.form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 6vw, 2rem);
}

.field { display: flex; flex-direction: column; gap: 0.55rem; }

.field label {
  font-size: var(--step--1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.field input,
.field textarea {
  font: inherit;
  font-size: max(1rem, var(--step-0));   /* verhindert iOS-Zoom */
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--field);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  min-height: 3rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field textarea { resize: vertical; min-height: 9.5rem; line-height: 1.55; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-soft); opacity: 0.55; }

.field input:hover,
.field textarea:hover { border-color: var(--ink); }

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  outline: 1px solid var(--red);
  outline-offset: -2px;
  background: rgba(255, 255, 255, 0.4);
}

.field input:not(:placeholder-shown):invalid,
.field textarea:not(:placeholder-shown):invalid { border-color: var(--red-ink); }

/* Honeypot — für Menschen unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  font: inherit;
  font-weight: 500;
  font-size: var(--step-0);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;                 /* Weiß auf Rot: 4.5:1, Cream wäre zu wenig */
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 1rem 2.5rem;
  min-height: 3rem;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover { background: var(--red-ink); border-color: var(--red-ink); }
.btn:active { transform: translateY(1px); }

.form__note {
  margin: -0.5rem 0 0;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 48ch;
}

.form__note a,
.contact a {
  color: var(--ink);
  text-decoration-color: var(--rule-gold);
  text-underline-offset: 3px;
}

.form__note a:hover,
.contact a:hover { color: var(--red-ink); text-decoration-color: currentColor; }


/* ---------- 8. Ergebnisseiten aus mail.php ------------------------------- */

.result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  border-top: 1px solid var(--rule-gold);
  padding-top: clamp(2.25rem, 9vw, 3.5rem);
}

.result__headline {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 18ch;
}

.result__body { margin: 0; max-width: 48ch; color: var(--ink-soft); }

.result__errors {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
  max-width: 48ch;
  color: var(--ink-soft);
}

.result .btn {
  width: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* ---------- 9. Impressum ------------------------------------------------- */

.legal {
  border-top: 1px solid var(--rule-gold);
  padding-top: clamp(2.25rem, 9vw, 3.5rem);
  max-width: 64ch;
}

.legal h1 {
  margin: 0 0 1.5rem;
  font-size: var(--step-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.legal h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: var(--step-0);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legal p { margin: 0 0 1rem; color: var(--ink-soft); }
.legal a { color: var(--ink); text-decoration-color: var(--rule-gold); text-underline-offset: 3px; }
.legal a:hover { color: var(--red-ink); }

.legal hr { margin: 3.5rem 0; border: 0; border-top: 1px solid var(--rule); }

.legal__updated { font-size: var(--step--1); opacity: 0.75; }

.legal .btn { width: auto; text-decoration: none; display: inline-flex; margin-top: 1.5rem; color: #fff; }


/* ---------- 10. Footer --------------------------------------------------- */

.footer {
  margin-top: auto;
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.5rem, 6vw, 2rem);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.footer__links { display: flex; flex-direction: column; gap: 0.85rem; }

.footer__links a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-gold);
  padding-block: 0.2rem;
  display: inline-block;
}

.footer__links a:hover { color: var(--red-ink); border-color: currentColor; }

.footer__mark { margin: 1.5rem 0 0; color: var(--ink-soft); }


/* ---------- 11. Ab Tablet ------------------------------------------------ */

@media (min-width: 40em) {

  .hero {
    flex-direction: row;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 4.5rem);
  }

  .logo { max-width: 15rem; flex: 0 0 auto; }

  .hero--small { align-items: flex-start; }
  .hero--small .logo { max-width: 8rem; }

  .form { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

  .field--name    { grid-column: 1; }
  .field--email   { grid-column: 2; }
  .field--message,
  .form__note     { grid-column: 1 / -1; }

  .btn { grid-column: 1 / -1; width: auto; justify-self: start; }

  .footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
  }

  .footer__links { flex-direction: row; gap: 2rem; }
  .footer__mark  { margin: 0; }
}


/* ---------- 12. Ab Desktop ----------------------------------------------- */

@media (min-width: 64em) {
  .logo { max-width: 18rem; }
  .claim { font-size: clamp(1.3125rem, 1.1rem + 0.55vw, 1.5625rem); }
  .claim::after { width: 4rem; margin-top: 1.4rem; }
}


/* ---------- 13. Print ---------------------------------------------------- */

@media print {
  .form, .skip-link { display: none; }
  body { background: #fff; }
}
