:root {
  --black: #000000;
  --ivory: #F6F1E8;
  --ivory-deep: #EDE5D7;
  --espresso: #1E1711;
  --gold: #C6A14F;
  --champagne: #EBD6A1;
  --stone: #8D8377;
  --hairline: rgba(30, 23, 17, 0.14);
  --hairline-gold: rgba(198, 161, 79, 0.45);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --container: 1080px;
  --gutter: clamp(20px, 5vw, 56px);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1.1em; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px var(--gutter);
  background: var(--black);
  color: var(--champagne);
  border-bottom: 1px solid rgba(198, 161, 79, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand img { border-radius: 50%; }

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 400;
}

.site-nav a {
  text-decoration: none;
  color: var(--champagne);
  opacity: 0.8;
  transition: opacity 150ms;
}

.site-nav a:hover { opacity: 1; }

.header-phone {
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  font-weight: 400;
  color: var(--gold);
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .header-phone { margin-left: auto; }
  .brand span { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.6) 100%),
    var(--black) url("../assets/hero-bg.jpg") center / cover no-repeat;
  color: var(--ivory);
  text-align: center;
  padding: clamp(56px, 10vw, 120px) var(--gutter) clamp(64px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

@supports (background-image: url("a.webp")) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.6) 100%),
      url("../assets/hero-bg.webp");
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--champagne) 50%, var(--gold) 65%, transparent);
  opacity: 0.8;
}

.hero > * {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}

.hero-seal {
  width: 150px;
  height: 150px;
  margin-bottom: 36px;
}

.hero-kicker {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.1rem);
  line-height: 1.08;
  color: var(--ivory);
  margin-bottom: 28px;
}

.hero-text {
  font-size: 1.125rem;
  color: rgba(246, 241, 232, 0.72);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-status {
  font-size: 0.95rem;
  color: var(--gold);
  min-height: 1.5em;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  padding: 14px 26px;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}

.button-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.button-gold:hover { background: var(--champagne); border-color: var(--champagne); }

.button-ghost {
  color: var(--champagne);
  border-color: rgba(235, 214, 161, 0.45);
}

.button-ghost:hover { border-color: var(--champagne); }

.button-outline {
  color: var(--espresso);
  border-color: var(--espresso);
}

.button-outline:hover { background: var(--espresso); color: var(--ivory); }

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section + .section:not(.section-dark) {
  border-top: 1px solid var(--hairline);
}

.section h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  margin-bottom: 20px;
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head p { font-size: 1.125rem; color: var(--stone); margin: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
}

.note { color: var(--stone); font-size: 0.95rem; }

/* ---------- Treatment menu ---------- */

.menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: clamp(40px, 5vw, 64px);
}

@media (max-width: 760px) {
  .menu { grid-template-columns: 1fr; }
}

.menu-group-title {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline-gold);
  margin-bottom: 4px;
}

.menu-list { margin: 0; }

.menu-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.menu-item:last-child { border-bottom: 0; }

.menu-item dt {
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.menu-item dd {
  margin: 0;
  color: rgba(30, 23, 17, 0.72);
  max-width: 46ch;
}

/* ---------- Dark band ---------- */

.section-dark {
  background: var(--black);
  color: rgba(246, 241, 232, 0.8);
}

.section-dark h2 { color: var(--champagne); }

.section-dark p { max-width: 54ch; }

.section-dark .button { margin-top: 8px; }

/* ---------- Hours ---------- */

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.0625rem;
}

.hours th, .hours td {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  font-weight: 300;
}

.hours th { font-family: var(--display); font-size: 1.25rem; font-weight: 400; width: 45%; }

.hours td { font-variant-numeric: tabular-nums; }

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

.hours .closed td { color: var(--stone); }

.hours .today th, .hours .today td {
  color: var(--espresso);
  font-weight: 400;
  border-bottom-color: var(--gold);
}

.hours .today th::after {
  content: "heute";
  font-family: var(--body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold);
  margin-left: 10px;
}

/* ---------- Contact ---------- */

.section-contact { background: var(--ivory-deep); }

.contact { font-style: normal; font-size: 1.125rem; margin-bottom: 28px; }

.contact a { text-decoration: none; border-bottom: 1px solid var(--gold); }

.map {
  aspect-ratio: 4 / 3;
  max-width: 100%;
  background: var(--ivory);
  border: 1px solid var(--hairline);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.6);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(246, 241, 232, 0.6);
  padding-block: 48px;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}

.footer-inner img { border-radius: 50%; }

.footer-inner p { margin: 0; flex: 1 1 260px; }

.footer-inner nav { display: flex; gap: 20px; }

.footer-inner nav a { text-decoration: none; color: var(--champagne); opacity: 0.8; }

.footer-inner nav a:hover { opacity: 1; }

/* ---------- Legal pages ---------- */

.legal {
  padding-block: clamp(56px, 8vw, 96px);
}

.legal .container { max-width: 720px; }

.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 32px; }

.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }

.legal .todo {
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  background: var(--ivory-deep);
  color: var(--stone);
  font-size: 0.95rem;
}
