/* Friseur-Demo: Aufbau der Seite und vier Stile.
   Jeder Stil setzt die Pflichtvariablen aus beispiele/README.md und
   darunter seine Formsprache. Kontrast geht vor Entwurf. */

/* ══ Stile ══════════════════════════════════════════════ */

html[data-stil="klassisch"] {
  --bg: #f5efe6; --bg-alt: #ebe2d4; --flaeche: #fbf8f3;
  --text: #2b2420; --text-leise: #5c5047; --linie: #d3c4b0;
  --akzent: #6b4a35; --akzent-text: #ffffff; --hervor: #6b4a35;
  --schrift-titel: 'Cormorant Garamond', Georgia, serif;
  --schrift-text: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
  --radius-bild: 4px; --radius-knopf: 2px;
  --titel-gewicht: 500; --titel-gross: clamp(2.75rem, 9vw, 4.75rem);
}

html[data-stil="salbei"] {
  --bg: #eef0ea; --bg-alt: #e1e6da; --flaeche: #f8f9f6;
  --text: #26302a; --text-leise: #4a574d; --linie: #c3ccbd;
  --akzent: #3f5243; --akzent-text: #ffffff; --hervor: #4b6a51;
  --schrift-titel: 'Fraunces', Georgia, serif;
  --schrift-text: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --radius-bild: 2px; --radius-knopf: 999px;
  --titel-gewicht: 350; --titel-gross: clamp(3rem, 11vw, 5.5rem);
}

html[data-stil="puder"] {
  --bg: #f7e9e4; --bg-alt: #f0d9d0; --flaeche: #fdf6f3;
  --text: #1d1a1a; --text-leise: #574845; --linie: #e0c2b7;
  --akzent: #1d1a1a; --akzent-text: #f7e9e4; --hervor: #8f423c;
  --schrift-titel: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --schrift-text: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --radius-bild: 24px; --radius-knopf: 999px;
  --titel-gewicht: 800; --titel-gross: clamp(3rem, 12vw, 6rem);
}

html[data-stil="petrol"] {
  --bg: #16302f; --bg-alt: #1c3a39; --flaeche: #224443;
  --text: #f3ece2; --text-leise: #cbc0b2; --linie: #36595a;
  --akzent: #d9a77a; --akzent-text: #16302f; --hervor: #e3b78f;
  --schrift-titel: 'Marcellus', Georgia, serif;
  --schrift-text: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --radius-bild: 0; --radius-knopf: 999px;
  --titel-gewicht: 400; --titel-gross: clamp(2.6rem, 9vw, 4.5rem);
}

/* ══ Friseur-eigene Bausteine ═══════════════════════════ */

/* Leistungen */
.leistungen-raster { display: grid; gap: 40px; }
.preisgruppen { display: grid; gap: 8px 40px; margin-top: 24px; }
.preisgruppe h3 { margin: 20px 0 8px; }
.preise { list-style: none; margin: 0; padding: 0; }
.preise li {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--linie);
}
.preise li span:last-child { white-space: nowrap; font-weight: 600; }
.leistungen-bild { margin: 0; }
.leistungen-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-bild); }
@media (min-width: 700px) { .preisgruppen { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .leistungen-raster { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; } }

/* Team */
.team-raster { display: grid; gap: 24px; margin-top: 32px; }
.person { margin: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-bild); }
.person figcaption { padding-top: 14px; display: grid; gap: 2px; }
.person strong { font-family: var(--schrift-titel); font-weight: var(--titel-gewicht); font-size: 1.375rem; }
.person span { color: var(--text-leise); font-size: .9375rem; }
@media (max-width: 699px) {
  /* Auf dem Handy als Wischreihe; die angeschnittene nächste Karte zeigt, dass es weitergeht. */
  .team-raster {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; gap: 16px;
    margin-inline: -20px; padding: 0 20px 8px; scrollbar-width: none;
  }
  .team-raster::-webkit-scrollbar { display: none; }
  .person { flex: 0 0 72%; scroll-snap-align: start; }
}
@media (min-width: 700px) { .team-raster { grid-template-columns: repeat(3, 1fr); } }

/* ══ Formsprache je Stil ════════════════════════════════ */

