/* =========================
   ena ceramic – Hugo CSS
   - sticky header
   - sticky footer (flex layout)
   - burger menu on mobile
   - gallery + lightbox
   ========================= */

:root{
  --bg: #f3ece9;                 /* rosé/off-white */
  --text: #2a2a2a;
  --muted: #666666;
  --line: rgba(0,0,0,0.10);

  --accent: #b35a3c;             /* terracotta */
  --accent-soft: rgba(179, 90, 60, 0.12);

  --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 rgba(0,0,0,0.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;      /* kein Umbruch */
  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: rgba(0,0,0,0.06);
}

.menu a.is-active{
  color: var(--text);
  border-color: rgba(179, 90, 60, 0.55);
  background: rgba(255,255,255,0.15);
}

/* Burger button */
.nav-burger{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  cursor: pointer;

  /* Wichtig: Layout für 3 Lines */
  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: rgba(0,0,0,0.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 rgba(0,0,0,0.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: rgba(255,255,255,0.35);
  border-color: rgba(0,0,0,0.06);
  color: var(--text);
}

.mobile-menu-inner a.is-active{
  border-color: rgba(179, 90, 60, 0.55);
  color: var(--text);
}

/* =========================
   Generic page typography
   ========================= */
.page{
  max-width: 760px;
  margin: 0 auto;
}

.page h1{
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: 0.2px;
}

.page h2{
  margin: 26px 0 10px;
  font-size: 22px;
  font-weight: 650;
  color: var(--accent);
}

.page h3{
  margin: 18px 0 8px;
  font-size: 18px;
  font-weight: 650;
}

.page p{
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.page ul, .page ol{
  margin: 0 0 12px 18px;
  color: var(--muted);
  font-size: 14px;
}

.page a{
  color: var(--accent);
  border-bottom: 1px solid rgba(179,90,60,0.35);
}

.page a:hover{
  border-bottom-color: rgba(179,90,60,0.75);
}

/* =========================
   Home Hero + Sections
   ========================= */

.hero{
  text-align: center;
  padding: 20px 0 6px;
}

.hero h1{
  margin: 0;
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}

.hero .sub{
  margin: 0;
  font-size: 15px;
  color: var(--accent);
}

.hero .lead{
  margin: 18px auto 0;
  font-size: 13px;
  color: rgba(0,0,0,0.55);
  max-width: 560px;
}

.hero-media{
  margin: 18px auto 0;
  max-width: 980px;
}

.hero-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* section with top line like original */
.section{
  padding: 26px 0 30px;
  border-top: 1px solid rgba(0,0,0,0.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: rgba(0,0,0,0.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: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.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: rgba(0,0,0,0.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 rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.35);
}

.gallery img{
  width: 100%;
  height: 280px;     /* einheitliche Kachel */
  object-fit: cover; /* crop */
  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{
  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);
}

/* =========================
   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; }
}

@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; }
}

/* =========================
   Hero text overlay
   ========================= */

.hero {
  padding: 0;
}

/* Container für Bild + Text */
.hero-overlay {
  position: relative;
  width: 100%;
}

/* Hero Bild */
.hero-overlay img {
  width: 100%;
  height: min(70vh, 700px);   /* schön groß, aber nicht zu riesig */
  object-fit: cover;
  display: block;
}

/* Text über dem Bild */
.hero-text {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;        /* horizontal zentriert */
  justify-content: flex-start; /* NICHT mehr center */

  text-align: center;
  padding-top: 5vh;          /* <<< steuert die Höhe */
  padding-left: 24px;
  padding-right: 24px;

  color: #fff;
}

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

.hero-text .sub {
  /* margin: 0px 0 20px; */
  margin-top: 0;          /* kein Extra-Abstand nach oben */
  margin-bottom: 20px;     /* Abstand nach unten (zur Lead-Zeile) */
  line-height: 1.2;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 500;
  /* opacity: 0.9; */
}

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


/* =========================
   Workshops – Headings
   ========================= */

.page.workshops h1 {
  text-align: center;
  color: var(--accent);          /* terracotta */
  font-size: 32px;
  margin-bottom: 12px;
}

.page.workshops > p:first-of-type {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 28px;
  color: rgba(0,0,0,0.55);
  font-size: 14px;
}

.page.workshops h2 {
  text-align: center;
  color: var(--accent);
  margin-top: 48px;
}

/* =========================
   Workshop Gallery Layout
   ========================= */

.gallery-workshop {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 40px;
}

.gallery-workshop a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

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

/* erstes Bild groß */
.gallery-workshop a.is-main {
  grid-row: span 2;
}

/* Höhe erzwingen */
.gallery-workshop a {
  aspect-ratio: 1 / 1;
}

.gallery-workshop a.is-main {
  aspect-ratio: 4 / 3;
}

/* Responsive */
@media (max-width: 800px) {
  .gallery-workshop {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-workshop a.is-main {
    grid-column: span 2;
    grid-row: auto;
  }
}

/* =========================
   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 a{
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

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

.about-name{
  margin: 0;
  color: var(--accent);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 750;
}

.about-tagline{
  margin-top: 12px;
  font-size: 16px;
  color: rgba(0,0,0,0.55);
}

.about-text{
  margin-top: 18px;
  font-size: 14px;
  color: rgba(0,0,0,0.60);
  max-width: 520px;
}

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

@media (max-width: 900px){
  .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; }
}

/* =========================
   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-title{
  margin: 0 0 22px;
  text-align: center;
  color: var(--accent);
  font-size: 32px;
  font-weight: 750;
}

.imprint-text{
  font-size: 14px;
  color: rgba(0,0,0,0.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: rgba(0,0,0,0.55);
}

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

.imprint-oval{
  width: 320px;
  height: 420px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.25);
}

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

/* Responsive */
@media (max-width: 900px){
  .imprint-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .imprint-right{
    order: -1;            /* Bild nach oben, optional */
  }
  .imprint-oval{
    width: 280px;
    height: 360px;
  }
}


/* Footer Navigation */
.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;
}

.footer-nav a:hover{
  color: #fff;
  text-decoration: underline;
}

