/*
Theme Name: Zita Voice
Theme URI: https://example.com
Author: Zita Fischer Voice
Description: Eigenes Theme für Zita Fischer, Hörbuchsprecherin und Voiceartist. Alle Texte änderst du unter Design > Customizer > Zitas Website oder direkt in den Seiten. Hörproben legst du unter "Hörproben" an.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zita-voice
*/

/* =====================================================================
   ZITA FISCHER VOICE: DESIGN-DATEI
   =====================================================================
   FARBEN änderst du ganz einfach unter:
   Design > Customizer > Zitas Website > Farben
   (Hier in der Datei sind nur die Startwerte.)
   Schrift und Rundung kannst du in Teil 1 anpassen.

   INHALT
   1. Farben, Schrift, Rundung   <- HIER ÄNDERN
   2. Grundlagen
   3. Kopfzeile (Menü)
   4. Startseite: großer Titel + "Neueste Arbeit"
   5. Audio-Player
   6. Karten (Hörbücher, Sonstiges)
   7. Über mich
   8. Rechtliches
   9. Fußzeile (Kontakt)
   10. Handy-Ansicht
   ===================================================================== */


/* ---------- Schriften (liegen im Ordner assets/fonts, kein Google!) ---------- */
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/fraunces-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: italic; font-display: swap; src: url("assets/fonts/fraunces-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito";   font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito";   font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito";   font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/nunito-latin-800-normal.woff2") format("woff2"); }


/* =====================================================================
   1. FARBEN, SCHRIFT, RUNDUNG   <- HIER ÄNDERN
   ===================================================================== */
:root {
  /* Farben (Hex-Codes. Einen neuen Code findest du z.B. mit "color picker" bei Google) */
  --gruen-hell:   #DDEFE0;  /* sanfter Hintergrund */
  --gruen-mittel: #7CC79A;  /* frisches Grün für Buttons und Akzente */
  --gruen-dunkel: #1F5A43;  /* dunkles Grün für Überschriften und Footer */
  --weiss:        #FFFFFF;
  --schwarz:      #151A17;  /* Text */
  --akzent-gelb:  #FFE9A8;  /* kleiner Farbklecks, kann auch entfernt werden */

  /* Schriften */
  --schrift-titel: "Fraunces", Georgia, serif;
  --schrift-text:  "Nunito", "Segoe UI", Arial, sans-serif;

  /* Rundung: 0px = eckig, 28px = schön rund, 999px = ganz rund */
  --rundung: 28px;
  --rundung-klein: 16px;

  /* Breite des Inhalts */
  --inhalt-breite: 1080px;
}


/* =====================================================================
   2. GRUNDLAGEN
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: 18px;
  line-height: 1.65;
  color: var(--schwarz);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-dunkel); }
h1, h2, h3 { font-family: var(--schrift-titel); color: var(--gruen-dunkel); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.inhalt { max-width: var(--inhalt-breite); margin: 0 auto; padding: 0 24px; }
.abschnitt { padding: 72px 0; }
.abschnitt.gruen { background: var(--gruen-hell); }
.kleiner-text { font-size: .9rem; opacity: .75; }

/* Kleines Etikett über Überschriften, z.B. "NEUESTE ARBEIT" */
.etikett {
  display: inline-block;
  background: var(--akzent-gelb);
  color: var(--schwarz);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  transform: rotate(-2deg);
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--gruen-dunkel);
  color: var(--weiss);
  font-weight: 800;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--gruen-dunkel);
  transition: transform .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-3px) rotate(-1deg); background: var(--schwarz); border-color: var(--schwarz); }
.button.hell { background: var(--weiss); color: var(--gruen-dunkel); }
.button.hell:hover { background: var(--gruen-hell); color: var(--gruen-dunkel); border-color: var(--gruen-dunkel); }


/* =====================================================================
   3. KOPFZEILE (MENÜ)
   ===================================================================== */
