/* WLM Group preview. Independently implemented from the measured reference layout. */
@font-face {
  font-family: "Source Sans Pro";
  src: url("/kw-assets/source-sans-pro-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy: #173f67;
  --purple: #7e6cac;
  --purple-dark: #64518d;
  --purple-light: #d2c5eb;
  --purple-soft: #f0edf7;
  --dark: #142b37;
  --soft: #f4f5f5;
  --white: #fff;
  --muted: #58646a;
  --logo-step: 275px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}
h1, h2, h3 {
  margin: 60px 0 20px;
  color: var(--navy);
  font-size: 30.4px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
p { margin: 1em 0; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--purple-dark); text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, [role="button"] { cursor: pointer; }
button { color: inherit; }
img, video { border: 0; max-width: 100%; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 3000;
  padding: 10px 20px;
  color: var(--white);
  background: var(--navy);
}
.skip-link:focus { top: 10px; }
.container { width: 1300px; max-width: 100%; margin-inline: auto; }
.site-main { padding-top: 90px; }

/* The fixed, white masthead follows the reference's 90 px rhythm. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 90px;
  width: 100%;
  background: var(--white);
}
.header-inner { position: relative; width: 100%; height: 100%; }
.brand {
  position: absolute;
  top: 10px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 70px;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 160px;
  aspect-ratio: 1433 / 597;
  overflow: hidden;
}
.brand-mark img {
  position: absolute;
  left: -11.096%;
  top: -86.767%;
  display: block;
  width: 115.422%;
  height: auto;
  max-width: none;
}
.brand-claim {
  display: block;
  white-space: nowrap;
  color: var(--purple-dark);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .015em;
  text-transform: uppercase;
}
#main-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: stretch;
  height: 90px;
  font-size: 18.4px;
  line-height: 90px;
  text-align: left;
}
#main-nav > a, .nav-disclosure {
  display: block;
  margin: 0 20px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  line-height: 90px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s ease-out;
}
#main-nav > a:hover, .nav-disclosure:hover, #main-nav .active, #main-nav > a[aria-current="page"] { color: var(--purple-dark); }
#main-nav > a[aria-current="page"] { box-shadow: inset 0 -2px var(--purple); }
.nav-item { position: relative; }
.nav-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  vertical-align: 3px;
  transform: rotate(45deg);
}
.nav-panel {
  position: absolute;
  top: 90px;
  left: 0;
  display: none;
  width: 210%;
  min-width: 190px;
  border-top: 2px solid var(--purple);
  background: var(--soft);
  box-shadow: 0 3px 5px rgb(0 0 0 / .35);
  text-align: left;
  hyphens: auto;
}
.nav-panel.is-open { display: block; }
.nav-panel a {
  display: block;
  padding: 10px 20px;
  border-bottom: 1px solid var(--white);
  color: var(--navy);
  font-size: 18.24px;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
}
.nav-panel a:last-child { border-bottom: 0; }
.nav-panel a:hover, .nav-panel a:focus-visible { color: var(--white); background: var(--purple-dark); }
.menu-toggle { display: none; }

/* Video first, then photographs, with an 800 ms crossfade. */
#hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 90px);
  min-height: 200px;
  overflow: hidden;
  background: var(--dark);
  touch-action: pan-y;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms ease;
}
.hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-video, .hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero-image.media-kueche-essplatz, .subhero img.media-kueche-essplatz { object-position: 60% 60%; }
.hero-image.media-modern, .subhero img.media-modern { object-position: 50% 55%; }
.hero-image.media-wohnen, .subhero img.media-wohnen { object-position: 65% 58%; }
.hero-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  margin: 0;
  color: var(--white);
  font-size: 9.6px;
  line-height: 1;
  text-align: right;
}
.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 5;
  display: flex;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
#hero-slider:hover .slider-controls, #hero-slider:focus-within .slider-controls {
  opacity: 1;
  pointer-events: auto;
}
.slider-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--white);
  border-radius: 0;
  background: var(--purple);
  color: var(--white);
}
.slider-controls button:hover { background: var(--purple-dark); }
.slider-controls button:focus-visible { outline-color: var(--purple-light); }
.slider-controls svg { width: 20px; height: 20px; }
.home-title { margin: 60px 0 20px; font-size: 30.4px; font-weight: 400; text-transform: uppercase; }

