/* JUNI Essentials – Website-Styles (Design-Vorlage: Client_Input/design-artifact) */

@font-face { font-family: "Suisse Intl"; font-weight: 400; font-display: swap; src: url("../fonts/SuisseIntl-Regular.woff2") format("woff2"); }
@font-face { font-family: "Suisse Intl"; font-weight: 700; font-display: swap; src: url("../fonts/SuisseIntl-Bold.woff2") format("woff2"); }

:root {
  --bg: #F4F0E8;
  --bg-band: #EBE5D9;
  --ph: #E2DCD0;
  --ink: #141414;
  --muted: #4a4740;
  --ph-ink: #5E5A52;
  --line: rgba(20, 20, 20, 0.15);
  --accent: #2E4636;
  --sans: "Suisse Intl", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ink); color: var(--bg); padding: 10px 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: 120px; padding-bottom: 40px; }
.section-tight { padding-bottom: 120px; }
.ruled { border-top: 1px solid var(--line); padding-bottom: 120px; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.lead { color: var(--muted); max-width: 600px; }
.narrow { max-width: 640px; }

/* Typo */
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.h-display, .h-page, .hero-title { margin: 0; font-weight: 700; text-transform: uppercase; line-height: 1.04; text-wrap: balance; }
.h-display { font-size: clamp(28px, 4vw, 56px); letter-spacing: -.01em; }
.h-page { font-size: clamp(34px, 5.5vw, 80px); line-height: 1.02; letter-spacing: -.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 30px; background: var(--accent); color: #fff; border: 1px solid var(--accent); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.btn:hover { color: #fff; background: #23362a; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 13px; letter-spacing: .08em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: var(--bg); border: 1px solid var(--ink); color: var(--ink); cursor: pointer; }
.icon-btn.dark { background: var(--ink); color: var(--bg); }
.icon-btn.lg { width: 48px; height: 48px; background: transparent; }
.icon-btn.lg.dark { background: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* Platzhalter-Fotos (bis echte Bilder da sind) */
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 24px; background: var(--ph); color: var(--ph-ink); font-size: 14px; letter-spacing: .13em; text-transform: uppercase; }
img.ph-like, .carousel-slide img, .hero-photo, .tall, .event-photo, .plan-photo, .square { object-fit: cover; width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: var(--bg); }
.nav-links a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { font-weight: 700; font-size: 26px; letter-spacing: .04em; line-height: 1; text-decoration: none; }
.logo span { font-weight: 400; font-size: 13px; letter-spacing: .2em; margin-left: 10px; vertical-align: middle; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { text-decoration: none; padding: 12px 0; }
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: transparent; border: 0; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); }

@media (max-width: 759px) {
  .js .nav-toggle { display: flex; }
  .js .nav-links { display: none; }
  .nav-links { flex-direction: column; width: 100%; border-top: 1px solid var(--line); font-size: 17px; letter-spacing: .07em; gap: 0; }
  .js .nav-links.open { display: flex; max-height: calc(100dvh - 80px); overflow-y: auto; }
}

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 96px; padding-bottom: 64px; text-align: center; }
.hero-kicker { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 1.2em; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.hero-title { font-size: clamp(34px, 8vw, 92px); line-height: 1.02; letter-spacing: -.015em; max-width: 13ch; }
.hero-photo { aspect-ratio: 16 / 10; max-height: 640px; }

.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.section-head.center { align-items: center; }
.section-head.split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 0; }
.section-head.split > .stack { max-width: 640px; gap: 16px; }
.stack-lg > .section-head { margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px; }
.grid-2.align-center { align-items: center; gap: 56px; padding-bottom: 120px; }
.tall { height: 520px; }

/* Räume */
.room { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--ink); padding-top: 24px; }
.room-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }
.room-head h3 { margin: 0; font-weight: 700; font-size: 28px; line-height: 1; text-transform: uppercase; }
.room-from { font-weight: 700; font-size: 19px; }
.price-list { border-top: 1px solid var(--line); }
.price-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-list .price { font-weight: 700; white-space: nowrap; }

