/* Reset und Basis-Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Avenir";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/avenir_lt_35_light-webfont.woff2") format("woff2"),
    url("../fonts/avenir_lt_35_light-webfont.woff") format("woff"),
    url("../fonts/avenir_lt_35_light-webfont.ttf") format("truetype");
}

@font-face {
  font-family: "Fahkwang";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/fahkwang-light-webfont.woff2") format("woff2"),
    url("../fonts/fahkwang-light-webfont.woff") format("woff"),
    url("../fonts/fahkwang-light-webfont.ttf") format("truetype");
}

@font-face {
  font-family: "Dancing Script";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/dancingscript-variablefont_wght-webfont.woff2") format("woff2"),
    url("../fonts/dancingscript-variablefont_wght-webfont.woff") format("woff"),
    url("../fonts/dancingscript-variablefont_wght-webfont.ttf") format("truetype");
}

:root {
  --primary-color: #3b3b3b;
  --secondary-color: #2b2f36;
  --accent-color: #4b76b7;
  --royal-blue: #4169e1;
  --royal-blue-soft: #e9effd;
  --brand-bg-color: #2e4f9c;
  --brand-text-color: #f2f4f7;
  --brand-link-color: #ffffff;
  --brand-link-hover-color: #e7edf2;
  --bg-color: #ffffff;
  --text-color: #3b3b3b;
  --link-color: #e8eef2;
  --link-hover-color: #ffffff;
  --border-color: #d6d6d6;
  --panel-bg: rgba(255, 255, 255, 0.9);
  --page-bg: #dcdcdc;
  --spacing: 1rem;
}

body {
  font-family: "Avenir", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--page-bg);
}

.page-minimal {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--royal-blue-soft);
}

.page-minimal main {
  flex: 1;
}

a {
  color: #3366ff;
  text-decoration: none;
}

a:hover {
  color: #204db8;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Header und Navigation */
header {
  background: #2e4f9c !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.main-nav {
  padding: 0.1rem 0;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--spacing);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
  grid-column: 1;
}

.logo img {
  height: 70px !important;
  width: auto;
  transform: rotate(-10deg) !important;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
  grid-column: 2;
}


.nav-menu a {
  color: var(--brand-text-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.15rem 0;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.nav-menu a:hover {
  color: var(--brand-link-hover-color);
  border-color: var(--royal-blue);
}

.nav-menu a.active {
  color: var(--brand-link-color);
  font-weight: 600;
  border-color: var(--royal-blue);
}

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  grid-column: 3;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--royal-blue);
    flex-direction: column;
    padding: 1rem 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: rgba(255,255,255,0.15);
  }
}

/* Main Content */
main {
  min-height: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 620px;
  padding: 4.5rem 0;
}

.hero-alt {
  background: var(--royal-blue-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.hero-badge .icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--royal-blue);
  color: #fff;
  font-size: 12px;
}

.hero-badge .title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
}

.hero-badge .sub {
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.1;
}

.hero-kicker {
  font-family: "Dancing Script", "Segoe Script", cursive;
  font-size: 1.6rem;
  color: #2b2b2b;
  margin-bottom: 0.2rem;
}

.hero-title {
  font-family: "Fahkwang", "Avenir", Arial, sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  color: var(--royal-blue);
  margin-bottom: 0.3rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #1f1f1f;
  letter-spacing: 0.01rem;
  line-height: 1.5;
}

.hero-title-alt {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--royal-blue);
}

.hero-subtitle-alt {
  font-weight: 500;
}

.hero-description {
  font-size: 1.125rem;
  font-weight: 400;
  color: #3a3a3a;
  line-height: 1.6;
  max-width: 520px;
}

.hero-features {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  color: #2b2b2b;
  font-size: 0.95rem;
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--royal-blue);
  position: relative;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--royal-blue);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 40px rgba(38, 60, 52, 0.22);
}

.hero-image-card img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.hero-image img,
.content-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.subpage-hero {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  background: center/cover no-repeat;
  padding: 3rem 1rem;
}

