:root {
  --bg: #f5efe6;
  --surface: #fff9f0;
  --surface-strong: #ffffff;
  --primary: #5b6d4d;
  --primary-dark: #2f3a2b;
  --olive: #9ba77a;
  --clay: #9a5e43;
  --text: #24251f;
  --muted: #6e6a5e;
  --border: rgba(47, 58, 43, 0.16);
  --shadow: 0 18px 50px rgba(47, 58, 43, 0.12);
  --radius: 8px;
  --container: 1180px;
  --header-height: 82px;
}

html[data-a11y-text="large"] {
  font-size: 112.5%;
}

html[data-a11y-text="xlarge"] {
  font-size: 125%;
}

html[data-a11y-high-contrast] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --primary: #315225;
  --primary-dark: #10200d;
  --olive: #536b42;
  --clay: #842f0c;
  --text: #000000;
  --muted: #292929;
  --border: rgba(0, 0, 0, 0.58);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--primary-dark);
  color: var(--surface);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 230, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 249, 240, 0.96);
  box-shadow: 0 10px 34px rgba(47, 58, 43, 0.1);
}

.header-inner {
  min-height: var(--header-height);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--primary-dark);
  min-width: 166px;
}

.brand img {
  width: min(188px, 48vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex: 1;
}

.site-nav a {
  position: relative;
  padding: 0.6rem 0.52rem;
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.35rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--clay);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary-dark);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.76rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--primary-dark);
  color: var(--surface);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-1px);
  background: #1f281d;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: rgba(47, 58, 43, 0.28);
}

.btn-outline:hover {
  background: var(--surface);
  border-color: rgba(47, 58, 43, 0.5);
}

.hero .btn-outline,
.section-strong .btn-outline,
.cta-band .btn-outline {
  background: rgba(255, 249, 240, 0.08);
  color: var(--surface);
  border-color: rgba(255, 249, 240, 0.42);
}

.hero .btn-outline:hover,
.section-strong .btn-outline:hover,
.cta-band .btn-outline:hover {
  background: rgba(255, 249, 240, 0.18);
  border-color: rgba(255, 249, 240, 0.72);
}

.btn-soft {
  background: var(--surface);
  color: var(--primary-dark);
  border-color: rgba(255, 249, 240, 0.34);
}

.btn-soft:hover {
  background: #ffffff;
}

.section {
  padding: clamp(4rem, 7vw, 7.5rem) clamp(1rem, 3vw, 2rem);
}

.section-muted {
  background: rgba(255, 249, 240, 0.7);
}

