/* ==========================================================================
   Schriften – selbst gehostet
   Anton und Work Sans liegen unter assets/fonts/ auf unserem eigenen Server.
   Bewusst KEINE Einbindung über fonts.googleapis.com: Beim Laden von dort
   würde die IP-Adresse jeder Besucherin an Google übertragen. Beides steht
   unter der SIL Open Font License 1.1, siehe assets/fonts/README.md.
   ========================================================================== */

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/anton-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/work-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/work-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Flingern Straßenfest – Website
   Farb- und Formsprache abgeleitet vom Straßenfest-Logo (Riso-Gelb, Schwarz,
   handgezeichnete Illustration, leicht "ausgerissene" Papier-Kanten).
   ========================================================================== */

:root {
  /* Gelb direkt aus dem Logo gemessen (Mittel über 430.000 Pixel): #fbd305.
     Das frühere #f3c22c war stumpfer und orangestichiger. */
  --color-yellow: #fbd305;
  --color-yellow-deep: #d9b400;
  /* Für gelbe SCHRIFT auf hellem Grund. Die beiden Töne oben kommen dort auf
     unter 2:1 Kontrast und sind praktisch unlesbar. */
  --color-ochre: #8a6d00;
  --color-ink: #1b1712;
  --color-ink-soft: #2c261e;
  --color-cream: #fbf6ea;
  --color-cream-deep: #f4ecd8;
  --color-white: #fffdf8;
  --color-line: #e4d9bd;

  --font-display: "Anton", "Archivo Black", sans-serif;
  --font-body: "Work Sans", "Inter", system-ui, sans-serif;

  --radius: 14px;
  --shadow-card: 0 10px 30px rgba(27, 23, 18, 0.08);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Wer in den Systemeinstellungen „Bewegung reduzieren“ gewählt hat, springt ohne Animation */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Sichtbarer Fokusrahmen für die Bedienung mit der Tastatur (auf hellem und dunklem Grund) */
:focus-visible {
  outline: 3px solid var(--color-ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-yellow);
  border-radius: 4px;
}

.section--ink :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--color-yellow);
  box-shadow: none;
}

/* Sprunglink: unsichtbar, bis er per Tab den Fokus bekommt */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* Ziel des Sprunglinks bekommt den Fokus, braucht aber keinen Rahmen um die ganze Seite */
main:focus,
main:focus-visible {
  outline: none;
  box-shadow: none;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  /* Ohne height:auto gewinnt bei gesetztem width das HTML-Attribut height –
     das Bild wird dann auf seine Originalhöhe gestreckt. Genau so war das
     Hero-Logo auf dem Handy 280x568 statt 280x265 breit/hoch. Die
     width/height-Attribute bleiben im Markup, sie reservieren beim Laden
     den richtigen Platz und verhindern das Springen des Layouts. */
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 0.4em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-yellow-deep);
  background: var(--color-ink);
  padding: 6px 14px 5px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--color-line);
  position: relative;
}

.section--tight {
  padding: 56px 0;
}

.section--ink {
  background: var(--color-ink);
  color: var(--color-cream);
  border-bottom: none;
}

.section--ink .eyebrow {
  background: var(--color-yellow);
  color: var(--color-ink);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--color-ink-soft);
  opacity: 0.8;
}

.section--ink .section-head p {
  color: var(--color-cream);
  opacity: 0.75;
}

/* -------------------- buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--color-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-yellow);
  color: var(--color-ink);
  box-shadow: 4px 4px 0 var(--color-ink);
}

.btn--primary:hover {
  box-shadow: 6px 6px 0 var(--color-ink);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
}

.section--ink .btn--ghost {
  border-color: var(--color-cream);
  color: var(--color-cream);
}

.btn--ghost:hover {
  background: var(--color-ink);
  color: var(--color-cream);
}

.section--ink .btn--ghost:hover {
  background: var(--color-cream);
  color: var(--color-ink);
}

.btn--small {
  padding: 9px 18px;
  font-size: 0.76rem;
}

/* -------------------- header -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 234, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-ink);
}

/* Das freigestellte Logo ersetzt das frühere F-Kästchen. Weil der
   Hintergrund transparent ist, sitzt es auf Creme wie auf Tinte gleich gut –
   ein Rahmen oder Schlagschatten würde die gerissene Kontur zerstören. */
.brand-logo {
  height: 52px;
  width: auto;
  flex: none;
}

.brand-logo--footer {
  height: 68px;
  margin-bottom: 14px;
}

.brand-text {
  font-family: var(--font-display);
  line-height: 1;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand-text span {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--color-ink-soft);
  opacity: 0.7;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  position: relative;
}

.main-nav a:hover {
  color: var(--color-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

/* Bei vergrößerter Schrift (200 %) darf das Menü umbrechen statt die Kopfzeile zu sprengen */
.main-nav {
  flex: 0 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 4px;
}

/* Sprachumschalter DE/EN: zeigt die jeweils andere Sprache */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 2px solid var(--color-ink);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--color-ink);
}

