:root{
  --sun:#F0CE6C;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display","SF Pro Text",
          "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans";
  --muted: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.22);

  /* orange glass */
  --menu-orange: rgba(222, 120, 38, .36);
  --menu-orange-2: rgba(196, 92, 22, .36);
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{ margin:0; font-family:var(--sans); background:#000; color:#fff; }

a{ color:inherit; }

/* HERO (index) */
.hero{
  position:relative;
  min-height:100svh;
  padding:120px 0 56px;
  display:grid;
  align-items:end;
}
.hero-media{ position:absolute; inset:0; overflow:hidden; z-index:0; transform:translateZ(0); }
.hero-media::before, .hero-media::after{
  content:"";
  position:absolute;
  inset:-1%;
  background-size:cover;
  background-position:center;
  transform:scale(1.03);
  will-change:transform, opacity;
}
.hero-media::before{ background-image:url("img/haus.jpg"); opacity:1; }
.hero-media::after{ background-image:url("img/hero-hof.jpg"); opacity:0; }

.hero-overlay{
  position:absolute; inset:0; z-index:1;
  background:radial-gradient(1200px 650px at 18% 78%, rgba(0,0,0,.44), rgba(0,0,0,.14) 55%, rgba(0,0,0,.06));
}
.hero-content{
  position:relative; z-index:2;
  max-width:900px; margin:0 auto; padding:0 18px;
  text-shadow:0 10px 22px rgba(0,0,0,.28);
}
.eyebrow{
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.78rem;
  margin:0 0 10px;
  color:var(--muted);
}
.hero h1{
  margin:0 0 12px;
  font-size:2.85rem;
  font-weight:560;
  letter-spacing:.01em;
}
.sub{
  max-width:62ch;
  line-height:1.6;
  margin:0 0 18px;
  color:rgba(255,255,255,.92);
  font-size:1.03rem;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:#fff;
  text-decoration:none;
  font-weight:600;
}
.btn.primary{ background: rgba(240,206,108,.28); }
.btn.ghost{ background: rgba(0,0,0,.14); }
.btn.menuBtn{ cursor:pointer; }
.hamb{ width:18px; height:14px; display:grid; gap:3px; }
.hamb span{ height:2px; width:18px; background:#fff; border-radius:2px; display:block; }

.scroll-hint{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  z-index:2; width:42px; height:42px; border-radius:999px;
  display:grid; place-items:center;
  background:rgba(0,0,0,.18); border:1px solid var(--line);
  color:#fff; text-decoration:none;
}

@media (prefers-reduced-motion: no-preference){
  .hero--fade .hero-media::before{
    animation: kenBurns 16s ease-in-out 0s forwards,
               fadeOut 10s ease-in-out 3s forwards;
  }
  .hero--fade .hero-media::after{
    animation: kenBurns 16s ease-in-out 0s forwards,
               fadeIn 10s ease-in-out 3s forwards;
  }
}
@keyframes kenBurns{
  from{ transform:scale(1.03) translate3d(0,0,0); }
  to  { transform:scale(1.10) translate3d(-1.0%,-0.6%,0); }
}
@keyframes fadeOut{ to{ opacity:0; } }
@keyframes fadeIn { to{ opacity:1; } }

@media (min-width:860px){ .hero h1{ font-size:3.35rem; } }

/* Drawer */
.backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.22);
  z-index:80;
}
html.drawer-open, html.drawer-open body{ overflow:hidden; }

.drawer{
  position:fixed;
  left:0; top:0;
  height:100vh;
  width:clamp(320px, 60vw, 960px);
  z-index:90;
  transform:translateX(-110%);
  transition:transform .35s ease;
  background:linear-gradient(180deg, var(--menu-orange), var(--menu-orange-2));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right:1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.26);
}
.drawer.is-open{ transform:translateX(0); }

.drawer-x{
  position:absolute; top:18px; left:18px;
  width:42px; height:42px; border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(0,0,0,.10);
  color:#fff; font-size:18px;
  cursor:pointer;
}

