/* ============================================================
   UKU & LELE — Die UkulelenKlasse | ukulelenklasse.de
   Statischer Neuaufbau 2026 · Fonts selbst gehostet (DSGVO)
   Farbsystem: die vier Saitenfarben der SchulUkulele
   g = dunkelgrün · c = rot · e = gelb · a = dunkelblau
   ============================================================ */

@font-face { font-family: 'Fredoka'; font-weight: 500; font-display: swap;
  src: url('../fonts/fredoka-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 600; font-display: swap;
  src: url('../fonts/fredoka-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap;
  src: url('../fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap;
  src: url('../fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap;
  src: url('../fonts/nunito-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Press Start 2P'; font-weight: 400; font-display: swap;
  src: url('../fonts/press-start-2p-latin-400-normal.woff2') format('woff2'); }

:root {
  --gelb: #F3B200;          /* SchulUkulele */
  --gelb-tief: #D99C00;
  --tinte: #2A2118;         /* warmes Fast-Schwarz */
  --papier: #FFFDF7;
  --creme: #FBF3DF;
  --orange: #E8611A;        /* Akkord-Spicker-Band */
  --saite-g: #1F6B33;
  --saite-c: #D63A2F;
  --saite-e: #F5D020;
  --saite-a: #1F3F8F;
  --mass: 68ch;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 4.2rem; }
body {
  font: 400 1.06rem/1.65 'Nunito', system-ui, sans-serif;
  color: var(--tinte);
  background: var(--papier);
}
h1, h2, h3 { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; line-height: 1.15; }
a { color: var(--saite-a); }
img { max-width: 100%; display: block; }

/* Die Saiten-Linie: vier Saiten, vier Farben — das Erkennungszeichen */
.saiten {
  display: block; height: 12px; width: 108px; border: 0;
  background:
    linear-gradient(var(--saite-g), var(--saite-g)) 0 1px/100% 2px no-repeat,
    linear-gradient(var(--saite-c), var(--saite-c)) 0 4px/100% 2px no-repeat,
    linear-gradient(var(--saite-e), var(--saite-e)) 0 7px/100% 2px no-repeat,
    linear-gradient(var(--saite-a), var(--saite-a)) 0 10px/100% 2px no-repeat;
}
.saiten.mitte { margin: 0 auto; }

/* ---------- Navigation ---------- */
.leiste {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 1.2rem;
  padding: .55rem 1.2rem;
  background: rgba(42,33,24,.92);
  backdrop-filter: blur(6px);
}
.leiste .marke {
  font-family: 'Fredoka'; font-weight: 600; font-size: 1.15rem;
  color: var(--gelb); text-decoration: none; letter-spacing: .02em;
  margin-right: auto; white-space: nowrap;
}
.leiste nav { display: flex; flex-wrap: wrap; gap: .1rem .2rem; }
.leiste nav a {
  color: #F6EEDD; text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: .35rem .6rem; border-radius: 6px;
}
.leiste nav a:hover, .leiste nav a:focus-visible { background: rgba(243,178,0,.22); color: var(--gelb); }
.leiste nav a:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gelb); outline-offset: 2px;
}

/* ---------- Parallax-Bänder ---------- */
.band {
  position: relative;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  color: #fff;
  display: grid; place-items: center; text-align: center;
  padding: 5rem 1.2rem;
}
.band::before { content: ''; position: absolute; inset: 0; background: rgba(30,22,12,.45); }
.band > * { position: relative; }
.band.hero { min-height: 92vh; background-image: url('../bilder/hero.jpg');
  background-attachment: scroll; /* Hero scrollt mit -> Vorhang-Effekt statt Bildbruch */ }
.band.wand { min-height: 62vh; background-image: url('../bilder/parallax-wand.jpg'); }
.band.zuhause { min-height: 54vh; background-image: url('../bilder/band-zuhause.jpg'); }
@media (max-width: 900px), (hover: none) {
  .band { background-attachment: scroll; } /* iOS kann kein fixed */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band { background-attachment: scroll; }
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.hero .unterzeile {
  font-family: 'Fredoka'; font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--gelb); text-shadow: 0 1px 10px rgba(0,0,0,.5);
  margin-top: .4rem;
}
.hero .saiten { width: 160px; margin: 1.4rem auto 0; }

.band .zitat {
  max-width: 46rem;
  font-family: 'Fredoka'; font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem); line-height: 1.45;
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}
.band .zitat p + p { margin-top: 1rem; }
.band .zitat .schluss { color: var(--gelb); font-weight: 600; }

/* ---------- Inhaltssektionen ---------- */
.abschnitt { padding: 4.2rem 1.2rem; }
.abschnitt.creme { background: var(--creme); }
.eng { max-width: 72rem; margin: 0 auto; }
.abschnitt h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: .5rem; text-align: center;
}
.abschnitt .einleitung {
  max-width: var(--mass); margin: 1.2rem auto 0; text-align: center;
  font-size: 1.12rem;
}

/* Kachel-Raster */
.kacheln {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2.4rem;
}
.kachel {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(42,33,24,.1);
  box-shadow: 0 3px 14px rgba(42,33,24,.07);
  display: flex; flex-direction: column;
}
.kachel img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.kachel .text { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.kachel h3 { font-size: 1.3rem; }
.kachel p { flex: 1; }
.kachel .mehr {
  align-self: start;
  font-weight: 800; text-decoration: none;
  color: var(--tinte); background: var(--gelb);
  padding: .5rem 1rem; border-radius: 999px;
}
.kachel .mehr:hover { background: var(--gelb-tief); }

/* ---------- Akkord-Spicker (orangenes Band) ---------- */
.spicker {
  background: var(--orange); color: #fff;
  padding: 4rem 1.2rem; text-align: center;
}
.spicker h2 { color: #fff; }
.spicker p { max-width: var(--mass); margin: 1rem auto 0; font-size: 1.1rem; }
.spicker a.knopf {
  display: inline-block; margin-top: 1.6rem;
  background: #fff; color: var(--orange);
  font-weight: 800; text-decoration: none;
  padding: .7rem 1.4rem; border-radius: 999px;
}
.spicker a.knopf:hover { background: var(--creme); }

/* ---------- Musikbaumeister-Teaser (Pixel-Gruß) ---------- */
.baumeister {
  background: #17203A; color: #EDEAE2;
  padding: 4.2rem 1.2rem; text-align: center;
  border-top: 6px solid var(--gelb);
  border-bottom: 6px solid var(--gelb);
}
.baumeister .neu {
  display: inline-block;
  font-family: 'Press Start 2P'; font-size: .68rem;
  color: var(--tinte); background: var(--saite-e);
  padding: .5rem .8rem;
  box-shadow: 4px 4px 0 var(--saite-c);
  margin-bottom: 1.4rem;
}
.baumeister h2 {
  font-family: 'Press Start 2P'; font-weight: 400;
  font-size: clamp(1rem, 3.4vw, 1.7rem); line-height: 1.7;
  color: #fff;
}
.baumeister p { max-width: 58ch; margin: 1.3rem auto 0; }
.baumeister .bloecke {
  display: flex; gap: .5rem; justify-content: center; margin: 1.6rem 0 0;
}
.baumeister .bloecke span {
  width: 20px; height: 20px; display: inline-block;
  box-shadow: inset -4px -4px 0 rgba(0,0,0,.28);
}
.baumeister a.knopf {
  display: inline-block; margin-top: 1.8rem;
  font-family: 'Press Start 2P'; font-size: .72rem;
  color: var(--tinte); background: var(--gelb);
  text-decoration: none; padding: .9rem 1.2rem;
  box-shadow: 5px 5px 0 var(--saite-a);
}
.baumeister a.knopf:hover { transform: translate(2px,2px); box-shadow: 3px 3px 0 var(--saite-a); }

/* ---------- Kontakt ---------- */
.kontakt form {
  max-width: 34rem; margin: 2rem auto 0;
  display: grid; gap: 1rem;
}
.kontakt label { font-weight: 800; display: grid; gap: .35rem; text-align: left; }
.kontakt input, .kontakt textarea {
  font: inherit; padding: .65rem .8rem;
  border: 2px solid rgba(42,33,24,.25); border-radius: 10px;
  background: #fff;
}
.kontakt input:focus, .kontakt textarea:focus { border-color: var(--gelb-tief); outline: none; }
.kontakt .pflanze { position: absolute; left: -9999px; }  /* Honigtopf */
.kontakt button {
  justify-self: start;
  font: 800 1.05rem 'Nunito'; color: var(--tinte);
  background: var(--gelb); border: 0; border-radius: 999px;
  padding: .7rem 1.6rem; cursor: pointer;
}
.kontakt button:hover { background: var(--gelb-tief); }
.hinweis-ok {
  max-width: 34rem; margin: 1.4rem auto 0;
  background: #E7F3E9; border: 2px solid var(--saite-g);
  border-radius: 10px; padding: .8rem 1rem; font-weight: 700;
}

/* ---------- Footer ---------- */
footer {
  background: var(--tinte); color: #D8CFC2;
  padding: 2rem 1.2rem; text-align: center; font-size: .95rem;
}
footer a { color: var(--gelb); }
footer .saiten { margin: 0 auto 1.1rem; }

/* ---------- Unterseiten ---------- */
.artikel-kopf {
  background: var(--tinte); color: #fff;
  padding: 6.5rem 1.2rem 2.6rem; text-align: center;
}
.artikel-kopf h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.artikel-kopf .saiten { margin: 1.1rem auto 0; }
.artikel {
  max-width: var(--mass); margin: 0 auto; padding: 2.8rem 1.2rem 4rem;
}
.artikel p + p, .artikel ul + p, .artikel p + ul { margin-top: 1rem; }
.artikel ul { padding-left: 1.3rem; }
.artikel li + li { margin-top: .3rem; }
.artikel strong { font-weight: 800; }
.artikel .zurueck {
  display: inline-block; margin-top: 2.6rem;
  font-weight: 800; text-decoration: none;
  color: var(--tinte); background: var(--gelb);
  padding: .55rem 1.1rem; border-radius: 999px;
}
.artikel .zurueck:hover { background: var(--gelb-tief); }
.termine { margin-top: 1.4rem; border-top: 2px solid var(--creme); }
.termine li { list-style: none; padding: .7rem 0; border-bottom: 2px solid var(--creme); }
.termine .datum { font-weight: 800; color: var(--saite-c); margin-right: .5rem; }

/* ---------- Tutorials ---------- */
.stueck {
  background: #fff; border: 1px solid rgba(42,33,24,.1);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 3px 14px rgba(42,33,24,.07);
  margin-top: 2rem;
}
.stueck .text { padding: 1.3rem 1.5rem 1.6rem; }
.stueck h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.stueck .medien { display: grid; gap: .8rem; margin-top: .8rem; }
.stueck audio { width: 100%; }
.stueck .medienzeile { display: grid; gap: .3rem; }
.stueck .medienzeile span { font-weight: 800; font-size: .95rem; }
.knopfzeile { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.knopf-gelb, .knopf-blau {
  display: inline-block; font-weight: 800; text-decoration: none;
  padding: .55rem 1.1rem; border-radius: 999px;
}
.knopf-gelb { background: var(--gelb); color: var(--tinte); }
.knopf-gelb:hover { background: var(--gelb-tief); }
.knopf-blau { background: var(--saite-a); color: #fff; }
.knopf-blau:hover { background: #16306e; }

@media (max-width: 640px) {
  .leiste { padding: .45rem .8rem; }
  .leiste nav a { font-size: .82rem; padding: .3rem .45rem; }
  .band.hero { min-height: 78vh; }
}

/* ---------- Video-Bühne (Klick-zum-Laden, DSGVO) ---------- */
.videobuehne { max-width: 46rem; margin: 0 auto; }
.videobuehne.aktiv, .video-platzhalter { aspect-ratio: 16/9; }
.videobuehne iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; }
.video-platzhalter {
  width: 100%; border: 0; cursor: pointer;
  display: grid; place-content: center; gap: .7rem; text-align: center;
  border-radius: 14px; padding: 1.5rem;
  color: #fff;
  background:
    radial-gradient(ellipse at center, rgba(42,33,24,.25), rgba(42,33,24,.78)),
    url('../bilder/parallax-wand.jpg') center/cover;
}
.video-platzhalter .play {
  width: 74px; height: 74px; margin: 0 auto;
  border-radius: 50%; background: var(--gelb);
  display: grid; place-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.video-platzhalter .play::before {
  content: ''; display: block;
  border-style: solid; border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--tinte);
  margin-left: 5px;
}
.video-platzhalter:hover .play { background: var(--gelb-tief); }
.video-platzhalter .titel { font: 600 1.3rem 'Fredoka'; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.video-platzhalter .hinweis { font-size: .85rem; opacity: .92; max-width: 34rem; }


/* ---------- Zitat auf ruhiger Bühne (statt zweitem Bildband) ---------- */
.zitatband {
  background: var(--tinte); color: #F6EEDD;
  padding: 5rem 1.2rem; text-align: center;
  display: grid; place-items: center;
}
.zitatband .zitat {
  max-width: 46rem;
  font-family: 'Fredoka'; font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem); line-height: 1.5;
  text-shadow: none;
}
.zitatband .zitat p + p { margin-top: 1.1rem; }
.zitatband .schluss { color: var(--gelb); font-weight: 600; }
.zitatband .saiten { margin: 1.8rem auto 0; }

/* ---------- Leihsystem-Ablauf (on Tour) ---------- */
.ablauf { counter-reset: schritt; margin-top: 1.6rem; display: grid; gap: 1.2rem; padding: 0; }
.ablauf li {
  list-style: none; position: relative;
  background: var(--creme); border-radius: 12px;
  padding: 1.1rem 1.3rem 1.1rem 4rem;
}
.ablauf li::before {
  counter-increment: schritt; content: counter(schritt);
  position: absolute; left: 1.05rem; top: 1.05rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-content: center;
  font: 600 1.1rem 'Fredoka'; color: var(--tinte);
  background: var(--gelb);
}
.ablauf h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.ablauf p + p { margin-top: .5rem; }
