/* Stillleben — concept study 01 "Stille": quiet luxury, editorial. Own design system, nothing shared with other
   concepts: high-contrast serif + fine sans, paper tones, hairlines, one idea per screen, slow motion. */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f3efe8;
  --paper-2: #ebe5db;
  --ink: #25221e;
  --muted: #6b645b;
  --line: #d5ccbf;
  --dots: #b9ae9f;
  --bronze: #8a7560;
  --night: #1d1b18;
  --night-line: #3a3631;
  --night-text: #ebe5db;
  --night-muted: #b3aa9d;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Hanken", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* KI entry points stay invisible until the KI-Service shows them */
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16.5px/1.7 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 20; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip:focus { left: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* type helpers */
.label, .chapter { font: 500 11.5px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.chapter { display: flex; align-items: baseline; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 88px); }
.chapter span { font: italic 300 30px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--bronze); }
.line-link, .quiet-link, .btn-line {
  display: inline-block; font: 500 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  padding: 14px 0 7px; border: 0; border-bottom: 1px solid currentColor; background: none; color: inherit; cursor: pointer;
}
.quiet-link { color: var(--muted); border-color: var(--line); }
.line-link:hover, .quiet-link:hover, .btn-line:hover { border-bottom-width: 2px; padding-bottom: 6px; }

/* header */
.head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 20px var(--gutter); border-bottom: 1px solid var(--line); }
.head-nav { display: flex; gap: 30px; }
.head-nav a, .head-cta { font: 500 11.5px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.head-nav a[aria-current="page"] { border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.brand { font: 300 31px/1 var(--serif); letter-spacing: 0.01em; text-decoration: none; text-align: center; }
.brand small { display: block; margin-top: 6px; font: 500 9.5px/1 var(--sans); letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); }
.head-cta { justify-self: end; padding-bottom: 7px; border-bottom: 1px solid var(--ink); }
.menu-btn { display: none; justify-self: end; min-height: 44px; padding: 0 2px; border: 0; background: none; font: 500 11.5px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.menu[popover] { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px var(--gutter); border: 0; background: var(--paper); color: var(--ink); }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu nav { display: grid; gap: 6px; margin-top: 12vh; }
.menu nav a { font: 300 46px/1.2 var(--serif); text-decoration: none; }
.menu-foot { margin-top: 48px; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) {
  .head { grid-template-columns: 1fr auto; }
  .brand { text-align: left; }
  .head-nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}

/* opening */
.opening { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 104px); align-items: end; padding-block: clamp(56px, 9vw, 132px) clamp(72px, 10vw, 150px); }
.opening h1 { font-size: clamp(46px, 7.4vw, 112px); line-height: 1.02; letter-spacing: -0.02em; }
.opening h1 em { font-style: italic; }
.opening .label { margin-bottom: clamp(28px, 4vw, 48px); }
.lede { margin-top: clamp(28px, 3vw, 40px); max-width: 36ch; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; margin-top: clamp(32px, 4vw, 52px); }
.opening figure { margin: 0; }
.opening img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .opening { grid-template-columns: 1fr; align-items: start; } }

/* stance */
.stance { padding-bottom: clamp(88px, 12vw, 190px); }
.stance ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 5vw, 80px); }
.sentence { font: 300 clamp(30px, 2.9vw, 42px)/1.12 var(--serif); margin-bottom: 18px; }
.stance li p + p { color: var(--muted); max-width: 30ch; }
@media (max-width: 860px) { .stance ol { grid-template-columns: 1fr; } }