/* The full-width kitchen grid is deliberately outside the text container. */
.category-grid { display: grid; gap: 25px; width: 100%; margin-top: 60px; }
.category-grid.home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-grid.sub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-card, .consultation-picture {
  display: block;
  position: relative;
  min-width: 0;
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}
.category-card:hover, .consultation-picture:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgb(0 0 0 / .35);
  text-decoration: none;
}
.category-card img, .consultation-picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}
.category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  padding: 15px 0;
  background: var(--navy);
  color: var(--white);
  box-shadow: inset 0 3px var(--purple);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  text-align: center;
}
.category-label h2, .category-label h3 {
  margin: 0;
  padding: 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  text-transform: none;
}
.consultation-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
  margin-top: 60px;
}
.consultation-copy h2 { margin-top: 60px; }
.consultation-copy p { margin: 1em 0; }
.consultation-picture img { aspect-ratio: auto; object-fit: contain; }
.consultation-picture .category-label { position: static; padding: 15px 18px; }
.text-grid.showroom-services { text-align: left; gap: 40px 50px; }
.showroom-services h2 { text-align: left; }
.showroom-contact { padding-bottom: 50px; }

.news-section { margin-top: 60px; padding: 60px 0; background: var(--soft); }
.news-heading { margin: 0 0 50px; }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; text-align: left; }
.news-card { min-width: 0; }
.news-card > a:first-child, .news-image { display: block; position: relative; }
.news-card img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; }
.news-card h3 { margin: 20px 0; font-size: 30.4px; font-weight: 400; text-align: left; overflow-wrap: anywhere; }
.news-card p { margin: 1em 0; }
.news-card .news-icon { position: absolute; top: 3px; right: 3px; width: 30px; height: 30px; }
.news-actions { margin-top: 60px; text-align: center; }
.btn, .group-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  max-width: 100%;
  padding: 12px 24px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color .2s ease-out;
}
.btn:hover, .group-primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: var(--white); text-decoration: none; }
.btn--secondary { background: var(--white); color: var(--navy); }
.btn--secondary:hover { background: var(--purple-soft); border-color: var(--navy); color: var(--navy); }
.btn:focus-visible, .group-primary:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 24px 0; }
.cta-row--center { justify-content: center; }
.text-cta { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.brand-section { margin-top: 60px; }
.wlm-partners { padding: 35px 0; border-top: 1px solid var(--purple); }
.wlm-partners h2 { margin-top: 0; }
.brand-viewport { width: 100%; max-width: 1300px; margin-inline: auto; overflow: hidden; }
.brand-track {
  display: flex;
  align-items: center;
  gap: 75px;
  width: max-content;
  animation:
    brand-position calc(var(--logo-count, 20) * 4.5s) steps(var(--logo-count, 20), end) infinite,
    brand-shift 4.5s ease-in-out infinite;
}
.brand-track > a, .brand-track > span { display: block; flex: 0 0 200px; }
.brand-track img { display: block; width: 200px; height: 100px; max-width: none; object-fit: contain; opacity: .3; }
.brand-viewport:hover .brand-track, .brand-viewport:focus-within .brand-track { animation-play-state: paused; }
@keyframes brand-position {
  from { translate: 0 0; }
  to { translate: calc(-1 * var(--logo-count, 20) * var(--logo-step)) 0; }
}
@keyframes brand-shift {
  0%, 66.666666% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--logo-step))); }
}