/* Klassisch: zentriert, Bogen über dem Foto, feine Linien */
[data-stil="klassisch"] .kopf { justify-content: space-between; border-bottom-color: var(--linie); }
[data-stil="klassisch"] .start-text { text-align: center; }
[data-stil="klassisch"] .start-satz { margin-inline: auto; }
[data-stil="klassisch"] .start-knoepfe { justify-content: center; }
[data-stil="klassisch"] .start-bild img { border-radius: 50% 50% var(--radius-bild) var(--radius-bild) / 32% 32% var(--radius-bild) var(--radius-bild); }
[data-stil="klassisch"] .start h1 em { font-style: italic; }
[data-stil="klassisch"] .ueberschrift-klein { letter-spacing: .24em; }
[data-stil="klassisch"] .person img { border-radius: 999px 999px var(--radius-bild) var(--radius-bild); }
@media (min-width: 900px) { [data-stil="klassisch"] .start-text { text-align: left; } [data-stil="klassisch"] .start-knoepfe { justify-content: flex-start; } [data-stil="klassisch"] .start-satz { margin-inline: 0; } }

/* Salbei: Magazin – Foto zuerst, Überschrift ragt mit eigener Fläche hinein */
[data-stil="salbei"] .start-inhalt { grid-template-areas: "bild" "text"; grid-template-rows: minmax(160px, 1fr) auto; }
[data-stil="salbei"] .start-bild { grid-area: bild; }
[data-stil="salbei"] .start-text { grid-area: text; margin-top: -96px; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
[data-stil="salbei"] .start-text .ueberschrift-klein { order: 1; }
[data-stil="salbei"] .start-text h1 { order: 0; }
[data-stil="salbei"] .start-text > :not(h1):not(.ueberschrift-klein) { order: 2; }
[data-stil="salbei"] .start h1 { background: var(--bg); display: inline-block; padding: 16px 20px 4px 0; margin-bottom: .2em; }
[data-stil="salbei"] .ueberschrift-klein { font-weight: 600; letter-spacing: .2em; }
[data-stil="salbei"] .preise li { border-bottom-style: dashed; }
[data-stil="salbei"] .heute { background: transparent; }
[data-stil="salbei"] .knopf-zweit { border-width: 1px; }
@media (min-width: 900px) {
  [data-stil="salbei"] .start-inhalt { grid-template-areas: "text bild"; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(480px, 1fr); }
  [data-stil="salbei"] .start-text { margin: 0 -140px 0 0; z-index: 1; }
  [data-stil="salbei"] .start h1 { padding: 20px 32px 8px 0; font-size: clamp(4.5rem, 7.4vw, 6.5rem); white-space: nowrap; }
}

/* Puder: kräftige Grotesk, kursive Serif, Bögen */
[data-stil="puder"] h1, [data-stil="puder"] h2 { letter-spacing: -.035em; line-height: .98; }
[data-stil="puder"] .start h1 em, [data-stil="puder"] h2 em {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: 0;
}
[data-stil="puder"] .start h1 em { display: inline; }
[data-stil="puder"] .start-bild img { border-radius: 999px 999px var(--radius-bild) var(--radius-bild); }
[data-stil="puder"] .kopf-name { font-weight: 800; letter-spacing: -.03em; font-family: var(--schrift-titel); }
[data-stil="puder"] .marke-zeichen { background: var(--hervor); color: #ffffff; }
[data-stil="puder"] .galerie-raster img:nth-child(3n+1) { border-radius: 999px 999px var(--radius-bild) var(--radius-bild); }
[data-stil="puder"] .person strong { font-weight: 700; }
[data-stil="puder"] .ueberschrift-klein { color: var(--hervor); font-weight: 700; }

/* Petrol: dunkel und warm, Bogenfenster, Kupfer */
[data-stil="petrol"] .kopf { border-bottom-color: var(--linie); }
[data-stil="petrol"] .start-text { text-align: center; }
[data-stil="petrol"] .start-satz { margin-inline: auto; }
[data-stil="petrol"] .start-knoepfe { justify-content: center; }
[data-stil="petrol"] .start-bild img { border-radius: 999px 999px 0 0; border: 1px solid var(--akzent); padding: 8px; }
[data-stil="petrol"] .ueberschrift-klein { color: var(--hervor); letter-spacing: .3em; }
[data-stil="petrol"] .heute-punkt { background: #7fd1a3; box-shadow: 0 0 0 4px rgba(127, 209, 163, .2); }
[data-stil="petrol"] .person img, [data-stil="petrol"] .gutschein-bild img { border-radius: 999px 999px 0 0; }
[data-stil="petrol"] .knopf-zweit { color: var(--hervor); border-color: var(--hervor); }
@media (min-width: 900px) { [data-stil="petrol"] .start-text { text-align: left; } [data-stil="petrol"] .start-knoepfe { justify-content: flex-start; } [data-stil="petrol"] .start-satz { margin-inline: 0; } }
