/* =====================================================================
   SAÇ H-STUDIO – Frontend
   Ästhetik: warmes Espresso-Braun, Messing-Akzent, Elfenbein.
   ===================================================================== */

:root {
  --ink:      #211913;   /* Espresso Basis            */
  --ink-2:    #2c221a;   /* Fläche etwas heller       */
  --ink-3:    #382b21;   /* Karten / Hover            */
  --brass:    #c8a15a;   /* Messing-Akzent            */
  --brass-2:  #a67c39;   /* Messing dunkel            */
  --ivory:    #f3ecdf;   /* Text hell                 */
  --stone:    #b6a892;   /* gedämpfter Text           */
  --line:     rgba(200,161,90,.22);

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", system-ui, sans-serif;

  --wrap: 1140px;
  --r: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; }

/* --------------------------------------------------------- Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  border-radius: var(--r);
  border: 1px solid var(--brass);
  color: var(--ink);
  background: var(--brass);
  transition: background .2s, color .2s, transform .1s;
  cursor: pointer;
}
.btn:hover { background: var(--brass-2); border-color: var(--brass-2); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--brass); }
.btn--ghost:hover { background: var(--brass); color: var(--ink); }

/* --------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(33,25,19,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.35rem; letter-spacing: .04em; color: var(--ivory);
}
.brand b { color: var(--brass); font-weight: 500; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--stone); font-size: .92rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--brass); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ivory); font-size: 1.6rem; cursor: pointer; }

/* --------------------------------------------------------- Closure banner */
.closure {
  background: var(--brass);
  color: var(--ink);
  text-align: center;
  padding: 10px 16px;
  font-weight: 600;
  font-size: .92rem;
}
.closure b { font-weight: 700; }

/* --------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(33,25,19,.55), rgba(33,25,19,.92)),
    var(--hero-img, radial-gradient(circle at 30% 20%, #3a2c20, #1a130e));
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::after {           /* dünne Messing-Linie unten */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line);
}
.hero-inner { max-width: 720px; padding: 60px 0; }
.hero .kicker {
  color: var(--brass); font-weight: 600; letter-spacing: .18em;
  font-size: .78rem; text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-optical-sizing: auto;
  margin-bottom: 24px;
}
.hero p { color: var(--stone); font-size: 1.12rem; max-width: 46ch; margin-bottom: 36px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px; padding: 7px 16px;
  border: 1px solid var(--line); border-radius: 100px;
  font-size: .82rem; color: var(--stone);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #7fae6a; }
.status-pill.closed .dot { background: #c76a5a; }

/* --------------------------------------------------------- Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--ink-2); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .kicker {
  color: var(--brass); font-weight: 600; letter-spacing: .16em;
  font-size: .76rem; text-transform: uppercase;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 14px; }
.section-head p { color: var(--stone); margin-top: 16px; font-size: 1.05rem; }

/* --------------------------------------------------------- About + Team */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about-text p { color: var(--stone); font-size: 1.06rem; }
.about-text .lead { color: var(--ivory); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.35; margin-bottom: 24px; }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.team-card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-align: center;
}
.team-card .photo {
  aspect-ratio: 1; background: #241b14 center/cover;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass-2); font-family: var(--font-display); font-size: 3rem;
}
.team-card .info { padding: 18px 12px 22px; }
.team-card h3 { font-size: 1.3rem; }
.team-card span { color: var(--stone); font-size: .88rem; }

/* --------------------------------------------------------- Services (Preisliste) */
.price-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; }
.price-cat { break-inside: avoid; }
.price-cat h3 {
  font-size: 1.4rem; color: var(--brass);
  padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.price-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px dotted rgba(182,168,146,.18);
}
.price-row:last-child { border-bottom: 0; }
.price-row .name { flex: 1; color: var(--ivory); font-size: .98rem; }
.price-row .leader { flex: 1; border-bottom: 1px dotted rgba(182,168,146,.3); transform: translateY(-4px); min-width: 20px; }
.price-row .amount { color: var(--brass); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------- Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.gallery-grid a {
  aspect-ratio: 1; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-empty { color: var(--stone); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,15,11,.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--r); }
.lightbox .close {
  position: absolute; top: 22px; right: 28px;
  background: none; border: 0; color: var(--ivory); font-size: 2.4rem; cursor: pointer;
}

/* --------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.info-block { margin-bottom: 30px; }
.info-block .label {
  color: var(--brass); font-weight: 600; letter-spacing: .12em;
  font-size: .74rem; text-transform: uppercase; margin-bottom: 10px;
}
.info-block p { margin: 2px 0; color: var(--ivory); }
.info-block a:hover { color: var(--brass); }

.hours { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hours-row {
  display: flex; justify-content: space-between;
  padding: 13px 20px; border-bottom: 1px solid rgba(182,168,146,.12);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row.today { background: var(--ink-3); }
.hours-row .day { color: var(--stone); }
.hours-row.today .day { color: var(--ivory); font-weight: 600; }
.hours-row .time { color: var(--ivory); font-variant-numeric: tabular-nums; }
.hours-row .time.closed { color: #c76a5a; }

.socials { display: flex; gap: 14px; margin-top: 18px; }
.socials a {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--brass);
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--brass); color: var(--ink); }

/* --------------------------------------------------------- Footer */
.site-footer {
  background: var(--ink-2); border-top: 1px solid var(--line);
  padding: 34px 0; text-align: center; color: var(--stone); font-size: .86rem;
}
.site-footer a:hover { color: var(--brass); }

/* --------------------------------------------------------- Responsive */
@media (max-width: 880px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 8px 0; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; width: 100%; }
  .nav-toggle { display: block; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .price-cats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 68px 0; }
}
@media (max-width: 480px) {
  .team { grid-template-columns: 1fr; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { text-align: center; }
}

/* =====================================================================
   Terminbuchung (termin.php / termin-antwort.php)
   ===================================================================== */
.booking-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 26px;
  color: var(--stone);
}
.booking-card h1 { color: var(--ivory); font-size: 1.6rem; margin: 0 0 10px; }
.booking-card b { color: var(--ivory); }
.booking-success { border-color: rgba(127,174,106,.4); }

.form-errors {
  background: rgba(199,106,90,.12);
  border: 1px solid rgba(199,106,90,.4);
  color: #e8b7ac;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.form-errors ul { margin: 0; padding-left: 20px; }

.booking-form { display: flex; flex-direction: column; gap: 16px; }
.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .88rem;
  color: var(--stone);
  font-weight: 500;
}
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .booking-row { grid-template-columns: 1fr; } }

.booking-form input,
.booking-form select,
.booking-form textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--ivory);
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.booking-form textarea { resize: vertical; min-height: 70px; }
.booking-hint { font-size: .82rem; color: var(--stone); margin: -6px 0 0; }
