@import url('schriften.css');

/* ==========================================================================
   Sanye Haar & Kosmetik, Duisburg
   Die Marke ist schwarz-weiss, das bleibt. Gestaltungsmotiv ist die
   Preisliste: Leistung links, Preis rechts, verbunden durch eine
   Punktfuehrung. Danach suchen Leute bei einem Friseur zuerst.
   ========================================================================== */

:root {
  --schwarz:      #0e0d0d;
  --schwarz-weich:#1b1918;
  --weiss:        #ffffff;
  --papier:       #faf9f7;
  --tinte:        #17150f;
  --leise:        #6e6862;
  --leise-dunkel: #a9a29b;   /* Sekundaertext auf dunklem Grund */
  --linie:        #e4e0da;
  --linie-dunkel: #322e2b;

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni MT', Georgia, serif;
  --sans:  'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;

  --t--1: 0.82rem;
  --t-0:  1rem;
  --t-1:  1.2rem;
  --t-2:  1.5rem;
  --t-3:  2rem;
  --t-4:  2.75rem;
  --t-5:  4rem;

  --bahn: 62rem;
  --satz: 34rem;
  --luft: clamp(1.25rem, 5vw, 3rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.7;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.bahn { width: min(100% - 2 * var(--luft), var(--bahn)); margin-inline: auto; }
/* Nie zusammen mit .bahn am selben Element: .bahn zentriert sich, das
   Ergebnis waere ein eingerueckter Block statt linksbuendigem Satz. */
.satz { max-width: var(--satz); }

.zum-inhalt {
  position: absolute; left: -9999px;
  background: var(--schwarz); color: var(--weiss); padding: 0.7em 1.2em;
}
.zum-inhalt:focus { left: var(--luft); top: 0.5rem; z-index: 20; }

/* ---- Kopf --------------------------------------------------------- */

.kopf {
  background: var(--schwarz);
  color: var(--weiss);
  padding-block: 1.4rem;
}

.kopf__innen { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }

.marke { font-family: var(--serif); font-size: var(--t-2); letter-spacing: 0.14em; text-decoration: none; }
.marke span { display: block; font-family: var(--sans); font-size: var(--t--1); font-weight: 300;
              letter-spacing: 0.3em; color: var(--leise-dunkel); margin-top: 0.2em; }

.kopf__nav { display: flex; flex-wrap: wrap; gap: 0 1.6rem; font-size: var(--t--1);
             letter-spacing: 0.12em; text-transform: none; }
.kopf__nav a { color: var(--leise-dunkel); text-decoration: none; padding-block: 0.4rem; }
.kopf__nav a:hover { color: var(--weiss); }

/* ---- Auftakt ------------------------------------------------------ */

.auftakt { background: var(--schwarz); color: var(--weiss); }
.auftakt__bild img { width: 100%; max-height: 62vh; object-fit: cover; }

.auftakt__text { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.auftakt__spruch {
  font-family: var(--serif);
  font-size: clamp(var(--t-3), 5.5vw, var(--t-5));
  line-height: 1.1;
  max-width: 18em;
  margin: 0 0 1rem;
}
.auftakt__zusatz { color: var(--leise-dunkel); max-width: 32rem; }

/* ---- Knopf -------------------------------------------------------- */

.knopf {
  display: inline-block;
  font-family: var(--sans); font-weight: 500;
  font-size: var(--t-0); letter-spacing: 0.1em;
  padding: 0.95em 2.2em;
  border: 1px solid currentColor;
  text-decoration: none;
  transition: background-color .18s, color .18s;
}
.knopf--hell { background: var(--weiss); color: var(--schwarz); border-color: var(--weiss); }
.knopf--hell:hover { background: transparent; color: var(--weiss); }
.knopf--dunkel { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); }
.knopf--dunkel:hover { background: transparent; color: var(--schwarz); }
/* Knopfgruppe: bei Umbruch braucht es Abstand in beide Richtungen,
   ein margin-left allein laesst die Knoepfe uebereinanderrutschen. */
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@media (prefers-reduced-motion: reduce) { .knopf { transition: none; } }

/* ---- Abschnitte --------------------------------------------------- */

.teil { padding-block: clamp(3rem, 8vw, 5.5rem); }
.teil--dunkel { background: var(--schwarz); color: var(--weiss); }
.teil--weich  { background: var(--weiss); }

.teil__titel {
  font-size: clamp(var(--t-2), 4vw, var(--t-3));
  margin-bottom: 2rem;
}
.teil--dunkel .teil__titel { color: var(--weiss); }

.vorzeile {
  font-family: var(--sans); font-weight: 500;
  font-size: var(--t--1); letter-spacing: 0.24em;
  color: var(--leise); margin: 0 0 0.6rem;
}
.teil--dunkel .vorzeile { color: var(--leise-dunkel); }

/* ---- Paar --------------------------------------------------------- */

.paar { display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 46em) {
  .paar { grid-template-columns: 1fr 1fr; }
  .paar--bild-links { grid-template-columns: 2fr 3fr; }
}

.person__name { font-size: var(--t-2); margin-bottom: 0.2rem; }
.person__rolle { font-family: var(--sans); font-size: var(--t--1); letter-spacing: 0.16em;
                 color: var(--leise); margin: 0 0 1.2rem; }
.person__motto { font-family: var(--serif); font-size: var(--t-1); font-style: italic; }

/* ---- Preisliste: das Motiv ---------------------------------------- */

.preise { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 44em) { .preise { grid-template-columns: 1fr 1fr; } }

.karte__titel {
  font-family: var(--sans); font-weight: 500;
  font-size: var(--t--1); letter-spacing: 0.22em;
  padding-bottom: 0.7rem; margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--linie-dunkel);
}
.teil:not(.teil--dunkel) .karte__titel { border-bottom-color: var(--linie); }

.karte__liste { list-style: none; margin: 0; padding: 0; }

/* Punktfuehrung zwischen Leistung und Preis, wie auf einer gedruckten Karte */
.posten {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding: 0.6rem 0;
}
.posten__was { flex: 0 1 auto; }
.posten__fuehrung {
  flex: 1 1 auto;
  border-bottom: 1px dotted var(--linie-dunkel);
  transform: translateY(-0.25em);
  min-width: 1.5rem;
}
.teil:not(.teil--dunkel) .posten__fuehrung { border-bottom-color: var(--linie); }

/* Preise bewusst in der Grotesk, nicht in der Didone: deren feine Querbalken
   lassen das Euro-Zeichen bei dieser Groesse zu einem C zerfallen. */
.posten__preis {
  flex: 0 0 auto;
  font-family: var(--sans); font-weight: 500;
  font-size: var(--t-0);
  font-variant-numeric: lining-num;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.posten__hinweis { display: block; font-size: var(--t--1); color: var(--leise-dunkel); }
.teil:not(.teil--dunkel) .posten__hinweis { color: var(--leise); }

.preise__fuss { margin-top: 2.5rem; color: var(--leise-dunkel); max-width: 40rem; }
.teil:not(.teil--dunkel) .preise__fuss { color: var(--leise); }

/* ---- Zeiten ------------------------------------------------------- */

.zeiten { list-style: none; margin: 0; padding: 0; max-width: 24rem; }
.zeit {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--linie);
}
.zeit:first-child { border-top: 1px solid var(--linie); }
.zeit--zu { color: var(--leise); }
.zeit__tag { font-weight: 500; }
.zeit__uhr { font-family: var(--sans); font-weight: 500; font-variant-numeric: lining-num; }

/* ---- Kontakt ------------------------------------------------------ */

.kontakt__zeile { margin: 0 0 0.4em; }
.kontakt__gross { font-family: var(--serif); font-size: var(--t-2); }
.kontakt__gross a { text-decoration: none; }
.kontakt__gross a:hover { text-decoration: underline; }

.karte-einbettung {
  border: 0; width: 100%; aspect-ratio: 4 / 3; min-height: 260px;
  filter: grayscale(1) contrast(1.05);
}

/* ---- Bilderreihe -------------------------------------------------- */

.reihe { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 44em) { .reihe { grid-template-columns: repeat(4, 1fr); } }
.reihe img { aspect-ratio: 1; object-fit: cover; }

/* ---- Marken ------------------------------------------------------- */

.marken { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center;
          font-family: var(--sans); font-size: var(--t--1); letter-spacing: 0.2em; color: var(--leise); }

/* ---- Fuss --------------------------------------------------------- */

.fuss { background: var(--schwarz); color: var(--leise-dunkel); padding-block: 3rem; font-size: var(--t--1); }
.fuss a { color: var(--weiss); }
.fuss__raster { display: grid; gap: 2rem; }
@media (min-width: 40em) { .fuss__raster { grid-template-columns: repeat(3, 1fr); } }
.fuss__titel { font-family: var(--sans); font-weight: 500; letter-spacing: 0.2em;
               color: var(--weiss); margin: 0 0 0.7rem; }

/* ---- Rechtstexte -------------------------------------------------- */

.rechtstext { max-width: var(--satz); }
.rechtstext h2 { font-size: var(--t-1); margin: 2.2rem 0 0.5rem; }
.rechtstext h2:first-child { margin-top: 0; }

@media print {
  .kopf__nav, .fuss, .knopf, .karte-einbettung { display: none; }
  .teil--dunkel, .auftakt, .kopf { background: none !important; color: #000 !important; }
  body { font-size: 11pt; }
}
