/* =====================================================================
   ReisingerBarbara – SchmuckIdeen
   Elegantes, helles, responsives Design – ohne Drittanbieter-Ressourcen
   ===================================================================== */

:root {
  --bg:        #faf7f2;   /* Elfenbein */
  --bg-alt:    #f2ece2;   /* warmes Sandbeige */
  --surface:   #ffffff;
  --ink:       #2c2824;   /* warmes Anthrazit */
  --ink-soft:  #6b6259;
  --gold:      #a9863f;   /* dezentes Gold */
  --gold-dark: #8a6c2f;
  --line:      #e4dccf;
  --line-soft: #efe8dc;
  --shadow:    0 10px 30px rgba(60, 48, 30, .10);
  --shadow-sm: 0 4px 14px rgba(60, 48, 30, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

.serif { font-family: var(--serif); }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .name { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .3px; }
.brand .name b { color: var(--gold-dark); font-weight: 600; }
.brand .tag {
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 9px 13px; color: var(--ink);
  font-size: .93rem; border-radius: 8px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--gold-dark); text-decoration: none; }
.nav-links a.cta {
  background: var(--gold); color: #fff; margin-left: 6px;
}
.nav-links a.cta:hover { background: var(--gold-dark); color: #fff; }

/* mobile toggle (CSS-only, funktioniert ohne JavaScript) */
#nav-toggle { display: none; }
.nav-burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: transform .25s, opacity .2s;
}
.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after  { position: absolute; top: 7px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-size: .95rem; letter-spacing: .02em; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero-eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.08; margin: 0 0 18px;
  letter-spacing: .3px;
}
.hero h1 span { color: var(--gold-dark); display: block; font-style: italic; }
.hero p.lead { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 30px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-figure { position: relative; max-width: 80%; margin-inline: auto; }
.hero-figure img {
  width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
}
.hero-figure::after {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 120px; height: 120px;
  border: 1px solid var(--gold); border-radius: 18px; z-index: -1; opacity: .5;
}

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section { padding-block: clamp(52px, 8vw, 92px); }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 54px); text-align: center; }
.eyebrow {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 12px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem); margin: 0 0 14px; line-height: 1.15;
}
.section-head h2::after {
  content: ""; display: block; width: 54px; height: 2px; background: var(--gold);
  margin: 18px auto 0;
}
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }

/* ---------- Willkommen ---------- */
.welcome { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 760px; margin-inline: auto; text-align: center; }
.welcome .greet { font-family: var(--serif); font-size: clamp(1.5rem,3.4vw,2rem); margin: 0 0 8px; }
.welcome p { margin: 0 0 14px; color: var(--ink); }
.welcome .sign {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-dark);
  margin-top: 18px;
}
.welcome .sign small { display: block; font-style: normal; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

/* ---------- Kategorie-Navigation (Kacheln) ---------- */
.cat-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.cat-nav a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 22px 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; color: var(--ink); font-family: var(--serif); font-size: 1.15rem;
  letter-spacing: .02em; transition: transform .15s, box-shadow .2s, border-color .2s, color .2s;
}
.cat-nav a:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--gold); color: var(--gold-dark); text-decoration: none; }

/* ---------- Ringe (Karten mit Text) ---------- */
.ring-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.ring-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .25s;
}
.ring-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ring-card .thumb { background: #fdfcfa; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; }
.ring-card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.ring-card:hover .thumb img { transform: scale(1.04); }
.ring-card .body { padding: 18px 20px 22px; border-top: 1px solid var(--line-soft); }
.ring-card .art { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); }
.ring-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; margin: 6px 0 8px; }
.ring-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Galerie-Grid ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .25s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .thumb { background: #fdfcfa; aspect-ratio: 1 / 1; overflow: hidden; cursor: zoom-in; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover .thumb img { transform: scale(1.05); }
.tile figcaption { padding: 12px 15px 15px; font-size: .92rem; color: var(--ink-soft); text-align: center; }
.tile figcaption b { display: block; color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 1.02rem; margin-bottom: 1px; }

.cat-block { margin-top: clamp(40px, 6vw, 66px); }
.cat-block:first-of-type { margin-top: 0; }
.cat-title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; }
.cat-title h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.cat-title .rule { flex: 1; height: 1px; background: var(--line); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 6px; }
.contact-list { list-style: none; margin: 22px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.contact-list li:first-child { border-top: 0; }
.contact-list .ic { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; color: var(--gold-dark); }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list .lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list .val { font-size: 1.1rem; }
.contact-intro { color: var(--ink-soft); }
.contact-intro .greet { font-family: var(--serif); font-size: clamp(1.5rem,3.2vw,2rem); color: var(--ink); margin: 0 0 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9cfc0; padding-block: 46px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer .name { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.site-footer .name b { color: var(--gold); font-weight: 500; }
.site-footer p { color: #b7ab99; font-size: .95rem; margin: 12px 0 0; }
.site-footer h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #a99a86; margin: 0 0 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #d9cfc0; font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: .85rem; color: #9c8f7c;
}
.footer-bottom a { color: #c8bda9; }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal { padding-block: clamp(40px, 6vw, 72px); }
.legal .wrap { max-width: 840px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.6vw, 2.8rem); margin: 0 0 8px; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; margin: 0 0 34px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 40px 0 10px; padding-top: 8px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 6px; }
.legal p, .legal li { color: #423b33; }
.legal address { font-style: normal; line-height: 1.9; }
.legal .note {
  background: var(--bg-alt); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 22px 0; font-size: .96rem;
}
.legal .placeholder { background: #fff4d6; border: 1px dashed #d8b24a; border-radius: 6px; padding: 1px 7px; font-weight: 600; color: #8a6c2f; }
.backlink { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: .95rem; }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(30, 24, 18, .88); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 24px;
}
.lb.open { display: flex; }
.lb img { max-width: min(94vw, 1100px); max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb figcaption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #f3ead9; font-size: 1rem; padding-inline: 20px; }
.lb-btn {
  position: absolute; top: 18px; right: 20px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: none; color: #fff; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border-radius: 50%; background: rgba(255,255,255,.14); border: none; color: #fff; font-size: 1.7rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-figure { order: -1; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
    gap: 2px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
    box-shadow: var(--shadow);
  }
  #nav-toggle:checked ~ .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 12px; border-radius: 8px; }
  .nav-links a.cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .cat-nav { grid-template-columns: repeat(2, 1fr); }
  .lb-nav { width: 44px; height: 44px; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; text-align: center; }
}
