/* nailzzbyemii – Gestaltung nach Emis Markenwelt: Espresso, Beige, Schwarz, Weiß, Leo-Akzente */
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-600-italic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Pinyon Script'; src: url('../fonts/pinyon-script-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --pearl: #F5EFE8;
  --surface: #FFFFFF;
  --surface-2: #EEE6DC;
  --paper: #E9DFD3;
  --ink: #231A16;
  --muted: #77645A;
  --line: #DCCFC2;
  --gold: #A88563;
  --lacquer: #4A3428;
  --lacquer-ink: #FFFFFF;
  --lacquer-soft: #E8DCCF;
  --blush: #E3D5C6;
  --pistachio: #DCE3D0;
  --pistachio-ink: #33482C;
  --amber: #F0E0BF;
  --amber-ink: #5C4410;
  --danger: #A3352B;
  --focus: #4A3428;
  --espresso: #2E221C;
  --sand: #ECD3B4;
  --display: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --sans: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 10px;
  --shadow: 0 1px 2px rgba(35, 26, 22, .05), 0 10px 30px rgba(35, 26, 22, .07);
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --pearl: #19120F;
    --surface: #231A16;
    --surface-2: #2C211C;
    --paper: #2A201A;
    --ink: #F0E6DA;
    --muted: #BBA796;
    --line: #3C2E27;
    --gold: #C9A27C;
    --lacquer: #D8BFA3;
    --lacquer-ink: #19120F;
    --lacquer-soft: #3A2B23;
    --blush: #3F2F27;
    --pistachio: #3A4734;
    --pistachio-ink: #DCE8D2;
    --amber: #4F4020;
    --amber-ink: #F3E3BD;
    --danger: #FF8F80;
    --focus: #D8BFA3;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--pearl); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--gold); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.2; }
.ornament { display: flex; align-items: center; gap: 14px; color: var(--gold); margin: 6px 0 18px; }
.ornament::before, .ornament::after { content: ''; height: 1px; background: currentColor; flex: 1; max-width: 140px; }
.ornament.center { justify-content: center; }
.leo-band { height: 12px; background: url('../img/leo.svg') 0 0 / 130px 130px repeat; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--pearl) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.wordmark span { color: inherit; }
.site-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav .nav-link { color: var(--muted); }
.site-nav .nav-link:hover { color: var(--ink); }
@media (max-width: 820px) { .site-nav .nav-link { display: none; } .site-nav { gap: 12px; } .wordmark { font-size: 1rem; letter-spacing: .22em; } }
@media (max-width: 420px) { .site-header .wrap { gap: 12px; } .wordmark { font-size: .9rem; letter-spacing: .16em; } .site-nav .btn-small { padding: 0 10px; letter-spacing: .08em; } }

