/* ============================================================
   Tischlerei Eichengrün Bremen - Demo Stylesheet
   "Forst & Eiche" palette: forest green / warm oak / sandstone
   Self-contained - no inheritance from main studio-chop.de CSS
   ============================================================ */

/* ---- Variables -------------------------------------------------- */
:root {
  --green:        #2d5a27;
  --green-dark:   #1e3d1a;
  --green-light:  #3d7a35;
  --oak:          #8b6f47;
  --oak-light:    #a88860;
  --oak-dark:     #6d5536;
  --sand:         #f0ebe3;
  --sand-dark:    #e0d8cc;
  --cream:        #faf8f5;
  --text:         #232019;
  --text-light:   #6b6560;
  --muted:        #6b6560;
  --sage:         #7d9b6f;
  --amber:        #c4913b;
  --white:        #ffffff;
  --border:       #d4cec5;
  --shadow:       0 2px 12px rgba(35,32,25,.08);
  --shadow-lg:    0 8px 30px rgba(35,32,25,.12);
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    'SF Mono', Monaco, 'Cascadia Code', 'Consolas', monospace;
  --radius:       8px;
  --radius-lg:    12px;
  --max-width:    1200px;
  --nav-height:   64px;
}

/* ---- Reset minimal --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green); text-decoration: none; transition: color .15s; }
a:hover { color: var(--green-dark); }
ul { list-style: none; }

/* ---- Utility --------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-heading); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.section { padding: 4rem 0; }
.section--dark { background: var(--green-dark); color: var(--cream); }
.section--cream { background: var(--cream); }

.section__eyebrow {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: .5rem;
}
.section--dark .section__eyebrow { color: var(--sage); }
.section__title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .75rem;
  color: var(--text);
}
.section--dark .section__title { color: var(--cream); }
.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section--dark .section__subtitle { color: var(--sand); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  cursor: pointer; transition: all .2s; border: 2px solid transparent;
  text-align: center; line-height: 1.2; white-space: nowrap;
}
.btn--sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn--primary {
  background: var(--green); color: var(--white); border-color: var(--green);
}
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--outline {
  background: transparent; color: var(--green); border-color: var(--green);
}
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--outline-oak {
  background: transparent; color: var(--oak); border-color: var(--oak);
}
.btn--outline-oak:hover { background: var(--oak); color: var(--white); }
.btn--light {
  background: var(--white); color: var(--green); border-color: var(--white);
}
.btn--light:hover { background: var(--sand); }
.btn--amber {
  background: var(--amber); color: var(--white); border-color: var(--amber);
}
.btn--amber:hover { background: #b07d2e; color: var(--white); }
.btn--ghost {
  background: transparent; color: var(--cream); border-color: var(--cream);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--full { width: 100%; justify-content: center; }

/* ---- Demo Notice ----------------------------------------------- */
.demo-notice {
  position: relative; z-index: 2000;
  background: var(--green); color: var(--cream);
  padding: .5rem 1.25rem; font-size: .8125rem; text-align: center;
}
.demo-notice a { color: var(--sand); text-decoration: underline; }
.demo-notice a:hover { color: var(--white); }

/* ---- Navigation ------------------------------------------------ */
.nav-burger {
  display: none; width: 28px; height: 24px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
  border: 0; background: none; padding: 0; font: inherit; color: inherit;
}
.nav-burger span {
  display: block; height: 3px; background: var(--text);
  border-radius: 3px; transition: all .25s;
}

/* Mobile nav open: lock background scroll */
html.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--cream); border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center;
  height: var(--nav-height); gap: 2rem;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 700;
  color: var(--text); white-space: nowrap;
}
.nav__logo:hover { color: var(--green); }
.nav__links { display: flex; gap: .125rem; flex: 1; justify-content: flex-end; }
.nav__links a {
  padding: .5rem .75rem; font-size: .9rem; font-weight: 500;
  color: var(--text); border-radius: var(--radius);
  transition: all .15s; white-space: nowrap;
}
.nav__links a:hover { background: var(--sand); color: var(--green); }
.nav__links a.active {
  background: var(--green); color: var(--white);
}
.nav__links a.active:hover { background: var(--green-dark); }

