/* Die Werkstatt Münster – Design tokens reconstructed from the OceanWP/Elementor site (2020-2024) */
:root {
  --cream: #f7edc3;
  --zimt: #915b06;
  --akzent: #ab7724;
  --link: #784702;
  --hover: #dd9933;
  --footer-hover: #ddc299;
  --beige: #e2b793;
  --gold: #f3c659;
  --gelb: #fbc121;
  --grau: #54595f;
  --white: #ffffff;
  --font: "Ubuntu", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--zimt);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--akzent); }
h1, h2, h3 { font-family: var(--font); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-weight: 700; color: var(--akzent); font-size: 32px; }
h2 { font-weight: 700; color: var(--zimt); font-size: 20px; }
h3 { font-weight: 700; color: var(--zimt); font-size: 18px; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--zimt); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- top bar */
.topbar { background: var(--akzent); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 0 8px; }
.topbar__inner { text-align: right; }
.topbar a { color: #fff; }

/* ---------- header */
.header { background: var(--white); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 110px; position: relative; }
.logo img { max-height: 70px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.nav a { display: block; padding: 0 26px; line-height: 110px; font-size: 15px; letter-spacing: .6px; color: #555; }
.nav li:last-child a { padding-right: 0; }
.nav a:hover, .nav .is-active a { color: var(--hover); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--zimt); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- sections and split layouts */
.section { padding: 60px 0; }
.section--tight { padding: 10px 0 40px; }
.section--white { background: var(--white); padding: 70px 0; }
.split { display: grid; gap: 40px; align-items: center; }
.split--60-40 { grid-template-columns: 60fr 40fr; }
.split--40-60 { grid-template-columns: 40fr 60fr; }
.split--66-33 { grid-template-columns: 66fr 33fr; }
.split--64-36 { grid-template-columns: 64fr 36fr; }
.split__text--top { align-self: start; padding-top: 30px; }
.split__text p { padding-right: 10%; }
.split__img--bleed { margin-left: -68px; }
.split__figure { margin: 0; }
.split__figure figcaption { font-size: 13px; text-align: center; color: var(--zimt); opacity: .8; margin-top: 8px; }
.hero-home { min-height: 500px; padding: 30px 0; }
.hero-home .split__text { padding-top: 120px; }
.hero-home--second .split__text { padding-top: 0; }
.hero-home--second .split__img { padding-left: 10%; }

/* ---------- intro text and tiles (Startseite, Kontakt) */
.intro { padding: 30px 0 20px; }
.intro__inner { max-width: 760px; }
.intro h2 { font-size: 20px; }
.intro p { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 30px; }
.tile { display: block; background: var(--white); padding: 28px 28px 24px; border-top: 3px solid var(--beige); color: var(--zimt); transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--akzent); color: var(--zimt); transform: translateY(-2px); }
.tile h3 { font-size: 17px; margin-bottom: 8px; }
.tile p { margin: 0 0 12px; }
.tile__more { color: var(--akzent); font-weight: 500; }
.tile__more::after { content: " ›"; }

/* ---------- buttons */
.btn {
  display: inline-block; background: var(--beige); color: #fff; font-size: 15px; font-weight: 500;
  padding: 12px 24px; border-radius: 3px; line-height: 1; transition: background .2s;
}
.btn:hover { background: var(--akzent); color: #fff; }
.btn--gold { background: var(--gold); }
.btn--gold:hover { background: var(--gelb); }

/* ---------- icon boxes */
.iconboxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.iconbox__icon { display: inline-block; width: 44px; height: 44px; margin-bottom: 16px; }
.iconbox__icon svg { width: 44px; height: 44px; fill: var(--zimt); }
.iconbox h3 { font-size: 18px; margin-bottom: 14px; }
.iconbox p { margin: 0; }

/* ---------- hero with photo background */
.hero {
  position: relative; background-color: #522f05; background-size: cover; background-position: center;
  padding: 170px 0; color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(104, 61, 13, .7); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.hero__text h2 { color: #fff; font-size: 22px; }
.hero__text p { padding-right: 10%; }
.divider { display: block; width: 12%; height: 3px; background: var(--gelb); margin: 18px 0 30px; }

/* ---------- carousel */
.carousel { position: relative; }
.carousel__track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; justify-content: center; }
.carousel__slide img { width: auto; max-width: 100%; max-height: 82vh; object-fit: contain; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55);
  color: var(--zimt); font-size: 34px; line-height: 1; cursor: pointer; transition: background .2s;
}
.carousel__btn:hover { background: rgba(255, 255, 255, .9); }
.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.carousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--beige); cursor: pointer; }
.carousel__dots button[aria-current="true"] { background: var(--zimt); }

/* ---------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery__item { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #e9dcb0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery__item:hover img { transform: scale(1.04); }

/* ---------- lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20, 12, 2, .92); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox__close { position: absolute; top: 12px; right: 18px; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; }

/* ---------- contact and prose pages */
.contact h1 { color: var(--grau); font-size: 24px; line-height: 3em; margin: 0; }
.contact p { color: var(--grau); line-height: 1.6; }
.contact a { color: var(--grau); }
.contact a:hover { color: var(--akzent); }
.prose { max-width: 860px; }
.prose h1 { margin-bottom: 1.2em; }
.prose h2 { margin-top: 1.8em; }

/* ---------- footer */
.footer { background: var(--zimt); color: #fff; font-size: 12px; padding: 16px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer p { margin: 0; }
.footer__menu { list-style: none; margin: 0; padding: 0; display: flex; }
.footer__menu li + li::before { content: "|"; margin: 0 8px; opacity: .8; }
.footer a { color: #fff; }
.footer a:hover { color: var(--footer-hover); }
.totop {
  position: fixed; right: 20px; bottom: 20px; width: 40px; height: 40px; border: 0; border-radius: 2px;
  background: var(--akzent); color: #fff; font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.totop.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- responsive */
@media (max-width: 1023px) {
  .split__text p { padding-right: 0; }
  .hero-home .split__text { padding-top: 40px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 100px 0; }
}
@media (max-width: 767px) {
  .header__inner { height: 80px; }
  .logo img { max-height: 46px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); z-index: 50; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { line-height: 52px; padding: 0 20px; border-top: 1px solid #f0e6c8; }
  .split, .split--60-40, .split--40-60, .split--66-33, .split--64-36 { grid-template-columns: 1fr; gap: 24px; }
  .split--text-first .split__text { order: -1; }
  .split__img--bleed { margin-left: 0; }
  .hero-home { min-height: 0; padding: 20px 0; }
  .hero-home .split__text, .hero-home--second .split__img { padding: 0; }
  .section { padding: 40px 0; }
  .iconboxes { grid-template-columns: 1fr; gap: 36px; }
  .tiles { grid-template-columns: 1fr; gap: 14px; }
  .hero { padding: 70px 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__grid > div:first-child { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .carousel__slide img { max-height: 70vh; }
  .footer__inner { flex-direction: column; text-align: center; }
  .topbar { font-size: 11px; }
  .topbar__inner { text-align: center; }
}