/* ---------- Buttons & Formulare ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: var(--radius-s); border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: var(--pearl); }
.btn-primary { background: var(--lacquer); border-color: var(--lacquer); color: var(--lacquer-ink); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--pearl); }
.btn-quiet { border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-light { background: var(--sand); border-color: var(--sand); color: #2E221C; }
.btn-light:hover { background: #fff; border-color: #fff; color: #2E221C; }
.btn-ghost-light { border-color: rgba(236, 211, 180, .7); color: var(--sand); }
.btn-ghost-light:hover { background: var(--sand); color: #2E221C; }
.btn-small { min-height: 36px; padding: 0 14px; font-size: .74rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--lacquer); font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > span, .field-label { font-weight: 500; font-size: .95rem; }
.field small { color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--sans);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lacquer); box-shadow: 0 0 0 3px var(--lacquer-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--lacquer); flex: none; }
.form-error { color: var(--danger); font-weight: 500; margin: 8px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 500; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge-pending { background: var(--amber); color: var(--amber-ink); border-color: transparent; }
.badge-confirmed { background: var(--pistachio); color: var(--pistachio-ink); border-color: transparent; }
.badge-completed { background: var(--blush); color: var(--ink); border-color: transparent; }
.badge-cancelled, .badge-declined, .badge-expired, .badge-no_show { background: transparent; }

.panel { background: var(--surface); border-radius: var(--radius-m); padding: 26px; border: 1px solid var(--line); }
.panel .btn-row { margin-top: 24px; }
.notice { background: var(--lacquer-soft); border-radius: var(--radius-s); padding: 14px 16px; margin: 0 0 16px; }
.empty { color: var(--muted); padding: 18px 0; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 24px 0 16px; }

/* ---------- Dialoge & Meldungen ---------- */
dialog { border: 0; border-radius: var(--radius-m); padding: 0; width: min(560px, calc(100% - 24px)); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
dialog.wide { width: min(820px, calc(100% - 24px)); }
dialog::backdrop { background: rgba(25, 18, 15, .5); }
.dialog-body { padding: 24px; max-height: calc(100dvh - 80px); overflow: auto; }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 12px; }
.dialog-head h3 { margin: 0; }
.close-x { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.toast-host { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); }
.toast { background: var(--ink); color: var(--pearl); padding: 12px 16px; border-radius: var(--radius-s); box-shadow: var(--shadow); font-weight: 500; }
.toast.error { background: var(--danger); color: #fff; }

/* ---------- Startseite ---------- */
.hero { position: relative; background: #3B2B22 url('../img/texture.webp') center / cover; color: var(--sand); text-align: center; padding: clamp(56px, 10vw, 120px) 0 clamp(56px, 9vw, 104px); }
.hero .wrap { display: grid; justify-items: center; }
.hero h1 { margin: 0; }
.hero-logo { width: min(560px, 88vw); height: auto; }
.hero .script { font-size: clamp(2rem, 4.6vw, 2.9rem); color: var(--sand); margin: 18px 0 8px; }
.hero .lead { font-size: 1.12rem; color: rgba(236, 211, 180, .85); max-width: 46ch; margin: 0 auto 30px; }
.hero .btn-row { justify-content: center; }

.section { padding: clamp(60px, 9vw, 112px) 0; }
.section-alt { background: var(--surface-2); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-head .script { font-size: clamp(1.8rem, 3.6vw, 2.4rem); color: var(--muted); margin: 0; }
.section-head p:not(.script) { margin: 6px auto 0; color: var(--muted); }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about-sign { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.25; margin: 0; }
.about-sign small { display: block; font-family: var(--script); font-style: normal; font-size: 1.9rem; color: var(--gold); margin-top: 14px; }
.about h2 { margin-bottom: .7em; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* Preisliste im Stil von Emis Karten */
.price-card { max-width: 780px; margin: 0 auto; background: var(--paper); padding: clamp(36px, 6vw, 64px) clamp(22px, 6vw, 72px); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -14px; position: relative; }
.price-card > header { text-align: center; }
.price-card > header h2 { margin: 0; }
.price-card > header .script { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--lacquer); margin: 4px 0 18px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 0 24px; position: relative; }
.menu-item + .menu-item { border-top: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.menu-item + .menu-item::before { content: '✦'; position: absolute; top: -.72em; left: 50%; transform: translateX(-50%); background: var(--paper); color: var(--gold); padding: 0 10px; font-size: .9rem; }
.menu-item h3 { margin: 0; font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 1.85rem); letter-spacing: .04em; }
.menu-item h3 .price { margin-right: .5em; }
.menu-item h3 .dot { color: var(--gold); margin-right: .5em; }
.menu-item h3 .name { text-transform: uppercase; letter-spacing: .08em; }
.menu-item p { margin: 4px 0 0; color: var(--muted); grid-column: 1; }
.menu-meta { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: end; justify-content: center; gap: 8px; }
.menu-meta .muted { font-size: .9rem; white-space: nowrap; }
.menu-note { margin: 14px auto 0; color: var(--muted); font-family: var(--display); font-style: italic; font-size: 1.15rem; text-align: center; max-width: 52ch; }
@media (max-width: 600px) { .menu-item { grid-template-columns: 1fr; } .menu-meta { grid-column: 1; grid-row: auto; align-items: center; justify-content: flex-start; flex-direction: row; gap: 14px; margin-top: 10px; } }

/* Feste Kachelbreite, unvollständige letzte Reihe wird mittig ausgerichtet */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.gallery > .gtile { flex: 0 0 calc((100% - 28px) / 3); }
@media (max-width: 700px) { .gallery { gap: 8px; } .gallery > .gtile { flex-basis: calc((100% - 8px) / 2); } }
.gtile { position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius-s); overflow: hidden; background: var(--blush); cursor: zoom-in; aspect-ratio: 1; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gtile:hover img { transform: scale(1.03); }
.gcap { font-family: var(--sans); position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px); background: rgba(25, 18, 15, .78); color: #F3E9DE; padding: 3px 10px; border-radius: 2px; font-size: .85rem; text-align: left; }
@media (max-width: 700px) { .gcap { font-size: .75rem; left: 6px; bottom: 6px; padding: 2px 7px; } }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; background: rgba(15, 10, 8, .94); border-radius: 0; box-shadow: none; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(15, 10, 8, .94); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 10px; padding: 50px 0 20px; max-height: 100dvh; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 2px; }
.lightbox figcaption { color: #F3E9DE; font-size: .95rem; }
.lb-nav, .lb-close { background: none; border: 0; color: #F3E9DE; font-size: 2.6rem; line-height: 1; padding: 16px; cursor: pointer; }
.lb-close { position: absolute; top: calc(6px + env(safe-area-inset-top, 0px)); right: 10px; font-size: 2.2rem; }
@media (max-width: 700px) { .lb-nav { font-size: 2rem; padding: 8px; } }

.gallery-empty { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 18px auto 0; max-width: 960px; }
@media (max-width: 700px) { .gallery-empty { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.swatch { aspect-ratio: 3 / 4; border-radius: var(--radius-s); background: var(--surface); display: grid; place-items: center; border: 1px solid var(--line); }
.swatch i { width: 46%; aspect-ratio: 9 / 14; border-radius: 50% 50% 8px 8px / 62% 62% 8px 8px; display: block; box-shadow: inset -6px 0 10px rgba(255, 255, 255, .25); }
.swatch .s1 { background: #E4C7B5; } .swatch .s2 { background: #F7F3EE; box-shadow: inset 0 0 0 1px #DCCFC2; } .swatch .s3 { background: #5B4334; }
.swatch .s4 { background: #151110; } .swatch .s5 { background: linear-gradient(#F7F3EE 0 34%, #E9D2C6 34%); } .swatch .s6 { background: url('../img/leo.svg') 0 0 / 90px 90px; }
.social { display: flex; gap: 22px; margin-top: 26px; justify-content: center; font-weight: 500; flex-wrap: wrap; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--gold); padding-top: 16px; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 2.4rem; font-weight: 500; color: var(--gold); display: block; line-height: 1; margin-bottom: 10px; }
.steps h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 500; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 8px; font-family: var(--display); font-size: 1.9rem; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

.cta-band { background: linear-gradient(rgba(37, 27, 22, .84), rgba(37, 27, 22, .84)), url('../img/leo.svg') 0 0 / 150px 150px; color: var(--sand); border-radius: var(--radius-s); padding: clamp(36px, 6vw, 64px); text-align: center; }
.cta-band h2 { margin: 0; }
.cta-band .script { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: 4px 0 22px; }
.cta-band .btn-row { justify-content: center; }

.site-footer { padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: var(--ink); margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.footer-logo { width: 220px; height: auto; margin-bottom: 10px; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }
@media (prefers-color-scheme: dark) { .logo-on-light { filter: invert(1) sepia(.35) saturate(.6) brightness(1.05); } }

/* ---------- Buchung ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 24px; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 6px; }
.page-head .script { font-size: clamp(1.7rem, 3.4vw, 2.2rem); color: var(--gold); margin: 0 0 8px; }
.booking { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; padding-bottom: 80px; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } .summary { position: static; order: 1; } }
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; flex-wrap: wrap; }
.stepper li { padding: 6px 14px; border-radius: 2px; border: 1px solid var(--line); color: var(--muted); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.stepper li.active { border-color: var(--ink); color: var(--ink); }
.stepper li.done { background: var(--lacquer); border-color: var(--lacquer); color: var(--lacquer-ink); }

.service-list { display: grid; gap: 12px; }
.service-option { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.service-option:hover { border-color: var(--muted); }
.service-option:has(input:checked) { border-color: var(--lacquer); box-shadow: 0 0 0 3px var(--lacquer-soft); }
.service-option input { width: 20px; height: 20px; accent-color: var(--lacquer); margin-top: 4px; }
.service-option strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; }
.service-option p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.service-option .price { font-family: var(--display); font-size: 1.45rem; font-weight: 600; white-space: nowrap; text-align: right; }
.service-option .price small { display: block; font-family: var(--sans); font-weight: 400; font-size: .85rem; color: var(--muted); }
.addon { margin-top: 18px; padding: 16px 18px; border: 1px dashed var(--gold); border-radius: var(--radius-s); background: var(--surface-2); }
.addon .check { margin: 0; }
.addon strong { font-weight: 600; }
.addon .muted { display: block; font-size: .9rem; margin-top: 2px; }

.summary { position: sticky; top: 92px; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dt { font-size: .74rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.summary dd { margin: 0; font-weight: 500; }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* Kalender zur Terminauswahl */
.picker { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 24px; }
@media (max-width: 680px) { .picker { grid-template-columns: 1fr; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: .74rem; color: var(--muted); font-weight: 500; padding: 4px 0; letter-spacing: .08em; }
.cal-day { aspect-ratio: 1; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font: 400 .95rem var(--sans); cursor: default; position: relative; opacity: .55; }
.cal-day.avail { background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); opacity: 1; font-weight: 500; }
.cal-day.avail::after { content: ''; position: absolute; left: 50%; bottom: 14%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.cal-day.avail:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.cal-day.selected { background: var(--lacquer); color: var(--lacquer-ink); box-shadow: none; }
.cal-day.selected::after { background: var(--lacquer-ink); }
.cal-day.today { text-decoration: underline; text-underline-offset: 4px; }
.slots h4 { margin: 0 0 10px; font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.slot-group { margin-bottom: 16px; }
.slot-group > span { display: block; font-size: .74rem; color: var(--muted); margin-bottom: 8px; letter-spacing: .12em; text-transform: uppercase; }
.slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-width: 74px; min-height: 42px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .95rem var(--sans); cursor: pointer; }
.slot:hover { border-color: var(--ink); }
.slot.selected { background: var(--lacquer); border-color: var(--lacquer); color: var(--lacquer-ink); }

.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--lacquer); color: var(--lacquer-ink); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px; }

/* ---------- Kundenbereich ---------- */
.account { max-width: 760px; padding-bottom: 80px; }
.account section + section { margin-top: 8px; }
.appt { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.appt-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.appt-when { font-family: var(--display); font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.appt-what { color: var(--muted); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { position: relative; width: 96px; }
.thumb img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-s); }
.thumb .badge { position: absolute; left: 4px; bottom: 4px; font-size: .68rem; padding: 1px 6px; }
.thumb-lg { width: 100%; max-height: 360px; object-fit: contain; border-radius: var(--radius-s); background: var(--surface-2); }
.upload-box { border: 1px dashed var(--gold); border-radius: var(--radius-s); padding: 16px; display: grid; gap: 10px; }

.legal { max-width: 760px; padding-bottom: 80px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.gallery-intro { text-align: center; margin: 0 auto; }
.site-footer .wrap > .footer-bottom:only-child { margin-top: 0; padding-top: 0; border-top: 0; }
.addon-kind { border: 0; margin: 14px 0 0 30px; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.addon-kind .check { margin-bottom: 8px; }
.legal-text h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal-text h3 { font-size: 1.15rem; margin-top: 1.4em; }
.legal-text ul { padding-left: 20px; }

/* ---------- Press-Ons ---------- */
.h-small { font-size: 1.6rem; text-transform: none; letter-spacing: 0; font-weight: 600; margin-bottom: .3em; }
.field-label { font-weight: 500; font-size: .95rem; margin: 18px 0 8px; }
.po-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.po-card { display: grid; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); cursor: pointer; overflow: hidden; font: inherit; }
.po-card:hover { border-color: var(--lacquer); box-shadow: 0 0 0 3px var(--lacquer-soft); }
.po-card[disabled] { opacity: .5; cursor: not-allowed; }
.po-img { aspect-ratio: 1; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.po-img img { width: 100%; height: 100%; object-fit: cover; }
.po-ph { font-size: 2.4rem; color: var(--gold); }
.po-custom .po-img { background: linear-gradient(rgba(37, 27, 22, .55), rgba(37, 27, 22, .55)), url('../img/leo.svg') 0 0 / 120px 120px; }
.po-custom .po-ph { color: var(--sand); }
.po-body { display: grid; gap: 2px; padding: 12px 14px; }
.po-body strong { font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.po-gallery { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; }
.po-gallery img { width: 140px; height: 140px; object-fit: cover; border-radius: var(--radius-s); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); cursor: pointer; font-weight: 500; }
.chip:hover span { border-color: var(--ink); }
.chip:has(input:checked) span { background: var(--lacquer); border-color: var(--lacquer); color: var(--lacquer-ink); }
.chip:has(input:focus-visible) span { outline: 2px solid var(--focus); outline-offset: 2px; }
.photo-picker { display: grid; gap: 10px; justify-items: start; margin-bottom: 8px; }
.picker-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pthumb { position: relative; width: 110px; height: 110px; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--line); }
.pthumb button { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: var(--pearl); cursor: pointer; line-height: 1; }
.guide { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 20px; align-items: start; background: var(--surface-2); border-radius: var(--radius-s); padding: 16px; margin-bottom: 8px; }
.guide img { width: 100%; border-radius: var(--radius-s); }
.guide ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.guide img.hidden + ul { grid-column: 1 / -1; }
@media (max-width: 640px) { .guide { grid-template-columns: 1fr; } }
.delivery { display: grid; gap: 10px; margin-bottom: 8px; }
.form-grid-site { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .form-grid-site { grid-template-columns: 1fr; } }
.review { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; }

/* Bestellungen und Nachrichten im Kundenbereich */
.tabs { display: flex; gap: 6px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: 500 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.tabs button.active { color: var(--ink); border-bottom-color: var(--lacquer); }
.tabs .count, .order-card .count { background: var(--lacquer); color: var(--lacquer-ink); border-radius: 999px; font-size: .72rem; padding: 1px 7px; margin-left: 6px; letter-spacing: 0; }
.order-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; width: 100%; text-align: left; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: inherit; font: inherit; cursor: pointer; margin-bottom: 10px; }
.order-card:hover { border-color: var(--lacquer); }
.order-card strong { font-family: var(--display); font-size: 1.3rem; }
.timeline { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 12px 0 18px; }
.timeline li { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; border: 1px solid var(--line); color: var(--muted); }
.timeline li.done { background: var(--lacquer-soft); color: var(--ink); border-color: transparent; }
.timeline li.now { background: var(--lacquer); color: var(--lacquer-ink); border-color: var(--lacquer); }
.pay-box { border: 1px solid var(--gold); border-radius: var(--radius-s); padding: 16px; background: var(--paper); margin: 0 0 18px; }
.pay-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 10px 0; }
.pay-box dt { color: var(--muted); }
.pay-box dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.thread { display: grid; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 4px 2px; margin-bottom: 12px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg small { display: block; color: var(--muted); font-size: .75rem; margin-top: 4px; white-space: normal; }
.msg.me { justify-self: end; background: var(--lacquer); color: var(--lacquer-ink); border-bottom-right-radius: 3px; }
.msg.me small { color: inherit; opacity: .75; }
.msg.them { justify-self: start; border-bottom-left-radius: 3px; }
.msg.system { justify-self: center; background: transparent; border: 1px dashed var(--line); color: var(--muted); font-size: .88rem; text-align: center; max-width: 92%; }
.msg-imgs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.msg-imgs img { width: 120px; height: 120px; object-fit: cover; border-radius: 6px; }
.composer { display: grid; gap: 8px; }
.composer textarea { min-height: 70px; }
.composer .row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.order-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.order-photos img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius-s); }
.po-teaser-sec { background: linear-gradient(rgba(37, 27, 22, .88), rgba(37, 27, 22, .88)), url('../img/leo.svg') 0 0 / 160px 160px; color: var(--sand); }
.po-teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.po-teaser h2 { margin-bottom: 0; }
.po-teaser .script { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: 0 0 16px; }
.po-teaser p:not(.script) { color: rgba(236, 211, 180, .85); }
.po-teaser-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.po-teaser-art .swatch { background: rgba(255, 255, 255, .06); border-color: rgba(236, 211, 180, .25); }
@media (max-width: 760px) { .po-teaser { grid-template-columns: 1fr; } }
.success h2 { text-transform: none; letter-spacing: 0; font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 600; }
.nowrap-groups { word-spacing: .1em; }
.addr strong { white-space: pre-line; }

/* Popups */
dialog.popup { width: min(520px, calc(100% - 24px)); }
.popup-text p { margin: 0 0 .8em; }
.popup-text h2 { font-size: 1.2rem; text-transform: none; letter-spacing: 0; margin: .6em 0 .3em; }
.popup-text ul { padding-left: 20px; margin: 0 0 .8em; }
.popup .btn-row { margin-top: 16px; }
.notice-legal { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); color: var(--ink); }
dialog .toast-host { position: fixed; z-index: 2; }
.po-teaser-art.has-photos { display: flex; justify-content: center; gap: 12px; }
.po-shot { position: relative; flex: 0 0 calc((100% - 24px) / 3); aspect-ratio: 3 / 4; border-radius: var(--radius-s); overflow: hidden; border: 1px solid rgba(236, 211, 180, .25); }
.po-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.po-shot:hover img { transform: scale(1.04); }
.po-shot span { position: absolute; left: 8px; right: 8px; bottom: 8px; width: fit-content; max-width: calc(100% - 16px); background: rgba(25, 18, 15, .78); color: #F3E9DE; padding: 2px 8px; border-radius: 2px; font: 400 .8rem var(--sans); }