/* ---- Hero ------------------------------------------------------ */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 40%, var(--oak-dark) 100%);
  color: var(--cream); padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--sage); margin-bottom: .75rem;
}
.hero__title {
  font-size: 3.25rem; font-weight: 700; line-height: 1.1;
  margin-bottom: 1rem; max-width: 800px;
}
.hero__text {
  font-size: 1.15rem; color: var(--sand);
  max-width: 600px; margin-bottom: 2rem; line-height: 1.7;
}
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---- Service Cards --------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow);
  border: 1px solid var(--border); transition: all .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card__icon {
  width: 48px; height: 48px; margin-bottom: 1rem;
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; color: var(--white);
}
.service-card h3 {
  font-size: 1.2rem; margin-bottom: .5rem; color: var(--text);
}
.service-card p { font-size: .925rem; color: var(--text-light); line-height: 1.6; }

/* ---- Product Strip (Homepage) ---------------------------------- */
.product-strip {
  display: flex; gap: 1.25rem; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: .5rem;
}
.product-strip::-webkit-scrollbar { height: 4px; }
.product-strip::-webkit-scrollbar-track { background: var(--sand-dark); border-radius: 4px; }
.product-strip::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
.product-strip__item {
  flex: 0 0 220px; scroll-snap-align: start;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow); transition: all .2s;
}
.product-strip__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.product-strip__img {
  height: 120px; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--muted);
}
.product-strip__body { padding: .75rem 1rem; }
.product-strip__name { font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.product-strip__dim { font-size: .8rem; color: var(--muted); margin-bottom: .25rem; }
.product-strip__price { font-size: .925rem; font-weight: 700; color: var(--green); }

/* ---- Normen Badge ---------------------------------------------- */
.normen-badge {
  display: inline-flex; gap: .75rem; flex-wrap: wrap;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 1rem 1.5rem; border-radius: var(--radius);
  font-size: .8125rem; color: var(--sand);
}
.normen-badge span { display: flex; align-items: center; gap: .375rem; }
.normen-badge span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage); flex-shrink: 0;
}

/* ---- Product Grid (produkte.php) ------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow); transition: all .2s;
  display: flex; flex-direction: column; cursor: pointer;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card__img {
  height: 140px; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--muted); position: relative;
}
.product-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card__category {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--oak); margin-bottom: .25rem;
}
.product-card__name { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.product-card__wood { font-size: .825rem; color: var(--text-light); font-style: italic; margin-bottom: .375rem; }
.product-card__dim {
  display: inline-block; font-size: .8rem; font-family: var(--font-mono);
  background: var(--sand); padding: .125rem .5rem; border-radius: 4px;
  margin-bottom: .5rem;
}
.product-card__norm {
  display: inline-block; font-size: .75rem; font-weight: 600;
  background: rgba(45,90,39,.1); color: var(--green);
  padding: .125rem .5rem; border-radius: 4px; margin-bottom: .75rem;
  align-self: flex-start;
}
.product-card__price { font-size: 1.15rem; font-weight: 700; color: var(--green); margin-bottom: .75rem; }
.product-card__price small { font-weight: 400; font-size: .8rem; color: var(--muted); }
.product-card__actions { margin-top: auto; }

/* ---- Filter Tabs ----------------------------------------------- */
.filter-tabs {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 2rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--border);
}
.filter-tab {
  padding: .5rem 1rem; font-size: .875rem; font-weight: 600;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all .15s;
  background: transparent; color: var(--text-light); font-family: var(--font-body);
}
.filter-tab:hover { color: var(--green); background: var(--sand); }
.filter-tab--active {
  background: var(--green); color: var(--white); border-color: var(--green);
}
.filter-tab--active:hover { background: var(--green-dark); color: var(--white); }

/* ---- Configurator (masskonfigurator.php) ----------------------- */
.configurator-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 2rem;
  align-items: start;
}
.configurator-panel {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.configurator-panel h2 {
  font-size: 1.5rem; margin-bottom: 1.5rem;
  padding-bottom: 1rem; border-bottom: 2px solid var(--border);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-weight: 600; font-size: .875rem;
  margin-bottom: .375rem; color: var(--text);
}
.form-group label small { font-weight: 400; color: var(--muted); }

.form-select, .form-input {
  width: 100%; padding: .625rem .75rem;
  font-family: var(--font-body); font-size: .925rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--cream); color: var(--text);
  transition: border-color .15s;
}
.form-select:focus, .form-input:focus {
  outline: none; border-color: var(--green);
}
.form-select { appearance: auto; }