/* Foto-Karussell (Scroll-Snap, ohne JS wischbar) */
.carousel { position: relative; height: 380px; }
.carousel-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.carousel-slide > * { height: 100%; }
.carousel-bar { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.carousel-bar > * { pointer-events: auto; }
.carousel-count { background: var(--bg); padding: 6px 10px; font-size: 13px; letter-spacing: .08em; }
.carousel-btns { display: flex; gap: 8px; }

/* Abende */
.event { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.event-photo { height: 420px; }
.event figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.event-title { font-weight: 700; font-size: 22px; line-height: 1; text-transform: uppercase; }

/* Möbel */
.band { background: var(--bg-band); padding: 120px 0; }
.slider-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding-top: 16px; margin-bottom: 32px; }
.slider-label { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.slider-label:hover { text-decoration: underline; text-underline-offset: 4px; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 3); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
@media (max-width: 759px) { .slider-track { grid-auto-columns: 85%; gap: 16px; } }

.furn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 48px 32px; }
.furn-grid .furn-card { border-top: 1px solid var(--ink); padding-top: 16px; }
.furn-card { display: flex; flex-direction: column; gap: 10px; }
.furn-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.furn-photo > img, .furn-photo > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .furn-photo > .ph { background: #DDD6C8; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--bg); padding: 6px 10px; font-weight: 700; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.furn-kicker { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ph-ink); }
.furn-title { margin: 0; font-weight: 700; font-size: 20px; line-height: 1.05; text-transform: uppercase; }
.furn-meta { font-size: 15px; color: var(--muted); }
.furn-loc { font-size: 14px; letter-spacing: .04em; }
.furn-price { font-weight: 700; font-size: 20px; }
.furn-price { line-height: 1.25; }
.furn-price-note { font-weight: 400; font-size: 14px; line-height: 1.4; color: var(--muted); }
.furn-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.page-head { padding-top: 88px; padding-bottom: 24px; gap: 16px; }
.filters-inner { display: flex; flex-direction: column; gap: 8px; padding-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--ink); text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.chip:hover { background: rgba(20, 20, 20, .06); color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: var(--bg); }
.result-count { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }

@media (max-width: 759px) {
  /* Filterleiste klebt unter dem Header, Chip-Reihen seitlich wischbar */
  .page-head { padding-top: 48px; padding-bottom: 20px; }
  .h-page { font-size: clamp(30px, 9vw, 44px); }
  .filters { position: sticky; top: 81px; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
  .filters-inner { padding: 10px 0; gap: 6px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; scroll-padding: 0 24px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips.more-right { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); }
  .chip { min-height: 40px; padding: 8px 14px; font-size: 12px; letter-spacing: .07em; }
  .result-count { margin: 20px 0 16px; font-size: 12px; }

  /* Möbel zweispaltig und kompakt */
  .furn-grid { grid-template-columns: 1fr 1fr; gap: 32px 12px; }
  .furn-grid .furn-card { padding-top: 10px; gap: 6px; }
  .furn-grid .furn-kicker { font-size: 11px; letter-spacing: .05em; line-height: 1.35; }
  .furn-grid .furn-title { font-size: 16px; }
  .furn-grid .furn-meta { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .furn-grid .furn-loc { font-size: 12px; letter-spacing: .01em; }
  .furn-grid .furn-price { font-size: 17px; line-height: 1.2; }
  .furn-grid .furn-price-note { display: block; font-size: 12px; line-height: 1.3; }
  .furn-grid .furn-actions { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 4px; }
  .furn-grid .furn-actions .btn { min-height: 40px; padding: 8px 6px; font-size: 12px; letter-spacing: .05em; }
  .badge { top: 8px; left: 8px; font-size: 10px; padding: 4px 8px; }

  .hero { padding-top: 56px; padding-bottom: 48px; gap: 22px; }
}

/* Daily Cup */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; width: 100%; max-width: 760px; margin: 0 auto; }
.plan { border: 1px solid var(--ink); display: flex; flex-direction: column; }
.plan-photo { aspect-ratio: 4 / 3; }
.plan-body { padding: 32px 24px; display: flex; flex-direction: column; gap: 8px; }
.plan-name { font-weight: 700; font-size: 22px; text-transform: uppercase; }
.plan-price { font-weight: 700; font-size: 36px; line-height: 1; }

/* Produkte */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; gap: 12px; }
.square { aspect-ratio: 1 / 1; }
.product-name { font-weight: 700; font-size: 16px; letter-spacing: .03em; text-transform: uppercase; }

/* Rechtstexte */
.legal { max-width: 760px; padding-top: 88px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 40px; }
.legal section { display: flex; flex-direction: column; gap: 8px; }
.legal h2 { margin: 0; font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }

/* Footer */
.site-footer { background: var(--ink); color: var(--bg); padding: 40px 0; }
.site-footer#kontakt:has(.footer-grid) { padding-top: 96px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 64px; }
.site-footer a { color: var(--bg); }
.site-footer a:hover { color: #cfc9bd; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; font-size: 16px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 6px; }
.footer-grid p + p { margin-top: 12px; }
.footer-grid .footer-label + p { margin-top: 0; }
.footer-label { font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.footer-grid ~ .footer-bottom { border-top: 1px solid rgba(244, 240, 232, .25); padding-top: 24px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { padding: 10px 0; }

@media (max-width: 759px) {
  .section { padding-top: 80px; }
  .band { padding: 80px 0; }
  .carousel { height: 300px; }
  .tall { height: 380px; }
  .event-photo { height: 320px; }
}
