/* ============================================================
   Anna Maria Wüst — Musikpädagogin und Musikerin
   Design: editorial, warm; Akzent Burgund (vom roten Balken)
   ============================================================ */

:root {
  --rot:    #7d1f2d;
  --rot-d:  #5e1621;
  --ink:    #262122;
  --grau:   #6e675f;
  --papier: #fbf9f6;
  --weiss:  #ffffff;
  --linie:  #e3dcd4;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--weiss);
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; }

/* ---------- Roter Balken (2 cm) ---------- */
.leiste {
  height: 2cm;
  background: var(--rot);
}

/* ---------- Kopfzeile mit Notenhintergrund ---------- */
.kopf {
  position: relative;
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--weiss);
  background:
    linear-gradient(rgba(30, 20, 20, 0.52), rgba(30, 20, 20, 0.62)),
    url("../assets/background.jpg") center 38% / cover no-repeat;
}

.kopf-inhalt { padding: 3rem 1.5rem; }

.kopf h1 {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  letter-spacing: 0.015em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}

.untertitel {
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f3e9e4;
}

/* ---------- Willkommen (weiß, zentriert) ---------- */
.willkommen {
  background: var(--weiss);
  text-align: center;
  max-width: 62ch;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
}

.willkommen .lead {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 500;
  color: var(--rot-d);
  margin-bottom: 1.6rem;
}

.willkommen p + p { margin-top: 1.1rem; }

/* ---------- Plakat ---------- */
.plakat {
  background: var(--papier);
  padding: 3.5rem 1.5rem 4rem;
  display: flex;
  justify-content: center;
}

.plakat img {
  width: min(560px, 92vw);
  height: auto;
  box-shadow: 0 14px 40px rgba(38, 33, 34, 0.18);
}

/* ---------- Projekte ---------- */
.projekte {
  max-width: 1020px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.projekte h2,
.vita h2,
.kontakt h2 {
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  color: var(--rot-d);
  margin-bottom: 2rem;
}

.projekte h2 { text-align: center; }

.projekt-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.projekt {
  border-top: 3px solid var(--rot);
  padding-top: 1.2rem;
}

.projekt h3 {
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
}

.projekt p { color: var(--grau); }

/* ---------- Vita (rechtsbündig mit Porträt) ---------- */
.vita {
  background: var(--papier);
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.vita-bild img {
  width: 100%;
  height: auto;
  box-shadow: 0 14px 40px rgba(38, 33, 34, 0.15);
}

.vita-text { text-align: right; }   /* laut Beschreibung rechtsbündig */
.vita-text p + p { margin-top: 1.1rem; }

/* ---------- Kontakt ---------- */
.kontakt {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5.5rem;
}

.kontakt p { margin-bottom: 2rem; }

.mail-link {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rot);
  text-decoration: none;
  border: 2px solid var(--rot);
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  transition: background-color 0.18s ease, color 0.18s ease;
  min-height: 44px;            /* Touch-Ziel */
}

.mail-link:hover,
.mail-link:focus-visible {
  background: var(--rot);
  color: var(--weiss);
  outline: none;
}

/* ---------- Fußzeile ---------- */
.fusszeile {
  background: var(--ink);
  color: #cfc8c2;
  text-align: center;
  padding: 2.2rem 1.5rem 2.6rem;
  font-size: 0.95rem;
}

.rechtliches { margin-bottom: 0.9rem; }

.fusszeile a {
  color: var(--weiss);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.15rem;    /* größeres Klickziel */
}

.fusszeile a:hover,
.fusszeile a:focus-visible { border-bottom-color: var(--weiss); }

.bildnachweis {
  max-width: 70ch;
  margin: 0 auto;
  color: #9d958d;
  font-size: 0.85rem;
}

.bildnachweis a { color: #cfc8c2; }

/* ---------- Recht-Seiten ---------- */
.seite-recht {
  max-width: 68ch;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.seite-recht h1 {
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  color: var(--rot-d);
  margin-bottom: 1.8rem;
}

.seite-recht h2 {
  font-size: 1.35rem;
  margin: 1.8rem 0 0.4rem;
}

.seite-recht .hinweis {
  background: var(--papier);
  border-left: 3px solid var(--rot);
  padding: 0.9rem 1.1rem;
  margin-bottom: 2rem;
  color: var(--grau);
}

.zurueck {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--rot);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  min-height: 44px;
  padding-top: 0.6rem;
}

/* ---------- Responsiv ---------- */
@media (max-width: 760px) {
  .leiste { height: 1.2cm; }
  .vita {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.5rem;
  }
  .vita-text { text-align: left; }   /* mobil besser lesbar */
  .vita-bild { max-width: 300px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mail-link { transition: none; }
}