.dimension-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem;
}
.dimension-field { text-align: center; }
.dimension-field label { font-size: .8rem; margin-bottom: .25rem; }
.dimension-field input[type="number"] {
  width: 100%; text-align: center; font-family: var(--font-mono);
  padding: .5rem; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--cream); font-size: .925rem;
}
.dimension-field input:focus { outline: none; border-color: var(--green); }

.range-slider {
  width: 100%; height: 6px; -webkit-appearance: none; appearance: none;
  background: var(--sand-dark); border-radius: 3px;
  outline: none; margin-top: .5rem;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); cursor: pointer;
  border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.range-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); cursor: pointer;
  border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.range-value {
  display: block; font-family: var(--font-mono);
  font-size: .8rem; color: var(--muted); margin-top: .25rem;
}

/* Type radio cards */
.type-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem;
}
.type-card {
  position: relative; padding: 1rem; text-align: center;
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  cursor: pointer; transition: all .15s; background: var(--cream);
}
.type-card:hover { border-color: var(--oak); }
.type-card--selected {
  border-color: var(--green); background: rgba(45,90,39,.05);
}
.type-card input[type="radio"] { position: absolute; opacity: 0; }
.type-card__icon {
  font-family: var(--font-heading); font-size: 1.75rem;
  font-weight: 700; color: var(--green); margin-bottom: .25rem;
}
.type-card__label { font-size: .875rem; font-weight: 600; }

/* Quick suggestion buttons */
.suggestion-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.suggestion-btn {
  padding: .375rem .875rem; font-size: .8rem; font-family: var(--font-mono);
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--cream); cursor: pointer; transition: all .15s;
  color: var(--text);
}
.suggestion-btn:hover { border-color: var(--green); color: var(--green); background: var(--white); }

/* Configurator Field Groups */
.field-group { display: none; }
.field-group--active { display: block; }

/* ------ Summary Panel (sticky sidebar) ------------------------- */
.summary-panel {
  position: sticky; top: calc(var(--nav-height) + 1rem);
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.summary-panel h3 {
  font-size: 1.1rem; margin-bottom: .25rem;
  padding-bottom: .75rem; border-bottom: 2px solid var(--border);
}
.summary-panel__note {
  font-size: .75rem; color: var(--muted); margin-bottom: .75rem;
}
.summary__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem 0; font-size: .875rem; border-bottom: 1px solid var(--sand-dark);
}
.summary__row:last-child { border-bottom: none; }
.summary__label { color: var(--muted); }
.summary__value { font-weight: 600; font-family: var(--font-mono); text-align: right; }
.summary__price {
  font-size: 1.75rem; font-weight: 700; color: var(--amber);
  text-align: right; line-height: 1.1;
}
.summary__price small { font-weight: 400; font-size: .7rem; color: var(--muted); display: block; }
.summary__norm {
  margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border);
}
.summary__norm-item {
  font-size: .75rem; color: var(--green); font-weight: 600;
  display: flex; align-items: center; gap: .375rem; margin-bottom: .25rem;
}
.summary__norm-item::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.summary__cta { margin-top: 1rem; }
.summary__disclaimer {
  font-size: .7rem; color: var(--muted); margin-top: .75rem;
  text-align: center; line-height: 1.4;
}

/* Inquiry mini-form */
.inquiry-form { margin-top: 2rem; }
.inquiry-form h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

/* ---- Norm Cards (normen.php) ----------------------------------- */
.norm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.norm-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: all .2s;
}
.norm-card:hover { box-shadow: var(--shadow-lg); }
.norm-card__number {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700; color: var(--green);
  margin-bottom: .25rem;
}
.norm-card__title {
  font-size: .925rem; font-weight: 600; margin-bottom: .5rem;
}
.norm-card__category {
  display: inline-block; font-size: .75rem; font-weight: 600;
  background: var(--sand); color: var(--oak-dark);
  padding: .125rem .5rem; border-radius: 4px; margin-bottom: .75rem;
}
.norm-card__desc { font-size: .875rem; color: var(--text-light); line-height: 1.6; margin-bottom: .75rem; }
.norm-card__tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.norm-card__tag {
  font-size: .75rem; background: rgba(45,90,39,.08);
  color: var(--green); padding: .125rem .5rem; border-radius: 4px;
}
.norm-card__ce {
  display: inline-block; font-size: .7rem; font-weight: 700;
  background: var(--oak); color: var(--white);
  padding: .125rem .5rem; border-radius: 4px; letter-spacing: .04em;
}

