/* =========================================
   MAIN.CSS – aufgeräumt und konsistent
   ========================================= */

/* === 0) SELF-HOSTED FONTS === */
@font-face{
  font-family:"Roboto";
  src:url("/fonts/roboto-300.woff2") format("woff2");
  font-weight:300;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Roboto";
  src:url("/fonts/roboto-500.woff2") format("woff2");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Roboto";
  src:url("/fonts/roboto-700.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

/* === 1) DESIGN-VARS === */
:root{
  --bg:#000;
  --text:#fff;
  --muted:rgba(255,255,255,.8);
  --line:rgba(255,255,255,.20);

  --maxw:1200px;
  --pad:clamp(16px,3vw,28px);
  --gap:clamp(10px,2vw,20px);

  --ff:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --fs-body:clamp(18px,1.2vw,22px);
  --fs-lead:clamp(18px,1.6vw,22px);
  --fs-h1:clamp(28px,4vw,48px);
  --fs-h2:clamp(27px,3.4vw,39px);
  --fs-h3:clamp(18px,2.2vw,22px);
--fs-h4:clamp(22px,2.2vw,22px);

  --fw-light:300;
  --fw-medium:500;
  --fw-bold:700;

  --nav-h:72px;

  --lb-alpha:.20;
  --lb-alpha2:.20;
  --lb-sx:14px;
  --lb-sy:16px;
  --lb-blur:15px;
  --lb-sx2:36px;
  --lb-sy2:44px;
  --lb-blur2:70px;
}

/* === 2) RESET/BASIS === */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html,
body{
  height:100%;
}

html{
  scroll-behavior:smooth;
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--ff);
  font-size:var(--fs-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  text-align:left;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 var(--pad);
}

/* === 3) TYPO === */
h1{
  font-family: var(--ff);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
}

h2{
  font:var(--fw-light) var(--fs-h2)/1.15 var(--ff);
  margin:0 0 12px;
}

h3{
  font:var(--fw-medium) var(--fs-h3)/1.2 var(--ff);
  margin:25px 0 8px;
}

h4{
  font:var(--fw-light) var(--fs-h4)/1.2 var(--ff);
  margin:50px 0 50px;
}

p{
  margin:0 0 16px;
}

.lead{
  font-size:var(--fs-lead);
  color:var(--muted);
  margin-top:22px;
}

.section-title{
  margin:0 0 12px;
  text-align:left;
}

.rule{
  border:0;
  height:2px;
  background:var(--line);
  margin:0;
}

/* === 4) HEADER === */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  background:#000;
  border-bottom:1px solid var(--line);
}

.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:24px;
  min-height:var(--nav-h);
}

.logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex:0 0 auto;
}

.logo-img{
  display:block;
  height:clamp(22px,4vw,50px);
  width:auto;
}

.menu-toggle{
  display:none;
  background:transparent;
  color:#fff;
  border:1px solid #fff;
  border-radius:6px;
  padding:6px 10px;
  font-size:18px;
  cursor:pointer;
}

.site-nav{
  display:flex;
  gap:20px;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:flex-start;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.site-nav .nav-link{
  color:#fff;
  text-decoration:none;
  opacity:.9;
  font-weight:var(--fw-medium);
  padding:6px 0;
  border-bottom:2px solid transparent;
}

.site-nav .nav-link:hover{
  font-weight:var(--fw-bold);
  opacity:1;
}

.site-nav .nav-link.is-active{
  border-bottom-color:#fff;
}

/* === 5) MOBILE NAV === */
@media (max-width:900px){
  :root{ --nav-h:104px; }

  .site-header .wrap{
    gap:16px;
  }

  .logo-img{
    height:clamp(68px,16vw,96px);
  }

  .menu-toggle{
    display:inline-block;
    margin-left:auto;
  }

  .site-nav{
    position:fixed;
    left:0;
    right:0;
    top:var(--nav-h);
    background:#000;
    border-bottom:1px solid var(--line);
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:6px 0;
  }

  .site-nav.open{
    display:flex;
  }

  .site-nav .nav-link{
    width:100%;
    padding:14px var(--pad);
    border-top:1px solid var(--line);
  }
}

/* === 6) SECTIONS === */
.section{
  padding:36px 0 40px;
}

.section--hero{
  padding-top:calc(var(--nav-h) + 48px);
  padding-bottom:32px;
}

@media (max-width:900px){
  .section{
    padding:28px 0 32px;
  }

  .section--hero{
    padding-top:calc(var(--nav-h) + 28px);
    padding-bottom:24px;
  }
}

/* === 7) HERO === */
.hero-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
  width:100%;
}