.subpage-card {
  background: var(--panel-bg);
  padding: 2rem 2.5rem;
  border-radius: 10px;
  text-align: center;
  max-width: 520px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.subpage-card h1 {
  font-family: "Fahkwang", "Avenir", Arial, sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.08rem;
  color: var(--royal-blue);
}

.divider-band {
  height: 28px;
  background: var(--accent-color);
}

.intro-section {
  background: #d7d7d7;
  padding: 2.5rem 0 3.5rem;
}

.intro-section .container {
  max-width: 900px;
}

.intro-section p {
  color: #5a5a5a;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.6;
  font-weight: 400;
}

.page-content-section {
  background: #efefef;
  padding: 3rem 0 4rem;
}

.page-konzept {
  background-color: #e9effd !important;
}

.page-konzept .page-content-section {
  background: #e9effd !important;
}

/* Content Section */
.content-section {
  padding: 3.5rem 0;
  background: #efefef;
}

.content-section.hero-match {
  background: var(--royal-blue-soft);
  padding: 4.5rem 0;
}

.content-section.energy-section {
  background: var(--royal-blue-soft);
}

.content-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--royal-blue);
  margin-bottom: 2rem;
  text-align: center;
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: #f7f7f7;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.energy-section .content-block {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;
  grid-template-areas: "energy-left energy-middle energy-right";
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.energy-section .energy-text-primary {
  grid-area: energy-left;
}

.energy-section .energy-text-middle {
  grid-area: energy-middle;
}

.energy-section .energy-text-secondary {
  grid-area: energy-right;
}

.content-section.hero-match .content-block {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.content-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--royal-blue);
  line-height: 1.2;
}

.content-section.hero-match .content-text h2 {
  font-family: "Fahkwang", "Avenir", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04rem;
  color: var(--royal-blue);
  line-height: 1.2;
}

.content-text p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.content-section.hero-match .content-text p {
  color: #3a3a3a;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--royal-blue);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: #3157c9;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--royal-blue);
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  box-shadow: 0 10px 18px rgba(65, 105, 225, 0.25);
}

.btn-primary:hover {
  background: #3157c9;
}

.btn-outline {
  background: transparent;
  color: var(--royal-blue);
  border: 2px solid var(--royal-blue);
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
}

.btn-outline:hover {
  background: var(--royal-blue-soft);
  color: #3157c9;
  border-color: #3157c9;
}

/* Contact Preview */
.contact-preview {
  padding: 3.5rem 0 4rem;
  background: #d7d7d7;
}

.contact-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--royal-blue);
}

.contact-form-preview h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--royal-blue);
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
}

.contact-info a:hover {
  color: var(--link-color);
}

/* Footer */
footer {
  background: #f0f0f0;
  color: #5a5a5a;
  padding: 2.5rem 0;
  margin-top: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-contact h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--royal-blue);
}

.footer-contact a {
  color: #3366ff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #3366ff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Page Content */
.page-header {
  padding: 2.5rem 0;
  background: #d7d7d7;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--royal-blue);
}

.page-content {
  padding: 3rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.page-konzept .page-content {
  max-width: 1200px;
}

.concept-flow::after {
  content: "";
  display: block;
  clear: both;
}

.concept-image {
  float: right;
  width: min(100%, 520px);
  margin: 0 0 1.5rem 2rem;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.werte-flow::after {
  content: "";
  display: block;
  clear: both;
}

.werte-image {
  float: right;
  width: min(100%, 520px);
  margin: -7.5rem 0 1.5rem 2rem;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.page-content-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.page-content h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 2rem 0 1rem;
  color: var(--royal-blue);
}

.page-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 1.5rem 0 0.6rem;
  color: var(--royal-blue);
}

.page-content h3.section-offset {
  margin-top: 120px;
}

.page-content {
  overflow: visible;
}

.page-konzept {
  overflow-x: hidden;
}

.apartment-iframe {
  margin: 1rem auto 0;
  width: min(100%, 465px);
  aspect-ratio: 1 / 1;
}

.page-content .apartment-iframe {
  max-width: 100%;
}

.apartment-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--secondary-color);
}