/* Norm search */
.norm-search {
  width: 100%; max-width: 400px; margin-bottom: 2rem;
  padding: .75rem 1rem; font-size: 1rem;
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  background: var(--white); transition: border-color .15s;
  font-family: var(--font-body);
}
.norm-search:focus { outline: none; border-color: var(--green); }

/* Norm explainer section */
.norm-explainer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.explain-card {
  text-align: center; padding: 2rem; background: var(--cream);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.explain-card__icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white);
}
.explain-card h3 { margin-bottom: .5rem; }
.explain-card p { font-size: .875rem; color: var(--text-light); }

/* ---- Gallery / References -------------------------------------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.gallery-item {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: all .2s; aspect-ratio: 4/3;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery-item__img {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: .8rem; color: var(--muted);
}
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 60%, rgba(35,32,25,.8));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; opacity: 0; transition: opacity .2s;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__title { font-size: .9rem; font-weight: 600; color: var(--white); }
.gallery-item__cat { font-size: .75rem; color: var(--sand); }
.gallery-item__norm {
  font-size: .7rem; color: var(--sage);
  background: rgba(0,0,0,.4); padding: .125rem .375rem;
  border-radius: 3px; align-self: flex-start; margin-top: .25rem;
}

/* Lightbox */
.lightbox {
  display: none; position: fixed; z-index: 9999; inset: 0;
  background: rgba(0,0,0,.9); justify-content: center;
  align-items: center; padding: 2rem;
}
.lightbox--open { display: flex; }
.lightbox__content { max-width: 800px; width: 100%; text-align: center; }
.lightbox__img {
  width: 100%; max-height: 70vh; border-radius: var(--radius-lg);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--muted); background-size: cover;
}
.lightbox__caption {
  color: var(--sand); margin-top: .75rem; font-size: .9rem;
}
.lightbox__counter {
  color: var(--muted); font-size: .8rem; margin-top: .25rem;
}
.lightbox__close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 2rem; color: var(--white); cursor: pointer;
  background: none; border: none; font-family: var(--font-body);
  line-height: 1; opacity: .7; transition: opacity .15s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 2rem; color: var(--white); cursor: pointer;
  background: none; border: none; padding: 1rem;
  font-family: var(--font-body); opacity: .5; transition: opacity .15s;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

/* ---- Team Cards ------------------------------------------------ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card { text-align: center; }
.team-card__avatar {
  width: 120px; height: 120px; margin: 0 auto 1rem;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 700; color: var(--white);
}
.team-card h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.team-card__role { font-size: .875rem; color: var(--oak); font-weight: 600; margin-bottom: .5rem; }
.team-card p { font-size: .875rem; color: var(--text-light); max-width: 300px; margin: 0 auto; }

/* ---- Machine Park ---------------------------------------------- */
.machine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.machine-item {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid var(--border);
  box-shadow: var(--shadow); text-align: center;
}
.machine-item__icon {
  width: 44px; height: 44px; margin: 0 auto .75rem;
  background: var(--sand); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--green);
}
.machine-item h4 { font-size: .925rem; margin-bottom: .25rem; }
.machine-item p { font-size: .8rem; color: var(--text-light); }

/* ---- Process Steps (leistungen.php) ---------------------------- */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%;
  height: 3px; background: var(--sand-dark); z-index: 0;
}
.step-card {
  text-align: center; position: relative; z-index: 1;
}
.step-card__number {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.35rem;
  font-weight: 700; color: var(--white);
}
.step-card h4 { font-size: 1rem; margin-bottom: .375rem; }
.step-card p { font-size: .825rem; color: var(--text-light); }

/* ---- Contact Form ---------------------------------------------- */
.contact-layout {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem;
  align-items: start;
}
.contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form textarea.form-input {
  min-height: 140px; resize: vertical;
}
.form-file {
  font-size: .875rem; color: var(--text-light);
  padding: .5rem 0;
}
.form-file input[type="file"] { font-size: .875rem; }

.contact-info {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.info-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.info-card h3 {
  font-size: 1rem; margin-bottom: .75rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--border);
}
.info-card p { font-size: .875rem; color: var(--text-light); margin-bottom: .25rem; }
.info-card a { font-weight: 500; }

