/* cabelo.at – die einzige Stelle für Farben, Schrift, Abstände, Komponenten.
   Werte aus gestaltung.md, gemessen an der WordPress-Seite am 2026-10-07 bei 1280 px:
   Inhalt 80 bis 1200 px, Spaltenraster 360/20 (drei Spalten) und 436/664 (Bild gegen Text). */

@font-face { font-family: "Italiana"; src: url("fonts/italiana.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree";  src: url("fonts/figtree.woff2")  format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Roboto";   src: url("fonts/roboto.woff2")   format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --salbei: #D5D9CD;
  --gruen: #122414;
  --weiss: #FFFFFF;
  --schrift-titel: "Italiana", "Times New Roman", serif;
  --schrift-akzent: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --schrift-text: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --inhalt: 1160px;   /* 1120 Inhalt plus 2 × 20 Rand */
  --rand: 20px;
  --spalte: 20px;     /* Spaltenabstand des Originals */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--gruen);
  font-family: var(--schrift-text);
  font-size: 24px;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--schrift-titel);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 .5em;
  overflow-wrap: anywhere;
  /* Italiana gibt es nur in 400; der Strich macht sie so kräftig wie Contralto im Original */
  -webkit-text-stroke: 0.7px currentColor;
  paint-order: stroke fill;
}
h1 { font-size: 54px; }
h2 { font-size: 70px; }
h3 { font-size: 50px; margin-bottom: .55em; }
h4 { font-size: 36px; margin-bottom: .6em; }
/* Terminvereinbarung und Preise sind im Original H3 nach einem H1 oder H2; hier H2 im H3-Maß, damit die Folge stimmt */
.h3-stil { font-size: 50px; margin-bottom: .55em; }
/* Italiana hat ein Schwung-Ampersand und keinen Gedankenstrich: beide aus Figtree */
.und { font-family: var(--schrift-akzent); font-size: .78em; vertical-align: .04em; }
p { margin: 0 0 1em; }
.inhalt { max-width: var(--inhalt); margin: 0 auto; padding: 0 var(--rand); }

/* Kopf */
.kopf { background: var(--salbei); position: sticky; top: 0; z-index: 10; }
.kopf .inhalt { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 20px; padding-left: 42px; }
.kopf .marke img { width: 139px; height: auto; }
.navigation ul { list-style: none; margin: 0; padding: 0; display: flex; }
.navigation li { display: flex; align-items: center; }
.navigation li + li::before { content: ""; width: 1px; height: 18px; background: var(--gruen); margin: 0 14px; opacity: .8; }
.navigation a {
  font-family: var(--schrift-akzent);
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
  white-space: nowrap;
}
.navigation a:hover, .navigation a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.navigation summary { display: none; }

/* Hero */
.hero { height: 625px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* Abschnitte: Original lässt rund 100 px zwischen zwei Blöcken */
.abschnitt { padding: 50px 0; }
.willkommen { padding: 100px 0 60px; }
.zweispaltig { display: grid; gap: var(--spalte); align-items: center; }
.zweispaltig > * { min-width: 0; }
.text-bild { grid-template-columns: minmax(0, 664fr) minmax(0, 436fr); }   /* Text links, Bild rechts */
.bild-text { grid-template-columns: minmax(0, 436fr) minmax(0, 664fr); }   /* Bild links, Text rechts */
.einleitung { font-family: var(--schrift-akzent); font-size: 28px; line-height: 1.1; }
.freisteller { width: 100%; }

/* Terminvereinbarung: zwei Hälften, Adresse rechtsbündig, Knopf unten links */
.termin { background: var(--salbei); padding: 28px 0 26px; margin: 50px 0; }
.termin .inhalt { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spalte); align-items: start; }
.termin .h3-stil { margin-bottom: .4em; }
.termin p { margin-bottom: 1em; }
.termin .adresse { text-align: right; padding-top: 62px; }
.termin .adresse b { display: block; }
.nur-breit { display: inline; }
.termin .telefon { text-decoration: none; }
.knopf {
  display: inline-block;
  font-family: var(--schrift-akzent);
  font-size: 20px;
  line-height: 1;
  color: var(--salbei);
  background: var(--gruen);
  text-decoration: none;
  padding: 12px 24px;
  line-height: 10px;
  border-radius: 6px;
  margin-left: -10px;
}
.knopf:hover, .knopf:focus-visible { background: #0b170c; }

/* Salon: Überschrift über beiden Spalten, Galerie 436 breit im Verhältnis 4:5 */
.salon h2 { margin-bottom: 36px; }
.galerie-rahmen { position: relative; }
.galerie { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; }
.galerie::-webkit-scrollbar { display: none; }
.galerie img { flex: 0 0 100%; scroll-snap-align: start; object-fit: cover; height: 100%; }
.galerie-pfeil {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: #fff; font-size: 40px; line-height: 44px; padding: 0; text-shadow: 0 0 6px rgba(0,0,0,.5);
}
.galerie-pfeil:hover, .galerie-pfeil:focus-visible { background: rgba(255,255,255,.35); }
.galerie-pfeil.zurueck { left: 8px; }
.galerie-pfeil.weiter { right: 8px; }

/* Davines: Logo in der Bildspalte */
.davines img { width: 100%; }

/* Team: Überschrift und Bild in einer 379er-Spalte, Text 550 daneben, Rest frei */
.team h2 { margin-bottom: 36px; width: 379px; text-align: center; }
.team .zweispaltig { grid-template-columns: 379px 550px; justify-content: start; }
.team .zweispaltig + .zweispaltig { margin-top: 40px; }

/* Philosophie: 778 px mittig */
.philosophie .inhalt { max-width: 818px; text-align: center; }
.philosophie h2 { margin-bottom: 12px; }   /* Original: 12 px zwischen Philosophie und Unsere Geschichte */

/* Preise: drei Spalten, Trennlinien zwischen den Gruppen */
.preise .h3-stil { margin-bottom: .6em; }
.preise .inhalt > p { max-width: 664px; }
.preisgruppe { padding: 38px 0 45px; }
.preisgruppe + .preisgruppe { border-top: 1px solid var(--gruen); }
.preisgruppe h4 { margin-bottom: 30px; }
.preisliste { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spalte); }
.preisliste p { margin: 0 0 14px; }
.preisliste b { display: block; }