.site-footer { margin-top: 60px; padding: 60px 0; border-top: 3px solid var(--purple); background: var(--purple-soft); color: var(--navy); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; text-align: center; }
.site-footer h2, .site-footer h3 { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 400; text-transform: none; }
.site-footer a { color: var(--navy); }
.site-footer a:hover { color: var(--purple-dark); }
.footer-links a { display: block; }
.footer-legal { margin: 30px 0 0; }
.footer-legal a { display: inline; }
.footer-social { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 20px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; }
.footer-social svg { width: 26px; height: 26px; }
.preview-note { margin-top: 32px; font-size: 14px; line-height: 1.5; }
.group-badge {
  position: fixed;
  bottom: clamp(16px, 4vw, 40px);
  right: clamp(16px, 4vw, 40px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(20vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: clamp(10px, 2vw, 18px);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.group-badge:hover { background: var(--purple-dark); color: var(--white); text-decoration: none; }
.group-badge b { display: block; font-size: clamp(24px, 6.4vw, 64px); line-height: 1.1; font-weight: 400; }
.group-badge strong { font-weight: 400; }
.privacy-trigger {
  position: fixed;
  left: 40px;
  bottom: 40px;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
}
.privacy-trigger svg { width: 32px; height: 32px; }
.privacy-trigger:hover { background: var(--purple-dark); }

/* Static interior pages retain the same image-first proportions. */
.subhero img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 800; object-fit: cover; }
.content-intro h1, .text-section h1, .text-section h2, .text-section h3 { margin-top: 60px; margin-bottom: 20px; }
.content-intro p, .text-section p { margin: 1em 0; }
.text-section ul { text-align: left; padding-left: 30px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; width: 100%; margin-top: 60px; }
.photo-link { display: block; position: relative; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.photo-link img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; }

/* Reference photographs keep their full proportions, including portraits. */
.references-preview, .reference-section { margin-top: 60px; }
.references-preview > h2, .reference-section > h2 { margin-top: 0; }
.references-preview > p { max-width: 900px; margin: 20px auto; }
.references-teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 35px; }
.reference-teaser { display: block; min-width: 0; color: var(--navy); text-align: left; }
.reference-teaser img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.reference-teaser h3, .reference-card h3 { margin: 0; color: var(--navy); font-size: 20px; font-weight: 400; line-height: 1.4; text-align: left; text-transform: none; overflow-wrap: anywhere; }
.reference-teaser h3, .reference-card figcaption { padding: 16px 20px; border-top: 3px solid var(--purple); }
.reference-teaser:hover { text-decoration: none; }
.reference-teaser:hover h3 { color: var(--purple-dark); }
.reference-jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 30px; margin: 30px auto 60px; }
.reference-jump-links a { padding: 5px 0; border-bottom: 2px solid var(--purple); }
.reference-jump-links a:hover { color: var(--purple-dark); text-decoration: none; }
.reference-gallery { columns: 2; column-gap: 25px; margin-top: 35px; }
.reference-card { display: inline-block; width: 100%; margin: 0 0 25px; break-inside: avoid; vertical-align: top; text-align: left; }
.reference-card .photo-link img { width: 100%; height: auto; aspect-ratio: var(--image-ratio); object-fit: contain; }

