/* =========================
   ena ceramic – Hugo CSS (cleaned)
   ========================= */

:root{
  /* base palette */
  --bg: #f3ece9;
  --text: #2a2a2a;
  --muted: #666666;
  --accent: #b35a3c;

  /* reusable alpha tokens */
  --ink-86: rgba(0,0,0,0.86);
  --ink-60: rgba(0,0,0,0.60);
  --ink-55: rgba(0,0,0,0.55);
  --ink-35: rgba(0,0,0,0.35);
  --ink-10: rgba(0,0,0,0.10);
  --ink-08: rgba(0,0,0,0.08);
  --ink-06: rgba(0,0,0,0.06);
  --ink-05: rgba(0,0,0,0.05);

  --white-25: rgba(255,255,255,0.25);
  --white-35: rgba(255,255,255,0.35);
  --white-50: rgba(255,255,255,0.50);

  --accent-55: rgba(179,90,60,0.55);
  --accent-35: rgba(179,90,60,0.35);
  --accent-75: rgba(179,90,60,0.75);

  --footer-bg: #4a4a4a;
  --footer-text: rgba(255,255,255,0.75);

  --radius: 14px;
  --container: 980px;
  --shadow: 0 18px 40px rgba(0,0,0,0.16);
}

*{ box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
}

a{ color: inherit; text-decoration: none; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   Sticky footer layout
   ========================= */
.site{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-main{
  flex: 1;
  padding: 30px 0 46px;
}

/* =========================
   NAV (sticky + burger)
   ========================= */
.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243,236,233,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-06);
}

.nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  font-weight: 500;
  letter-spacing: 0.2px;
  text-transform: lowercase;
  color: var(--text);
}

.menu{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.menu a{
  font-size: 14px;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.menu a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.35);
  border-color: var(--ink-06);
}

.menu a.is-active{
  color: var(--text);
  border-color: var(--accent-55);
  background: rgba(255,255,255,0.15);
}

/* Burger button */
.nav-burger{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-10);
  background: var(--white-25);
  border-radius: 999px;
  cursor: pointer;

  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-burger span{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(0,0,0,0.70);
  border-radius: 2px;
}

/* Mobile menu overlay */
.mobile-menu{ display: none; }

.mobile-menu.is-open{
  display: block;
  position: fixed;
  inset: 0;
  background: var(--ink-35);
  z-index: 200;
}

.mobile-menu-inner{
  position: absolute;
  top: 68px;
  right: 18px;
  left: 18px;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(243,236,233,0.97);
  border: 1px solid var(--ink-10);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.mobile-menu-inner a{
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 16px;
  border: 1px solid transparent;
}

.mobile-menu-inner a:hover{
  background: var(--white-35);
  border-color: var(--ink-06);
  color: var(--text);
}

.mobile-menu-inner a.is-active{
  border-color: var(--accent-55);
  color: var(--text);
}

/* =========================
   Typography (global)
   ========================= */

.page{
  max-width: 760px;
  margin: 0 auto;
}

.page h1,
.page h2{
  color: var(--accent);
  font-weight: 750;
  letter-spacing: 0.2px;
}

.page h1{
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.page h2{
  margin: 26px 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.page h3{
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  color: var(--text);
}

.page p,
.page li{
  font-size: 14px;
  color: var(--muted);
}

.page p{ margin: 0 0 12px; }
.page ul, .page ol{ margin: 0 0 12px 18px; }

.page a{
  color: var(--accent);
  border-bottom: 1px solid var(--accent-35);
}
.page a:hover{
  border-bottom-color: var(--accent-75);
}

/* optional: einheitliche Einleitungszeile */
.page .lede{
  margin: 0 0 18px;
  color: var(--ink-55);
}


/* =========================
   Home sections + cards
   (hero overlay below handles the actual hero title/text)
   ========================= */
.section{
  padding: 26px 0 30px;
  border-top: 1px solid var(--ink-05);
}

.section-title{
  text-align: center;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.section-text{
  text-align: center;
  max-width: 620px;
  margin: 10px auto 0;
  font-size: 13px;
  color: var(--ink-55);
}

/* Home cards */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 18px auto 0;
}

.card{
  display: block;
  text-align: left;
}

.card .thumb{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white-50);
  border: 1px solid var(--ink-06);
}

.card .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card h3{
  margin: 10px 0 6px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 750;
}

.card p{
  margin: 0;
  font-size: 13px;
  color: var(--ink-55);
}

.card:hover h3{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   Gallery (uniform tiles)
   ========================= */
.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 14px 0;
}

.gallery a{
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ink-08);
  background: var(--white-35);
}

.gallery img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* =========================
   Lightbox
   ========================= */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.86);
  z-index: 9999;
}
.lightbox.is-open{ display: flex; }

