/* ============================================================
   ULRICH KOCHTE – Holzbildhauerei · Onepage
   ============================================================ */

/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/playfair-display-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/playfair-display-v40-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/playfair-display-v40-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/playfair-display-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/playfair-display-v40-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/playfair-display-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/playfair-display-v40-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/playfair-display-v40-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/playfair-display-v40-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/playfair-display-v40-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/playfair-display-v40-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/lato-v25-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/lato-v25-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/lato-v25-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/lato-v25-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/lato-v25-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v25-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/lato-v25-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/lato-v25-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/lato-v25-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* ---- CSS Variables ---- */
:root {
  --cream:        #f7f2eb;
  --cream-dark:   #ede4d5;
  --cream-mid:    #f0e9dc;
  --wood-pale:    #e8d5b7;
  --wood-light:   #c9a87c;
  --wood-mid:     #8b6340;
  --wood-dark:    #5c3d1e;
  --nussbaum:     #241608;
  --nussbaum-2:   #3a2410;
  --text:         #2c2318;
  --text-light:   #6b5440;
  --text-muted:   #9a7d60;
  --white:        #ffffff;
  --shadow-sm:    rgba(44,31,14,0.10);
  --shadow-md:    rgba(44,31,14,0.18);
  --shadow-lg:    rgba(44,31,14,0.28);
  --max-w:        1400px;
  --radius:       3px;
  --tr:           0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 1.78;
  color: var(--text);
  background: var(--cream);
}
img { display: block; max-width: 100%; height: auto; }
a   { color: var(--wood-mid); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--wood-dark); }
ul  { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--nussbaum);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Section Header ---- */
.sec-head { text-align: center; margin-bottom: 2.8rem; }
.sec-head h2 { margin-bottom: 0.5rem; }
.sec-rule {
  width: 56px; height: 2px;
  background: var(--wood-mid);
  margin: 0.5rem auto 1rem;
}
.sec-lead {
  font-style: italic;
  color: var(--text-light);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section--alt { background: var(--cream-dark); }
.section--dark {
  background: var(--nussbaum-2);
  color: var(--wood-pale);
}
.section--dark h2,
.section--dark h3 { color: var(--wood-pale); }
.section--dark .sec-lead { color: var(--wood-light); }
.section--dark .sec-rule { background: var(--wood-light); }

/* ====================================================
   HEADER / NAV
   ==================================================== */
#site-header {
  background: var(--nussbaum);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link img { height: 54px; width: auto; }

#main-nav ul {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}
#main-nav a {
  color: var(--wood-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  transition: background var(--tr), color var(--tr);
}
#main-nav a:hover { background: var(--wood-mid); color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block; width: 25px; height: 2px;
  background: var(--wood-light); border-radius: 2px;
  transition: all var(--tr);
}

/* ====================================================
   SLIDESHOW
   ==================================================== */
#slideshow {
  position: relative;
  width: 100%;
  height: 54vh;
  min-height: 340px;
  max-height: 560px;
  overflow: hidden;
  background: var(--nussbaum);
}
.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.1s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(36,22,8,.1) 0%, rgba(36,22,8,.58) 100%);
  display: flex; align-items: flex-end;
  padding: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  left: 50%; transform: translateX(-50%);
  width: 100%;
}
.slide-text h2 { color: var(--white); font-size: clamp(1.3rem,3vw,2rem); text-shadow: 0 2px 8px rgba(0,0,0,.5); margin-bottom: .3rem; }
.slide-text p  { color: var(--wood-pale); font-size: .95rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(36,22,8,.5); border: 1px solid rgba(201,168,124,.35);
  color: var(--wood-light); width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr); z-index: 5;
}
.slide-btn:hover { background: var(--wood-mid); color: var(--white); }
.slide-btn.prev { left: 1.5rem; }
.slide-btn.next { right: 1.5rem; }
.slide-dots {
  position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(201,168,124,.45); cursor: pointer; border: none;
  transition: background var(--tr);
}
.dot.active { background: var(--wood-light); }

/* ====================================================
   START – ÜBER MICH
   ==================================================== */
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
.sp-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px var(--shadow-sm);
  transition: box-shadow var(--tr), transform var(--tr);
}
.sp-card:hover {
  box-shadow: 0 6px 28px var(--shadow-md);
  transform: translateY(-4px);
}
.sp-card img {
  width: 100%; height: 230px; object-fit: cover;
}
.sp-card__body { padding: 1.3rem 1.5rem 1.6rem; }
.sp-card__num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; color: var(--wood-pale);
  line-height: 1; margin-bottom: .35rem;
}
.sp-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--nussbaum);
  margin-bottom: .5rem;
}
.sp-card__text { font-size: .9rem; color: var(--text-light); line-height: 1.65; }
.sp-card__link {
  display: inline-block; margin-top: .85rem;
  font-size: .8rem; font-weight: 700; color: var(--wood-mid);
  text-transform: uppercase; letter-spacing: .06em;
}

/* ====================================================
   WERKSTATT-IMPRESSIONEN
   ==================================================== */
.prozess-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.prozess-item { text-align: center; cursor: pointer; }
.prozess-item img {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px var(--shadow-sm);
  margin-bottom: .65rem;
  transition: transform var(--tr), box-shadow var(--tr);
}
.prozess-item:hover img {
  transform: scale(1.02);
  box-shadow: 0 6px 20px var(--shadow-md);
}
.prozess-item p { font-size: .85rem; color: var(--text-light); font-style: italic; }

