:root {
  --ink: #171412;
  --paper: #f1ece2;
  --paper-deep: #ded4c2;
  --copper: #b27851;
  --cream: #fbf7ef;
  --line: rgba(255,255,255,.22);
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  min-width: 320px;
}
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #f0bd92; outline-offset: 4px; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%); background: white; color: black; padding: 10px 14px; }
.skip-link:focus { transform: none; }

.site-bg { position: fixed; inset: 0; z-index: -3; background: #292522 url("assets/pedas-architektenskizze.webp") center/cover no-repeat; filter: grayscale(1) contrast(.9); }
.site-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,10,9,.9), rgba(12,10,9,.5) 48%, rgba(12,10,9,.72)), rgba(23,20,18,.24); }
.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.site-header { height: 226px; padding: 0 clamp(22px,4vw,66px); display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--line); background: rgba(18,15,13,.5); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; justify-content: center; color: white; text-decoration: none; }
.brand img { display: block; width: clamp(430px,42vw,620px); height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 8px 28px rgba(0,0,0,.2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.brand:hover img { transform: translateY(-2px); box-shadow: 0 11px 34px rgba(0,0,0,.3); }
.sound-toggle { position: absolute; right: clamp(22px,4vw,66px); border: 0; background: transparent; text-transform: uppercase; letter-spacing: .16em; font-size: 9px; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; opacity: .7; }
.sound-toggle span { width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.sound-toggle span::after { content: ""; position: absolute; inset: 6px; background: currentColor; border-radius: 50%; transition: transform .3s; }
.sound-toggle[aria-pressed="true"] span::after { transform: scale(.35); }

.hero { min-height: calc(100svh - 226px); display: grid; grid-template-columns: clamp(245px,23vw,360px) minmax(0,1fr); padding: 0 clamp(22px,4vw,66px) 34px; }
.menu-rail { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding: clamp(42px,7vh,88px) clamp(24px,3vw,52px) 0 0; }
.rail-label { text-transform: uppercase; font-size: 9px; letter-spacing: .24em; opacity: .55; margin: 0 0 22px; }
.rail-item, .rail-link { width: 100%; padding: 17px 0; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.13); text-align: left; cursor: pointer; display: grid; align-items: center; transition: padding .35s var(--ease), color .35s, border-color .35s; }
.rail-item { grid-template-columns: 30px 1fr auto; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(25px,2.1vw,37px); }
.rail-item:hover, .rail-item:focus-visible { padding-left: 9px; color: #f0bd92; border-color: rgba(240,189,146,.7); }
.rail-num { font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .12em; opacity: .55; }
.rail-item i { font: normal 15px Arial; opacity: 0; transform: translate(-7px,5px); transition: .3s; }
.rail-item:hover i, .rail-item:focus-visible i { opacity: 1; transform: none; }
.rail-spacer { flex: 1; min-height: 38px; }
.rail-link { grid-template-columns: 1fr auto; text-transform: uppercase; font-size: 9px; letter-spacing: .17em; opacity: .65; }
.rail-link:hover { opacity: 1; color: #f0bd92; }
.rail-link small { font-size: 8px; opacity: .65; }

.hero-visual { min-height: calc(100svh - 260px); position: relative; overflow: hidden; background: rgba(239,235,226,.9); }
.hero-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; object-position: center; opacity: .92; animation: settle 1.4s var(--ease) both; }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,9,7,.88) 0%, rgba(12,9,7,.62) 28%, rgba(12,9,7,.12) 62%, transparent 78%), linear-gradient(0deg, rgba(10,8,7,.58), transparent 55%); }
.hero-copy { position: absolute; z-index: 2; left: clamp(28px,6vw,105px); bottom: clamp(54px,10vh,120px); width: min(580px,65%); animation: rise 1.1s .15s var(--ease) both; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; font-size: 9px; letter-spacing: .28em; color: #eab686; }
h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(58px,7.5vw,125px); line-height: .78; font-weight: 400; letter-spacing: -.045em; text-shadow: 0 3px 30px rgba(0,0,0,.2); }
h1 em { font-weight: 400; color: #f0c49e; }
.hero-intro { max-width: 470px; margin: 26px 0 28px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(16px,1.35vw,21px); line-height: 1.55; color: rgba(255,255,255,.83); }
.discover { display: flex; align-items: center; gap: 16px; background: none; border: 0; padding: 0; text-transform: uppercase; font-size: 9px; letter-spacing: .2em; cursor: pointer; }
.discover svg { width: 43px; fill: none; stroke: currentColor; transition: transform .4s var(--ease), background .3s; border-radius: 50%; }
.discover:hover svg { transform: rotate(-25deg) scale(1.08); background: rgba(255,255,255,.12); }
.visual-caption { position: absolute; right: 18px; bottom: 18px; margin: 0; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; opacity: .5; writing-mode: vertical-rl; }

.drawer { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.drawer[aria-hidden="false"] { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10,8,7,.68); opacity: 0; transition: opacity .5s; backdrop-filter: blur(5px); }
.drawer-sheet { position: absolute; inset: 0 0 0 auto; width: min(900px,88vw); background: var(--paper); color: var(--ink); transform: translateX(102%); transition: transform .62s var(--ease); overflow-y: auto; }
.drawer[aria-hidden="false"] .drawer-backdrop { opacity: 1; }
.drawer[aria-hidden="false"] .drawer-sheet { transform: none; }
.drawer-head { height: 84px; padding: 0 clamp(24px,5vw,68px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(23,20,18,.16); position: sticky; top: 0; background: rgba(241,236,226,.94); backdrop-filter: blur(10px); z-index: 3; }
.drawer-head p { margin: 0; text-transform: uppercase; letter-spacing: .22em; font-size: 9px; }
.drawer-close { width: 42px; height: 42px; border: 1px solid rgba(23,20,18,.35); border-radius: 50%; background: none; position: relative; cursor: pointer; transition: transform .35s; }
.drawer-close:hover { transform: rotate(90deg); }
.drawer-close span { position: absolute; width: 16px; height: 1px; background: currentColor; left: 12px; top: 20px; transform: rotate(45deg); }
.drawer-close span + span { transform: rotate(-45deg); }
.drawer-body { padding: clamp(36px,7vw,82px) clamp(24px,7vw,90px) 80px; }
.drawer--legal .drawer-sheet { background: #d9c6a7 url("assets/impressum-post-bg.webp") center/cover no-repeat; }
.drawer--legal .drawer-head { background: rgba(241,236,226,.9); }
.drawer--legal .drawer-body { min-height: calc(100svh - 84px); }
.drawer--legal .legal-page { padding: clamp(28px,4vw,52px); border: 1px solid rgba(255,255,255,.55); border-radius: 3px; background: rgba(247,243,235,.9); box-shadow: 0 24px 70px rgba(24,18,12,.28); backdrop-filter: blur(12px); }
.menu-title { position: relative; padding-left: 72px; margin-bottom: 60px; }
.menu-title > span { position: absolute; left: 0; top: 10px; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.menu-title h2, .shop-page h2 { font: 400 clamp(52px,8vw,92px)/.92 Georgia, serif; letter-spacing: -.045em; margin: 0 0 12px; }
.menu-title p { margin: 0; color: #6e6258; font-family: Georgia, serif; font-style: italic; font-size: 18px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.menu-grid h3, .legal-grid h3 { margin: 0 0 22px; padding-bottom: 10px; border-bottom: 1px solid rgba(23,20,18,.2); text-transform: uppercase; letter-spacing: .17em; font-size: 10px; }
.menu-grid .menu-subhead { margin-top: 38px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 0 0 22px; margin: 0 0 20px; border-bottom: 1px dotted rgba(23,20,18,.22); }
.menu-item b { font: 400 21px Georgia, serif; }
.menu-item p { margin: 7px 0 0; color: #776c62; line-height: 1.5; font-size: 13px; }
.menu-item strong { font-weight: 400; color: #8d684d; white-space: nowrap; }
.menu-selection { margin: -6px 0 28px; color: #776c62; font-size: 12px; line-height: 1.6; }
.menu-note { margin-top: 60px; border-left: 2px solid var(--copper); padding: 10px 0 10px 18px; color: #74695f; font-size: 12px; line-height: 1.5; }

.shop-page { min-height: calc(100vh - 250px); display: grid; place-content: center; text-align: center; }
.shop-page h2 { margin-bottom: 15px; }
.shop-whisper { font: italic 24px Georgia, serif; color: #876b55; }
.shop-page > p:last-child { color: #70655c; }
.shop-orbit { width: 140px; height: 140px; margin: 36px auto; border: 1px solid rgba(23,20,18,.27); border-radius: 50%; display: grid; place-items: center; position: relative; font: 15px Georgia, serif; letter-spacing: .25em; }
.shop-orbit i { width: 12px; height: 12px; border-radius: 50%; background: var(--copper); position: absolute; top: -6px; left: 64px; transform-origin: 6px 76px; animation: orbit 7s linear infinite; }

.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px 56px; }
.legal-grid p { color: #5f574f; line-height: 1.65; font-size: 13px; }
.legal-grid a { color: #704a31; text-decoration-color: rgba(112,74,49,.4); text-underline-offset: 3px; }
.legal-grid a:hover { text-decoration-color: currentColor; }
.legal-grid mark { background: #ead9a8; color: #4d402e; padding: 1px 3px; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; padding: 14px; background: #8f321f; color: white; text-align: center; z-index: 90; }

body.drawer-open { overflow: hidden; }
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { animation: none !important; transition-duration: .01ms !important; }

@keyframes settle { from { transform: scale(1.035); filter: blur(4px); opacity: .2; } to { transform: scale(1); filter: none; opacity: .92; } }
@keyframes rise { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .site-header { height: 156px; }
  .brand img { width: clamp(340px,52vw,420px); }
  .hero { min-height: calc(100svh - 156px); grid-template-columns: 1fr; padding: 0; }
  .hero-visual { min-height: calc(100svh - 245px); grid-row: 1; }
  .hero-copy { left: 25px; bottom: 35px; width: min(540px,78%); }
  .hero-intro { font-size: 15px; margin: 19px 0 22px; }
  .menu-rail { grid-row: 2; border: 0; border-top: 1px solid var(--line); padding: 8px 20px 18px; display: grid; grid-template-columns: 1fr; gap: 0; background: rgba(16,13,11,.78); backdrop-filter: blur(12px); }
  .rail-label, .rail-spacer { display: none; }
  .rail-item { padding: 15px 5px; grid-template-columns: 34px 1fr auto; text-align: left; font-size: clamp(20px,4vw,27px); border-right: 0; }
  .rail-num { display: inline; }
  .rail-item i { display: block; }
  .rail-link { padding: 14px 8px 0; border: 0; justify-items: start; }
  .rail-link:last-child { grid-column: auto; justify-items: start; }
  .drawer-sheet { width: min(96vw,900px); }
  .menu-grid, .legal-grid { grid-template-columns: 1fr; }
  .menu-title { margin-bottom: 45px; }
}

@media (max-width: 520px) {
  .site-header { padding: 0 17px; }
  .brand img { width: min(310px,92vw); }
  .sound-toggle { display: none; }
  .hero-visual { min-height: calc(100svh - 280px); }
  .hero-visual > img { object-position: center; }
  .hero-vignette { background: linear-gradient(90deg, rgba(12,9,7,.82), rgba(12,9,7,.28) 72%, transparent), linear-gradient(0deg, rgba(10,8,7,.7), transparent 62%); }
  .hero-copy { width: calc(100% - 48px); }
  h1 { font-size: clamp(53px,20vw,80px); }
  .hero-intro { max-width: 90%; line-height: 1.4; }
  .visual-caption { display: none; }
  .menu-rail { padding-inline: 10px; }
  .rail-item { font-size: 17px; }
  .rail-link { font-size: 7px; letter-spacing: .12em; }
  .drawer-sheet { width: 100%; }
  .drawer-head { height: 68px; }
  .drawer-body { padding-top: 34px; }
  .drawer--legal .drawer-body { min-height: calc(100svh - 68px); padding: 18px 12px 40px; }
  .drawer--legal .legal-page { padding: 24px 18px; }
  .menu-title { padding-left: 0; padding-top: 54px; }
  .menu-title > span { top: 0; }
  .menu-title h2, .shop-page h2 { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
