/* Friseursalon Katharina Bötel – Stylesheet */

/* Schrift: Jost (SIL Open Font License), lokal eingebunden – keine Verbindung zu Google.
   Datei "Jost-VariableFont_wght.ttf" in assets/fonts/ ablegen (siehe LIESMICH.txt). */
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1E1B18;
  --text: #3D3731;
  --muted: #5F574F;
  --ground: #FAF7F2;
  --tint: #F6EADB;
  --line: #E2D9CD;
  --accent: #935A28;
  --accent-dark: #6E3F18;
  --dark: #1E1B18;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Jost", "Futura", "Century Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-weight: 500; color: var(--ink); margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.muted { color: var(--text); }
.link-more { align-self: flex-start; font-weight: 500; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 500;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: #fff; line-height: 1.2; cursor: pointer; font: inherit; font-weight: 500;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: none; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn-light { background: var(--ground); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kopfzeile */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand:hover { color: var(--ink); }
.brand img { height: 60px; width: auto; }
.brand small { display: block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.brand strong { display: block; font-size: 24px; font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 16px; }
.nav a { text-decoration: none; color: var(--ink); padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-header .btn { padding: 12px 22px; font-size: 16px; }

/* Bildwechsel (Startseite) */
.hero { position: relative; height: 620px; overflow: hidden; background: #2A2521; color: #fff; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(24,20,17,.5); }
.hero-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hero-content .eyebrow { color: #F1E6D8; font-size: 15px; }
.hero h1 { color: #fff; font-size: clamp(40px, 7vw, 64px); line-height: 1.05; max-width: 760px; }
.hero-caption { font-size: clamp(21px, 3vw, 28px); min-height: 1.5em; }
.hero .btn-row { margin-top: 12px; }
.hero-dots { position: absolute; z-index: 1; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 4px; }
.hero-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hero-dots span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.45); }
.hero-dots button[aria-pressed="true"] span { background: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
@media (max-width: 600px) { .hero { height: 540px; } }

/* Abschnitte */
.section { padding-top: 80px; padding-bottom: 80px; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #FAF7F2; }
.section-dark h2 { color: #FAF7F2; }
.section-dark .eyebrow { color: #CFC5B8; }
.section-dark p { color: #E4DCD1; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: center; }
.h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
.lead p { font-size: 18px; color: var(--text); }
.photo { width: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-45 { aspect-ratio: 4 / 5; max-height: 600px; }
.photo-32 { aspect-ratio: 3 / 2; }
.photo-34 { aspect-ratio: 3 / 4; }

.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.band h2 { font-size: 32px; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; height: 280px; object-fit: cover; }
.card-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.card-title { display: flex; align-items: center; gap: 12px; }
.card-title h3 { font-size: 24px; }
.card-title svg { flex: none; }

/* Kundenmeinungen */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.review { margin: 0; border-top: 2px solid var(--accent); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; color: var(--text); }
.review figcaption { font-weight: 500; }
.stars { display: flex; gap: 4px; }

/* Seitenkopf Unterseiten */
.page-head h1 { font-size: clamp(38px, 6vw, 52px); line-height: 1.1; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.page-head > div { flex: 1 1 360px; }

/* Preise */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.price-card h2 { font-size: 26px; margin-bottom: 8px; }
.price-card dl { margin: 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid #EFE8DF; }
.price-row dt { margin: 0; }
.price-row dd { margin: 0; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cta-box { background: var(--tint); border-radius: var(--radius); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-box h2 { font-size: 26px; }

/* Formulare */
.form-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.form-aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.form-card { flex: 2 1 520px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
@media (max-width: 600px) { .form-card { padding: 24px; } }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #B9AE9F; border-radius: 10px;
  background: #fff; color: var(--ink); min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); font-weight: 400; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; background: #FBE9E7; color: #7A1F12; }
.info-box { background: var(--tint); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.info-box h2 { font-size: 20px; margin-bottom: 6px; }
.contact-list h2 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list .big { font-size: 20px; }

/* Rechtstexte */
.legal { overflow-wrap: break-word; hyphens: auto; }
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; display: flex; flex-direction: column; gap: 16px; color: var(--text); }
.legal h1 { font-size: clamp(38px, 6vw, 52px); line-height: 1.1; margin-bottom: 16px; }
.legal h2 { font-size: 26px; margin-top: 24px; }
.legal h3 { font-size: 20px; margin-top: 8px; }
.legal h4 { font-size: 17px; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal address { font-style: normal; }

/* Fußzeile */
.site-footer { background: var(--dark); color: #E4DCD1; font-size: 16px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #F1E6D8; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 6px; }
.footer-grid h2 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #3D3731; padding-top: 16px; padding-bottom: 32px; font-size: 14px; color: #CFC5B8; }