.kopfzeile {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gruen-hell);
}
.kopfzeile .inhalt { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--schrift-titel); font-weight: 700; font-size: 1.25rem;
  color: var(--gruen-dunkel);
}
.logo-kreis {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gruen-dunkel); color: var(--weiss);
  display: grid; place-items: center;
  font-size: 1rem; letter-spacing: -.02em;
}
.menue { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menue a {
  display: block; text-decoration: none; font-weight: 700;
  padding: 8px 16px; border-radius: 999px; color: var(--schwarz);
}
.menue a:hover { background: var(--gruen-hell); }
.menue a.aktiv { background: var(--gruen-dunkel); color: var(--weiss); }
.menue-knopf { display: none; }


/* =====================================================================
   4. STARTSEITE: GROSSER TITEL + "NEUESTE ARBEIT"
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: 88px 0 56px; background: var(--gruen-hell); }
.hero h1 { max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--gruen-dunkel); background: linear-gradient(transparent 62%, var(--gruen-mittel) 62%); }
.hero p.unterzeile { font-size: 1.2rem; max-width: 46ch; margin-bottom: 28px; }
.hero .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Deko-Kreise im Hintergrund */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.hero::before { width: 340px; height: 340px; background: var(--gruen-mittel); opacity: .35; right: -80px; top: -60px; }
.hero::after  { width: 160px; height: 160px; background: var(--akzent-gelb); right: 18%; bottom: -50px; }
.hero .inhalt { position: relative; z-index: 1; }

/* Tanzende Klangbalken (nur Deko) */
.klangbalken { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-bottom: 24px; }
.klangbalken span { width: 8px; background: var(--gruen-dunkel); border-radius: 8px; animation: hüpf 1.2s ease-in-out infinite; }
.klangbalken span:nth-child(1) { height: 30%; animation-delay: 0s; }
.klangbalken span:nth-child(2) { height: 70%; animation-delay: .15s; }
.klangbalken span:nth-child(3) { height: 100%; animation-delay: .3s; }
.klangbalken span:nth-child(4) { height: 55%; animation-delay: .45s; }
.klangbalken span:nth-child(5) { height: 85%; animation-delay: .6s; }
.klangbalken span:nth-child(6) { height: 40%; animation-delay: .75s; }
@keyframes hüpf { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .klangbalken span { animation: none; } html { scroll-behavior: auto; } }

/* Neueste Arbeit (große Karte unter dem Titel) */
.neueste { margin-top: -32px; position: relative; z-index: 2; }
.neueste-karte {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center;
  background: var(--weiss);
  border: 3px solid var(--gruen-dunkel);
  border-radius: var(--rundung);
  padding: 28px;
  box-shadow: 8px 8px 0 var(--gruen-mittel);
}
.cover {
  aspect-ratio: 1 / 1; width: 100%;
  border-radius: var(--rundung-klein);
  object-fit: cover;
  background: var(--gruen-hell);
}

/* Kleine Info-Streifen ("Was ich mache") */
.drei-spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-karte { background: var(--weiss); border-radius: var(--rundung); padding: 28px; border: 2px solid var(--gruen-hell); }
.abschnitt.gruen .mini-karte { border-color: transparent; }
.mini-karte .emoji { font-size: 2rem; display: block; margin-bottom: 8px; }


/* =====================================================================
   5. AUDIO-PLAYER
   ===================================================================== */
.player { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.player-knopf {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--gruen-dunkel); color: var(--weiss);
  font-size: 1.1rem; display: grid; place-items: center;
  transition: transform .15s ease;
}
.player-knopf:hover { transform: scale(1.1); }
.player-knopf:focus-visible { outline: 3px solid var(--gruen-mittel); outline-offset: 3px; }
.player-leiste-box { flex: 1; }
.player-leiste { height: 10px; background: var(--gruen-hell); border-radius: 999px; overflow: hidden; cursor: pointer; }
.player-fortschritt { height: 100%; width: 0; background: var(--gruen-mittel); border-radius: 999px; }
.player-zeit { font-size: .82rem; opacity: .7; margin-top: 4px; display: flex; justify-content: space-between; }
.player.klein .player-knopf { width: 42px; height: 42px; font-size: .9rem; }


/* =====================================================================
   6. KARTEN (HÖRBÜCHER + "ICH KANN AUCH")
   ===================================================================== */
.seitenkopf { background: var(--gruen-hell); padding: 72px 0 48px; }
.seitenkopf p { max-width: 52ch; font-size: 1.15rem; }

/* Große Hörbuch-Karten */
.hoerbuch-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.hoerbuch-karte {
  background: var(--weiss);
  border: 3px solid var(--gruen-dunkel);
  border-radius: var(--rundung);
  padding: 22px;
  display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: start;
  box-shadow: 6px 6px 0 var(--gruen-mittel);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hoerbuch-karte:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--gruen-mittel); }
.hoerbuch-karte h3 { margin-bottom: 2px; }
.autor { font-weight: 700; margin-bottom: 8px; opacity: .8; }
.tag {
  display: inline-block; background: var(--gruen-hell); color: var(--gruen-dunkel);
  font-weight: 700; font-size: .78rem; padding: 3px 12px; border-radius: 999px; margin-right: 6px;
}

/* Kleine Karten für "Ich kann auch" */
.trenner-titel { text-align: center; max-width: 60ch; margin: 0 auto 40px; }
.klein-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.klein-karte { background: var(--weiss); border-radius: var(--rundung); padding: 24px; }
.klein-karte h3 { font-size: 1.15rem; }
.klein-karte p { font-size: .95rem; }


/* =====================================================================
   7. ÜBER MICH
   ===================================================================== */
.ueber-raster { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.foto-rahmen { position: relative; }
.foto-rahmen img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px var(--rundung) var(--rundung); /* Bogenform oben */
  border: 3px solid var(--gruen-dunkel);
  background: var(--gruen-hell);
}
.foto-rahmen::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  background: var(--gruen-mittel);
  border-radius: 200px 200px var(--rundung) var(--rundung);
}
.zitat {
  font-family: var(--schrift-titel); font-style: italic; font-weight: 600;
  font-size: 1.35rem; color: var(--gruen-dunkel);
  border-left: 5px solid var(--gruen-mittel); padding-left: 18px; margin: 28px 0;
}