/* ====================================================
   GALLERY GRID
   ==================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.gallery-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid--2 { grid-template-columns: repeat(2, 1fr); }

.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); cursor: pointer;
  background: var(--nussbaum);
  box-shadow: 0 2px 10px var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform .45s ease, opacity .45s ease;
}
.gallery-item:hover img { transform: scale(1.07); opacity: .82; }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(36,22,8,.85));
  color: var(--wood-pale); font-size: .8rem;
  padding: 2rem .85rem .65rem;
  transform: translateY(100%);
  transition: transform .32s ease;
  line-height: 1.4;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ====================================================
   RESTAURIERUNG – BLOCKS
   ==================================================== */
.rest-block { margin-bottom: 3.5rem; }
.rest-block:last-child { margin-bottom: 0; }
.rest-block__head {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--wood-dark);
  border-left: 3px solid var(--wood-mid);
  padding-left: .85rem;
  margin-bottom: .75rem;
}
.rest-block__lead {
  color: var(--text-light); font-size: .95rem;
  margin-bottom: 1.2rem; max-width: 800px;
}

/* ====================================================
   KONTAKT
   ==================================================== */
.kontakt-wrap { display: flex; justify-content: center; }
.kontakt-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 4px 24px var(--shadow-md);
  padding: 2.8rem 3.5rem; max-width: 500px; width: 100%;
  text-align: center;
}
.kontakt-card h3 { margin-bottom: 1.6rem; font-size: 1.35rem; }
.kontakt-row {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 1rem; text-align: left;
}
.kontakt-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--cream-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--wood-mid); font-size: 1rem;
}
.kontakt-row p { font-size: .95rem; line-height: 1.5; color: var(--text); }
.kontakt-row a { color: var(--wood-mid); font-weight: 700; }

/* ====================================================
   FOOTER
   ==================================================== */
#site-footer {
  background: var(--nussbaum);
  color: var(--wood-light);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem 3rem;
  border-bottom: 1px solid rgba(201,168,124,.2);
}
.footer-brand img {
  height: 50px; width: auto;
  margin-bottom: 1.2rem;
  opacity: .9;
}
.footer-brand p {
  font-size: .9rem; line-height: 1.7;
  color: var(--text-muted);
  max-width: 320px;
}
.footer-col h4 {
  color: var(--wood-pale);
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col a {
  color: var(--text-muted); font-size: .9rem;
  transition: color var(--tr);
}
.footer-col a:hover { color: var(--wood-light); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); margin-left: 1.2rem; }
.footer-bottom a:hover { color: var(--wood-light); }

/* ====================================================
   LIGHTBOX
   ==================================================== */
#lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(10,6,2,.93);
  z-index: 9999;
  align-items: center; justify-content: center; flex-direction: column;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 88vw; max-height: 78vh;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0,0,0,.65);
}
#lightbox-caption {
  color: var(--wood-light); margin-top: 1rem;
  font-size: .9rem; font-style: italic;
  text-align: center; max-width: 640px; padding: 0 1rem;
}
#lightbox-close {
  position: fixed; top: 1.2rem; right: 1.6rem;
  background: none; border: none; color: var(--wood-light);
  font-size: 2.2rem; cursor: pointer; line-height: 1;
  transition: color var(--tr);
}
#lightbox-close:hover { color: var(--white); }
.lb-btn {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(36,22,8,.55); border: 1px solid rgba(201,168,124,.3);
  color: var(--wood-light); font-size: 1.5rem;
  width: 50px; height: 50px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.lb-btn:hover { background: var(--wood-mid); color: var(--white); }
#lb-prev { left: 1.5rem; }
#lb-next { right: 1.5rem; }

/* ====================================================
   IMPRESSUM / DATENSCHUTZ OVERLAY
   ==================================================== */
.legal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10,6,2,.85);
  z-index: 8000; align-items: flex-start; justify-content: center;
  padding: 2rem 1rem; overflow-y: auto;
}
.legal-overlay.open { display: flex; }
.legal-box {
  background: var(--cream); color: var(--text);
  border-radius: var(--radius); padding: 2.5rem 3rem;
  max-width: 760px; width: 100%; position: relative;
  margin: auto;
}
.legal-box h2 { margin-bottom: 1.2rem; }
.legal-box h3 { margin: 1.4rem 0 .5rem; font-size: 1rem; }
.legal-box p, .legal-box ul { font-size: .9rem; line-height: 1.75; color: var(--text-light); }
.legal-box ul { padding-left: 1.2rem; list-style: disc; }
.legal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none; font-size: 1.8rem;
  cursor: pointer; color: var(--text-light); line-height: 1;
}
.legal-close:hover { color: var(--nussbaum); }

/* ====================================================
   SCROLL-TO-TOP
   ==================================================== */
#scroll-top {
  position: fixed; bottom: 1.8rem; right: 1.8rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--wood-mid); color: var(--white);
  border: none; cursor: pointer; font-size: 1.1rem;
  box-shadow: 0 4px 14px var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity var(--tr), background var(--tr);
  z-index: 500;
}
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: var(--wood-dark); }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ueber-grid { grid-template-columns: 1fr 1fr; }
  .prozess-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  #main-nav {
    display: none; position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--nussbaum);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
  }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: .3rem; }
  #main-nav a { display: block; padding: .6rem .8rem; }
  .hamburger { display: flex; }

  .ueber-grid { grid-template-columns: 1fr; }
  .prozess-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  #slideshow { height: 44vh; }
  .kontakt-card { padding: 2rem 1.5rem; }
  .legal-box { padding: 2rem 1.5rem; }
}
@media (max-width: 440px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