.section-strong {
  background: var(--primary-dark);
  color: var(--surface);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-strong .eyebrow,
.hero .eyebrow {
  color: #dfe8ca;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.65rem, 6.2vw, 5.85rem);
  max-width: min(880px, 100%);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  max-width: 820px;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

p {
  margin: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.section-strong .lead,
.hero .lead {
  color: rgba(255, 249, 240, 0.86);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 52px);
  display: grid;
  align-items: end;
  padding: clamp(5rem, 7vw, 7.2rem) clamp(1rem, 3vw, 2rem) clamp(2.6rem, 4.6vw, 4rem);
  color: var(--surface);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(31, 40, 29, 0.9) 0%, rgba(31, 40, 29, 0.72) 38%, rgba(31, 40, 29, 0.22) 72%, rgba(31, 40, 29, 0.28) 100%),
    url("../img/salon-hero-empfang.jpg") center / cover no-repeat;
}

.hero::after {
  background: linear-gradient(180deg, rgba(31, 40, 29, 0.18), rgba(31, 40, 29, 0.68));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}

.hero-copy {
  width: min(820px, 100%);
  min-width: 0;
}

.hero .lead {
  margin-top: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  max-width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 930px;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  background: rgba(255, 249, 240, 0.24);
  border: 1px solid rgba(255, 249, 240, 0.28);
}

.hero-fact {
  padding: 1.05rem;
  background: rgba(31, 40, 29, 0.46);
  backdrop-filter: blur(12px);
}

.hero-fact span {
  display: block;
  color: rgba(255, 249, 240, 0.7);
  font-size: 0.84rem;
}

.hero-fact strong {
  display: block;
  color: var(--surface);
  font-size: 1rem;
}

.hero-fact a {
  color: inherit;
  text-decoration-color: rgba(255, 249, 240, 0.42);
  text-underline-offset: 3px;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.anniversary {
  background:
    radial-gradient(circle at 12% 18%, rgba(155, 167, 122, 0.26), transparent 32%),
    linear-gradient(135deg, #fff9f0, #efe4d5);
}

.anniversary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(2.8rem, 7vw, 7rem);
  align-items: center;
}

.anniversary-copy {
  max-width: 650px;
}

.anniversary-line {
  margin: 0 0 0.65rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 760;
  line-height: 1.35;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--border);
}

.timeline-year {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 850;
}

.anniversary-logo {
  display: block;
  width: clamp(170px, 18vw, 230px);
  height: auto;
  margin: clamp(1.7rem, 4vw, 2.5rem) 0 1rem;
}

.anniversary-photo {
  width: min(100%, 400px);
  margin: 0 auto;
  border-radius: 6px;
  background: transparent;
  box-shadow: 0 22px 54px rgba(47, 58, 43, 0.14);
}

.anniversary-photo.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.review-box,
.hours-card,
.contact-panel,
.faq-item,
.legal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card {
  min-height: 168px;
  padding: 1.25rem;
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.service-card small {
  color: var(--clay);
  font-weight: 800;
}

.service-card p,
.timeline-item p,
.contact-panel p {
  color: var(--muted);
}

.service-logo {
  width: 136px;
  height: auto;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.about-media {
  display: grid;
  gap: 1rem;
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-grid,
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery-grid {
  gap: clamp(0.75rem, 1.8vw, 1.1rem);
}

.gallery-button {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: none;
}

.gallery-button img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 240ms ease;
}

.instagram-tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 240ms ease;
}

.gallery-focus-left {
  object-position: 34% 50%;
}

.gallery-focus-center {
  object-position: 50% 50%;
}

.gallery-focus-upper {
  object-position: 50% 34%;
}

.gallery-button:hover img,
.instagram-tile:hover img {
  transform: scale(1.025);
}

.instagram-tile {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.instagram-section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.instagram-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.instagram-copy {
  display: grid;
  justify-items: start;
  gap: 1rem;
  max-width: 500px;
}

.instagram-copy .lead {
  margin-bottom: 0.25rem;
}

.external-note {
  max-width: 480px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.instagram-panel .instagram-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.4vw, 0.95rem);
}

.instagram-panel .instagram-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.quote-section {
  background:
    linear-gradient(90deg, rgba(47, 58, 43, 0.9), rgba(47, 58, 43, 0.62)),
    url("../img/salon-zitat-coffee.jpg") center / cover no-repeat;
  color: var(--surface);
}

.quote-section .lead {
  color: rgba(255, 249, 240, 0.84);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.salon-quote {
  margin: 0;
  padding: 0;
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 240, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 249, 240, 0.1);
  backdrop-filter: blur(14px);
}

.salon-quote img {
  width: 100%;
  height: clamp(170px, 15vw, 220px);
  object-fit: contain;
  padding: 0.35rem;
  background: rgba(255, 249, 240, 0.92);
}

.salon-quote:nth-child(4) img {
  height: clamp(250px, 24vw, 340px);
}

.salon-quote blockquote {
  margin: 0;
  padding: 0.95rem 1rem 0;
  color: var(--surface);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 850;
  line-height: 1.18;
}

.salon-quote figcaption {
  margin-top: 0.45rem;
  padding: 0 1rem 1rem;
  color: rgba(255, 249, 240, 0.78);
  font-size: 0.92rem;
}

.review-box {
  display: grid;
  grid-template-columns: minmax(170px, 0.48fr) minmax(240px, 1fr) auto;
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.review-score {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(1.5rem, 3vw, 2.2rem);
  border-right: 1px solid var(--border);
}

.review-source {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-value-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.review-value-row strong {
  color: var(--primary-dark);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
}

.review-stars {
  color: #a84912;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.review-count {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.review-placeholder strong {
  display: block;
  color: var(--primary-dark);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.review-placeholder span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.review-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hours-card {
  padding: 0.5rem;
}

.hours-list {
  width: 100%;
  border-collapse: collapse;
}

.hours-list th,
.hours-list td {
  padding: 0.92rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.hours-list tr:last-child th,
.hours-list tr:last-child td {
  border-bottom: 0;
}

.hours-list th {
  color: var(--primary-dark);
  font-weight: 800;
}

.cta-band {
  background: var(--primary-dark);
  color: var(--surface);
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
}

.faq-button {
  width: 100%;
  min-height: 60px;
  padding: 1rem 3.4rem 1rem 1rem;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  text-align: left;
  font-weight: 820;
  position: relative;
}

.faq-button::before,
.faq-button::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.faq-button::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-button[aria-expanded="true"]::after {
  transform: rotate(0);
}

.faq-panel {
  padding: 0 1rem 1.15rem;
  color: var(--muted);
}

.faq-panel a,
.legal-card a,
.map-consent-content a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.contact-list div {
  display: grid;
  gap: 0.2rem;
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 760;
}

.map-consent {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(47, 58, 43, 0.72), rgba(47, 58, 43, 0.72)),
    url("../img/salon-aussen-goethestrasse.jpg") center / cover;
  color: var(--surface);
  text-align: center;
}

.map-consent iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
}

.map-consent-content {
  max-width: 470px;
  display: grid;
  gap: 1rem;
}

.map-consent.has-map {
  display: block;
  padding: 0;
  background: var(--surface);
}

.map-embed-loaded {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.map-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: rgba(31, 40, 29, 0.9);
  color: var(--surface);
  font-weight: 780;
  box-shadow: 0 8px 24px rgba(31, 40, 29, 0.25);
}

.mobile-action-bar {
  display: none;
}

.site-footer {
  padding: 3rem clamp(1rem, 3vw, 2rem);
  background: #20281d;
  color: rgba(255, 249, 240, 0.84);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(160px, 1fr));
  gap: 2rem;
}

.footer-logo {
  width: 190px;
  height: auto;
  padding: 0.25rem;
  border-radius: var(--radius);
  background: rgba(255, 249, 240, 0.12);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-col h2,
.footer-col h3 {
  color: var(--surface);
  font-size: 1rem;
}

.footer-col a {
  color: rgba(255, 249, 240, 0.86);
  text-decoration-color: rgba(255, 249, 240, 0.36);
  text-underline-offset: 4px;
}

.footer-bottom {
  max-width: var(--container);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 249, 240, 0.18);
  color: rgba(255, 249, 240, 0.66);
}

.legal-hero {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
  background: var(--primary-dark);
  color: var(--surface);
}

.legal-hero h1 {
  max-width: 100%;
  overflow-wrap: normal;
  white-space: nowrap;
  font-size: 4.5rem;
}

.legal-content {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.legal-card h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card p + p {
  margin-top: 0.85rem;
}

.legal-card ul {
  padding-left: 1.2rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  width: fit-content;
  max-width: calc(100vw - 2rem);
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(18, 22, 16, 0.74);
}

.lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  max-width: min(92vw, 980px);
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: min(92vw, 980px);
  max-height: 78svh;
  object-fit: contain;
  background: #141812;
}

.lightbox figcaption {
  width: 100%;
  padding: 0.9rem 1rem;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(36, 37, 31, 0.72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 3;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(36, 37, 31, 0.76);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

.a11y-trigger {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.68rem 0.9rem;
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary-dark);
  box-shadow: 0 12px 34px rgba(31, 40, 29, 0.2);
  font-weight: 800;
  line-height: 1;
}

.a11y-trigger:hover {
  background: var(--primary-dark);
  color: var(--surface);
}

.a11y-trigger svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
}

.a11y-dialog {
  width: min(460px, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.a11y-dialog::backdrop {
  background: rgba(20, 24, 18, 0.68);
}

.a11y-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.a11y-dialog-header h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.a11y-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary-dark);
  font-size: 1.75rem;
  line-height: 1;
}

.a11y-dialog-body {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.a11y-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.a11y-fieldset legend {
  margin-bottom: 0.65rem;
  color: var(--primary-dark);
  font-weight: 850;
}

.a11y-size-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.a11y-size-button {
  min-width: 0;
  min-height: 48px;
  padding: 0.65rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary-dark);
  font-weight: 750;
  line-height: 1.15;
}

.a11y-size-button[aria-pressed="true"] {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--surface);
}

.a11y-toggles {
  border-top: 1px solid var(--border);
}

.a11y-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  border-bottom: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 720;
  cursor: pointer;
}

.a11y-checkbox {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  accent-color: var(--primary-dark);
}

.a11y-reset {
  width: 100%;
}

html[data-a11y-high-contrast] body,
html[data-a11y-high-contrast] .anniversary,
html[data-a11y-high-contrast] .section-muted {
  background: #ffffff;
}

html[data-a11y-high-contrast] .site-header,
html[data-a11y-high-contrast] .site-header.is-scrolled,
html[data-a11y-high-contrast] .mobile-action-bar {
  background: #ffffff;
  backdrop-filter: none;
}

html[data-a11y-high-contrast] .hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.68) 100%),
    url("../img/salon-hero-empfang.jpg") center / cover no-repeat;
}

