/* =========================================================
   Things We Love – Concept Store & Friseur Salon
   ========================================================= */

/* ---------- Schrift ---------- */
/* Quicksand (Google Fonts, SIL Open Font License) – lokal eingebunden, keine Verbindung zu Google.
   Variable Schrift: alle Stärken von 300 bis 700 in einer Datei. */
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/quicksand-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/quicksand-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Grundlagen ---------- */
:root {
  /* Markenfarben: je ein Grau und ein Rosa für alle Flächen und Schriften.
     Kontrast in beide Richtungen 4,56 : 1 (WCAG AA). */
  --grau: #5B695B;
  --rosa: #FADCEB;
  --font: 'Quicksand', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(1.5rem, 4vw, 4rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--grau);
  color: var(--rosa);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.01em; }
em { font-style: italic; font-size: 1.175rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nw { white-space: nowrap; }

/* Farbwelten: jeder Bereich setzt Hintergrund (--bg) und Schrift (--fg) */
.card, .insight--store, .footer { --bg: var(--grau); --fg: var(--rosa); }
.card--salon, .insight--salon { --bg: var(--rosa); --fg: var(--grau); }
.about { --bg: #fff; --fg: var(--grau); }

/* ---------- Bausteine ---------- */
.eyebrow, .card__label, .footer h2 {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow { letter-spacing: .16em; margin: 0 0 1rem; }

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: 1rem 1.6rem;
  background: var(--fg);
  color: var(--bg);
  border: 1.5px solid var(--fg);
  border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: .9375rem;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.btn:focus-visible { outline-color: var(--fg); } /* Rahmen in Buttonfarbe, damit er auf jeder Fläche sichtbar ist */
.btn span { transition: transform .3s var(--ease); }
.btn:hover { background: transparent; color: var(--fg); }
.btn:hover span { transform: translateX(4px); }

.hours { display: flex; justify-content: space-between; gap: 1.5rem; max-width: 17rem; margin: 0; }
.hours span:last-child { font-variant-numeric: tabular-nums; }

/* Logo als Maske, damit es in jeder Farbe funktioniert */
.badge {
  display: grid; place-items: center;
  width: clamp(190px, min(21vw, 31vh), 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grau);
  box-shadow: 0 24px 60px -20px rgba(20, 18, 22, .6);
}
.logo {
  display: block;
  width: 66%;
  aspect-ratio: 1006 / 711;
  background-color: var(--rosa);
  -webkit-mask: url('../img/logo-mask.webp') no-repeat center / contain;
          mask: url('../img/logo-mask.webp') no-repeat center / contain;
}
.badge--footer { width: clamp(130px, 11vw, 160px); background: var(--rosa); box-shadow: none; }
.badge--footer .logo { background-color: var(--grau); }
.badge--header { width: clamp(96px, 9vw, 120px); }

/* ---------- 1. Erster Bildschirm ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 3rem;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--pad);
  background: var(--grau);
  color: var(--rosa);
}
.hero__bg {
  position: absolute; inset: auto 0 0 0; top: 0; z-index: -2;
  /*background-image: url('../img/fassade.jpg'); -> in header verschoben, damit über cms editierbar */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: saturate(.9) blur(2px);
  transform: scale(1.06);
  transform-origin: center 70%;
  animation: heroIn 2.4s var(--ease) both;
}
@keyframes heroIn { from { transform: scale(1.12); } to { transform: scale(1.06); } }
/* Grau-Tönung über dem Foto (kein Text darauf) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--grau) 46%, transparent) 0%,
    color-mix(in srgb, var(--grau) 36%, transparent) 40%,
    color-mix(in srgb, var(--grau) 62%, transparent) 100%);
}
.hero__top {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(.5rem, 3vh, 2rem);
}

/* Zwei Karten, die sich berühren, darunter die Adressleiste */
.duo-wrap {
  width: min(100%, 68rem);
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(20, 18, 22, .6);
}
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.card {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--bg);
  color: var(--fg);
}
.card__title {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.card__intro { margin: 0 0 1.75rem; max-width: 26rem; font-size: .9875rem; }
.card__meta { font-size: .9375rem; }
.card__label { margin: 0 0 .4rem; }
.card__btn { margin-top: 1.5rem; }

.addressbar {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem clamp(1.75rem, 3vw, 2.75rem);
  background: #fff;
  color: var(--grau);
  text-decoration: none;
  font-size: .9375rem;
}
.addressbar:focus-visible { outline-offset: -6px; } /* innen, da die Box abgerundet beschnitten wird */
.addressbar__text strong { font-weight: 700; }
.addressbar__cta { margin-left: auto; font-weight: 600; white-space: nowrap; }
.addressbar__cta span { display: inline-block; transition: transform .3s var(--ease); }
.addressbar:hover .addressbar__cta span { transform: translateX(4px); }
.addressbar:hover .addressbar__text strong { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 2. Einblicke + 3. Über uns (gemeinsames Layout) ---------- */
.insight, .about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  padding: clamp(5rem, 9vw, 8rem) var(--pad);
  background: var(--bg);
  color: var(--fg);
}
.insight__text, .about__text { max-width: 34rem; }
.insight__text .section-title, .about__text .section-title { margin-bottom: 1.75rem; }
.about__text p + p { margin-top: 1rem; }

.insight__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 17vw, 290px);
  grid-auto-flow: dense;
  gap: clamp(.5rem, 1vw, 1rem);
}

