/* ==========================================================================
   unserteamgold.de – Theme-Stylesheet
   Farbwelt : Gold (metallischer Verlauf aus dem Logo) / Schwarz / Weiß,
              Rot sparsam als Akzent
   Schrift  : Raleway, selbst gehostet als Variable Font (Achse 100–900),
              siehe fonts/raleway-variable.woff2 – keine externen Anfragen
   ========================================================================== */

/* Eine einzige Regel mit Gewichtsbereich: Nur so interpoliert der Browser die
   Variable-Font-Achse. Getrennte Regeln je Gewicht auf dieselbe Datei führen
   dazu, dass alle Schnitte gleich aussehen. */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/raleway-variable.woff2') format('woff2');
}

:root {
  /* Flächen */
  --color-ink: #141414;
  --color-ink-deep: #0b0b0b;
  --color-ink-panel: #1f1f1f;
  --color-canvas: #ffffff;
  --color-canvas-tint: #faf8f3;

  /* Marke */
  --color-gold: #c9a227;
  --color-gold-light: #e8c873;
  --color-gold-deep: #7a5c18;
  --color-red: #c6202e;

  /* Metallischer Goldverlauf – Stufen exakt aus images/logo-unserteamgold.svg.
     Als Stop-Liste abgelegt, damit die Richtung je Element gewählt werden kann. */
  --gold-stops:
    #a37651 0%, #b3875c 9.1%, #c29a69 18.1%, #caa26f 27.3%,
    #cba571 36.4%, #d0aa74 45.4%, #d6b076 54.6%, #d8b175 63.6%,
    #d6ad72 72.7%, #d6ad72 81.9%, #cda066 90.9%, #c08f57 100%;
  --gold-sheen: linear-gradient(135deg, var(--gold-stops));

  /* Schwarz und Rot mit derselben Charakteristik: Das normierte Helligkeits-
     profil des Goldverlaufs (ansteigend, Höhepunkt bei 63,6 %, zum Ende hin
     wieder abfallend) ist auf einen dunklen und einen hellen Grundton
     übertragen. Dadurch wirken die drei Bahnen wie dasselbe Material. */
  --ink-stops:
    #0b0b0b 0%, #171717 9.1%, #232323 18.1%, #292929 27.3%,
    #2b2b2b 36.4%, #2e2e2e 45.4%, #323232 54.6%, #333333 63.6%,
    #313131 72.7%, #313131 81.9%, #282828 90.9%, #1d1d1d 100%;
  --red-stops:
    #8c161f 0%, #a5232d 9.1%, #bf313d 18.1%, #cb3744 27.3%,
    #ce3946 36.4%, #d63d4a 45.4%, #de414f 54.6%, #e04250 63.6%,
    #db3f4d 72.7%, #db3f4d 81.9%, #c93643 90.9%, #b12935 100%;

  /* Text */
  --on-canvas: #141414;
  --on-canvas-muted: #4a4740;
  --on-ink: #ece7d9;
  --on-ink-muted: #b9b3a4;
  --color-line: rgba(20, 20, 20, 0.12);

  /* Schrift */
  --font-base: 'Raleway', 'Segoe UI', Arial, sans-serif;
  --weight-light: 300;
  --weight-regular: 400;
  --weight-bold: 700;
  --weight-black: 900;

  --fs-body: 1.4rem;        /*  – Fließtext auf hellem Grund */
  --fs-body-dark: 1.4rem;  /* – Fließtext auf Schwarz */
  --lh-body: 1.9;
  --lh-body-dark: 1.9;

  /* Maße */
  --container-width: 1180px;
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 4rem;
  --header-height: 76px;
  --header-total: 82px;       /* inkl. Flaggen-Linie, für Anker-Sprünge */
  --radius: 2px;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

html {
	margin-top: 20px;
}


body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--on-canvas);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-base);
  font-weight: var(--weight-bold);
  color: var(--color-ink);
  line-height: 1.05;
  margin: 0 0 var(--space-s);
  text-wrap: balance;
}

h1 {
  font-weight: var(--weight-black);
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: var(--fs-body); letter-spacing: 0.02em; }

p { margin: 0 0 var(--space-s); }

a { color: var(--color-red); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--color-gold-deep); outline-offset: 3px; }

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Flaggen-Linie (Header-Unterkante, Footer-Oberkante) ---------------- */
/* Zwei Hintergrundebenen: Schwarz/Rot links, Goldverlauf rechts daneben,
   damit der Verlauf längs durch das Golddrittel läuft statt quer. */
