/* ==========================================================
   J.R Beauty Palace – Stylesheet
   Ruhig, gut lesbar, große Schrift & Bedienelemente
   Keine externen Schriften (DSGVO-freundlich)
   ========================================================== */

:root {
  --bg: #FBF8F3;          /* warmes Creme */
  --bg-alt: #F3EDE4;      /* sanftes Sand */
  --card: #FFFFFF;
  --ink: #2A2420;         /* fast Schwarz, warm */
  --ink-soft: #4F4640;
  --line: #E2D8CB;
  --accent: #8A4B3F;      /* gedecktes Terrakotta – Kontrast AA auf Creme */
  --accent-dark: #6E3A30;
  --accent-soft: #F1E2DC;
  --gold: #B88A3E;
  --radius: 16px;
  --wrap: 1140px;
  --gutter: clamp(18px, 4vw, 40px);
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --shadow: 0 18px 40px -24px rgba(42, 36, 32, .35);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

section { scroll-margin-top: 110px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 14px 30px;
  font-family: var(--sans); font-size: 20px; font-weight: 600; line-height: 1.2;
  border-radius: 12px; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--accent-dark); }
.btn-white:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- Kopfzeile ---------- */
.topbar {
  background: var(--ink); color: #fff; font-size: 17px;
}
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; text-align: center; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar svg { width: 18px; height: 18px; fill: currentColor; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 243, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }

.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 28px; }
.brand-sub { font-size: 15px; color: var(--ink-soft); letter-spacing: .02em; margin-top: 2px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 12px 16px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 500;
}
.main-nav a:hover { background: var(--bg-alt); color: var(--ink); }

.menu-toggle {
  display: none;
  align-items: center; gap: 10px; min-height: 52px; padding: 10px 18px;
  font: 600 18px var(--sans); color: var(--ink);
  background: var(--card); border: 2px solid var(--ink); border-radius: 10px; cursor: pointer;
}
.menu-toggle .bars { width: 22px; height: 16px; position: relative; display: inline-block; }
.menu-toggle .bars span, .menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars span { top: 6.75px; }
.menu-toggle .bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.kicker {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 16px; font-weight: 600; border-radius: 999px; letter-spacing: .02em;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-quote {
  margin: 0 0 34px; padding-left: 20px; border-left: 4px solid var(--gold);
  font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--ink-soft);
}
.hero-quote cite { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 17px; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-phone { margin: 22px 0 0; font-size: 18px; color: var(--ink-soft); }
.hero-phone a { font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Abschnitts-Köpfe ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 50px); }
.section-head p { margin: 14px 0 0; color: var(--ink-soft); }
.ornament { display: block; width: 64px; height: 3px; background: var(--gold); margin: 18px auto 0; border-radius: 2px; }

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1185 / 1101; object-fit: cover; }
.about-text h2 { font-size: clamp(34px, 4.4vw, 50px); margin-bottom: 22px; }
.about-text p { margin: 0 0 20px; color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.fact-num { display: block; font-family: var(--serif); font-size: clamp(40px, 4.6vw, 54px); line-height: 1; color: var(--accent); }
.fact-label { display: block; margin-top: 8px; font-size: 18px; color: var(--ink); font-weight: 500; }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.gallery-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* ---------- Preise ---------- */
.price-card {
  max-width: 900px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.price-table { width: 100%; border-collapse: collapse; font-size: 20px; }
.price-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.price-table th {
  text-align: left; padding: 18px 28px; background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.price-table th:last-child, .price-table td:last-child { text-align: right; white-space: nowrap; }
.price-table td { padding: 18px 28px; border-top: 1px solid var(--line); vertical-align: top; }
.price-table tbody tr:nth-child(even) { background: #FDFBF8; }
.price-table td:last-child { font-weight: 700; color: var(--accent-dark); font-variant-numeric: tabular-nums; }
.price-note {
  margin: 0; padding: 22px 28px; background: var(--accent-soft); color: var(--accent-dark);
  font-family: var(--serif); font-size: 22px; text-align: center; border-top: 1px solid var(--line);
}

/* ---------- Bewertungen ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px;
}
.review .stars { width: 150px; height: auto; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 27px); line-height: 1.4; color: var(--ink); }
.review figcaption { font-weight: 600; color: var(--ink-soft); font-size: 18px; }
.review figcaption::before { content: "— "; }

/* ---------- Kontakt ---------- */
.contact { background: var(--accent); color: #fff; text-align: center; padding: clamp(64px, 9vw, 112px) 0; }
.contact h2 { color: #fff; font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.contact p { margin: 0 auto 30px; max-width: 34ch; font-size: 21px; color: #F7ECE8; }
.contact-number {
  display: block; margin: 0 0 30px; font-family: var(--serif); font-size: clamp(34px, 5.4vw, 56px);
  color: #fff; text-decoration: none; letter-spacing: .01em;
}
.contact-number:hover { color: #fff; text-decoration: underline; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ink); color: #E9E2DA; padding: clamp(48px, 7vw, 72px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--serif); font-size: 30px; color: #fff; margin: 0 0 10px; }
.footer-claim { margin: 0; font-size: 18px; max-width: 30ch; }
.site-footer h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: 16px; color: #BDB3A8; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(40px, 7vw, 88px) 0; }
.legal-card { max-width: 820px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 5vw, 60px); }
.legal h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 26px; }
.legal h2 { font-size: 26px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-bottom: 18px; font-weight: 600; text-decoration: none; }

/* ---------- Anruf-Leiste (Handy) ---------- */
.call-bar { display: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; }
  .main-nav a { font-size: 21px; padding: 16px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav li:last-child a { border-bottom: 0; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .about-media { max-width: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 18px; padding-bottom: 92px; }
  .topbar { font-size: 16px; }
  .header-inner { min-height: 76px; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 14px; }
  .menu-toggle .label { display: inline; }
  .hero { padding-top: 28px; }
  .hero-media { order: -1; max-width: none; }
  .hero-media img { aspect-ratio: 1 / 1; border-radius: 160px 160px var(--radius) var(--radius); }
  .hero-actions .btn { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; }
  .gallery-grid figure:first-child img { aspect-ratio: 4 / 3; }
  .reviews-grid { grid-template-columns: 1fr; }
  .price-table { font-size: 18px; }
  .price-table th, .price-table td { padding: 16px 18px; }
  .price-note { font-size: 20px; padding: 20px 18px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fact { padding: 18px; }
  .contact .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }

  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 243, .98); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px -16px rgba(0,0,0,.3);
  }
  .call-bar .btn { width: 100%; }
}

@media (max-width: 360px) {
  .menu-toggle .label { display: none; }
  .facts { grid-template-columns: 1fr; }
}

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

@media print {
  .topbar, .site-header, .call-bar, .hero-actions, .contact .btn { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}