/* Sonderfall Salon */
.insight--salon {
  display: block;
}
.insight--salon .insight__text {
  max-width: 56rem;
  padding-bottom: 2rem;
}
.insight__grid--full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 20vw, 300px);
  grid-auto-flow: dense;
  gap: clamp(.5rem, 1vw, 1rem);
}

.g { overflow: hidden; background: var(--fg); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g:hover img { transform: scale(1.04); }

.about__img { overflow: hidden; aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.brands {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--fg);
  font-size: .875rem;
  line-height: 1.8;
}
.brands .eyebrow { margin-bottom: .75rem; }
.brands__list { margin: 0; }

/* ---------- 4. Footer ---------- */
.footer {
  padding: clamp(4rem, 8vw, 6rem) var(--pad) 2rem;
  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--fg);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  font-size: .9375rem;
}
.footer h2 { margin-bottom: 1rem; }
.fbrand__claim { margin: 1.1rem 0 0; font-size: .9375rem; font-weight: 600; }

.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.contact li { display: grid; grid-template-columns: 20px 1fr; gap: .8rem; align-items: start; line-height: 1.5; }
.contact svg {
  width: 20px; height: 20px; margin-top: .1rem;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
}
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ohours + .ohours { margin-top: 1.25rem; }
.ohours__title { margin: 0 0 .35rem; font-weight: 700; }
.ohours .hours { max-width: 18rem; margin-bottom: .35rem; }

.footer__bottom {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--fg);
  font-size: .9375rem;
}
.footer__bottom nav { display: flex; gap: 1.75rem; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Unterseiten: Impressum, Datenschutz, Termin ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: var(--pad) var(--pad) 0; }
.page-home { display: inline-block; border-radius: 50%; }
.page-back { text-decoration: none; font-size: .9375rem; font-weight: 600; }
.page-back:hover { text-decoration: underline; text-underline-offset: 4px; }


.legal { max-width: 46rem; padding: clamp(3rem, 7vw, 5rem) var(--pad) clamp(4rem, 8vw, 6rem); }
.legal h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  hyphens: manual;
  overflow-wrap: break-word;
}
.legal h2 {
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin: 0 0 .6rem;
}
.legal p + h2, .legal ul + h2 { margin-top: 2.25rem; }
.legal p { margin: 0 0 1rem 0; }
.legal p + p, .legal ul + p { margin-top: .9rem; }
.legal a { text-underline-offset: 3px; }
.legal strong { font-weight: 700; }
.legal .legal-source { margin-top: 3rem; font-size: .875rem; }
.legal ul { margin: .75rem 0 0; padding-left: 1.2rem; }
.legal ul li + li { margin-top: .3rem; }
mark.todo { background: var(--rosa); color: var(--grau); padding: 0 .3em; border-radius: 4px; font-weight: 700; }

.booking { padding: clamp(3rem, 7vw, 5rem) var(--pad) clamp(4rem, 8vw, 6rem); }
.booking__intro { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.booking__intro .section-title { margin-bottom: 1.25rem; }
.booking__intro p:last-child { margin: 0; }
.booking__intro a { text-underline-offset: 3px; }
.booking__widget {
  max-width: 72rem;
  min-height: 22rem;
  border-radius: 24px;
  overflow: hidden;
  background: #F6F7F8;
  color: var(--grau);
}
/* erhält nach dem Laden programmatisch den Fokus, kein Rahmen nötig */
.booking__widget:focus { outline: none; }
.booking__consent { padding: clamp(1.75rem, 4vw, 3rem); max-width: 40rem; }
.booking__consent-title { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.2; letter-spacing: 0; margin: 0 0 1.5rem; }
.booking__consent p { margin: 0 0 1.5rem; }
.booking__consent a { text-underline-offset: 3px; }
.booking__consent .booking__error { margin: 1rem 0 0; font-weight: 600; }
.btn--dark { --bg: #F6F7F8; --fg: var(--grau); cursor: pointer; }
.btn--dark[disabled] { cursor: progress; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .fcol--brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem; }
  .fbrand__claim { margin: 0; }
  .insight__grid--full { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
}
@media (max-width: 760px) {
  .hero { gap: 2.5rem; }
  .duo-wrap { border-radius: 20px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .addressbar { flex-wrap: wrap; align-items: flex-start; row-gap: .4rem; }
  .addressbar svg { margin-top: .2rem; }
  .addressbar__text { flex: 1 1 0; }
  .addressbar__cta { margin-left: calc(18px + .9rem); width: 100%; }

  .insight, .about { grid-template-columns: minmax(0, 1fr); }
  .insight--store .insight__text, .about__text { order: -1; }
  .insight__grid { grid-auto-rows: 44vw; }
}
@media (max-width: 400px) {
  .addressbar .nw { white-space: normal; }
}
@media (max-width: 480px) {
  .g--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr; gap: 2.25rem; }
  .fcol--brand { display: block; }
  .fbrand__claim { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
