/* Empire Jewelry – Richtung C „Name in Gold“
   Mobil zuerst. Logische Abstände (inline/block), damit Arabisch (rtl) dieselbe Datei nutzt. */

:root {
  --stone: #f5f5f2;      /* Seitenhintergrund, kühles Kalkweiß */
  --paper: #ffffff;
  --ink: #1d1f1e;
  --ink-2: #565b58;
  --line: #d9d9d2;
  --green: #457256;      /* aus dem Logo */
  --green-dark: #355a43;
  --gold: #b8902f;
  --gold-text: #8a6a1f;
  --gold-light: #e9cf87;
  --rose: #b07276;       /* Start-Titel, Altrosa (Kontrast mind. 3:1 auf dem hellen Hintergrund) */
  --rose-deep: #a2646a;  /* Knöpfe im Start: etwas dunkler, damit die Schrift gut lesbar ist (4,6:1 zu Weiß) */

  --font-ui: "Alexandria", system-ui, sans-serif;
  --font-show: "Aref Ruqaa", "Alexandria", serif;

  --pad: clamp(1.25rem, 5vw, 3rem);
  --max: 74rem;
  --gap-section: clamp(4rem, 12vw, 8rem);
}

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

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

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-ui);
  -webkit-tap-highlight-color: transparent;
}
html[lang="ar"] body { line-height: 1.9; }

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

a { color: inherit; }

h1, h2, h3 { margin: 0; font-weight: 400; }

h1, h2 {
  font-family: var(--font-show);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.75rem, 11vw, 4.5rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 7.5vw, 3.25rem); line-height: 1.1; }
h3 { font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
html[lang="ar"] h1 { line-height: 1.35; }
html[lang="ar"] h2 { line-height: 1.4; }

p { margin: 0; }

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

.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 50;
}
.skip:focus { top: 1rem; }

.small { font-size: .875rem; color: var(--ink-2); line-height: 1.55; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Kopf (fest oben, Menü am Handy) ---------- */
/* weiße Leiste mit feiner Linie: Logo links, Menü daneben, Symbole rechts */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  background: var(--paper); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.top.is-scrolled, .top.is-open { box-shadow: 0 10px 24px -20px rgba(30, 30, 20, .45); }
.top-in {
  display: flex; align-items: center; gap: .6rem;
  max-width: var(--max); margin: 0 auto;
  padding: .6rem var(--pad);
}
/* Logo wie bei Firmen üblich: links, gut lesbar (Handy ca. 50 px, PC ca. 60 px hoch) */
.top-logo img { width: auto; height: 3.1rem; }
.top-tools { display: flex; align-items: center; gap: .1rem; margin-inline-start: auto; }
.top-ico {
  display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; color: var(--ink); transition: background-color .2s;
}
.top-ico svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .top-ico:hover, .menu-btn:hover { background: var(--stone); } }
.top-lang {
  font-size: .9rem; font-weight: 500; text-decoration: none;
  padding: .5rem .55rem; border-radius: 8px;
}
.top-lang:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.legal-top .top-lang { margin-inline-start: auto; }
/* Menü-Knopf nur als Symbol (drei Striche), Beschriftung für Vorleseprogramme */
.menu-btn {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--ink);
  cursor: pointer;
}
.menu-ico, .menu-ico::before, .menu-ico::after { width: 1.25rem; }
.menu-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 1rem; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.menu-ico { position: relative; }
.menu-ico::before, .menu-ico::after { content: ""; position: absolute; left: 0; }
.menu-ico::before { top: -5px; }
.menu-ico::after { top: 5px; }
.top.is-open .menu-ico { background: transparent; }
.top.is-open .menu-ico::before { transform: translateY(5px) rotate(45deg); }
.top.is-open .menu-ico::after { transform: translateY(-5px) rotate(-45deg); }
.top-nav { display: none; }
.top.is-open .top-nav {
  display: grid; position: absolute; top: 100%; left: 0; right: 0;
  padding: .25rem var(--pad) 1.25rem;
  background: var(--paper);
  box-shadow: 0 16px 24px -18px rgba(30, 30, 20, .35);
}
.top-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.1rem; }
.top-nav a[aria-current] { color: var(--green); }
main section[id] { scroll-margin-top: 4.75rem; }

