/* ==========================================================
   Nagelstudio Beata – Stylesheet
   ========================================================== */

/* Schriften (lokal gehostet, kein Abruf bei Google) */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }

:root {
  --bg: #FBF7F5;
  --surface: #F4EBE8;
  --card: #FFFFFF;
  --ink: #2B1B24;
  --ink-deep: #21141B;
  --muted: #6E5A64;
  --line: #EADBD6;
  --accent: #B3134F;
  --accent-dark: #7E0D38;
  --accent-soft: #F6DDE6;
  --rose: #F3A8C3;
  --on-dark-muted: #D9C7CE;
  --star: #E0A100;

  --serif: "Bodoni Moda", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 28px;
  --arch: 999px 999px var(--radius) var(--radius);
  --container: 1240px;
  --section: clamp(72px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.1; }
h2 { font-size: clamp(34px, 4.4vw, 52px); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: var(--section); display: flex; flex-direction: column; gap: 40px; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--ink); color: var(--bg); }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.section-dark .eyebrow { color: var(--rose); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 20px; font-weight: 700; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--rose); color: var(--ink); align-self: flex-start; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-center { align-self: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-round { width: 48px; height: 48px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.btn-round-dark { border: 1px solid #4A3640; color: var(--bg); }
.btn-round-dark:hover { border-color: var(--rose); color: var(--rose); }
.link-light { color: var(--rose); font-weight: 600; }
.link-light:hover { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 245, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.logo { display: flex; flex-direction: column; line-height: 1; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo-name { font: italic 400 32px/1 var(--serif); }
.logo-sub { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.main-nav a { color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--accent); }

/* Start */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-block: 72px 96px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.badge { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.05; letter-spacing: -.01em; }
.hero h1 em { color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; }
.rating-inline { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; font-size: 14px; }
.rating-inline:hover { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.hero-media { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: end; }
.hero-media-col { display: flex; flex-direction: column; gap: 20px; }
.arch { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; border-radius: var(--arch); }
.arch-short { aspect-ratio: 3 / 3.6; }
.arch-square { aspect-ratio: 1; max-width: 380px; margin-top: 12px; }
.arch-offset { margin-top: 56px; }
.price-chip { background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.price-chip span:last-child { color: var(--on-dark-muted); }
.price-chip-value { font: 400 34px/1 var(--serif); }

/* Auf einen Blick */
.trust { background: var(--ink); color: var(--bg); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-block: 28px; font-size: 15px; }
.trust span { display: flex; align-items: center; gap: 12px; }
.trust .icon { color: var(--rose); }

/* Abschnittskopf */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-intro { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.section-intro p { color: var(--muted); }

/* Galerie */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #D9C7CE; background: transparent; color: var(--ink); font: 600 14px var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 22px; background: #F1E6E3; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(251, 247, 245, .92); font-size: 12px; font-weight: 600; color: var(--ink); }

/* Preise */
.split { flex-direction: row; flex-wrap: wrap; gap: 64px; }
.split-intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split-intro p { color: var(--muted); }
.price-cards { flex: 1.4 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
.price-cards > :first-child, .price-cards .note { grid-column: 1 / -1; }
.card { background: var(--card); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 4px; }
.card h3 { font-weight: 500; font-size: 24px; margin-bottom: 10px; }
.card-dark { background: var(--ink); color: var(--bg); justify-content: space-between; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #E3D2CD; }
.price-row:last-of-type { border-bottom: 0; }
.price-row strong { white-space: nowrap; }
.card-dark .price-row { border: 0; font-size: 18px; }
.card-dark .link-light { margin-top: 12px; }
.note { font-size: 14px; color: var(--muted); }

/* Bewertungen */
.rating-box { display: flex; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 24px; }
.rating-box > div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.rating-value { font: 400 48px/1 var(--serif); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.review p { font: 400 21px/1.45 var(--serif); }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-author > div { display: flex; flex-direction: column; font-size: 15px; }
.review-author .muted { font-size: 13px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Kontakt */
.contact-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-text > p { color: var(--on-dark-muted); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-top: 24px; border-top: 1px solid #4A3640; }
.contact-grid > div { display: flex; flex-direction: column; gap: 8px; }
.contact-grid h3 { font: 700 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.contact-grid address { font-style: normal; line-height: 1.7; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.hours dd { margin: 0; }
.social { display: flex; gap: 12px; }
.contact-media { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }

/* Footer */
.site-footer { background: var(--ink-deep); color: #B9A6AE; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: #B9A6AE; }
.site-footer a:hover { color: #fff; }

/* Rechtstexte */
.legal { max-width: 800px; padding-block: var(--section); }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 32px; }
.legal h2 { font-size: 26px; margin: 36px 0 12px; }
.legal p, .legal ul { margin: 0 0 14px; }

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

/* Großansicht */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink-deep); color: #fff; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lightbox::backdrop { background: transparent; }
.lightbox-img { max-width: min(92vw, 900px); max-height: 82vh; width: auto; object-fit: contain; border-radius: 16px; }
.lightbox-caption { font-size: 14px; color: var(--on-dark-muted); }
.lightbox-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Mobil */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .main-nav { display: none; }
  .header-inner .btn span { display: none; }
  .header-inner .btn { width: 44px; padding: 0; }
  .logo-name { font-size: 26px; }
  .hero { padding-block: 32px 48px; gap: 32px; }
  .lead { font-size: 17px; }
  .hero-media { gap: 12px; align-items: start; }
  .price-chip { display: none; }
  .hero-media-col .arch { aspect-ratio: 3 / 4.4; margin-top: 28px; }
  .btn { padding: 0 22px; text-align: center; }
  .price-cards { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 24px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gallery-item { border-radius: 12px; }
  .gallery-tag { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -24px; padding-right: 24px; }
  .filter { flex: none; }
  .split { gap: 40px; }
  .contact-media { display: none; }
  .site-footer { padding-bottom: 88px; }
  .call-bar { display: flex; gap: 10px; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; }
  .call-bar .btn { flex: 1; min-height: 56px; box-shadow: 0 10px 30px rgba(43, 27, 36, .25); }
  .call-bar .btn-round { width: 56px; height: 56px; background: var(--ink); color: var(--bg); box-shadow: 0 10px 30px rgba(43, 27, 36, .25); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 24px; transform: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}

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