/**
 * Basis-CSS für Bereichsseiten – nutzt --color-primary und --color-accent.
 * Diese Variablen werden im Snippet bereich-layout aus den Panel-Feldern gesetzt.
 */

/* ===== Schriftarten: Roboto (Fließtext), Roboto Slab (Überschriften) ===== */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Slab';
  src: url('../fonts/RobotoSlab-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Umlaufender 3px-Rahmen: am Browserfenster-Rand, über allem, immer sichtbar (begrenzt auch die Hero) */
.page--bereich {
  position: relative;
}
.page--bereich,
.page--bereich body {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}
.page--bereich h1,
.page--bereich h2,
.page--bereich h3,
.page--bereich h4,
.page--bereich h5,
.page--bereich h6 {
  font-family: 'Roboto Slab', Georgia, serif;
}
.page--bereich::before {
  content: '';
  position: fixed;
  inset: 0;
  border: 3px solid var(--color-primary);
  pointer-events: none;
  z-index: 9999;
}
@media (min-width: 1024px) {
  .page--bereich::before {
    border-width: 1rem;
  }
}

.bereich-content .text a,
.bereich-content .bereich-section__text a,
.bereich-content .bereich-section__blocks a {
  color: var(--color-accent);
}

.bereich-content .text a:hover,
.bereich-content .bereich-section__text a:hover,
.bereich-content .bereich-section__blocks a:hover {
  color: var(--color-primary);
}

.bereich-section {
  margin-top: 3rem;
  padding-top: 0;
}
.bereich-section:first-child {
  margin-top: 0;
  padding-top: 4rem;
}

.bereich-section__title {
  margin: 0 0 1rem;
  color: var(--color-primary);
}

.bereich-section__text {
  margin: 0;
}
.bereich-section__blocks {
  margin: 0;
}
.bereich-section__blocks .block {
  margin-top: 1rem;
}
.bereich-section__blocks .block:first-child {
  margin-top: 0;
}

/* Erster Abschnitt: H1 mittig, Bild mittig (doppelte Kachelbreite), Text mittig */
.bereich-section__blocks .block-type-heading {
  text-align: center;
}
.bereich-section__blocks .block-type-heading h1,
.bereich-section__blocks .block-type-heading h2,
.bereich-section__blocks .block-type-heading h3,
.bereich-section__blocks .block-type-heading h4,
.bereich-section__blocks .block-type-heading h5,
.bereich-section__blocks .block-type-heading h6 {
  text-align: center;
}
.bereich-section__blocks .block-type-image {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.bereich-section__blocks .block-type-image figure {
  width: 100%;
  max-width: calc((100% - 3rem) / 3 * 2 + 1.5rem);
  margin: 0 auto;
  min-width: 0;
}
.bereich-section__blocks .block-type-image figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Bild mit Breitenauswahl (image-sized): full / narrow (1/3) / wide (2/3) */
.bereich-section__blocks .block-type-image-sized {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.bereich-section__blocks .block-type-image-sized figure {
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}
.bereich-section__blocks .block-type-image-sized figure.image-sized--full {
  max-width: 100%;
}
.bereich-section__blocks .block-type-image-sized figure.image-sized--narrow {
  max-width: calc((100% - 3rem) / 3);
}
.bereich-section__blocks .block-type-image-sized figure.image-sized--wide {
  max-width: calc((100% - 3rem) / 3 * 2 + 1.5rem);
}
.bereich-section__blocks .block-type-image-sized figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.bereich-section__blocks .block-type-text {
  text-align: center;
}
.bereich-section__blocks .block-type-text p {
  margin-left: auto;
  margin-right: auto;
}

/* Feature-Kacheln (2 Zeilen × 3 Spalten): Icon oben, Text darunter */
.feature-tiles {
  position: relative;
  margin-top: 2rem;
}
.feature-tiles__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: #ffda2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: background 0.2s, color 0.2s;
}
.feature-tiles__arrow:hover {
  background: #fff;
  color: #111;
}
.feature-tiles__arrow--left {
  left: -0.75rem;
}
.feature-tiles__arrow--right {
  right: -0.75rem;
}
.feature-tiles__viewport {
  width: 100%;
  overflow: hidden;
  container-type: inline-size;
  container-name: feature-viewport;
}
.feature-tiles__track {
  display: flex;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.feature-tiles__track::-webkit-scrollbar {
  display: none;
}
.feature-tile {
  flex: 0 0 calc((100cqw - 3rem) / 3);
  width: calc((100cqw - 3rem) / 3);
  min-width: calc((100cqw - 3rem) / 3);
  scroll-snap-align: start;
  box-sizing: border-box;
  background: #fbfbfb;
  border: 2px solid #008fc3;
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}
.feature-tile__icon {
  margin-bottom: 0.75rem;
}
.feature-tile__icon img,
.feature-tile__icon svg {
  width: 4rem;
  height: 4rem;
  display: block;
  object-fit: contain;
}
.feature-tile__icon svg {
  color: #111;
}
.feature-tile__icon svg path,
.feature-tile__icon svg line,
.feature-tile__icon svg polyline,
.feature-tile__icon svg polygon,
.feature-tile__icon svg circle,
.feature-tile__icon svg ellipse,
.feature-tile__icon svg rect {
  stroke: currentColor;
  stroke-width: 1;
  fill-opacity: 0;
}
.feature-tile__title {
  margin: 0 0 0.5rem;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-accent);
}
.feature-tile__text {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #333;
}
.feature-tile__text p:first-child {
  margin-top: 0;
}
.feature-tile__text p:last-child {
  margin-bottom: 0;
}
/* Meet IX: Feature-Tiles mit Hauptfarbe als Rahmen, Pfeile #008fc3 */
.page--meet-ix .feature-tile {
  border-color: var(--color-primary);
}
.page--meet-ix .feature-tiles__arrow {
  background: #008fc3;
  color: #fff;
}
.page--meet-ix .feature-tiles__arrow:hover {
  background: #007aa3;
  color: #fff;
}
/* Das Loft: Feature-Tiles mit Hauptfarbe als Rahmen, Pfeile #008fc3 */
.page--das-loft .feature-tile {
  border-color: var(--color-primary);
}
.page--das-loft .feature-tiles__arrow {
  background: #008fc3;
  color: #fff;
}
.page--das-loft .feature-tiles__arrow:hover {
  background: #007aa3;
  color: #fff;
}
@media (max-width: 767px) {
  .feature-tiles__arrow--left { left: 0.25rem; }
  .feature-tiles__arrow--right { right: 0.25rem; }
  .feature-tile {
    flex: 0 0 100cqw;
    width: 100cqw;
    min-width: 100cqw;
  }
}

/* ===== Content-Grid: Karten mit Foto, Überschrift oder Icon+Text ===== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.content-card {
  border-radius: 0.75rem;
  overflow: hidden;
  min-height: 16rem;
  position: relative;
}
.content-card--narrow {
  grid-column: span 1;
}
.content-card--wide {
  grid-column: span 2;
}

.content-card--photo {
  padding: 0;
}
.content-card--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.content-card--heading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.content-card__heading {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}
.content-card__heading p {
  margin: 0;
}

.content-card--icontext {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.5rem;
}
.content-card__icon {
  margin-bottom: 0.75rem;
}
.content-card__icon img,
.content-card__icon svg {
  width: 4rem;
  height: 4rem;
  display: block;
  object-fit: contain;
}
.content-card__icon svg {
  color: #fff;
}
.content-card__icon svg path,
.content-card__icon svg line,
.content-card__icon svg polyline,
.content-card__icon svg polygon,
.content-card__icon svg circle,
.content-card__icon svg ellipse,
.content-card__icon svg rect {
  stroke: #fff;
  stroke-width: 1;
}
.content-card__text {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #fff;
}
.content-card__text p:first-child {
  margin-top: 0;
}
.content-card__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-card--narrow,
  .content-card--wide {
    grid-column: span 1;
  }
}

/* ===== Immobilien-Auszüge: Karten-Raster (Erstes Bild, Titel, Fläche, Zimmer) ===== */
.immobilien-auszuege {
  margin-top: 2rem;
}
.immobilien-auszuege__heading {
  margin: 0 0 1rem;
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--color-primary);
}
.immobilien-auszuege__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.immobilien-karte {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 2px solid #008fc3;
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 0;
  min-height: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.immobilien-karte:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.immobilien-karte__image {
  flex: 0 0 12rem;
  width: 12rem;
  aspect-ratio: 1;
  background: #f3f4f6;
  overflow: hidden;
}
.immobilien-karte__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.immobilien-karte__placeholder {
  width: 100%;
  height: 100%;
  background: #e5e7eb;
}
.immobilien-karte__text {
  flex: 1 1 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.immobilien-karte__title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.immobilien-karte__meta {
  font-size: 1rem;
  color: #374151;
  margin: 0.15rem 0 0;
}
@media (max-width: 767px) {
  .immobilien-auszuege__grid {
    grid-template-columns: 1fr;
  }
  .immobilien-karte__image {
    flex: 0 0 10rem;
    width: 10rem;
  }
}

/* ===== Immobilie-Detailseite (Redesign an Hauptseite) ===== */
/* Gelber Rahmen wie Hauptseite */
.page--immobilie {
  position: relative;
}
.page--immobilie::before {
  content: '';
  position: fixed;
  inset: 0;
  border: 3px solid var(--color-primary);
  pointer-events: none;
  z-index: 9999;
}
@media (min-width: 1024px) {
  .page--immobilie::before {
    border-width: 1rem;
  }
}
.page--immobilie,
.page--immobilie body {
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}
.page--immobilie h1,
.page--immobilie h2,
.page--immobilie h3,
.page--immobilie h4 {
  font-family: 'Roboto Slab', Georgia, serif;
}

/* Header: Titel zentriert */
.page--immobilie .immobilie-header {
  margin-top: 6rem;
  margin-bottom: 2rem;
  text-align: center;
}
.page--immobilie .immobilie-title {
  margin: 0 0 0.5rem;
  color: var(--color-accent);
  font-size: 1.75rem;
}
.page--immobilie .immobilie-meta {
  margin: 0;
  color: #666;
  font-size: 1.2rem;
}

/* Bilderkarussell: nutzt nur verfügbare Breite des Inhalts, so viele Bilder wie Platz */
.immobilie-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
}
.immobilie-carousel .feature-tiles__arrow--left {
  left: 0.5rem;
}
.immobilie-carousel .feature-tiles__arrow--right {
  right: 0.5rem;
}
.immobilie-carousel .feature-tiles__viewport {
  width: 100%;
  overflow: hidden;
}
.immobilie-carousel .feature-tiles__track {
  display: flex;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.immobilie-carousel .feature-tiles__track::-webkit-scrollbar {
  display: none;
}
.immobilie-carousel__slide {
  flex: 0 0 auto;
  width: clamp(10rem, 22vw, 14rem);
  min-width: 10rem;
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;
  background: #1a1a2e;
}
.immobilie-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox für Immobilien-Bilder */
.immobilie-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.immobilie-lightbox--open {
  display: flex;
}
.immobilie-lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.immobilie-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Button „Jetzt Anfragen“ zwischen Karussell und Inhalt */
.immobilie-cta {
  text-align: center;
  margin: 2rem 0;
}
.immobilie-cta__button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--color-accent);
  color: #111;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.immobilie-cta__button:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Zweispaltiger Inhalt (Track-Design) */
.immobilie-content {
  max-width: 60rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 1.5rem;
  column-gap: 1.5rem;
  align-items: start;
}
.immobilie-content__col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.immobilie-box {
  background: #fbfbfb;
  border: 2px solid #008fc3;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-sizing: border-box;
}
.immobilie-box__title {
  margin: 0 0 0.75rem;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-accent);
}
.immobilie-box__body {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #333;
}
.immobilie-box__body p:first-child {
  margin-top: 0;
}
.immobilie-box__body p:last-child {
  margin-bottom: 0;
}
.immobilie-daten {
  display: grid;
  gap: 0.25rem;
}
.immobilie-daten__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.immobilie-daten__label {
  font-weight: 500;
  color: #555;
}
.immobilie-daten__value {
  text-align: right;
}
@media (max-width: 767px) {
  .immobilie-content {
    grid-template-columns: 1fr;
  }
  .immobilie-carousel__slide {
    aspect-ratio: 4 / 3;
  }
}

/* Optional: Buttons mit Akzentfarbe */
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.25rem;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.25rem;
}