/* ---------- Knöpfe, Felder ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .75rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 1rem/1.2 var(--font-ui); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-main { background: var(--green); color: #fff; }
.btn-main:hover { background: var(--green-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--paper); }

.field-label { display: block; font-size: .9rem; font-weight: 500; margin-block-end: .5rem; padding: 0; }
.opt { font-weight: 400; color: var(--ink-2); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.name-input, .select, .notes {
  width: 100%;
  font: 400 1.0625rem/1.4 var(--font-ui); color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px;
  padding: .8rem 1rem;
}
.name-input { font-size: 1.25rem; }
.name-input:hover, .select:hover, .notes:hover { border-color: #b9b9b0; }
.name-input:focus, .select:focus, .notes:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.notes { resize: vertical; min-height: 5.5rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips > .field-label { width: 100%; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-t { pointer-events: none; }
.chip {
  align-items: center; gap: .45rem;
  min-height: 2.75rem; padding: .45rem .95rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  font-size: .95rem; cursor: pointer; user-select: none;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: #b3b3a9; }
.chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }

.dot {
  width: 1.05rem; height: 1.05rem; border-radius: 50%; flex: none;
  background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.metal-yellow { background: linear-gradient(135deg, #8d6a20, #f3df9c 50%, #b8902f); }
.metal-rose   { background: linear-gradient(135deg, #8f5a4b, #f6d3c6 50%, #c48a78); }
.metal-white  { background: linear-gradient(135deg, #80858b, #f7f7f5 50%, #b9bdc2); }

.motif-ico { display: inline-flex; width: 1.4rem; height: 1.4rem; }
.motif-ico svg { width: 100%; height: 100%; }

/* ---------- Bühne (Vorschau) ---------- */
.stage {
  margin: 0;
  background: radial-gradient(90% 80% at 50% 42%, #fdfcf9 0%, #f3f0ea 62%, #e4dfd5 100%);
  border: 1px solid #e3ded4;
  border-radius: 24px;
  overflow: hidden;
}
.preview { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }

/* ---------- Start mit Ring ---------- */
.ring-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; justify-items: center; gap: 1.25rem;
  padding: 5.25rem var(--pad) 3.5rem;
  background:
    radial-gradient(55% 45% at 50% 34%, rgba(255,255,255,.95), rgba(255,255,255,0) 72%),
    linear-gradient(100deg, #e1ede5 0%, #f7f8f5 40%, #faf8f3 60%, #f2e7d2 100%);
}
.ring-stage { position: relative; width: min(92vw, 560px); aspect-ratio: 1; }
.ring-img, .ring-glints { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-img { opacity: 0; transition: opacity .6s ease; }
.ring-img.is-on { opacity: 1; }
.ring-glints { pointer-events: none; }
/* Startbereich: wechselnder Schmuck an der Stelle des Rings (frei auf dem Hintergrund, Ränder laufen weich aus) */
.hero-piece {
  position: absolute; left: -6%; top: 50%; width: 112%; height: auto; aspect-ratio: 4 / 3; transform: translateY(-50%);
  opacity: 0; pointer-events: none; cursor: pointer; transition: opacity .45s ease;
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 54%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 58% at 50% 54%, #000 62%, transparent 100%);
}
.ring-stage.show-piece .hero-piece { opacity: 1; pointer-events: auto; }
.ring-glints { transition: opacity .6s ease; }
.ring-stage.show-piece .ring-img, .ring-stage.show-piece .ring-glints { opacity: 0 !important; }
/* beim Laden: Ring noch nicht zeigen, die Kette kommt zuerst */
.hero-start .ring-img, .hero-start .ring-glints { opacity: 0 !important; }
.hero-piece:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 14px; }

.chip-dot { padding: .4rem; min-width: 2.9rem; justify-content: center; }
.chip-dot .dot { width: 1.45rem; height: 1.45rem; }
.chip-dot .chip-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chip.chip-dot:has(input:checked) { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.ring-copy { text-align: center; max-width: 38rem; }
.ring-copy h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
/* Start-Titel: runde, fette Grotesk in Altrosa, zwei Zeilen; Arabisch fällt auf Alexandria zurück */
.ring-copy h1 {
  font-family: "Outfit", "Alexandria", system-ui, sans-serif;
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.12;
  color: var(--rose);
}
html[lang="ar"] .ring-copy h1 { letter-spacing: 0; line-height: 1.45; }
.ring-copy .actions { justify-content: center; margin-block-start: 1.5rem; }
/* Knöpfe im Start in Rosa wie der Titel */
.ring-copy .btn-main { background: var(--rose-deep); }
.ring-copy .btn-main:hover { background: #8c5257; }
.ring-copy .btn-line { border-color: var(--rose-deep); color: var(--rose-deep); background: var(--paper); }
.ring-copy .btn-line:hover { background: var(--rose-deep); color: #fff; }

/* ---------- Bilderreihe unter dem Start (vier Bilder mit Link in die Bereiche) ---------- */
.tiles ul {
  list-style: none; margin: 0; padding: 4px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
}
.tiles a { position: relative; display: block; overflow: hidden; color: var(--ink); text-decoration: none; }
.tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.tiles span {
  position: absolute; inset-inline-start: .6rem; bottom: .6rem;
  padding: .45rem .75rem; background: var(--paper);
  font-size: .8rem; font-weight: 500; line-height: 1.2;
  box-shadow: 0 2px 10px -6px rgba(30, 30, 20, .4);
}
html[lang="en"] .tiles span { text-transform: uppercase; letter-spacing: .05em; }
@media (hover: hover) { .tiles a:hover img { transform: scale(1.04); } }
.tiles a:focus-visible { outline-offset: -4px; }

.lead { margin-block-start: 1.25rem; font-size: 1.125rem; color: var(--ink-2); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-block-start: .3rem; }
.actions .btn { flex: 1 1 14rem; }

/* ---------- Namenskette ---------- */
.studio-grid { display: grid; gap: 1.25rem; }
.studio-stage { position: sticky; top: 4.4rem; z-index: 5; box-shadow: 0 10px 24px -18px rgba(40, 35, 20, .5); }
.studio-stage .preview { max-height: 34svh; }
.studio-form { display: grid; gap: 1.6rem; padding-block-start: .5rem; }
.studio-form [hidden] { display: none; }
.font-group { font-size: .8rem; color: var(--ink-2); margin-block: .25rem .5rem; }
.font-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .5rem; margin-block-end: .75rem; }
.font-tile {
  position: relative; display: grid; gap: .1rem; justify-items: center; text-align: center;
  padding: .55rem .4rem .5rem; min-height: 4.6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.font-tile input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.font-tile:hover { border-color: #b3b3a9; }
.font-tile:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.font-tile:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.font-sample { font-size: 1.6rem; line-height: 1.25; color: var(--gold-text); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.font-name { font-size: .78rem; color: var(--ink-2); pointer-events: none; }
.charm-ico { display: inline-flex; width: 1.1rem; height: 1.1rem; }
.charm-ico svg { width: 100%; height: 100%; }
/* Anhänger nur als Symbol; der Name bleibt für Vorleseprogramme und erscheint beim Darüberfahren */
.chips-ico .chip { width: 3rem; height: 3rem; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
.chips-ico .chip .charm-ico { width: 1.45rem; height: 1.45rem; }
.chips-ico .chip-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Anhänger selbst platzieren: in der Nahansicht greifbar, Ziehen scrollt nicht die Seite */
.preview-close [data-charm] { cursor: grab; touch-action: none; }
.preview-close [data-charm]:active { cursor: grabbing; }
.spots-row { flex-basis: 100%; display: grid; gap: .4rem; justify-items: start; }
.spots-row:has(.spots-status:empty):has(.spots-reset[hidden]) { display: none; }
.spots-status:empty { display: none; }
.spots-status { margin: 0; color: var(--green); font-weight: 500; }
.spots-reset { padding: .45rem .95rem; font-size: .85rem; }
.spots-reset[hidden] { display: none; }
/* Farbfeld unter den Anhängern im Formular */
.charm-colors {
  flex-basis: 100%; margin-block-start: .35rem; padding: .75rem .85rem .85rem;
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
}
.charm-colors[hidden] { display: none; }
.cc-t { margin: 0 0 .55rem; font-size: .88rem; font-weight: 500; }
.cc-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-block-end: .7rem; }
.cc-tab {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font: 500 .8rem var(--font-ui); cursor: pointer;
}
.cc-tab[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cc-tab .charm-ico { width: .95rem; height: .95rem; }
.cc-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--c, #ccc); border: 1px solid rgba(0, 0, 0, .22); }
.cc-dot.gold { background: linear-gradient(135deg, #9c7726, #fcecb6 50%, #cfa443); }
.cc-sw { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-sw .sw { width: 30px; height: 30px; }
/* Farb-Banner: erscheint beim Antippen eines Anhängers direkt daneben */
.charm-pop {
  position: fixed; z-index: 45; width: max-content; max-width: calc(100vw - 16px);
  padding: .55rem .7rem .6rem; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 28px -10px rgba(30, 30, 25, .45), 0 0 0 1px rgba(0, 0, 0, .06);
}
.charm-pop[hidden] { display: none; }
.charm-pop-t { margin: 0 1.6rem .45rem 0; font: 600 .85rem var(--font-ui); color: var(--ink); }
html[dir="rtl"] .charm-pop-t { margin: 0 0 .45rem 1.6rem; }
.charm-pop-sw { display: grid; grid-template-columns: repeat(8, 26px); gap: 7px; }
.sw {
  width: 26px; height: 26px; padding: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 45%), var(--c, #ccc);
  border: 1px solid rgba(0, 0, 0, .18);
}
.sw-gold { background: linear-gradient(135deg, #9c7726, #fcecb6 50%, #cfa443); }
.sw[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.sw:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.charm-pop-h { margin: .5rem 0 0; font-size: .74rem; color: var(--ink-2); }
.charm-pop-h:empty { display: none; }
.charm-pop-x {
  position: absolute; top: 4px; inset-inline-end: 6px; width: 28px; height: 28px;
  border: 0; background: none; font: 400 1.25rem/1 var(--font-ui); color: var(--ink-2); cursor: pointer;
}
@media (pointer: coarse) {
  .charm-pop-sw { grid-template-columns: repeat(7, 30px); gap: 8px; }
  .sw { width: 30px; height: 30px; }
}
/* kurzer Hinweis unten in der Ecke der Nahansicht, bis der Kunde einen Anhänger verschoben hat */
.drag-hint {
  position: absolute; inset-inline-end: 10px; bottom: 10px; z-index: 2; margin: 0;
  display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem .35rem .55rem;
  border-radius: 999px; background: rgba(29, 31, 30, .84); color: #fff; font: 500 .78rem var(--font-ui);
  pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s;
}
.drag-hint.is-on { opacity: 1; transform: none; }
.drag-hint svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Libanon-Karte: kleine Karten in den Design-Knöpfen */
.map-ico { display: inline-flex; width: 1.1rem; height: 1.45rem; }
.map-ico svg { width: 100%; height: 100%; }

/* ---------- Abschnitte allgemein ---------- */
.studio, .pieces, .builder, .about, .visit {
  max-width: var(--max); margin: 0 auto;
  padding: var(--gap-section) var(--pad) 0;
}
.section-head { max-width: 40rem; margin-block-end: 2rem; }
.section-head p { margin-block-start: .75rem; color: var(--ink-2); }

/* ---------- Galerie ---------- */
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .9rem;
}
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #e9e9e3; }
/* Titel der Stücke nicht sichtbar; der Text bleibt für Vorleseprogramme und die WhatsApp-Nachricht („Ask on WhatsApp“) */
.cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gallery .piece-actions { margin-block-start: .45rem; }
.like {
  margin-block-start: .25rem; padding: .35rem 0;
  background: none; border: 0; cursor: pointer;
  font: 400 .9rem/1.3 var(--font-ui); color: var(--gold-text);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.like:hover { color: var(--ink); }
.piece-actions { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.ask { padding: .35rem 0; font-size: .9rem; color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ask:hover { color: var(--ink); }
.filter { margin-block-end: 1.5rem; }
.gallery > li[hidden] { display: none; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; gap: 2rem; align-items: center; max-width: 44rem; }
.about-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.about-grid .lead + p { margin-block-start: .8rem; color: var(--ink-2); }
/* Werkstatt-Fotos unter „Über uns“ */
.workshop-title { margin-block: 2.4rem 1rem; font: 700 clamp(1.35rem, 4.5vw, 1.8rem)/1.2 var(--font-show); }
.workshop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.workshop img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: #e9e9e3; }
@media (max-width: 599px) {
  .workshop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
}
.about-grid .ph { margin-block-start: 1rem; }

/* ---------- Baukasten ---------- */
.builder-grid { display: grid; gap: 1.25rem; }
.builder-form { display: grid; gap: 1.75rem; padding-block-start: .5rem; }
.builder-form [hidden] { display: none; }
.builder-form .name-input + .small { margin-block-start: .45rem; }

.summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.25rem; display: grid; gap: 1rem;
}
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .95rem; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Kontakt ---------- */
.visit > p { margin-block-start: .75rem; color: var(--ink-2); }
.contact { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.contact a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ph {
  display: inline-block; padding: .1rem .5rem;
  background: #fff6dc; border: 1px dashed var(--gold); border-radius: 6px;
  font-size: .95rem; color: var(--gold-text);
}

/* ---------- Fuß ---------- */
.foot {
  max-width: var(--max); margin: var(--gap-section) auto 0;
  padding: 2rem var(--pad) 6rem;
  border-top: 1px solid var(--line);
  display: grid; gap: .5rem; font-size: .9rem; color: var(--ink-2);
}
.foot img { width: 7rem; margin-block-end: .5rem; }
.foot p a { margin-inline-end: 1rem; }

/* ---------- WhatsApp schwebend ---------- */
.wa-float {
  position: fixed; inset-inline-end: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff; z-index: 40;
  box-shadow: 0 8px 20px -8px rgba(30, 60, 40, .6);
}
.wa-float svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa-float:hover { background: var(--green-dark); }
.wa-float { transition: opacity .2s, transform .2s, background-color .2s; }
.wa-float.is-away { opacity: 0; transform: scale(.8); pointer-events: none; }

/* ---------- ab Tablet ---------- */
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .tiles ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles span { inset-inline-start: 1rem; bottom: 1rem; padding: .6rem 1.1rem; font-size: .9rem; }
}

/* ---------- ab Desktop ---------- */
@media (min-width: 960px) {
  .top-in { padding-block: .7rem; }
  .top-logo img { height: 3.75rem; }
  .menu-btn { display: none; }
  .top-nav, .top.is-open .top-nav { display: flex; position: static; gap: 1.9rem; margin-inline-start: 3rem; padding: 0; background: none; box-shadow: none; }
  .top-nav a { padding: .3rem 0; border: 0; font-size: .9rem; font-weight: 500; }
  .top-nav a:hover, .top-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .top-tools { gap: .25rem; }
  main section[id] { scroll-margin-top: 5.5rem; }

  .studio-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 3.5rem; align-items: start; }
  .studio-stage { top: 6rem; box-shadow: none; }
  .studio-stage .preview { max-height: none; }

  .ring-hero {
    height: clamp(580px, 78svh, 860px);
    grid-template-columns: 1fr 1fr; grid-template-rows: 1fr;
    align-items: center;
    padding: 5.5rem max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))) 1.5rem;
  }
  /* wie die Vorlage: Text links in der Mitte, Schmuck in der rechten Hälfte */
  .ring-stage {
    position: absolute; left: 71%; top: 50%; transform: translate(-50%, -46%);
    width: auto; height: min(62svh, 620px); z-index: 0;
  }
  html[dir="rtl"] .ring-stage { left: 29%; }
  .ring-copy { position: relative; z-index: 1; }
  .ring-copy { grid-column: 1; grid-row: 1; justify-self: start; text-align: start; max-width: 30rem; }
  .ring-copy h1 { font-size: clamp(2.9rem, 4.2vw, 4rem); }
  .ring-copy .actions .btn { flex: 0 0 auto; }
  .ring-copy .actions { justify-content: flex-start; margin-block-start: 2rem; }

  .builder-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 3.5rem; align-items: start; }
}

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

/* Namenskette: Hals-Ansicht und Nahansicht der Kette nebeneinander */
.studio-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #e4dfd5; }
.studio-stage .preview-close { background: radial-gradient(90% 80% at 50% 42%, #fdfcf9 0%, #f3f0ea 62%, #e4dfd5 100%); }
/* Handy: Nahansicht groß, Hals-Foto klein als Bild im Bild */
@media (max-width: 699px) {
  .studio-stage { grid-template-columns: 1fr; }
  .studio-stage .preview:not(.preview-close) {
    position: absolute; inset-inline-start: 8px; top: 8px; z-index: 1;
    width: 30%; max-height: none; border: 2px solid #fff; border-radius: 6px;
    box-shadow: 0 6px 14px -8px rgba(40, 35, 20, .6);
  }
}

/* Vergrößerung der Namenskette */
.studio-stage svg.preview { cursor: zoom-in; }
.zoom-open {
  position: absolute; inset-inline-start: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .75rem .4rem .55rem; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink); font: 500 .8rem var(--font-ui);
  box-shadow: 0 4px 12px -6px rgba(40, 35, 20, .55); cursor: pointer;
}
.zoom-open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.zoom-open:hover { background: #fff; }
.zoom-box {
  width: min(96vw, 1200px); max-width: none; max-height: 94svh; padding: 0;
  border: 0; border-radius: 16px; background: #1d1f1e; overflow: hidden;
}
.zoom-box::backdrop { background: rgba(20, 20, 18, .78); }
.zoom-scroll { overflow: auto; max-height: calc(94svh - 2.6rem); overscroll-behavior: contain; }
.zoom-svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; cursor: zoom-in; }
.zoom-box.is-zoomed .zoom-svg { cursor: grab; }
.zoom-box.is-zoomed .zoom-svg:active { cursor: grabbing; }
.zoom-hint { margin: 0; padding: .7rem 1rem; font-size: .8rem; color: #d8d6cf; }
.zoom-tools { position: absolute; top: 10px; inset-inline-end: 10px; display: flex; gap: 6px; }
.zoom-btn {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink); font: 400 1.4rem/1 var(--font-ui); cursor: pointer;
}
.zoom-btn:hover { background: #fff; }
@media (max-width: 699px) {
  /* Handy: Knopf als Lupe unten am kleinen Hals-Bild */
  .zoom-open { bottom: auto; top: calc(8px + 30vw * .75 - 40px); inset-inline-start: 14px; padding: .3rem; }
  .zoom-open span { display: none; }
  .zoom-box { width: 100vw; max-height: 100svh; border-radius: 0; }
  .zoom-scroll { max-height: calc(100svh - 2.6rem); }
}

/* Musik-Knopf (unten, gegenüber vom WhatsApp-Knopf) */
.music-btn {
  position: fixed; inset-inline-start: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 40;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .9); color: var(--ink-2);
  box-shadow: 0 6px 16px -10px rgba(40, 35, 20, .55); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.music-btn:hover { color: var(--ink); background: #fff; }
.music-btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.music-bars { display: none; height: 1rem; align-items: flex-end; gap: 2px; }
.music-bars i { display: block; width: 3px; height: 100%; border-radius: 2px; background: var(--gold); transform-origin: bottom; animation: music-bar 1.6s ease-in-out infinite; }
.music-bars i:nth-child(2) { animation-delay: -.5s; }
.music-bars i:nth-child(3) { animation-delay: -1.1s; }
.music-btn.is-on { border-color: var(--gold-light); color: var(--gold-text); }
.music-btn.is-on .music-note { display: none; }
.music-btn.is-on .music-bars { display: flex; }
@keyframes music-bar { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .music-bars i { animation: none; transform: scaleY(.6); } }

/* ---------- Foto als Anhänger ---------- */
.portrait [hidden] { display: none !important; }
.pt-stage { position: relative; }
.pt-svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.pt-busy {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .7rem;
  background: rgba(253, 252, 249, .82); font-weight: 500; text-align: center; padding: 1rem;
}
.pt-spin {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 3px solid var(--gold-light); border-top-color: var(--gold);
  animation: pt-spin .8s linear infinite;
}
@keyframes pt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pt-spin { animation-duration: 2.4s; } }
.pt-tools { display: grid; gap: 1rem; margin-block-start: .9rem; }
.pt-upload { position: relative; gap: .55rem; justify-self: start; }
.pt-upload svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pt-upload:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
.pt-upload:has(input:disabled) { opacity: .6; cursor: progress; }
.pt-detail .field-label { margin-block-end: .3rem; }
.pt-range { display: flex; align-items: center; gap: .75rem; }
.pt-range .small { margin: 0; white-space: nowrap; color: var(--ink-2); }
.pt-range input { flex: 1; min-width: 0; height: 2.75rem; accent-color: var(--green); }
.vh { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pt-status { margin-block-start: .75rem; font-weight: 500; color: var(--gold-text); }
.pt-status:empty { display: none; }
.pt-note { margin-block-start: .6rem; color: var(--ink-2); }
@media (min-width: 960px) {
  .pt-left { position: sticky; top: 6rem; }
}

/* ---------- Datenschutz (privacy.html) ---------- */
.legal-top { position: sticky; }
.legal { max-width: 44rem; margin: 0 auto; padding: 3rem var(--pad) 1rem; }
.legal h1 { font-size: clamp(2.25rem, 8vw, 3.25rem); }
.legal h2 { font-size: clamp(1.4rem, 4.6vw, 1.75rem); margin-block: 2.4rem .6rem; scroll-margin-top: 5rem; }
.legal p, .legal li { line-height: 1.7; color: var(--ink-2); }
.legal p { margin-block: 0 .9rem; }
.legal ul { margin-block: 0 .9rem; padding-inline-start: 1.25rem; }
.legal a, .pt-note a { color: var(--green); }
.legal-back { margin-block-start: 2.5rem; font-weight: 500; }
.legal .nw { white-space: nowrap; }