/* band */
.band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; background: var(--paper-2); }
.band img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.band p { margin: clamp(48px, 8vw, 120px) auto; padding-inline: var(--gutter); max-width: 20ch; font: italic 300 clamp(32px, 3.8vw, 58px)/1.18 var(--serif); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* the menu card */
.card { max-width: 900px; margin: 0 auto; padding: clamp(88px, 12vw, 190px) var(--gutter); }
.card-intro { margin: -40px 0 clamp(24px, 4vw, 40px); color: var(--muted); max-width: 46ch; }
.card-group + .card-group { margin-top: clamp(64px, 8vw, 110px); }
.card-group > h2, .card-group > h3.group { font: 500 11.5px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.card-group .group-intro { margin-top: 14px; font: italic 300 20px/1.45 var(--serif); color: var(--muted); }
.items { list-style: none; margin: 0; padding: 0; }
.item { padding: 30px 0 28px; border-bottom: 1px solid var(--line); }
.item-head { display: flex; align-items: baseline; gap: 14px; }
.item h3, .item h4 { min-width: 0; font: 300 clamp(28px, 3vw, 40px)/1.1 var(--serif); hyphens: auto; overflow-wrap: break-word; }
.item .tag { margin-bottom: 10px; font: 500 10px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.item .tag::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 10px 3px 0; background: var(--bronze); }
.dots { flex: 1; min-width: 20px; border-bottom: 1px dotted var(--dots); transform: translateY(-7px); }
@media (max-width: 420px) { .dots { min-width: 12px; } .item-head { gap: 10px; } }
.price { font: 300 clamp(26px, 2.6vw, 34px)/1 var(--serif); white-space: nowrap; }
.desc { margin-top: 10px; max-width: 54ch; font: italic 300 20px/1.45 var(--serif); color: var(--muted); }
.item-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; margin-top: 16px; font: 500 11px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.item-foot a { color: var(--ink); text-decoration: none; padding: 12px 0 5px; border-bottom: 1px solid var(--ink); }
.ask { padding: 10px 0 4px; border: 0; background: none; font: italic 300 19px/1.3 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.ask::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 3px 0; border-radius: 50%; background: var(--bronze); }
.ask:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.card-more { margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.card-note { margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* reception (only with the KI-Service) */
.reception { background: var(--night); color: var(--night-text); }
.reception .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); padding-block: clamp(88px, 12vw, 170px); }
.reception .chapter { grid-column: 1 / -1; color: var(--night-muted); border-color: var(--night-line); margin-bottom: 0; }
.reception h2.big, .reception .big { font: 300 clamp(36px, 4.6vw, 68px)/1.06 var(--serif); }
.reception .text p { color: var(--night-muted); max-width: 44ch; }
.reception .text p + p { margin-top: 16px; }
.reception .btn-line { margin-top: 28px; color: var(--night-text); }
@media (max-width: 860px) { .reception .wrap { grid-template-columns: 1fr; } }

/* visit */
.visit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; padding-block: clamp(88px, 12vw, 190px); }
.visit img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.address { font: 300 clamp(28px, 2.6vw, 38px)/1.25 var(--serif); font-style: normal; }
.address span { display: block; margin-top: 10px; font: italic 300 20px/1.4 var(--serif); color: var(--muted); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 36px; margin: 36px 0 0; }
.hours dt { font: 500 11.5px/2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.visit .actions { margin-top: 40px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* sub pages */
.page-head { padding-block: clamp(56px, 9vw, 130px) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-head h1 { font-size: clamp(52px, 8vw, 124px); line-height: 1; letter-spacing: -0.02em; }
.page-head .lede { margin-top: 0; }
.page-head figure { margin: 0; }
.page-head img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .page-head { grid-template-columns: 1fr; } }
.consult { margin-top: clamp(64px, 8vw, 110px); padding: clamp(32px, 5vw, 56px); background: var(--paper-2); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.consult p.big { font: 300 clamp(28px, 3vw, 40px)/1.15 var(--serif); }
.consult p.small { margin-top: 10px; color: var(--muted); max-width: 46ch; }
@media (max-width: 700px) { .consult { grid-template-columns: 1fr; } }
.faq { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter) clamp(88px, 12vw, 170px); }
.faq dl { margin: 0; }
.faq dt { font: 300 clamp(24px, 2.4vw, 32px)/1.2 var(--serif); padding-top: 28px; border-top: 1px solid var(--line); }
.faq dd { margin: 10px 0 28px; color: var(--muted); max-width: 60ch; }
.request { background: var(--paper-2); }
.request .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); padding-block: clamp(72px, 10vw, 140px); }
.request h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.04; }
.request .ways { list-style: none; margin: 0; padding: 0; }
.request .ways li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9em 1fr; gap: 16px; align-items: baseline; }
.request .ways li:first-child { border-top: 1px solid var(--line); }
.request .ways span { font: 500 11px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.request .ways a, .request .ways button { font: 300 clamp(22px, 2vw, 28px)/1.2 var(--serif); text-decoration: none; border: 0; background: none; padding: 0; color: var(--ink); text-align: left; cursor: pointer; }
.request .ways a:hover, .request .ways button:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.request .fine { margin-top: 20px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .request .wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .request .ways li { grid-template-columns: 1fr; gap: 4px; } }
.directions { padding-block: clamp(72px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.directions p + p { margin-top: 14px; }
.directions .text { color: var(--muted); max-width: 44ch; }
.directions img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) { .directions { grid-template-columns: 1fr; } }

/* footer */
.foot { background: var(--night); color: var(--night-text); padding: clamp(64px, 9vw, 110px) var(--gutter) 36px; }
.foot-brand { font: 300 clamp(60px, 13vw, 200px)/0.9 var(--serif); letter-spacing: -0.03em; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 14px; color: var(--night-muted); }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot-grid a { color: var(--night-text); text-decoration: none; padding: 10px 0; }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-note { max-width: 58ch; }
.foot-note a { padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* slow reveal — only with JS and without reduced motion (js/site.js) */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------- the KI-Mitarbeiter, in the language of this site ---------- */
html.ki-open { overflow: hidden; }
.ki-panel { position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--paper); color: var(--ink); flex-direction: column; }
.ki-panel[open] { display: flex; }
.ki-panel::backdrop { background: rgb(29 27 24 / 0.42); }
@media (max-width: 760px) { .ki-panel { inset: auto 0 0 0; width: 100%; height: min(88dvh, 760px); border-left: 0; border-top: 1px solid var(--line); } }
.ki-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.ki-who { display: flex; gap: 14px; align-items: center; }
.ki-mark { width: 9px; height: 9px; border-radius: 50%; background: var(--bronze); flex: none; }
.ki-name { font: 300 25px/1.1 var(--serif); }
.ki-badge { margin-top: 5px; font: 500 10px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.ki-close { width: 44px; height: 44px; border: 0; background: none; font: 300 34px/1 var(--serif); color: var(--ink); cursor: pointer; }
.ki-note { padding: 12px 24px; font-size: 12.5px; line-height: 1.5; color: var(--muted); border-bottom: 1px solid var(--line); }
.ki-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.ki-msg p + p, .ki-msg ul + p { margin-top: 10px; }
.ki-msg ul { margin: 8px 0 4px; padding: 0; list-style: none; }
.ki-msg li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.ki-msg--bot { max-width: 94%; padding-left: 16px; border-left: 1px solid var(--bronze); font-size: 15.5px; line-height: 1.6; }
.ki-msg--user { align-self: flex-end; max-width: 82%; text-align: right; font: italic 300 22px/1.3 var(--serif); }
.ki-typing { display: flex; gap: 6px; padding-block: 10px; }
.ki-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: ki-dot 1.2s infinite ease-in-out; }
.ki-typing span:nth-child(2) { animation-delay: 0.15s; }
.ki-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ki-dot { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.ki-chips { display: flex; flex-direction: column; max-height: 44%; overflow-y: auto; padding: 6px 24px 18px; border-top: 1px solid var(--line); }
.ki-chip { min-height: 44px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: 300 19px/1.3 var(--serif); color: var(--ink); cursor: pointer; transition: padding 0.4s var(--ease); }
.ki-chip::after { content: "  →"; color: var(--bronze); }
.ki-chip:hover { padding-left: 8px; }
.ki-form { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); background: var(--paper-2); }
.ki-form-title { font: 300 28px/1.1 var(--serif); }
.ki-form-sub, .ki-form-note { font-size: 13.5px; color: var(--muted); }
.ki-field { display: grid; gap: 2px; }
.ki-field label { font: 500 10px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.ki-field input, .ki-field select { width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font: 400 16px/1.4 var(--sans); color: var(--ink); appearance: none; }
.ki-submit { justify-self: start; min-height: 46px; padding: 0 22px; border: 0; background: var(--ink); color: var(--paper); font: 500 11.5px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; }
.ki-sent { padding-top: 12px; border-top: 1px solid var(--ink); }
.ki-sent-title { font: 300 26px/1.1 var(--serif); }
.ki-sent-ref { margin-top: 4px; font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.ki-owner { padding: 18px 20px; background: var(--night); color: var(--night-text); }
.ki-owner-title { margin-bottom: 8px; font: 500 10px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--night-muted); }
.ki-owner-card p { margin-top: 4px; font-size: 14.5px; }
.ki-owner-card .ki-owner-via { color: var(--night-muted); font-size: 12.5px; }

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