.hero-logo,
.hero-main-image{
  display:block;
  width:100%;
  max-width:820px;
  height:auto;
  margin:0;
}

@media (max-width:960px){
  .hero-logo,
  .hero-main-image{
    max-width:100%;
    width:100%;
  }

  .hero-stack{
    gap:14px;
  }
}

/* === 8) GRIDS === */
.grid{
  display:grid;
  gap:var(--gap);
}

.grid--gallery{
  grid-template-columns:repeat(3,1fr);
}

@media (max-width:1024px){
  .grid--gallery{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:640px){
  .grid--gallery{
    grid-template-columns:1fr;
  }
}

/* === 9) TEXTBLOCK === */
.text-block{
  max-width:820px;
  text-align:left;
}

/* === 10) GALERIE === */
.tile{
  display:block;
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  background:#0a0a0a;
}

.tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.001);
  transition:transform .25s ease;
}

.tile:hover img{
  transform:scale(1.03);
}

/* === 11) LIGHTBOX === */
.lightbox{
  position:fixed;
  inset:0;
  background:#fff;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:2000;
}

.lightbox.show{
  display:flex;
}

.lb-image{
  display:block;
  background:transparent;
  padding:0;
  border:0;
  outline:0;
  border-radius:0;
  filter:
    drop-shadow(var(--lb-sx) var(--lb-sy) var(--lb-blur) rgba(0,0,0,var(--lb-alpha)))
    drop-shadow(var(--lb-sx2) var(--lb-sy2) var(--lb-blur2) rgba(0,0,0,var(--lb-alpha2)));
  box-shadow:var(--lb-sx) var(--lb-sy) var(--lb-blur) rgba(0,0,0,var(--lb-alpha));
  max-width:min(1200px,96%);
  max-height:88vh;
  width:auto;
  height:auto;
}

.lb-close,
.lb-prev,
.lb-next{
  position:absolute;
  background:rgba(0,0,0,.06);
  color:#000;
  border:1px solid rgba(0,0,0,.35);
  width:42px;
  height:42px;
  font-size:26px;
  line-height:36px;
  text-align:center;
  border-radius:50%;
  cursor:pointer;
  user-select:none;
}

.lb-close{ top:18px; right:18px; }
.lb-prev{ left:18px; top:50%; transform:translateY(-50%); }
.lb-next{ right:18px; top:50%; transform:translateY(-50%); }

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover{
  background:#fff;
}

/* === 12) BIOGRAPHIE === */
.bio-split{
  display:grid;
  grid-template-columns:max-content 1fr;
  column-gap:clamp(12px,1.8vw,24px);
  align-items:start;
}

.bio-figure{
  margin:0;
  align-self:start;
}

.bio-figure img{
  display:block;
  width:auto;
  max-width:clamp(260px,30vw,520px);
  height:auto;
}

.bio-content{
  align-self:start;
  max-width:900px;
}

.bio-content .section-title{
  margin:0 0 12px;
  line-height:1.1;
}

@media (max-width:960px){
  .bio-split{
    grid-template-columns:1fr;
    row-gap:24px;
  }

  .bio-figure{
    width:100%;
  }

  .bio-figure img{
    width:100%;
    max-width:100%;
  }
}

/* === 13) KONTAKT / FOOTER === */
.kontakt{
  font-style:normal;
  text-align:left;
}

.kontakt a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}

.site-footer{
  border-top:1px solid var(--line);
  padding:22px 0;
}

.site-footer .wrap{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.to-top{
  color:#fff;
  text-decoration:none;
  opacity:.8;
}

.to-top:hover{
  opacity:1;
  text-decoration:underline;
  text-underline-offset:3px;
}


.neueroeffnung{
  width: 100%;
  display: flex;
  justify-content: left;
}

.bio-figure--center img{
  display: block;
  margin: 0 auto;
}


.simple-gallery{
  display: grid;
  grid-template-columns: repeat(3, 250px);
  grid-template-rows: repeat(3, 250px);
  gap: 25px;
  justify-content: start;
  margin-top: 30px;
}

.simple-gallery img{
  width: 250px;
  height: 250px;
  object-fit: cover;
  display: block;
}

.hero-stack{
  display:flex;
  flex-direction:column;
  align-items:center;   /* alles mittig untereinander */
  gap:18px;
  width:100%;
}

.hero-logo{
  display:block;
  width:100%;
  max-width:820px;
  height:auto;
}

.eroeffnung-info{
  width:100%;
  max-width:820px;   /* gleiche Breite wie Logo */
  text-align:center; /* Text mittig */
}

.eroeffnung-info .section-title{
  text-align:center;
  margin:0 0 12px;
}