.lang-switch:hover {
  background: var(--color-yellow);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-ink);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-ink);
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

/* -------------------- hero -------------------- */

.hero {
  padding: 72px 0 60px;
  overflow: hidden;
  position: relative;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  margin-bottom: 0.25em;
}

/* Hervorhebung als Textmarker: dunkle Schrift auf gelbem Streifen (Kontrast 13 : 1, WCAG 1.4.3) */
.hero-copy h1 em {
  font-style: normal;
  color: var(--color-ink);
  background: linear-gradient(transparent 52%, var(--color-yellow) 52%, var(--color-yellow) 92%, transparent 92%);
  padding: 0 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 480px;
  color: var(--color-ink-soft);
}

.hero-date-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-ink);
  color: var(--color-cream);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 28px;
}

.hero-date-card .date-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--color-yellow);
  line-height: 1;
}

.hero-date-card .date-text {
  font-size: 0.82rem;
  line-height: 1.3;
}

.hero-date-card .date-text strong {
  display: block;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 18px 30px rgba(27, 23, 18, 0.18));
}

/* -------------------- status banner -------------------- */

.status-banner {
  background: var(--color-yellow);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.status-banner .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-weight: 600;
  font-size: 0.94rem;
}

.status-banner .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-ink);
  flex: none;
}

.status-banner a {
  text-decoration: underline;
  white-space: nowrap;
}

/* -------------------- about grid -------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-figure {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.stat-row {
  display: grid;
  /* minmax(0, …): Spalten dürfen schmaler werden als das längste Wort (bei vergrößerter Schrift) */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.stat {
  text-align: center;
  overflow-wrap: break-word;
  hyphens: auto;
  padding: 18px 8px;
  background: var(--color-cream-deep);
  border-radius: 10px;
}

.stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--color-yellow-deep);
  -webkit-text-stroke: 1px var(--color-ink);
  display: block;
}

.stat .label {
  font-size: 0.78rem;
  color: var(--color-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.route-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.route-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.route-list .pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-yellow);
  border: 1.5px solid var(--color-ink);
  flex: none;
}

/* -------------------- pricing -------------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.price-card--highlight {
  background: var(--color-ink);
  color: var(--color-cream);
  border-color: var(--color-ink);
}

.price-card .tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-ochre);
  margin-bottom: 10px;
}

.price-card--highlight .tag {
  color: var(--color-yellow);
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.3rem;
  margin: 4px 0 2px;
}

.price-card .unit {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 18px;
}

.price-card ul {
  margin: 0 0 22px;
  padding-left: 18px;
  font-size: 0.92rem;
  flex: 1;
}

.price-card ul li {
  margin-bottom: 8px;
}

.price-note {
  margin-top: 30px;
  background: var(--color-cream-deep);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  font-size: 0.92rem;
}

.price-note h4 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
}

.price-note p {
  margin: 0;
  color: var(--color-ink-soft);
}

/* -------------------- platform / app section -------------------- */

.platform {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.platform-steps {
  background: var(--color-cream);
  color: var(--color-ink);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}

.platform-steps-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.25rem;
  margin: 0 0 18px;
}

.platform-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: schritt;
  display: grid;
  gap: 10px;
}

.platform-steps li {
  counter-increment: schritt;
  position: relative;
  background: var(--color-white);
  border-radius: 10px;
  padding: 12px 14px 12px 58px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.platform-steps li::before {
  content: counter(schritt);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--color-yellow);
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-steps li strong {
  display: block;
  font-size: 0.95rem;
}

.platform-steps li span {
  color: var(--color-ink-soft);
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.role-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.role-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-cream);
  border: 1px solid rgba(251,246,234,0.15);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.section--ink .role-item {
  background: rgba(251, 246, 234, 0.06);
  border-color: rgba(251,246,234,0.15);
}

.role-item .badge {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-yellow);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-item h3 {
  margin-bottom: 4px;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
}

.role-item p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.platform-note {
  margin-top: 18px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.platform-note a {
  color: var(--color-yellow);
}

/* -------------------- programme -------------------- */

.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.programme-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.programme-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-yellow);
  border: 2px solid var(--color-ink);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.programme-card p {
  font-size: 0.86rem;
  color: var(--color-ink-soft);
  margin: 0;
}

.placeholder-flag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--color-ochre);
  border: 1px solid var(--color-ochre);
  border-radius: 999px;
  padding: 3px 10px;
}

/* -------------------- sponsors -------------------- */

.sponsor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

/* Alle Felder haben dieselbe Bauhoehe, damit die Leiste ruhig bleibt –
   egal ob Logo oder Text drin steht. Die Logos sind unterschiedlich
   proportioniert (quer, quadratisch), deshalb wird ueber max-height UND
   max-width begrenzt: sonst wirkt ein quadratisches Logo bei gleicher
   Hoehe deutlich schwerer als ein liegendes. */