/* Fuß: drei Spalten wie die Preisliste */
.fuss { background: var(--salbei); padding: 20px 0 30px; }
.fuss .inhalt { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spalte); }
.fuss p { margin: 0 0 14px; }
.fuss a { font-family: var(--schrift-akzent); font-weight: 600; font-size: 18px; display: inline-block; padding: 3px 0; }
.fuss .mail { font-weight: 700; text-decoration: none; font-family: var(--schrift-text); font-size: 24px; }

/* Unterseiten */
.unterseite { padding: 70px 0; max-width: 900px; }
.unterseite p { margin-bottom: 1.2em; }

/* Tablet */
@media (max-width: 1100px) {
  .team .zweispaltig { grid-template-columns: minmax(0, 379fr) minmax(0, 550fr); }
}

/* Handy */
@media (max-width: 900px) {
  body { font-size: 20px; line-height: 1.2; }
  h1 { font-size: 32px; }
  h2 { font-size: 38px; }
  h3 { font-size: 30px; }
  .h3-stil { font-size: 30px; }
  h4 { font-size: 26px; }
  .einleitung { font-size: 26px; }
  .kopf .inhalt { min-height: 60px; padding-left: var(--rand); }
  .kopf .marke img { width: 72px; }
  .navigation { position: relative; }
  /* Menü-Knopf: drei Striche wie im Original */
  .navigation summary {
    display: block; list-style: none; cursor: pointer;
    width: 44px; height: 44px; position: relative; color: transparent; font-size: 0;
  }
  .navigation summary::before {
    content: ""; position: absolute; left: 10px; right: 10px; top: 13px; height: 2px;
    background: var(--gruen); box-shadow: 0 8px 0 var(--gruen), 0 16px 0 var(--gruen);
  }
  .navigation summary::-webkit-details-marker { display: none; }
  .navigation ul {
    position: absolute; right: 0; top: 100%;
    flex-direction: column; background: var(--salbei);
    padding: 10px 24px; min-width: 240px; box-shadow: 0 8px 20px rgba(0,0,0,.15);
  }
  .navigation li + li::before { display: none; }
  .navigation a { display: block; padding: 10px 0; font-size: 18px; }
  .hero { height: 373px; }
  .nur-breit { display: none; }
  .team h2 { width: auto; text-align: left; }
  .abschnitt { padding: 40px 0; }
  .willkommen { padding: 50px 0 30px; }
  .termin { margin: 30px 0; }
  .text-bild, .bild-text, .team .zweispaltig { grid-template-columns: 1fr; gap: 30px; }
  .freisteller { max-width: 100%; margin: 0 auto; }
  .termin { text-align: center; }
  .termin .inhalt { grid-template-columns: 1fr; }
  .termin .adresse { text-align: center; padding-top: 0; }
  .knopf { font-size: 18px; margin-left: 0; }
  .preisliste, .fuss .inhalt { grid-template-columns: 1fr; }
  .preisgruppe { padding: 30px 0 6px; }
}
@media (max-width: 400px) {
  h2 { font-size: 34px; }
  .einleitung { font-size: 22px; }
}