.flag-rule {
  height: 6px;
  background-image:
    linear-gradient(90deg, var(--color-ink-deep) 0 50%, var(--color-red) 50% 100%),
    linear-gradient(90deg, var(--gold-stops));
  background-size: 66.667% 100%, 33.334% 100%;
  background-position: 0 0, 100% 0;
  background-repeat: no-repeat, no-repeat;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-weight: var(--weight-bold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1rem 2rem;
  border: 2px solid var(--color-gold);
  background: var(--gold-sheen);
  color: var(--color-ink);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn:hover, .btn:focus-visible {
  background: transparent;
  color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  text-decoration: none;
}
.btn--ink {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-gold-light);
}
.btn--ink:hover, .btn--ink:focus-visible {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}

/* ---- Header / Burger-Navigation ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-canvas);
}
.site-header__bar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__brand {
  font-weight: var(--weight-bold);
  font-size: 1.1rem;
  color: var(--color-red);
  text-decoration: none;
}
.site-header__brand:hover { text-decoration: none; }

.burger {
  width: 48px;
  height: 48px;
  border: none;
  background: var(--color-canvas);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-gold);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
/* Verschiebeweg = Linienstärke + Abstand (3px + 5px), damit sich die beiden
   äußeren Linien im Kreuz exakt treffen. */
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: var(--header-total) 0 0 0;
  background: var(--color-canvas);
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.site-nav.is-open { transform: translateY(0); }

.site-nav__list {
  list-style: none;
  margin: 0 auto;
  padding: var(--space-l) clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  max-width: var(--container-width);
}
.site-nav__list a {
  color: var(--color-ink);
  font-weight: var(--weight-bold);
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible { color: var(--color-gold-deep); }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  color: var(--on-ink);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4.5rem, 10vw, 8rem);
}
.hero__seam {
  position: absolute;
  left: -10%; right: -10%; 
	top: 15%;
  height: 57%;
  transform: rotate(-12deg);
  /* Drei Bahnen als eigene Ebenen, jede mit ihrem Verlauf längs durch den
     Streifen – quer wäre er bei einem Drittel Höhe kaum zu sehen. */
  background-image:
    linear-gradient(90deg, var(--ink-stops)),
    linear-gradient(90deg, var(--red-stops)),
    linear-gradient(90deg, var(--gold-stops));
  background-size: 100% 33.334%;
  background-position: 0 0, 0 50%, 0 100%;
  background-repeat: no-repeat;
  opacity: 0.9;
}
.hero .container { position: relative; z-index: 2; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--color-gold-light); }
.hero__claim {
  max-width: 46ch;
  /*font-size: clamp(1.2rem, 1.9vw, 1.4rem);*/
  line-height: 1.6;
  color: var(--on-ink);
  margin: 0 0 2rem;
}
.hero__badge { justify-self: end; width: min(220px, 100%); }

/* ---- Sektionen ----------------------------------------------------------- */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  scroll-margin-top: var(--header-total);
}
.section--tint { background: var(--color-canvas-tint); }
.section--ink { background: var(--color-ink); color: var(--on-ink); }
.section--ink h2 { color: #fff; }

.section__kicker {
  font-size: 1rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin: 0 0 0.9rem;
}
.section--ink .section__kicker { color: var(--color-gold-light); }

/* Light 300 kommt nur hier vor: großer Intro-Absatz auf hellem Grund.
   Auf dunklem Grund wirken leichte Schnitte ausgefranst – dort Regular. */
.section__intro {
  max-width: 60ch;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--weight-light);
  line-height: 1.55;
  color: var(--on-canvas-muted);
}
.section--ink .section__intro {
  font-weight: var(--weight-regular);
  color: var(--on-ink);
}

/* ---- Manifest (drei Haltungen) ------------------------------------------- */
.manifesto { margin-top: clamp(2.5rem, 5vw, 4rem); }
.manifesto__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.25rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--color-line);
}
.manifesto__row:last-of-type { border-bottom: 1px solid var(--color-line); }
.manifesto__row:nth-of-type(2) { justify-content: flex-end; text-align: right; }
.manifesto__row:nth-of-type(2) .manifesto__sub { order: -1; }
.manifesto__word {
  font-weight: var(--weight-bold);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1;
}
.manifesto__sub {
  
  color: var(--color-red);
}
.manifesto__note {
  max-width: 62ch;
  margin-top: 2rem;
  color: var(--on-canvas-muted);
}

/* ---- Zitatzeile (hell und dunkel einsetzbar) ------------------------------ */
/* Grundwerte gelten auf hellem Grund, .section--ink dreht die Farben um –
   gleiches Muster wie bei .section__kicker und .section__intro. */