.sponsor-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  min-width: 160px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 18px 26px;
  font-weight: 700;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  text-align: center;
}

.sponsor-chip img {
  width: auto;
  max-height: 52px;
  max-width: 170px;
}

/* Quadratische Logos brauchen mehr Hoehe, um neben liegenden Wortmarken
   nicht verloren zu wirken - gleiche Hoehe heisst nicht gleiche Wirkung. */
.sponsor-chip img.is-square {
  max-height: 68px;
}

/* Der offene Platz bleibt gestrichelt – als Einladung, nicht als Partner. */
.sponsor-chip--open {
  background: transparent;
  border-style: dashed;
}

/* -------------------- get involved -------------------- */

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.involve-card {
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.involve-card h3 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
}

.involve-card p {
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}

/* -------------------- contact -------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.contact-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.contact-card dt {
  font-weight: 700;
  color: var(--color-ink-soft);
}

.contact-card dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere; /* lange E-Mail-Adresse bricht auf schmalen Bildschirmen um */
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 2px solid var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: var(--color-white);
}

/* Solange der Newsletter nicht eingerichtet ist: Feld und Knopf sind
   deaktiviert. Sichtbar gedaempft, damit niemand vergeblich tippt. */
.newsletter-form--soon input[type="email"],
.newsletter-form--soon .btn {
  opacity: 0.5;
  cursor: not-allowed;
}

.newsletter-form--soon .btn:hover {
  transform: none;
  box-shadow: 4px 4px 0 var(--color-ink);
}

.newsletter-soon {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
}

/* -------------------- footer -------------------- */

.site-footer {
  background: var(--color-ink);
  color: var(--color-cream);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(251,246,234,0.15);
}

.footer-brand img {
  height: 44px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.86rem;
  opacity: 0.7;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-col a {
  text-decoration: none;
  opacity: 0.85;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* -------------------- responsive -------------------- */

@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    max-width: 280px;
  }

  .about-grid,
  .platform,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-grid,
  .programme-grid,
  .involve-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 68px 16px auto 16px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px;
    box-shadow: var(--shadow-card);
    display: none;
    gap: 14px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn--small {
    display: none;
  }

  .price-grid,
  .programme-grid,
  .involve-grid {
    grid-template-columns: 1fr;
  }

  .price-note {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

/* ==========================================================================
   RECHTSSEITEN (Impressum, Datenschutz)
   ========================================================================== */

.legal {
  padding: 64px 0 88px;
}

/* Die Groessen stammen nicht aus dem Nichts, sondern aus der Skala der
   uebrigen Seite: h1 = die h2-Groesse der Startseite, h2 = deren h3, und die
   Zwischenlabels folgen der .eyebrow/.tag-Konvention (0.78rem, gesperrt).
   Die Breite ist in ch statt px gesetzt – 62 Zeichen pro Zeile liest sich bei
   Fliesstext deutlich besser als die vorherigen 760px (rund 90 Zeichen). */

.legal-head {
  max-width: 62ch;
  margin-bottom: 48px;
}

.legal-head h1 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.legal-head p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-ink-soft);
}

.legal-body {
  max-width: 62ch;
}

.legal-body section {
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--color-line);
}

.legal-body section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-body h2 {
  font-size: 1.2rem;
  margin: 0 0 14px;
}

.legal-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  margin: 26px 0 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ochre);
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-yellow-deep);
  text-underline-offset: 3px;
}

.legal-body a:hover {
  text-decoration-thickness: 2px;
}

/* Logo neben der Anschrift. Das Karuki-Signet ist hochformatig, deshalb
   sitzt die Anschrift daneben und nicht darunter - sonst entsteht eine
   sehr hohe, schmale Saeule. */
.legal-credit {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Begrenzung über BEIDE Achsen, damit hoch- und querformatige Logos
   nebeneinander bestehen: Das Karuki-Signet ist hochformatig und läuft
   gegen max-height, das Logo der Bürgerinitiative ist liegend und läuft
   gegen max-width. Eine feste Höhe würde das liegende Logo zu breit
   machen und der Anschrift den Platz nehmen. */
.legal-credit img {
  width: auto;
  max-height: 88px;
  max-width: 180px;
  flex: none;
}

.legal-credit .legal-address {
  flex: 1;
  min-width: 220px;
  margin-bottom: 0;
}

/* Anschriften und Kontaktblöcke */
.legal-address {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 18px;
  font-style: normal;
  line-height: 1.7;
}

.legal-note {
  background: var(--color-cream-deep);
  border-left: 4px solid var(--color-yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 0 0 18px;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-back {
  display: inline-block;
  margin-top: 48px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--color-yellow);
  padding-bottom: 2px;
}

@media (max-width: 700px) {
  .legal {
    padding: 40px 0 64px;
  }

  .legal-body section {
    padding-top: 28px;
    margin-top: 28px;
  }
}