/* Room categories and inspiration galleries use the existing WLM Group palette. */
.room-overview { margin-top: 60px; margin-bottom: 60px; }
.section-heading h2 { margin: 15px 0 20px; }
.section-heading p { max-width: 850px; margin: 20px auto; }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 35px; }
.room-grid--styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.room-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); color: var(--dark); text-align: left; box-shadow: 0 1px 5px rgb(20 43 55 / .08); transition: box-shadow .2s ease; }
.room-card-image { display: block; overflow: hidden; background: var(--soft); }
.room-card-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.room-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 22px 24px; border-top: 3px solid var(--purple); }
.room-card-copy h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.3; text-align: left; text-transform: none; overflow-wrap: anywhere; }
.room-card-copy p { margin: 0 0 20px; color: var(--dark); }
.room-card-copy span { display: inline-block; margin-top: auto; padding-bottom: 3px; border-bottom: 2px solid var(--purple); color: var(--purple-dark); }
.room-card:hover { text-decoration: none; box-shadow: 0 5px 16px rgb(20 43 55 / .14); }
.room-card:hover h3 { color: var(--purple-dark); }
.gallery-section { margin-top: 60px; margin-bottom: 60px; }
.gallery-section > h2 { margin-top: 0; text-align: left; }
.gallery-section > p { max-width: 850px; text-align: left; }
.room-gallery { columns: 2; column-gap: 25px; margin-top: 35px; }
.inspiration-card { display: inline-block; width: 100%; margin: 0 0 25px; break-inside: avoid; vertical-align: top; text-align: left; }
.inspiration-card .photo-link img, .room-feature-media .photo-link img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: var(--image-ratio); object-fit: contain; }
.inspiration-card figcaption, .room-feature-media figcaption { padding: 16px 20px; border-top: 3px solid var(--purple); text-align: left; }
.inspiration-card figcaption h3, .room-feature-media figcaption h3 { margin: 0; color: var(--navy); font-size: 20px; font-weight: 400; line-height: 1.4; text-align: left; text-transform: none; overflow-wrap: anywhere; }
.inspiration-card figcaption p, .room-feature-media figcaption p { margin: 8px 0 0; }
.room-feature-media { display: block; width: 100%; margin: 35px 0; }
.room-feature-media.is-portrait { max-width: 560px; margin-inline: auto; }
.room-feature-media figcaption > p { margin: 0; color: var(--navy); font-size: 20px; line-height: 1.4; }
.room-feature-media > img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: var(--image-ratio); object-fit: contain; }
.room-jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 30px; margin: 30px auto 60px; }
.room-jump-links a { padding: 5px 0; border-bottom: 2px solid var(--purple); }
.room-jump-links a:hover { color: var(--purple-dark); text-decoration: none; }
.room-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 45px; margin-bottom: 60px; text-align: left; }
.room-benefits h2, .room-benefits h3 { margin: 0 0 15px; font-size: 22px; line-height: 1.3; text-align: left; text-transform: none; }
.room-benefits p { margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 60px; }
.team-card img { display: block; width: 100%; height: 400px; object-fit: contain; background: var(--soft); }
.team-caption { padding: 15px; background: var(--navy); color: var(--white); }
.team-caption h2, .team-caption h3 { margin: 0; color: var(--white); font-size: 16px; font-weight: 400; line-height: 1.6; text-transform: none; }
.team-caption p { margin: 0; }
.team-caption a { color: var(--white); }
.text-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; margin-top: 60px; margin-bottom: 60px; }
.text-grid h2, .text-grid h3 { margin-top: 0; }
.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 45px; margin-bottom: 70px; }
.group-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e3e7ed; border-radius: 14px; background: var(--white); box-shadow: 0 5px 22px #173f6709; transition: box-shadow .2s ease, transform .2s ease; }
.group-visual { position: relative; display: block; flex: none; aspect-ratio: 2 / 1; overflow: hidden; background: var(--soft); }
.group-preview-image { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--image-scale, 1)); transition: transform .35s ease; }
.group-visual--sports { --image-scale: 1.15; --image-hover-scale: 1.18; }
.group-visual--split .group-preview-image { width: 54%; object-position: 50% 18%; }
.group-visual--founder .group-preview-image { object-position: 50% 40%; }
.group-preview-brand { position: absolute; inset: 0 0 0 54%; display: flex; align-items: center; justify-content: center; padding: 24px; background: #f7f6fa; }
.group-preview-brand img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.group-visual--nextgen .group-preview-brand { background: #050e20; }
.group-visual--founder .group-preview-brand img { mix-blend-mode: multiply; }
.group-visual:focus-visible { outline: 4px solid var(--purple-light); outline-offset: -4px; }
.team-caption a:focus-visible { outline-color: var(--purple-light); }
.group-copy { display: flex; flex: 1; flex-direction: column; padding: 30px; text-align: left; }
.group-copy .group-eyebrow { margin: 0 0 10px; color: var(--purple-dark); font-size: 13px; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; }
.group-copy h2 { margin: 0 0 14px; text-align: left; text-transform: none; font-size: clamp(25px, 2.3vw, 31px); line-height: 1.2; }
.group-copy .group-summary { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.group-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: auto; padding-top: 25px; }
.group-primary { width: fit-content; }
.group-actions--paired > a { width: 100%; }
.group-secondary { padding: 11px 23px; border-width: 2px; background: var(--purple-soft); }
.group-claim { color: var(--purple-dark); font-size: 24px; }
.group-section-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-top: 28px; }
.group-section-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 2px solid var(--purple-light); font-weight: 600; }
.group-section-links a:hover { border-color: var(--purple-dark); text-decoration: none; }
.group-page .group-badge { display: none; }
@media (min-width: 601px) {
  .group-grid > .group-card:nth-child(-n+2) .group-actions { display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(50px, auto); align-items: start; }
}
@media (min-width: 601px) and (max-width: 720px) {
  .group-grid > .group-card:nth-child(-n+2) .group-actions { grid-template-rows: auto minmax(74px, auto); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .group-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #173f6714; }
  .group-visual:hover .group-preview-image { transform: scale(var(--image-hover-scale, 1.025)); }
  .group-visual--split:hover .group-preview-image { transform: none; }
}
.service-breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; font-size: 14px; }
.service-eyebrow { font-size: 16px; color: var(--purple-dark); letter-spacing: .04em; }
.service-intro { margin-top: 45px; }
.service-intro h1 { margin-top: 15px; }
.service-intro > p:last-child { max-width: 900px; margin: 20px auto; }
.service-details { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; gap: 35px; }
.service-details h2 { text-align: left; }
.service-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: 30px; align-items: center; margin-top: 60px; margin-bottom: 60px; padding: 35px; background: var(--soft); border-left: 4px solid var(--purple); text-align: left; }
.service-contact h2, .wl-profile h2 { margin-top: 0; text-align: left; }
.service-contact p:last-child { margin-bottom: 0; }
.service-actions { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 12px; }
.service-actions .btn { width: 100%; }
.service-actions > a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.service-related { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 30px; margin-top: 35px; }
.wl-profile { display: grid; grid-template-columns: minmax(220px, .6fr) 1fr; align-items: center; gap: 45px; margin-top: 60px; text-align: left; background: var(--soft); }
.wl-profile-photo { display: block; width: 100%; height: 350px; object-fit: contain; }
.wl-profile > div { padding: 25px; overflow-wrap: anywhere; }
.partner-directory { text-align: left; }
.partner-directory h3 { text-align: left; }
.partner-logo { width: 100%; max-width: 480px; margin: 20px 0 24px; padding: 20px; border-radius: 8px; background: var(--navy); }
.partner-logo img { display: block; width: 100%; height: auto; object-fit: contain; }
.partner-section { margin-top: 60px; margin-bottom: 70px; }
.partner-heading { margin-bottom: 30px; }
.partner-heading .service-eyebrow { margin: 0 0 10px; }
.partner-heading h2 { margin: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.partner-card { min-width: 0; overflow: hidden; border: 1px solid #e3e7ed; border-radius: 12px; background: var(--white); box-shadow: 0 4px 18px #173f6708; }
.partner-card-link { display: flex; flex-direction: column; height: 100%; color: var(--navy); }
.partner-card-link:hover { color: var(--navy); text-decoration: none; }
.partner-card-link:focus-visible { outline-offset: -4px; }
.partner-preview { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); border-bottom: 1px solid #e9edf1; }
.partner-preview-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.partner-preview--contain { background: #fff; }
.partner-preview--contain .partner-preview-image { object-fit: contain; }
.partner-preview--wood .partner-preview-image { object-position: 50% 55%; }
.partner-copy { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 22px; text-align: left; }
.partner-copy h3 { margin: 0 0 10px; color: var(--navy); font-size: 22px; font-weight: 600; line-height: 1.25; text-align: left; text-transform: none; }
.partner-copy p { margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.partner-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: auto; padding: 10px 14px; border: 1px solid #d6deea; border-radius: 6px; background: #f4f6fa; color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.4; }
.partner-arrow { flex: 0 0 18px; width: 18px; height: 18px; }
.partner-card-link:hover .partner-cta { border-color: var(--navy); background: var(--purple-soft); }
@media (max-width: 999px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .partner-section { margin-top: 45px; margin-bottom: 50px; }
  .partner-grid { grid-template-columns: 1fr; gap: 24px; }
  .partner-preview { aspect-ratio: 16 / 9; }
  .partner-copy { padding: 22px; }
}
.request-topic-label { display: block; margin: 20px 0 8px; }
.request-form { margin-top: 30px; text-align: left; }
.request-form input:not([type="checkbox"]), .request-form textarea, .request-form select {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 20px;
  border: 1px solid var(--white);
  border-radius: 0;
  background: var(--white);
  color: var(--dark);
  box-shadow: 3px 3px 3px rgb(102 102 102 / .35);
  font: inherit;
  line-height: 1.6;
}
.request-form input:hover, .request-form textarea:hover, .request-form select:hover { border-color: var(--purple); }
.request-form textarea { min-height: 180px; resize: vertical; }
.request-form select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23173f67' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.request-form input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; padding: 0; box-shadow: none; accent-color: var(--purple); }
.request-form label:has(input[type="checkbox"]), .consent-label { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; text-align: left; }
.request-form .btn { display: flex; width: 100%; box-shadow: none; }
.demo-notice { margin: 30px 0; padding: 20px; border-left: 4px solid var(--purple); background: var(--soft); text-align: left; }
.demo-notice p { margin: 0; }
.form-result, #form-result { margin-top: 20px; padding: 20px; border-left: 4px solid var(--purple); background: var(--soft); color: var(--dark); text-align: left; }
#reset-demo { margin-top: 20px; }
.map-panel { display: flex; align-items: center; justify-content: center; width: 100%; height: 600px; margin: 60px 0; background: var(--soft); }
.map-card { max-width: calc(100% - 40px); padding: 35px; background: var(--white); }
.map-card h2, .map-card h3 { margin-top: 0; }
.article-body { text-align: left; }
.article-body h1, .article-body h2, .article-body h3 { text-align: left; }
.detail-image { display: block; width: 100%; height: auto; }
.source-note { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Native dialogs only appear when opened by the user. */
dialog { border: 0; border-radius: 0; background: var(--white); color: var(--dark); }
dialog:not([open]) { display: none; }
dialog::backdrop { background: rgb(0 0 0 / .68); }
.image-dialog, #image-dialog {
  width: min(1200px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  padding: 24px;
  overflow: auto;
}
#image-dialog img, .image-dialog img { display: block; max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; margin: 20px auto 0; object-fit: contain; }
#lightbox-caption { margin: 16px 0 0; }
#privacy-dialog { width: min(680px, calc(100vw - 48px)); max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); padding: 24px; overflow: auto; text-align: left; }
#privacy-dialog h2 { margin-top: 24px; text-align: left; }
.dialog-close { position: absolute; top: 4px; right: 6px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: var(--white); color: var(--dark); font-size: 32px; line-height: 1; }
.dialog-close:hover { color: var(--purple-dark); }

@media (max-width: 1300px) {
  .container { width: 90%; max-width: none; margin-left: 5%; margin-right: 5%; }
}

@media (max-width: 1280px) {
  .menu-toggle {
    position: absolute;
    top: 0;
    right: 5%;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 90px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navy);
  }
  .menu-toggle span { display: block; width: 28px; height: 3px; background: currentColor; }
  .menu-toggle svg { width: 28px; height: 28px; }
  .menu-toggle:hover { color: var(--purple-dark); }
  #main-nav {
    position: fixed;
    top: 0;
    right: auto;
    left: 0;
    z-index: 1100;
    display: block;
    width: 80%;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    background: rgb(255 255 255 / .98);
    box-shadow: 0 3px 5px rgb(0 0 0 / .35);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-105%);
    transition: transform .2s ease, visibility 0s linear .2s;
    line-height: 1.6;
  }
  #main-nav.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
  #main-nav > a, .nav-disclosure { width: 100%; margin: 0; padding: 15px 6%; border-bottom: 1px solid var(--navy); line-height: 1.6; text-align: left; }
  #main-nav > a:last-child { border-bottom: 0; }
  .nav-item { width: 100%; }
  .nav-panel { position: static; width: 100%; min-width: 0; box-shadow: none; }
  .nav-panel a { padding: 15px 6%; line-height: 1.6; }
  .category-grid.home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 999px) {
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-benefits { grid-template-columns: 1fr; }
  .service-details { grid-template-columns: 1fr; gap: 30px; }
  .service-contact { grid-template-columns: 1fr; }
  :root { --logo-step: 170px; }
  .brand-track { gap: 20px; }
  .brand-track > a, .brand-track > span { flex-basis: 150px; }
  .brand-track img { width: 150px; }
}

@media (max-width: 600px) {
  .privacy-trigger { position: static; margin: 16px 5%; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .cta-row .text-cta { justify-content: center; }
  .service-contact { padding: 25px 20px; }
  .service-actions, .service-actions .btn { width: 100%; }
  .wl-profile { grid-template-columns: 1fr; gap: 0; }
  .wl-profile-photo { height: 300px; }
  .group-grid { gap: 25px; margin-top: 30px; }
  .group-copy { padding: 23px; }
  .group-copy h2 { font-size: 26px; }
  .group-copy .group-summary { font-size: 17px; }
  .group-preview-brand { padding: 14px; }
  .group-primary { width: 100%; }
  html { scroll-padding-top: 20px; }
  h1, h2, h3, .home-title, .news-card h3 { font-size: 21.6px; line-height: 1.2; }
  .site-header { position: relative; }
  .site-main { padding-top: 0; }
  .brand {
    top: 5px;
    left: 5%;
    max-width: calc(90% - 56px);
    height: 80px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
  }
  .brand-mark { width: 136px; }
  .brand-claim { display: block; font-size: clamp(14px, 3.3vw, 17px); line-height: 1.15; letter-spacing: 0; }
  #hero-slider { height: 60vh; }
  .hero-image.media-kueche-essplatz, .subhero img.media-kueche-essplatz { object-position: 65% 60%; }
  .hero-image.media-wohnen, .subhero img.media-wohnen { object-position: 55% 60%; }
  .category-grid.home-grid, .category-grid.sub-grid,
  .photo-grid, .team-grid, .text-grid, .group-grid,
  .consultation-block, .references-teaser-grid, .room-grid { grid-template-columns: minmax(0, 1fr); }
  .reference-gallery, .room-gallery { columns: 1; }
  .category-card .category-label { position: static; }
  .consultation-picture .category-label { position: static; }
  .category-label h2, .category-label h3 { font-size: 16px; line-height: 25.6px; }
  .team-caption h2, .team-caption h3, .site-footer h2, .site-footer h3 { font-size: 16px; line-height: 1.6; }
  .map-panel { height: 300px; }
  .map-card { padding: 24px; }
  .slider-controls { left: 12px; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .hero-slide, #main-nav, .category-card, .consultation-picture, .room-card, .group-card, .group-preview-image { transition: none; }
  .brand-track { animation: none; }
}

/* Formular echt (28.11.2026) */
.hp-feld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.request-form .kontaktweg { margin: 18px 0 8px; padding: 0; border: 0; }
.request-form .kontaktweg legend { margin-bottom: 8px; font-weight: 600; }
.request-form .kontaktweg label { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.request-form input[type="radio"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; padding: 0; border: 0; box-shadow: none; accent-color: var(--purple); }
.form-hinweis { margin: 16px 0; font-size: .95rem; }
.form-result { margin-top: 24px; padding: 20px; border-left: 4px solid var(--purple); background: var(--soft); text-align: left; }
.form-result.is-error { border-left-color: #b3261e; }

/* Sprachumschalter (28.11.2026) */
.lang-switch { display: flex; align-items: center; gap: 2px; margin: 0 10px 0 4px; line-height: 1; }
.lang-switch a { padding: 6px 5px; color: var(--muted); font-size: 13px; letter-spacing: .04em; text-decoration: none; }
.lang-switch a:hover { color: var(--purple-dark); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px var(--purple); }
@media (max-width: 1280px) {
  .lang-switch { gap: 8px; margin: 0; padding: 18px 6%; }
  .lang-switch a { padding: 8px 10px; font-size: 15px; border: 1px solid var(--soft); }
}
@media (min-width: 1281px) {
  /* Sprachen klein ueber dem Menue, damit die Menuezeile nicht breiter wird */
  .lang-switch { position: absolute; top: 4px; right: 14px; margin: 0; }
  .lang-switch a { padding: 3px 5px; font-size: 12px; }
}
@media (min-width: 1281px) and (max-width: 1440px) {
  #main-nav { font-size: 16px; }
  #main-nav > a, .nav-disclosure { margin-right: 13px; }
  .brand-claim { font-size: 18px; }
}