.hours-table { width: 100%; font-size: .875rem; }
.hours-table td { padding: .25rem 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

.map-placeholder {
  background: var(--sand); border-radius: var(--radius);
  height: 160px; display: flex; align-items: center;
  justify-content: center; color: var(--muted); font-size: .875rem;
  margin-top: .75rem;
}

/* ---- Confirmation Overlay -------------------------------------- */
.confirm-overlay {
  display: none; position: fixed; z-index: 9999; inset: 0;
  background: rgba(0,0,0,.5); justify-content: center; align-items: center;
  padding: 2rem;
}
.confirm-overlay--open { display: flex; }
.confirm-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; max-width: 440px; width: 100%; text-align: center;
  box-shadow: var(--shadow-lg);
}
.confirm-box__icon {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: var(--white);
}
.confirm-box h3 { margin-bottom: .5rem; }
.confirm-box p { font-size: .875rem; color: var(--text-light); margin-bottom: 1.5rem; }

/* ---- Footer ---------------------------------------------------- */
.site-footer {
  background: var(--text); color: var(--sand);
  padding: 3rem 0 1.5rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer h4 {
  font-family: var(--font-heading); font-size: 1rem;
  margin-bottom: .75rem; color: var(--cream);
}
.site-footer p, .site-footer td { font-size: .85rem; color: var(--sand); }
.site-footer a { color: var(--sage); }
.site-footer a:hover { color: var(--cream); }
.footer__links li { margin-bottom: .35rem; }
.footer__links a { font-size: .85rem; }
.footer__note { margin-top: .5rem; font-size: .8rem; color: var(--muted); }
.footer__hours td { padding: .15rem 0; }
.footer__hours td:first-child { font-weight: 600; padding-right: 1.5rem; }
.footer__bottom {
  padding-top: 1.5rem; text-align: center;
  font-size: .8rem; color: var(--muted);
}
.demo-marker {
  font-weight: 700; color: var(--amber);
  text-transform: uppercase; font-size: .75rem;
  letter-spacing: .06em;
}

/* ---- Page Header ----------------------------------------------- */
.page-header {
  background: linear-gradient(135deg, var(--green) 0%, var(--oak-dark) 100%);
  color: var(--cream); padding: 3rem 0 2.5rem;
}
.page-header__eyebrow {
  font-family: var(--font-body); font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--sage); margin-bottom: .5rem;
}
.page-header h1 {
  font-size: 2.5rem; font-weight: 700; line-height: 1.15;
}
.page-header p {
  font-size: 1.05rem; color: var(--sand);
  margin-top: .75rem; max-width: 600px;
}

/* ---- Responsive ------------------------------------------------- */
@media (max-width: 900px) {
  .configurator-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }

  .service-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .norm-grid { grid-template-columns: 1fr; }
  .norm-explainer { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 2rem; }
  .machine-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .inquiry-grid { grid-template-columns: 1fr; }
  .type-cards { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero__title { font-size: 2rem; }
  .section__title { font-size: 1.75rem; }
  .page-header h1 { font-size: 1.75rem; }
  .section { padding: 2.5rem 0; }

  .service-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .machine-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .type-cards { grid-template-columns: 1fr; }
  .dimension-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }

  .nav-burger {
    display: flex; position: fixed; top: 2rem; right: 1rem; z-index: 2001;
    width: 28px; height: 24px; cursor: pointer;
    flex-direction: column; justify-content: space-between;
  }
  .nav-burger span {
    display: block; height: 3px; background: var(--green-dark);
    border-radius: 3px; transition: all .25s;
  }
  .nav__links {
    position: fixed; top: 0; right: -100%; width: 280px;
    max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--cream); flex-direction: column;
    padding: 5rem 1.5rem 2rem; gap: .25rem;
    box-shadow: -4px 0 20px rgba(0,0,0,.1);
    z-index: 2000;
    transition: right .3s ease;
  }
  .nav__links a { font-size: 1rem; padding: .75rem 1rem; }
  .nav__links--open,
  html.nav-open .nav__links { right: 0; }
  html.nav-open .nav-burger span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); background: var(--green-dark); }
  html.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  html.nav-open .nav-burger span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); background: var(--green-dark); }

  .lightbox__nav { font-size: 1.5rem; }
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: .5rem; }
}

/* ---- Fade Transition for Product Filter ------------------------ */
.fade-enter {
  animation: fadeIn .25s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