.page-content .subnote {
  display: block;
  margin-top: 0.1rem;
  margin-left: 0;
  padding-left: 0;
  text-indent: 2.5rem;
  color: var(--secondary-color);
  line-height: 1.1;
}

.page-content li.with-subnote {
  margin-bottom: 0.1rem;
  line-height: 1.4;
}

.page-haus-irene main img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 22, 35, 0.78);
  padding: 1.5rem;
  z-index: 999;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: min(1100px, 92vw);
  max-height: 90vh;
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2a44;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: #ffffff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2a44;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav.prev {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

.lightbox-nav:hover {
  background: #ffffff;
}

.image-text-block {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.53fr);
  gap: 2rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem;
}

.image-text-block.reverse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
}

.image-text-block.reverse .text {
  order: 2;
}

.image-text-block.reverse .media {
  order: 1;
}

.image-text-block img {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.image-text-block.match-height {
  align-items: stretch;
}

.image-text-block.match-height .media {
  display: flex;
}

.image-text-block.match-height img {
  height: 100%;
  object-fit: cover;
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.detail-strip img {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gallery-grid img {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.apartment-slider {
  position: relative;
  margin: 1.2rem 0 2.5rem;
  width: 40%;
  max-width: 100%;
  overflow: hidden;
}

.apartment-slider .slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.apartment-slider .slide {
  flex: 0 0 100%;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4 / 3;
  background: #f6f7fa;
}

.apartment-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apartment-slider .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2a44;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.apartment-slider .slider-nav:hover {
  background: #ffffff;
}

.apartment-slider .slider-nav.prev {
  left: 14px;
}

.apartment-slider .slider-nav.next {
  right: 14px;
}

.apartment-slider .slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.apartment-slider .slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: #c9d1dd;
  cursor: pointer;
}

.apartment-slider .slider-dot.active {
  background: var(--royal-blue);
}

.garden-media-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: stretch;
  margin: 1.2rem 0 2.5rem;
}

.garden-media-row > * {
  flex: 1 1 320px;
  min-width: 260px;
}

.garden-iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #f6f7fa;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.garden-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.garden-slider {
  width: 100%;
  margin: 0;
}

.floorplan-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
  margin: 1.5rem auto 2rem;
  max-width: 840px;
}

.floorplan {
  margin: 0;
}