.lightbox figure{
  margin: 0;
  max-width: min(1100px, 95vw);
  max-height: 92vh;
  width: 100%;
  position: relative;
}

.lightbox img{
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.lightbox .close,
.lightbox .prev,
.lightbox .next{
  position: absolute;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
}
.lightbox .close{ right: 12px; top: 12px; }
.lightbox .prev{ left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .next{ right: 12px; top: 50%; transform: translateY(-50%); }

.lightbox .hint{
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}

/* =========================
   Footer + footer nav
   ========================= */
.footer{
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 34px 18px;
  text-align: center;
}

.footer .brand2{
  color: rgba(255,255,255,0.9);
  font-weight: 750;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  text-transform: lowercase;
}

.footer .small{
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.footer a{
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.footer a:hover{
  border-bottom-color: rgba(255,255,255,0.6);
}

.footer-nav{
  margin: 14px 0 10px;
  display: flex;
  gap: 16px;
  justify-content: center;
}
.footer-nav a{
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: none;
}
.footer-nav a:hover{
  color: #fff;
  text-decoration: underline;
}

/* =========================
   Hero text overlay
   ========================= */
.hero{
  text-align: center;
  padding: 0;
}

.hero-overlay{
  position: relative;
  width: 100%;
}

.hero-overlay img{
  width: 100%;
  height: min(70vh, 700px);
  object-fit: cover;
  display: block;
}

.hero-text{
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  text-align: center;
  padding-top: 5vh;
  padding-left: 24px;
  padding-right: 24px;

  color: #fff;
}

.hero-text h1{
  margin: 0;
  line-height: 1.15;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  color: var(--accent);
}

.hero-text .sub{
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 500;
  color: var(--accent);
}

.hero-text .lead{
  margin: 0;
  font-size: clamp(13px, 2vw, 16px);
  color: rgba(0,0,0,0.55);
  max-width: 600px;
  opacity: 0.85;
}

/* =========================
   About page (Über mich)
   ========================= */
.about-grid{
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 46px;
  align-items: start;
}

.about-portrait{
  display: block;
  border-radius: 14px;
  overflow: hidden;
}

.about-portrait img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-thumbs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.about-thumbs img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.about-tagline{
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-55);
}

.about-text{
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-60);
  max-width: 520px;
}

.about-text p{ margin: 0 0 12px; }

/* =========================
   Impressum Layout
   ========================= */
.imprint{
  padding: 40px 0 60px;
}

.imprint-grid{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.imprint-text{
  font-size: 14px;
  color: var(--ink-60);
  max-width: 420px;
  margin: 0 auto;
}

.imprint-text p{ margin: 0 0 10px; }

.imprint-text h2,
.imprint-text h3{
  margin: 22px 0 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.imprint-right{
  display: flex;
  justify-content: center;
}

.imprint-oval{
  width: 320px;
  height: 420px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--white-25);
}

.imprint-oval img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} 
/* =========================
   pagestyle: about
   ========================= */

.page--about{
  max-width: 900px;
}

.about-grid{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 46px;
  align-items: start;
}

.about-portrait{
  border-radius: 14px;
  overflow: hidden;
}

.about-portrait img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-thumbs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.about-thumbs img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* =========================
   pagestyle: imprint
   ========================= */

.page--imprint{
  max-width: 980px;
}

.imprint-grid{
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.imprint-right{
  display: flex;
  justify-content: center;
}

.imprint-oval{
  width: 320px;
  height: 420px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--white-25);
}

.imprint-oval img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================
   Responsive rules
   ========================= */
@media (max-width: 900px){
  .menu{ display: none; }
  .nav-burger{ display: inline-flex; }

  .cards{ grid-template-columns: 1fr; gap: 18px; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .gallery img{ height: 240px; }

  .page h1{ font-size: 30px; }

  .about-grid{ grid-template-columns: 1fr; gap: 22px; }
  .about-left{ max-width: 420px; margin: 0 auto; }
  .about-right{ text-align: center; }
  .about-text{ margin-left: auto; margin-right: auto; }

  .imprint-grid{ grid-template-columns: 1fr; gap: 26px; }
  .imprint-right{ order: -1; }
  .imprint-oval{ width: 280px; height: 360px; }

  .about-grid{ grid-template-columns: 1fr; gap: 22px; }
  .imprint-grid{ grid-template-columns: 1fr; gap: 26px; }
  .imprint-right{ order: -1; }
  .imprint-oval{ width: 280px; height: 360px; }

}

@media (max-width: 600px){
  .nav-inner{ padding: 14px 18px; }
  .container{ padding: 0 18px; }
  .site-main{ padding: 22px 0 36px; }

  .gallery{ grid-template-columns: 1fr; }
  .gallery img{ height: 260px; }

  .mobile-menu-inner{ top: 60px; }
}