/* =====================================================================
   8. RECHTLICHES (IMPRESSUM + DATENSCHUTZ)
   ===================================================================== */
.rechtstext { max-width: 760px; }
.rechtstext h2 { margin-top: 1.6em; font-size: 1.8rem; }
.rechtstext h3 { margin-top: 1.6em; }
.rechtstext p, .rechtstext li { font-size: 1rem; }
.rechtstext ol.buchstaben { list-style: lower-alpha; padding-left: 1.4em; }
.rechts-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }


/* =====================================================================
   9. FUSSZEILE (KONTAKT, STEHT AUF JEDER SEITE)
   ===================================================================== */
.fusszeile { background: var(--gruen-dunkel); color: var(--weiss); padding: 64px 0 28px; margin-top: 0; }
.fusszeile h2 { color: var(--weiss); margin-bottom: .3em; }
.fusszeile a { color: var(--weiss); }
.kontakt-zeile { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 40px; }
.fusszeile .button { background: var(--weiss); color: var(--gruen-dunkel); border-color: var(--weiss); }
.fusszeile .button:hover { background: var(--akzent-gelb); border-color: var(--akzent-gelb); color: var(--schwarz); }
.fusszeile .button.rand { background: transparent; color: var(--weiss); }
.fusszeile .button.rand:hover { background: var(--weiss); color: var(--gruen-dunkel); }
.fuss-unten { border-top: 1px solid rgba(255,255,255,.25); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
.fuss-unten a { margin-left: 16px; text-decoration: none; }
.fuss-unten a:first-child { margin-left: 0; }
.fuss-unten a:hover { text-decoration: underline; }


/* =====================================================================
   10. HANDY-ANSICHT
   ===================================================================== */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .abschnitt { padding: 52px 0; }

  .menue-knopf {
    display: block; background: var(--gruen-dunkel); color: var(--weiss); border: none;
    font: 800 .95rem var(--schrift-text); padding: 10px 18px; border-radius: 999px; cursor: pointer;
  }
  .menue {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: var(--weiss); padding: 12px 24px 20px;
    border-bottom: 2px solid var(--gruen-hell);
  }
  .menue.offen { display: flex; }

  .neueste-karte { grid-template-columns: 1fr; padding: 20px; }
  .neueste-karte .cover { max-width: 200px; }
  .drei-spalten, .klein-raster, .hoerbuch-raster { grid-template-columns: 1fr; }
  .hoerbuch-karte { grid-template-columns: 100px 1fr; }
  .ueber-raster { grid-template-columns: 1fr; gap: 40px; }
  .foto-rahmen { max-width: 320px; margin: 0 auto 10px; }
}
@media (max-width: 480px) {
  .hoerbuch-karte { grid-template-columns: 1fr; }
  .hoerbuch-karte .cover { max-width: 140px; }
}


/* =====================================================================
   11. WORDPRESS-EXTRAS (Anmeldung, Seiteninhalt, Zitate)
   ===================================================================== */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gruen-dunkel); color: var(--weiss); padding: 10px 18px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
.admin-bar .kopfzeile { top: 32px; }
@media (max-width: 782px) { .admin-bar .kopfzeile { top: 46px; } }

.kopfzeile .menue li { list-style: none; }
.menue .current-menu-item > a,
.menue .current_page_item > a,
.menue .current-menu-ancestor > a { background: var(--gruen-dunkel); color: var(--weiss); }

.seiteninhalt > :first-child { margin-top: 0; }
.seiteninhalt img { border-radius: var(--rundung-klein); }
.seiteninhalt .wp-block-audio audio, .seiteninhalt audio { width: 100%; }
.seiteninhalt .wp-block-button__link { background: var(--gruen-dunkel); border-radius: 999px; font-weight: 800; }
.seiteninhalt blockquote, .wp-block-quote {
  font-family: var(--schrift-titel); font-style: italic; font-weight: 600;
  font-size: 1.35rem; color: var(--gruen-dunkel);
  border-left: 5px solid var(--gruen-mittel); padding-left: 18px; margin: 28px 0;
}
.seiteninhalt blockquote p { margin: 0; }
.ueber-text h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

.hinweis-admin {
  background: var(--akzent-gelb); border-radius: var(--rundung-klein);
  padding: 14px 18px; font-size: .95rem;
}
.video-box video { width: 100%; border-radius: var(--rundung-klein); margin-top: 12px; background: #000; }
.player audio { width: 100%; }
.player.klein audio { height: 40px; }
.player .nur-audio { width: 100%; }

/* Startseite mit eigenem Hintergrundbild: Deko-Kreise ausblenden */
.hero--bild::before, .hero--bild::after { display: none; }