.floorplan img {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.floorplan-raw {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  margin-top: 0;
}

.floorplan-block > .floorplan-raw {
  margin-top: 0;
}

.floorplan-side .floorplan-raw {
  margin-top: 1rem;
}

.floorplan-side {
  display: grid;
  gap: 1rem;
}

.floorplan-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.floorplan-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kitchen-small {
  width: 100%;
  justify-self: start;
}

.floorplan-row.two img {
  width: 100%;
  height: auto;
}

.floorplan-side img {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.floorplan-side img.floorplan-raw {
  aspect-ratio: auto;
  object-fit: contain;
}

.floorplan-side img.kitchen-small {
  width: 100%;
}

.marked-image {
  position: relative;
  width: 70%;
  justify-self: start;
}

.marked-image::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2d6cff;
  box-shadow: 0 0 0 6px rgba(45, 108, 255, 0.25);
  left: 12%;
  top: 18%;
}

.maps-embed {
  margin: 1.5rem auto 0;
  width: 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  aspect-ratio: 1 / 1;
}

.maps-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .image-text-block,
  .image-text-block.reverse {
    grid-template-columns: 1fr;
  }

  .image-text-block.match-height .media {
    display: block;
  }

  .image-text-block.match-height img {
    height: auto;
  }

  .image-text-block.reverse .text,
  .image-text-block.reverse .media {
    order: initial;
  }

  .detail-strip {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .maps-embed {
    width: 100%;
  }

  .apartment-slider .slider-nav {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .floorplan-block {
    grid-template-columns: 1fr;
  }

}

.faq-box {
  margin-top: 2.5rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.faq-list {
  margin: 0;
  padding: 0;
}

.faq-question {
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid #e2e2e2;
  font-weight: 700;
  color: var(--royal-blue);
  line-height: 1.8;
}

.faq-question:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-answer {
  margin: 1.2rem 0 2.5rem;
  color: var(--secondary-color);
  line-height: 2.0;
}

.faq-answer:last-child {
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--link-color);
}

.form-group .required {
  color: red;
}

/* Brand Background Sections */
.brand-bg {
  background-color: var(--brand-bg-color);
  color: var(--brand-text-color);
}

.brand-bg h1,
.brand-bg h2,
.brand-bg h3,
.brand-bg h4,
.brand-bg h5,
.brand-bg h6 {
  color: var(--brand-text-color);
}

.brand-bg p {
  color: rgba(255, 255, 255, 0.95);
}

.brand-bg a {
  color: var(--brand-link-color);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.25s;
}

.brand-bg a:hover {
  color: var(--brand-link-hover-color);
}

/* Navigation innerhalb von brand-bg */
.brand-bg .nav-menu a {
  color: var(--brand-text-color);
  text-decoration: none;
}

.brand-bg .nav-menu a:hover {
  color: var(--brand-link-color);
}

.brand-bg .nav-menu a.active {
  color: var(--brand-link-color);
  border-color: var(--brand-link-color);
}

.brand-bg .logo {
  color: var(--brand-text-color);
}

/* ===== Kontaktseite ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-info-card,
.contact-form-card {
  background: transparent;
  padding: 2rem 2.5rem;
}

.contact-info-card h2,
.contact-form-card h2 {
  margin-bottom: 1.5rem;
}

.contact-info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-info-columns > div {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-info-item a {
  word-break: break-all;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.4;
  width: 24px;
  text-align: center;
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.map-routing-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f5f7fb;
  border-bottom: 1px solid #dde3f0;
  flex-wrap: wrap;
}

.map-routing-bar input {
  flex: 1 1 200px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #c5cde0;
  border-radius: 6px;
  font-size: 0.9rem;
}

.map-routing-bar select {
  padding: 0.5rem 0.6rem;
  border: 1px solid #c5cde0;
  border-radius: 6px;
  font-size: 0.9rem;
  background: white;
}

.map-routing-bar button {
  padding: 0.5rem 1rem;
  background: var(--royal-blue);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

.map-routing-bar button:hover {
  background: var(--royal-blue-dark, #1a3a7a);
}

.map-credit {
  font-size: 0.75rem;
  color: #888;
  padding: 0.4rem 0.75rem;
  background: #f5f7fb;
  margin: 0;
}

.form-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .concept-image {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem;
  }

  .werte-image {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem;
  }


  .nav-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .logo {
    margin-bottom: 0;
  }

  .content-block,
  .contact-preview .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-title-alt {
    font-size: 2.6rem;
  }

  .hero-badge {
    bottom: 10px;
    left: 10px;
    padding: 8px 10px;
  }

  .hero-badge .icon {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .hero-badge .title {
    font-size: 13px;
  }

  .hero-badge .sub {
    font-size: 11px;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* ===== Buchseite ===== */
.buch-skyline {
  background: #D9B96A;
  line-height: 0;
}

.buch-skyline svg {
  display: block;
  width: 100%;
  height: 120px;
}

.page-buch {
  background-color: #D9B96A !important;
}

.page-buch .page-content-section {
  background: #D9B96A !important;
}

.page-buch .page-content {
  max-width: 1200px;
}

.page-buch .page-content h2 {
  color: #8B1A0A;
}

.page-buch .page-content h3 {
  color: #B83520;
}

.page-buch .page-content p,
.page-buch .page-content li {
  color: #2b2b2b;
}

.page-buch blockquote {
  background: rgba(255, 255, 255, 0.45) !important;
  border-left-color: #B83520 !important;
}

.page-buch .btn-primary {
  background: #B83520;
  border-color: #B83520;
}

.page-buch .btn-primary:hover {
  background: #8B1A0A;
  border-color: #8B1A0A;
}
