/* ==========================================================================
   natsumi-foljanty.de — Gestaltung
   --------------------------------------------------------------------------
   Eine einzige Datei für die ganze Website. Wenn du etwas an Farben oder
   Schriftgrößen ändern willst: ganz oben bei "Farben & Maße" reicht meistens
   eine Zeile — die Änderung wirkt dann überall.
   ========================================================================== */

:root {
  /* ---- Farben ---------------------------------------------------------- */
  --aubergine:      #4a2b3d;   /* dunkles Pflaumenton — Kopfzeile, Fußzeile */
  --aubergine-hell: #7a4763;   /* Links, Hervorhebungen                     */
  --tinte:          #332f2d;   /* normale Textfarbe                         */
  --tinte-leise:    #6b6561;   /* Nebensächliches, Bildunterschriften       */
  --flieder:        #f4f1f6;   /* zarter Hintergrund für abgesetzte Blöcke  */
  --papier:         #fdfcfb;   /* Seitenhintergrund                         */
  --linie:          #e2dde4;   /* Trennlinien, Rahmen                       */

  /* ---- Schriften ------------------------------------------------------- */
  /* Bewusst nur Schriften, die auf dem Gerät des Besuchers schon vorhanden
     sind. Google Fonts würden bei jedem Aufruf Daten an Google senden — das
     ist in Deutschland abmahnfähig und bräuchte ein Einwilligungsbanner.    */
  --serif:  "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* ---- Maße ------------------------------------------------------------ */
  --breite:  62rem;            /* maximale Textbreite                       */
  --luft:    clamp(2rem, 6vw, 4.5rem);  /* Abstand zwischen Abschnitten     */
}

/* ==========================================================================
   Grundlagen
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.18rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--aubergine-hell);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--aubergine); }

/* Sichtbarer Fokusrahmen — wichtig für alle, die mit der Tastatur navigieren */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--aubergine-hell);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--aubergine);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-top: 1.8em; }
h3 { font-size: clamp(1.18rem, 2vw, 1.35rem); margin-top: 1.6em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Seitengerüst
   ========================================================================== */

.huelle {
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

main { padding-block: var(--luft); }

/* Direkt zum Inhalt springen — nur sichtbar, wenn angesteuert */
.sprungmarke {
  position: absolute; left: -9999px;
  background: var(--aubergine); color: #fff;
  padding: 0.7rem 1.2rem; z-index: 100;
}
.sprungmarke:focus { left: 1rem; top: 1rem; }

/* ==========================================================================
   Kopfzeile & Navigation
   ========================================================================== */

.kopf {
  background: var(--aubergine);
  color: #fff;
}

.kopf__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1rem;
}

.kopf__marke {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}
.kopf__marke img { width: 48px; border-radius: 6px; }
.kopf__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.15;
  display: block;
}
.kopf__rolle {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d9c9d4;
}

.navi ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
  list-style: none;
  margin: 0; padding: 0;
}
.navi a {
  color: #ece2e8;
  text-decoration: none;
  font-size: 0.97rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  display: block;
}
.navi a:hover { color: #fff; border-bottom-color: #b98aa6; }
.navi a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }

/* ==========================================================================
   Aufmacher der Startseite
   ========================================================================== */

.aufmacher {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding-block: var(--luft);
}
.aufmacher h1 { margin-bottom: 0.35em; }
.aufmacher__unterzeile {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--tinte-leise);
  font-style: italic;
  margin-bottom: 1.4em;
}
.aufmacher img { border-radius: 4px; }

@media (max-width: 46rem) {
  .aufmacher { grid-template-columns: 1fr; }
  /* Hochkant-Fotos würden sonst den ganzen Handybildschirm füllen, bevor
     man die Überschrift überhaupt zu sehen bekommt. Deshalb beschneiden
     wir sie hier auf ein ruhiges Querformat. */
  .aufmacher__bild { order: -1; }
  .aufmacher__bild img {
    max-height: 42vh;
    width: 100%;
    object-fit: cover;
    object-position: center 22%;
  }
}

/* ==========================================================================
   Bausteine
   ========================================================================== */