.drawer-shell{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:80px 22px 28px;
}
.drawer-block{
  width:min(720px, 100%);
  display:grid;
  grid-template-columns: 240px 1fr;
  gap:14px;
}

/* left list */
.drawer-main{
  display:flex; flex-direction:column;
  gap:2px;
  padding-right:12px;
  border-right:1px solid rgba(255,255,255,.14);
}
.d-item{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  padding:8px 8px;
  border-radius:10px;
  color:rgba(255,255,255,.95);
  text-decoration:none;
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.02em;
  background:transparent;
  border:0;
  cursor:pointer;
}
.d-item:hover{ background:rgba(255,255,255,.10); }
.d-item.is-active{ text-decoration:underline; text-underline-offset:6px; }
.chev{ font-size:18px; color:rgba(255,255,255,.85); }
.d-toggle.is-on{ background:rgba(0,0,0,.10); }

.drawer-panel{ padding-left:6px; }
.panel{ display:none; }
.panel.is-active{ display:block; }

.panel-head h3{
  margin:0 0 6px;
  font-size:1.02rem;
  font-weight:700;
  letter-spacing:.01em;
}
.panel-sub{
  margin:0 0 10px;
  color:rgba(255,255,255,.86);
  line-height:1.45;
  font-size:.9rem;
}
.panel-hint{
  margin:0 0 12px;
  color:rgba(255,255,255,.90);
  line-height:1.55;
  font-size:.92rem;
}

.pillwrap{ display:flex; flex-wrap:wrap; gap:8px; }
.pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:9px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(0,0,0,.10);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:.92rem;
}
.pill:hover{ background:rgba(255,255,255,.10); }

.linkstack{ display:grid; gap:8px; margin-top:6px; }
.stacklink{
  padding:9px 11px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(0,0,0,.10);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:.92rem;
}
.stacklink:hover{ background:rgba(255,255,255,.10); }

.preview{
  margin-top:12px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.08);
}
.preview-img{
  width:100%;
  height:34vh;
  max-height:330px;
  object-fit:cover;
  display:block;
}
.preview-cap{
  padding:9px 11px;
  font-weight:600;
  letter-spacing:.01em;
  background:rgba(0,0,0,.10);
  font-size:.92rem;
}

/* Inner pages */
.page{
  min-height:100svh;
  padding:88px 0 64px;
  background: radial-gradient(900px 500px at 18% 10%, rgba(240,206,108,.10), rgba(0,0,0,0));
}
.page-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
}
.page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.page-title{
  margin:0;
  font-size:2.1rem;
  font-weight:640;
  letter-spacing:.01em;
}
.page-lead{
  margin:8px 0 0;
  color:rgba(255,255,255,.86);
  max-width:70ch;
  line-height:1.6;
}
.page-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.smallbtn{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:999px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:#fff; text-decoration:none; font-weight:650;
}
.smallbtn:hover{ background:rgba(255,255,255,.08); }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.card{
  grid-column: span 6;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.18);
  border-radius:18px;
  overflow:hidden;
}
.card img{ width:100%; height:280px; object-fit:cover; display:block; }
.card-body{ padding:12px 14px 14px; }
.card h2{
  margin:0 0 6px;
  font-size:1.2rem;
  font-weight:700;
}
.card p{ margin:0; color:rgba(255,255,255,.86); line-height:1.55; }
.anchor{ scroll-margin-top: 92px; }

@media (max-width: 900px){
  .card{ grid-column: span 12; }
}
@media (max-width: 859px){
  .drawer{ width: 92vw; }
  .drawer-shell{ padding:78px 16px 20px; align-items:flex-start; justify-content:flex-start; }
  .drawer-block{ grid-template-columns: 1fr; gap:12px; width:min(640px, 100%); }
  .drawer-main{ border-right:0; padding-right:0; }
}