.pull-quote {
  font-weight: var(--weight-black);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 0 0 2rem;
  text-wrap: balance;
}
.section--ink .pull-quote { color: #fff; }
.pull-quote .accent { color: var(--color-gold-light); }
.section--ink .pull-quote .accent, .accent { color: var(--color-gold-light); }

/* ---- Statement auf Schwarz ------------------------------------------------ */
.statement { max-width: 46rem; margin: 0 auto; text-align: center; }
.statement__lead {
  font-size: 1.05rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  color: var(--color-gold-light);
  margin: 0 0 1.9rem;
}
/* Eigene Klasse statt ".statement p": Ein Element-Selektor hätte höhere
   Spezifität als .pull-quote/.statement__lead/.statement__closing und würde
   deren Schriftgrößen überschreiben. */
.statement__body {
  font-size: var(--fs-body-dark);
  line-height: var(--lh-body-dark);
  color: var(--on-ink);
  max-width: 54ch;
  margin: 0 auto 1.4rem;
}
.statement strong { color: #fff; }
.statement__closing {
  margin: 2.2rem auto 0;
  max-width: 40ch;
  font-weight: var(--weight-bold);
  font-size: 1.3rem;
  line-height: 1.4;
  color: #fff;
}
.statement .btn { margin-top: 2.2rem; }

/* ---- Fließtextblock mit Zwischenüberschriften ----------------------------- */
/* Farbe steht auf dem Container, nicht auf ".prose p" – ein Element-Selektor
   würde sonst Klassen an Kindelementen überschreiben. */
.prose {
  max-width: 62ch;
  color: var(--on-canvas-muted);
}
.prose h3 {
  margin-top: var(--space-m);
  margin-bottom: var(--space-xs);
}
.prose > *:last-child { margin-bottom: 0; }

.gold-values {
  list-style: none;
  margin: var(--space-m) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 2rem;
}
.gold-values li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: var(--weight-bold);
  color: var(--color-ink);
}
.gold-values li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--gold-sheen);
}

/* ---- Formulare ------------------------------------------------------------ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.form-field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.2rem; }
.form-field label { font-weight: var(--weight-bold); font-size: 1rem; }
.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 1.0625rem;
  line-height: 1.5;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid #c9c5bc;
  border-radius: var(--radius);
  background: #fff;
  color: var(--on-canvas);
}
.section--ink .form-field input,
.section--ink .form-field textarea {
  background: var(--color-ink-panel);
  border-color: #45423b;
  color: #fff;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible { border-color: var(--color-gold); }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--on-canvas-muted);
  margin: 1.2rem 0 1.6rem;
}
.section--ink .form-consent { color: var(--on-ink); }
.form-consent input { margin-top: 0.35rem; }

/* Honeypot: für Menschen unsichtbar, Bots füllen das Feld häufig aus */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  padding: var(--space-s);
  border-radius: var(--radius);
  margin-bottom: var(--space-m);
  font-weight: var(--weight-bold);
}
.form-notice--success { background: #eef7ec; border: 1px solid #bfe3b6; color: #2a5c22; }
.form-notice--error { background: #fdecec; border: 1px solid #f3b8b8; color: var(--color-red); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--color-ink); color: var(--on-ink); padding: 0 0 2.5rem; }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-top: 2.5rem;
}
.site-footer {font-weight:  var(--weight-bold);}
.site-footer__inner p { margin: 0; font-size: 1rem; color: var(--on-ink-muted); }
.site-footer nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.site-footer a { color: var(--color-gold-light); font-size: 1rem; }

/* ---- Rechtstexte (Impressum/Datenschutz) ---------------------------------- */
/* Schmalere Spalte als im übrigen Layout – lange Rechtstexte lesen sich
   bei rund 75 Zeichen Zeilenlänge deutlich besser als über die volle Breite. */
.legal .container { max-width: 78ch; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: var(--space-m); }
.legal h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-top: var(--space-l);
  margin-bottom: var(--space-xs);
  scroll-margin-top: var(--header-total);
}
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: 0.4rem; }
.legal .todo {
  display: inline-block;
  background: #fff4d6;
  border: 1px dashed var(--color-gold-deep);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius);
  font-weight: var(--weight-bold);
}

/* ---- Schmale Viewports ----------------------------------------------------- */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__badge { justify-self: start; width: 150px; }
  .two-col { grid-template-columns: 1fr; }
  .manifesto__row:nth-of-type(2) { justify-content: flex-start; text-align: left; }
  .manifesto__row:nth-of-type(2) .manifesto__sub { order: 0; }
}