/* Hervorgehobener Kasten, z. B. für aktuelle Termine */
.hinweis {
  background: var(--flieder);
  border-left: 4px solid var(--aubergine-hell);
  padding: 1.3rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-block: 2rem;
}
.hinweis h2, .hinweis h3 { margin-top: 0; }

/* Schaltfläche */
.knopf {
  display: inline-block;
  background: var(--aubergine);
  color: #fff;
  text-decoration: none;
  padding: 0.72rem 1.5rem;
  border-radius: 3px;
  font-size: 1rem;
  border: 2px solid var(--aubergine);
  transition: background 0.15s, color 0.15s;
}
.knopf:hover { background: transparent; color: var(--aubergine); }

/* Zweispaltiger Textbereich (Bild + Text) */
.zweispaltig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-block: 2.5rem;
}
@media (max-width: 46rem) { .zweispaltig { grid-template-columns: 1fr; } }

figure { margin: 0; }
figcaption {
  font-size: 0.88rem;
  color: var(--tinte-leise);
  margin-top: 0.5rem;
}

/* Definitionsliste für Lebenslauf-artige Abschnitte */
.werdegang { margin: 0; }
.werdegang dt {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--aubergine);
  margin-top: 1.7rem;
}
.werdegang dd { margin: 0.35rem 0 0; }

/* ==========================================================================
   Hörproben — Klick zum Laden
   --------------------------------------------------------------------------
   Der SoundCloud-Player wird erst geladen, wenn jemand darauf klickt.
   Vorher geht kein einziger Datensatz an SoundCloud — deshalb brauchen
   wir für die Seite kein Cookie-Banner.
   ========================================================================== */

.hoerprobe {
  border: 1px solid var(--linie);
  border-radius: 5px;
  margin-bottom: 1.1rem;
  background: var(--flieder);
  overflow: hidden;
}
.hoerprobe__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  padding: 1.1rem 1.3rem;
}
.hoerprobe__titel {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--aubergine);
  margin: 0;
  flex: 1 1 16rem;
}
.hoerprobe__komponist {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tinte-leise);
}
.hoerprobe button {
  font: inherit;
  font-size: 0.95rem;
  background: var(--aubergine);
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
}
.hoerprobe button:hover { background: var(--aubergine-hell); }
.hoerprobe iframe { display: block; width: 100%; border: 0; }

.datenschutzhinweis {
  font-size: 0.85rem;
  color: var(--tinte-leise);
  background: var(--flieder);
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  margin-bottom: 1.8rem;
}

/* ==========================================================================
   Download-Kacheln (PDF)
   ========================================================================== */

.download {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--linie);
  border-radius: 5px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
  text-decoration: none;
  color: var(--tinte);
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.download:hover { border-color: var(--aubergine-hell); background: var(--flieder); }
.download__symbol {
  flex: 0 0 auto;
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  background: var(--aubergine);
  color: #fff;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.download__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--aubergine);
  display: block;
}
.download__info { font-size: 0.85rem; color: var(--tinte-leise); }

/* ==========================================================================
   Kontaktangaben
   ========================================================================== */

.kontaktliste {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.kontaktliste li {
  border-left: 3px solid var(--linie);
  padding-left: 1.1rem;
}
.kontaktliste .art {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tinte-leise);
}
.kontaktliste .wert { font-size: 1.15rem; }

/* ==========================================================================
   Fußzeile
   ========================================================================== */

.fuss {
  background: var(--aubergine);
  color: #d9c9d4;
  margin-top: var(--luft);
  padding-block: 2.2rem;
  font-size: 0.93rem;
}
.fuss a { color: #fff; }
.fuss__innen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  align-items: center;
  justify-content: space-between;
}
.fuss ul {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  list-style: none; margin: 0; padding: 0;
}

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz) — etwas schmaler und ruhiger
   ========================================================================== */

.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: 1.35rem; margin-top: 2.2em; }
.rechtstext h3 { font-size: 1.08rem; }
.rechtstext p, .rechtstext li { font-size: 1rem; }

/* ==========================================================================
   Drucken
   ========================================================================== */

@media print {
  .kopf, .fuss, .knopf { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