html[data-a11y-high-contrast] .review-stars {
  color: #7a2700;
}

html[data-a11y-high-contrast] .btn-outline {
  border-color: #000000;
  background: #ffffff;
  color: #000000;
}

html[data-a11y-highlight-links] a:not(.btn):not(.brand):not(.instagram-tile):not(.mobile-action) {
  text-decoration: underline !important;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

html[data-a11y-reduce-motion] *,
html[data-a11y-reduce-motion] *::before,
html[data-a11y-reduce-motion] *::after {
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}

html[data-a11y-text="large"] .site-nav,
html[data-a11y-text="xlarge"] .site-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  justify-content: stretch;
  gap: 0;
  max-height: calc(100svh - var(--header-height));
  padding: 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  visibility: hidden;
  transform: translateY(-120%);
}

html[data-a11y-text="large"] .site-nav[data-open],
html[data-a11y-text="xlarge"] .site-nav[data-open] {
  visibility: visible;
  transform: translateY(0);
}

html[data-a11y-text="large"] .site-nav a,
html[data-a11y-text="xlarge"] .site-nav a {
  width: 100%;
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

html[data-a11y-text="large"] .nav-toggle,
html[data-a11y-text="xlarge"] .nav-toggle {
  display: inline-flex;
}

html[data-a11y-text="xlarge"] .legal-hero h1 {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 1060px) {
  .legal-hero h1 {
    font-size: 3.4rem;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    justify-content: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(255, 249, 240, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .site-nav[data-open] {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    width: 100%;
    padding: 0.95rem 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .desktop-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .legal-hero h1 {
    font-size: 2.6rem;
  }

  .hero {
    min-height: auto;
    padding-top: 4.6rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(31, 40, 29, 0.9) 0%, rgba(31, 40, 29, 0.72) 60%, rgba(31, 40, 29, 0.58) 100%),
      url("../img/salon-hero-empfang.jpg") center / cover no-repeat;
  }

  .hero-facts,
  .service-grid,
  .gallery-grid,
  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .anniversary-layout,
  .hours-grid,
  .contact-grid,
  .cta-layout,
  .review-box,
  .quote-layout,
  .instagram-panel {
    grid-template-columns: 1fr;
  }

  .instagram-panel .instagram-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .review-score {
    padding-right: 0;
    padding-bottom: 1.4rem;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .review-actions,
  .contact-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 74px;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
    gap: 1px;
    min-height: 68px;
    padding: 0.45rem max(0.55rem, env(safe-area-inset-right)) calc(0.45rem + env(safe-area-inset-bottom)) max(0.55rem, env(safe-area-inset-left));
    border-top: 1px solid rgba(47, 58, 43, 0.18);
    background: rgba(255, 249, 240, 0.97);
    box-shadow: 0 -10px 30px rgba(31, 40, 29, 0.14);
    backdrop-filter: blur(16px);
  }

  .mobile-action {
    min-width: 0;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
  }

  .mobile-action-primary {
    background: var(--primary-dark);
    color: var(--surface);
  }

  .a11y-trigger {
    top: 15px;
    right: 70px;
    bottom: auto;
    width: 44px;
    min-height: 44px;
    padding: 0;
    box-shadow: none;
  }

  .a11y-trigger-label {
    display: none;
  }

  .a11y-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100svh - 1rem);
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 1.25rem;
  }

  .hero .lead {
    margin-top: 0.85rem;
  }

  .hero-actions {
    margin-top: 1.3rem;
  }

  .header-inner {
    padding-block: 0.65rem;
  }

  .brand img {
    width: 146px;
    max-height: 54px;
  }

  .legal-hero h1 {
    font-size: 1.7rem;
    white-space: nowrap;
  }

  .hero-actions,
  .review-actions,
  .contact-actions,
  .error-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .review-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .error-actions .btn {
    width: 100%;
  }

  .service-grid,
  .gallery-grid,
  .instagram-grid {
    grid-template-columns: 1fr;
  }

  .instagram-panel .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anniversary-photo.image-frame img {
    height: auto;
  }

  .about-media .image-frame {
    margin: 0;
  }

  .about-media .image-frame img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 50% 50%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    margin-top: 1.2rem;
  }

  .hero-fact {
    min-width: 0;
    padding: 0.85rem;
  }

  .hero-fact:nth-child(3) {
    display: none;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .salon-quote img {
    height: 230px;
  }

  .salon-quote:nth-child(4) img {
    height: 360px;
  }

  .hero-fact strong {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .anniversary {
    padding-top: 1.25rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hours-list th,
  .hours-list td {
    display: block;
    padding: 0.75rem 0.85rem;
  }

  .hours-list td {
    padding-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    max-width: calc(100vw - 0.75rem);
    max-height: calc(100svh - 0.75rem);
  }

  .lightbox img {
    max-width: calc(100vw - 0.75rem);
    max-height: 76svh;
  }

  .lightbox-nav {
    width: 40px;
    height: 48px;
  }

  .lightbox-prev {
    left: 0.4rem;
  }

  .lightbox-next {
    right: 0.4rem;
  }
}

@media print {
  .site-header,
  .mobile-action-bar,
  .a11y-trigger,
  .a11y-dialog,
  .hero-actions,
  .contact-actions,
  .review-actions,
  .map-consent,
  .site-footer {
    display: none !important;
  }

  body {
    padding: 0;
    background: #fff;
    color: #000;
  }

  .legal-card {
    border: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