/* ===== Bubble-Menü (Bereichs-Wechsel) – oben mittig, auf allen Seiten ===== */
.menu-areas-bubble {
  position: fixed;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.menu-areas-bubble__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  margin: 0;
  min-height: 3rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.menu-areas-bubble__item {
  margin: 0;
}
/* Erster Link: bis zum linken Bubble-Rand, Radius 2rem links (= Bubble-Radius) */
.menu-areas-bubble__item:first-child .menu-areas-bubble__link {
  padding-left: 1rem;
  border-radius: 2rem 1.5rem 1.5rem 2rem;
}
/* Letzter Link: bis zum rechten Bubble-Rand, Radius 2rem rechts */
.menu-areas-bubble__item:last-child .menu-areas-bubble__link {
  padding-right: 1rem;
  border-radius: 1.5rem 2rem 2rem 1.5rem;
}
.menu-areas-bubble__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  min-height: 3rem;
  box-sizing: border-box;
  border-radius: 1.5rem;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, color 0.2s;
}
.menu-areas-bubble__link:hover {
  background: var(--hover-bg, var(--color-primary, #2563eb));
  color: #fff;
  transform: scale(1.08);
}
.menu-areas-bubble__link:active {
  transform: scale(0.98);
}
.menu-areas-bubble__link.is-active {
  background: var(--color-primary, #2563eb);
  color: #fff;
}

/* ===== Burger-Menü (Seiten-Navigation) – rechts oben ===== */
.menu-burger {
  position: fixed;
  top: 2.5rem;
  right: 2.5rem;
  z-index: 1000;
}
.menu-burger__details {
  position: relative;
}
.menu-burger__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  list-style: none;
}
.menu-burger__trigger::-webkit-details-marker { display: none; }
.menu-burger__trigger::marker { content: none; }
.menu-burger__icon {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0;
  background: #374151;
  box-shadow: 0 5px 0 #374151, 0 10px 0 #374151;
}
.menu-burger__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.25rem;
  min-width: 12rem;
  padding: 0.5rem 0;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.menu-burger__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-burger__item {
  margin: 0;
}
.menu-burger__item a {
  display: block;
  padding: 0.5rem 1rem;
  color: #374151;
  text-decoration: none;
}
.menu-burger__item a:hover,
.menu-burger__item a.is-active {
  background: #f3f4f6;
  color: var(--color-primary, #2563eb);
}

/* ===== Hero Section (Scroll-Animation) – vollflächig 100vh ===== */
.hero {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  height: 100vh;
  overflow: hidden;
}
.hero__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a2e;
}
.hero__layer--day    { z-index: 1; }
.hero__layer--sunset { z-index: 2; }
.hero__layer--night  { z-index: 3; }

/* Hero Meet IX: 16:9 wie Video, keine volle Bildschirmhöhe, Video nicht gestreckt */
.hero--video {
  height: auto;
  aspect-ratio: 16 / 9;
}
.hero--video .hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== Maps Section (Scroll-Animation) – Breite begrenzt auf .page--bereich ===== */
.maps {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* Rahmen: 100 % der Section (= Breite .page--bereich), Aspect-Ratio 1000×600 (@2x-Bilder für Retina) */
.maps__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 600;
  overflow: hidden;
  flex-shrink: 0;
}
.maps__layer {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-color: #1a1a2e;
}
.maps__layer--big    { z-index: 1; }
.maps__layer--medium { z-index: 2; }
.maps__layer--small  { z-index: 3; }
.maps__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.maps__stroke {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.maps__stroke svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.maps__logo {
  position: absolute;
  inset: 0;
  z-index: 5;
}
.maps__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
/* ===== Footer Bereich (Menü/Logo/Adresse + Kontaktformular) – volle Browserbreite ===== */
.footer-bereich {
  background-color: var(--color-primary);
  color: #fff;
  margin-top: 4rem;
  padding: 3rem 2rem;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.footer-bereich__inner {
  max-width: 60rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .footer-bereich__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.footer-bereich__col--left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-bereich__heading {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-bereich__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bereich__links li {
  margin-bottom: 0;
}
.footer-bereich__links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-bereich__links a:hover {
  text-decoration: underline;
}
.footer-bereich__logo img {
  display: block;
  height: 3rem;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-bereich__logo--text span {
  font-size: 1.5rem;
  font-weight: 700;
}
.footer-bereich__address {
  font-style: normal;
  line-height: 1.6;
  font-size: 0.95rem;
}
.footer-bereich__address strong {
  display: block;
  margin-bottom: 0.25rem;
}
.footer-bereich__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-bereich__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.footer-bereich__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-bereich__field label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
}
.footer-bereich__field input,
.footer-bereich__field textarea {
  padding: 0.6rem 0.75rem;
  border: 1px solid #008fc3;
  border-radius: 0.25rem;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: #333;
}
.footer-bereich__field input:focus,
.footer-bereich__field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.footer-bereich__field textarea {
  resize: vertical;
  min-height: 100px;
}
.footer-bereich__error {
  font-size: 0.85rem;
  color: #ffd6d6;
}
.footer-bereich__submit {
  align-self: flex-start;
  padding: 0.65rem 1.5rem;
  background: #008fc3;
  color: #fff;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.footer-bereich__submit:hover {
  background: #007aa3;
}
.footer-bereich__message {
  padding: 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}
.footer-bereich__message--success {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.footer-bereich__message--error {
  background: rgba(200, 60, 60, 0.3);
  color: #ffd6d6;
}
.footer-bereich__message p {
  margin: 0;
}

/* ===== Landingpage: drei Spalten, Hover-Animation (GSAP) ===== */
.page--landing {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.landing-columns {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
}
.landing-column {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-column:not(:last-child) {
  border-right: none;
  border-bottom: 1rem solid var(--landing-color);
}
@media (min-width: 1024px) {
  .landing-columns {
    flex-direction: row;
    height: 100vh;
    min-height: 100vh;
  }
  .landing-column {
    min-height: 0;
  }
  .landing-column:not(:last-child) {
    border-bottom: none;
    border-right: 3px solid var(--landing-color);
    border-right-width: 1rem;
  }
}
.landing-column::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--landing-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: color-mix(in srgb, var(--landing-color) 15%, transparent);
  transition: filter 0.4s ease;
}
.landing-columns:hover .landing-column::before {
  filter: grayscale(100%);
}
.landing-columns .landing-column:hover::before {
  filter: grayscale(0);
}
.landing-column__link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
  text-decoration: none;
  color: #111;
}
.landing-column__link--placeholder {
  cursor: default;
  pointer-events: none;
}
.landing-column__logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  min-width: 0;
  padding: 1.5rem 2rem;
}
.landing-column__logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 7rem;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .landing-column__logo {
    max-height: 12rem;
  }
}
