
:root {
  --sand: #cfcac2;
  --blue: #011e31;
  --blue2: #011c31;
  --white: #ffffff;
  --black: #000000;
  --muted: #f5f2ee;
  --line: rgba(1, 30, 49, 0.14);
  --shadow: 0 18px 45px rgba(1, 30, 49, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--blue);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.brand span {
  line-height: 1.15;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
}

.menu a,
.dropbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--blue);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.menu a:hover,
.dropbtn:hover {
  background: var(--muted);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: grid;
  gap: 4px;
}

.dropdown-content a {
  display: block;
  border-radius: 12px;
  padding: 10px 12px;
}

.mobile-note {
  display: none;
  font-size: .85rem;
  color: var(--blue);
}

.hero {
  background: linear-gradient(135deg, var(--sand) 0%, #e8e2d9 100%);
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(1,30,49,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  font-weight: 700;
  font-size: .86rem;
}

h1, h2, h3 {
  color: var(--blue);
  line-height: 1.08;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.35rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 720px;
  margin: 0 0 28px;
}

.hero-card {
  background: rgba(255,255,255,.78);
  padding: 18px;
  border-radius: 36px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.75);
}

.hero-card img {
  border-radius: 26px;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--blue);
  transition: .2s ease;
}

.btn.primary {
  background: var(--blue);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--blue2);
  transform: translateY(-1px);
}

.btn.secondary {
  background: rgba(255,255,255,.65);
}

.btn.secondary:hover {
  background: var(--white);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 650px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.cards {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(1,30,49,.06);
}

.card-body {
  padding: 22px;
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--blue);
  font-weight: 700;
  font-size: .82rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 30px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
}

.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(1,30,49,.06);
}

.apartment-hero {
  padding: 58px 0;
  background: var(--sand);
}

.apartment-hero .container {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 40px;
  align-items: center;
}

.gallery-placeholder {
  background: var(--white);
  border-radius: 32px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.gallery-placeholder img {
  border-radius: 22px;
  min-height: 360px;
  object-fit: cover;
}

.smoobu-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(1,30,49,.06);
}

#apartmentIframeAll {
  min-height: 640px;
}

.calendar-frame {
  width: 100%;
  overflow-x: auto;
}

.calendar-frame iframe {
  max-width: 100%;
  border: 0;
  border-radius: 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--blue);
}

.faq-item p {
  margin: 12px 0 0;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(1, 30, 49, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-field label {
  margin-bottom: 8px;
  font-weight: 700;
  color: #011e31;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(1, 30, 49, 0.18);
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  color: #011e31;
  background: #ffffff;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #011e31;
  box-shadow: 0 0 0 4px rgba(1, 30, 49, 0.08);
}

.form-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: #011e31;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

.form-button:hover {
  background: #011c31;
}

.footer {
  background: var(--blue);
  color: var(--white);
  padding: 42px 0;
}

.footer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.small {
  font-size: .9rem;
  opacity: .85;
}

.legal-placeholder {
  border: 2px dashed rgba(1,30,49,.25);
  background: var(--muted);
  padding: 22px;
  border-radius: 18px;
}

@media (max-width: 1000px) {
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .apartment-hero .container, .two-col { grid-template-columns: 1fr; }
  .menu { display: none; }
  .mobile-note { display: block; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 54px 0; }
  .grid.cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* Mobile Navigation Update */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(1, 30, 49, 0.16);
  border-radius: 999px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(1,30,49,.08);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #011e31;
  transition: transform .2s ease, opacity .2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
}

@media (min-width: 1001px) {
  .site-nav .menu {
    display: flex !important;
  }
}

@media (max-width: 1000px) {
  .nav {
    min-height: 78px;
    position: relative;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .brand span {
    font-size: .95rem;
  }

  .hamburger {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 99;
    padding: 14px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(1,30,49,.14);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(1,30,49,.14);
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu {
    display: grid !important;
    gap: 6px;
    width: 100%;
  }

  .menu > li {
    width: 100%;
  }

  .menu a,
  .dropbtn {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 1rem;
    background: #f5f2ee;
  }

  .dropdown-content {
    display: grid;
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
    border: 0;
    border-radius: 18px;
    background: transparent;
    padding: 0 0 0 14px;
    gap: 6px;
  }

  .dropdown-content a {
    background: #ffffff;
    border: 1px solid rgba(1,30,49,.10);
  }

  .mobile-note {
    display: none !important;
  }

  .section-head {
    display: block;
  }

  .section-head .btn {
    margin-top: 18px;
    width: 100%;
  }

  .actions .btn {
    width: 100%;
  }
}


/* FAQ final layout */
.faq-hero {
  padding: 34px 0 0;
  background: linear-gradient(180deg, #f5f2ee 0%, #ffffff 100%);
}

.faq-hero img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 18px 45px rgba(1, 30, 49, 0.10);
}

.faq-intro {
  padding-top: 48px;
}

.narrow-left {
  max-width: 860px;
  margin-left: max(24px, calc((100vw - 1120px) / 2));
}

.keyword-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.keyword-faq .faq-item {
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
}

.keyword-faq .faq-item summary {
  list-style: none;
  padding: 22px 24px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.keyword-faq .faq-item summary::-webkit-details-marker {
  display: none;
}

.keyword-faq .faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
  color: #011e31;
  margin-left: 18px;
}

.keyword-faq .faq-item[open] summary::after {
  content: "–";
}

.keyword-faq .faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: #31485a;
}

.form-note {
  margin: 18px 0 0;
  font-size: .95rem;
  color: #31485a;
  text-align: center;
}

@media (max-width: 800px) {
  .keyword-faq {
    grid-template-columns: 1fr;
  }

  .narrow-left {
    margin-left: auto;
    max-width: min(100% - 28px, 1120px);
  }

  .faq-hero img {
    border-radius: 24px;
  }
}


/* FAQ Feinschliff */
.faq-intro h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 780px;
  margin-top: 0;
}

.faq-intro .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  max-width: 720px;
  color: #31485a;
}

.keyword-faq .faq-item summary {
  font-size: 1.18rem;
  padding: 24px 26px;
}

.keyword-faq .faq-item summary::after {
  font-size: 1.35rem;
  opacity: .72;
}

.keyword-faq .faq-item p {
  padding: 0 26px 26px;
  line-height: 1.72;
}

.faq-list .faq-item {
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.faq-list .faq-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(1,30,49,.08);
}

.faq-list .faq-item[open] {
  box-shadow: 0 16px 38px rgba(1,30,49,.10);
  border-color: rgba(1,30,49,.18);
}

.faq-hero img {
  box-shadow: 0 20px 48px rgba(1, 30, 49, 0.12);
}

@media (max-width: 800px) {
  .faq-intro h1 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }

  .faq-intro .lead {
    font-size: 1.05rem;
  }

  .keyword-faq .faq-item summary {
    font-size: 1.08rem;
  }
}


/* Kontaktseite Update */
.kontakt-hero-image {
  padding: 34px 0 0;
  background: linear-gradient(180deg, #f5f2ee 0%, #cfcac2 100%);
}

.kontakt-hero-image img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 20px 48px rgba(1, 30, 49, 0.12);
}

.contact-hero {
  background: #cfcac2;
  padding: 70px 0 80px;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.contact-copy h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.9rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  max-width: 620px !important;
  margin: 0 0 18px !important;
}

.contact-copy p {
  font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
  line-height: 1.75 !important;
  max-width: 760px !important;
  color: #31485a !important;
  margin: 0;
}

.direct-card {
  background: #ffffff;
  border: 1px solid rgba(1,30,49,.12);
  border-radius: 34px;
  padding: 34px 36px;
  box-shadow: 0 18px 40px rgba(1,30,49,.08);
}

.direct-card h2 {
  font-size: 1.75rem !important;
  margin: 0 0 22px !important;
  letter-spacing: -0.025em !important;
}

.direct-card p {
  margin: 0 0 20px;
  line-height: 1.65;
  color: #011e31;
}

.direct-card p:last-child {
  margin-bottom: 0;
}

.direct-card a {
  color: #011e31;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-section {
  padding-top: 80px;
}

@media (max-width: 900px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-hero {
    padding: 48px 0 56px;
  }

  .kontakt-hero-image img {
    border-radius: 24px;
  }

  .direct-card {
    border-radius: 26px;
    padding: 28px 24px;
  }

  .contact-copy h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
  }

  .contact-copy p {
    font-size: 1.16rem !important;
    line-height: 1.65 !important;
  }
}
/* Header Logo final */
.brand img {
  border-radius: 999px !important;
  object-fit: cover !important;
  background: #cfcac2 !important;
}

.brand span {
  display: inline-block !important;
  text-align: center !important;
  line-height: 1.08 !important;
  letter-spacing: -0.01em !important;
}
/* Kontaktseite Feinschliff */
.contact-hero {
  padding: 42px 0 58px !important;
}

.contact-hero-grid {
  align-items: start !important;
}

.contact-form-section {
  padding-top: 48px !important;
  padding-bottom: 70px !important;
}

.kontakt-hero-image {
  padding-bottom: 0 !important;
}

@media (max-width: 900px) {
  .contact-hero {
    padding: 34px 0 46px !important;
  }

  .contact-form-section {
    padding-top: 38px !important;
  }
}
.direct-card p {
  font-size: 1.05rem !important;
}

.direct-card h2 {
  font-size: 1.9rem !important;
}
.form-note {
  font-size: 1rem !important;
  color: #31485a !important;
}
/* Startseite Hero */
.home-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/img/startseite-header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(1, 30, 49, 0.62) 0%,
    rgba(1, 30, 49, 0.34) 45%,
    rgba(1, 30, 49, 0.08) 100%
  );
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #ffffff;
  padding-top: 90px;
  padding-bottom: 90px;
}

.home-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin: 0 0 24px;
  color: #ffffff;
}

.home-hero p {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn.secondary.light {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(8px);
}

.btn.secondary.light:hover {
  background: rgba(255, 255, 255, 0.24);
}

@media (max-width: 800px) {
  .home-hero {
    min-height: 72vh;
    background-position: center;
  }

  .home-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(1, 30, 49, 0.35) 0%,
      rgba(1, 30, 49, 0.72) 100%
    );
  }

  .home-hero-content {
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .home-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .home-hero p {
    font-size: 1.12rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}
/* Startseite Hero Feinschliff – ruhiger und kompakter */
.home-hero {
  position: relative !important;
  min-height: 620px !important;
  max-height: 720px !important;
  display: flex !important;
  align-items: flex-end !important;
  overflow: hidden !important;
  background-image: url("assets/img/startseite-header.jpg") !important;
  background-size: cover !important;
  background-position: center 58% !important;
  background-repeat: no-repeat !important;
  border-radius: 0 0 34px 34px !important;
}

.home-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    180deg,
    rgba(1, 30, 49, 0.10) 0%,
    rgba(1, 30, 49, 0.24) 45%,
    rgba(1, 30, 49, 0.58) 100%
  ) !important;
}

.home-hero-content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 820px !important;
  color: #ffffff !important;
  padding-top: 0 !important;
  padding-bottom: 84px !important;
  margin-left: max(24px, calc((100vw - 1120px) / 2)) !important;
  margin-right: 24px !important;
}

.home-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  margin: 0 0 20px !important;
  color: #ffffff !important;
  max-width: 720px !important;
}

.home-hero p {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem) !important;
  line-height: 1.65 !important;
  max-width: 680px !important;
  margin: 0 0 30px !important;
  color: rgba(255, 255, 255, 0.94) !important;
}

.home-hero .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

.home-hero .btn {
  padding: 14px 24px !important;
  font-size: 1rem !important;
  border-radius: 999px !important;
}

.home-hero .btn.secondary.light {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(8px) !important;
}

@media (max-width: 800px) {
  .home-hero {
    min-height: 560px !important;
    max-height: none !important;
    background-position: center center !important;
    border-radius: 0 0 24px 24px !important;
  }

  .home-hero-content {
    padding-bottom: 54px !important;
    margin-left: 22px !important;
    margin-right: 22px !important;
  }

  .home-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.3rem) !important;
  }

  .home-hero p {
    font-size: 1.08rem !important;
  }

  .home-hero .hero-actions .btn {
    width: 100% !important;
    text-align: center !important;
  }
}
/* Startseite Hero final kleiner und edler */
.home-hero {
  min-height: 560px !important;
  max-height: 640px !important;
}

.home-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.9rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
  max-width: 680px !important;
}

.home-hero p {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem) !important;
  line-height: 1.65 !important;
  max-width: 640px !important;
}
/* Startseite Hero – Lesbarkeit & ruhigere Buttons */
.home-hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(1, 30, 49, 0.72) 0%,
    rgba(1, 30, 49, 0.58) 34%,
    rgba(1, 30, 49, 0.28) 66%,
    rgba(1, 30, 49, 0.08) 100%
  ) !important;
}

.home-hero h1,
.home-hero p {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
}

.home-hero p {
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.96) !important;
  margin-bottom: 24px !important;
}

/* Buttons im Startbild dezenter */
.home-hero .hero-actions {
  gap: 10px !important;
}

.home-hero .btn {
  padding: 11px 18px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.home-hero .btn.primary {
  background: rgba(1, 30, 49, 0.88) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
}

.home-hero .btn.primary:hover {
  background: rgba(1, 30, 49, 1) !important;
}

.home-hero .btn.secondary.light {
  background: rgba(255, 255, 255, 0.10) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.36) !important;
  backdrop-filter: blur(6px) !important;
}

.home-hero .btn.secondary.light:hover {
  background: rgba(255, 255, 255, 0.18) !important;
}

@media (max-width: 800px) {
  .home-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(1, 30, 49, 0.28) 0%,
      rgba(1, 30, 49, 0.76) 100%
    ) !important;
  }

  .home-hero .btn {
    padding: 12px 18px !important;
    font-size: 0.95rem !important;
  }
}
/* Startseite Hero Buttons einheitlich */
.home-hero .btn,
.home-hero .btn.primary,
.home-hero .btn.secondary.light {
  background: rgba(255, 255, 255, 0.13) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  backdrop-filter: blur(7px) !important;
  box-shadow: none !important;
}

.home-hero .btn:hover,
.home-hero .btn.primary:hover,
.home-hero .btn.secondary.light:hover {
  background: rgba(1, 30, 49, 0.94) !important;
  color: #ffffff !important;
  border-color: rgba(1, 30, 49, 0.94) !important;
}
/* Startseite Abschnitt Ferienwohnungen Feinschliff */
.apartments-preview {
  padding-top: 78px !important;
  padding-bottom: 86px !important;
}

.apartments-preview .section-head {
  align-items: flex-end !important;
  gap: 28px !important;
  margin-bottom: 34px !important;
}

.apartments-preview .section-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  margin-bottom: 14px !important;
}

.apartments-preview .section-head p {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem) !important;
  line-height: 1.65 !important;
  max-width: 760px !important;
  color: #21384a !important;
}

/* Button Alle Wohnungen */
.apartments-preview .section-head .btn.secondary {
  background: transparent !important;
  color: #011e31 !important;
  border: 1.5px solid #011e31 !important;
  padding: 13px 24px !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}

.apartments-preview .section-head .btn.secondary:hover {
  background: #011e31 !important;
  color: #ffffff !important;
  border-color: #011e31 !important;
}

/* Wohnungskarten gleichmäßig */
.apartment-grid {
  align-items: stretch !important;
}

.apartment-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.apartment-card .card-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.apartment-card h3 {
  font-size: 1.6rem !important;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
}

.apartment-card p {
  font-size: 1.02rem !important;
  line-height: 1.55 !important;
  margin-bottom: 18px !important;
}

.apartment-card .features,
.apartment-card .card-features,
.apartment-card .tags {
  margin-top: auto !important;
  margin-bottom: 22px !important;
}

/* Button in Wohnungskarten */
.apartment-card .btn.primary {
  margin-top: auto !important;
  align-self: flex-start !important;
  background: #011e31 !important;
  color: #ffffff !important;
  border: 1.5px solid #011e31 !important;
  transition: all 0.2s ease !important;
}

.apartment-card .btn.primary:hover {
  background: #ffffff !important;
  color: #011e31 !important;
  border-color: #011e31 !important;
}

/* Mobile Feinschliff */
@media (max-width: 900px) {
  .apartments-preview {
    padding-top: 58px !important;
    padding-bottom: 64px !important;
  }

  .apartments-preview .section-head {
    align-items: flex-start !important;
  }

  .apartments-preview .section-head .btn.secondary {
    width: 100% !important;
    text-align: center !important;
  }
}
/* Startseite: Buttons im Ferienwohnungsbereich final */

/* Button "Alle Wohnungen" */
.apartments-preview a[href*="ferienwohnungen"],
.apartments-preview a[href="ferienwohnungen.html"],
.apartments-preview .btn.secondary,
.apartments-preview .section-head a {
  background: transparent !important;
  color: #011e31 !important;
  border: 1.5px solid #011e31 !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}

.apartments-preview a[href*="ferienwohnungen"]:hover,
.apartments-preview a[href="ferienwohnungen.html"]:hover,
.apartments-preview .btn.secondary:hover,
.apartments-preview .section-head a:hover {
  background: #011e31 !important;
  color: #ffffff !important;
  border-color: #011e31 !important;
}

/* Buttons "Wohnung ansehen" */
.apartment-card a,
.apartment-card .btn,
.apartment-card .btn.primary,
.apartment-card a[href*="strandperle"],
.apartment-card a[href*="heuboden"],
.apartment-card a[href*="zaum"] {
  background: #011e31 !important;
  color: #ffffff !important;
  border: 1.5px solid #011e31 !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}

.apartment-card a:hover,
.apartment-card .btn:hover,
.apartment-card .btn.primary:hover,
.apartment-card a[href*="strandperle"]:hover,
.apartment-card a[href*="heuboden"]:hover,
.apartment-card a[href*="zaum"]:hover {
  background: #ffffff !important;
  color: #011e31 !important;
  border-color: #011e31 !important;
}
/* Button "Alle Wohnungen" auf der Startseite */
a.btn.secondary[href="ferienwohnungen.html"] {
  background: transparent !important;
  color: #011e31 !important;
  border: 1.5px solid #011e31 !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}

a.btn.secondary[href="ferienwohnungen.html"]:hover {
  background: #011e31 !important;
  color: #ffffff !important;
  border-color: #011e31 !important;
}
/* Startseite: Wohnung ansehen Buttons */
a.btn.primary[href="strandperle-6.html"],
a.btn.primary[href="strandperle-7.html"],
a.btn.primary[href="heuboden.html"],
a.btn.primary[href="zaum-kemenate.html"] {
  background: #011e31 !important;
  color: #ffffff !important;
  border: 1.5px solid #011e31 !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}

a.btn.primary[href="strandperle-6.html"]:hover,
a.btn.primary[href="strandperle-7.html"]:hover,
a.btn.primary[href="heuboden.html"]:hover,
a.btn.primary[href="zaum-kemenate.html"]:hover {
  background: #ffffff !important;
  color: #011e31 !important;
  border-color: #011e31 !important;
}
.apartments-preview .section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 18px !important;
}

.apartments-preview .section-head p {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem) !important;
  line-height: 1.7 !important;
  max-width: 780px !important;
  color: #011e31 !important;
}
/* Startseite: Überschrift + Untertext wie FAQ-Seite */
.start-section-title {
  font-size: clamp(2.6rem, 5vw, 4.4rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.055em !important;
  margin: 0 0 22px 0 !important;
  max-width: 860px !important;
  color: #011e31 !important;
}

.start-section-subtitle {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem) !important;
  line-height: 1.7 !important;
  max-width: 820px !important;
  color: #011e31 !important;
  margin: 0 !important;
}
/* Langzeitaufenthalt / Sonderpreis */
.longstay-section {
  background: #cfcac2;
  padding: 88px 0;
}

.longstay-box {
  background: #ffffff;
  border: 1px solid rgba(1, 30, 49, 0.12);
  border-radius: 34px;
  padding: 42px 46px;
  display: flex;
  align-items: center;
  gap: 34px;
  box-shadow: 0 16px 36px rgba(1, 30, 49, 0.08);
}

.longstay-symbol {
  flex: 0 0 auto;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  font-weight: 700;
  color: #011e31;
  opacity: 0.14;
}

.longstay-content {
  flex: 1;
}

.longstay-content h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #011e31;
  margin: 0 0 16px;
}

.longstay-content p {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  color: #21384a;
  max-width: 780px;
  margin: 0 0 24px;
}

.longstay-btn {
  background: #011e31 !important;
  color: #ffffff !important;
  border: 1.5px solid #011e31 !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}

.longstay-btn:hover {
  background: #ffffff !important;
  color: #011e31 !important;
  border-color: #011e31 !important;
}

@media (max-width: 900px) {
  .longstay-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    border-radius: 26px;
    gap: 18px;
  }

  .longstay-symbol {
    font-size: 4.5rem;
  }

  .longstay-btn {
    width: 100%;
    text-align: center;
  }
}
/* Startseite: Umgebungs-Galerie */
.home-gallery-section {
  background: #ffffff;
  padding: 88px 0 78px;
}

.home-gallery-head {
  margin-bottom: 34px;
}

.home-gallery-head .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #011e31;
  background: #f3f0eb;
  border: 1px solid rgba(1, 30, 49, 0.12);
  border-radius: 999px;
  padding: 7px 14px;
  margin: 0 0 18px;
}

.home-gallery-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 0 24px;
  -webkit-overflow-scrolling: touch;
}

.home-gallery-scroll::-webkit-scrollbar {
  height: 10px;
}

.home-gallery-scroll::-webkit-scrollbar-track {
  background: #f3f0eb;
  border-radius: 999px;
}

.home-gallery-scroll::-webkit-scrollbar-thumb {
  background: #cfcac2;
  border-radius: 999px;
}

.gallery-card {
  flex: 0 0 min(380px, 82vw);
  height: 260px;
  border-radius: 30px;
  overflow: hidden;
  background: #cfcac2;
  border: 1px solid rgba(1, 30, 49, 0.1);
  box-shadow: 0 18px 40px rgba(1, 30, 49, 0.08);
  scroll-snap-align: start;
  position: relative;
}

.gallery-card::before {
  content: "Bild folgt";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #011e31;
  font-weight: 700;
  opacity: 0.55;
  z-index: 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Wenn echte Bilder geladen sind, verschwindet der Platzhalter optisch dahinter */
.gallery-card img[src] {
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .home-gallery-section {
    padding: 62px 0;
  }

  .gallery-card {
    flex-basis: 82vw;
    height: 220px;
    border-radius: 24px;
  }
}
/* Galerie-Überschrift mittig setzen */
.home-gallery-head {
  text-align: center;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.home-gallery-head .start-section-title,
.home-gallery-head .start-section-subtitle {
  text-align: center;
}

.home-gallery-head .start-section-subtitle {
  margin-left: auto;
  margin-right: auto;
}
/* Langzeitaufenthalt-Box mittig ausrichten */
.longstay-card,
.longstay-box,
.discount-card {
  text-align: center;
}

.longstay-card .btn,
.longstay-box .btn,
.discount-card .btn {
  margin-left: auto;
  margin-right: auto;
}

.longstay-card {
  justify-content: center;
}
.home-surroundings-preview {
  padding: 70px 24px 80px;
  background: #ffffff;
}

.home-surroundings-preview .section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.home-surroundings-preview .section-heading.centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 42px;
}

.home-surroundings-preview .section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
  color: #011e31;
}

.home-surroundings-preview .section-heading p {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
  margin: 0;
  color: #011e31;
}

.surroundings-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.surroundings-info-card {
  background: #f7f5f1;
  border: 1px solid rgba(1, 30, 49, 0.12);
  border-radius: 28px;
  padding: 32px;
  min-height: 230px;
  box-shadow: 0 18px 40px rgba(1, 30, 49, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.surroundings-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(1, 30, 49, 0.10);
}

.surroundings-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #cfcac2;
  color: #011e31;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.surroundings-info-card h3 {
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #011e31;
}

.surroundings-info-card p {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  color: #011e31;
}

.surroundings-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.surroundings-button {
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.surroundings-button:hover {
  background: #011e31;
  color: #ffffff;
  border-color: #011e31;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .surroundings-card-grid {
    grid-template-columns: 1fr;
  }

  .home-surroundings-preview {
    padding: 56px 20px 64px;
  }

  .surroundings-info-card {
    min-height: auto;
  }
}
/* Umfeld-Karten auf Startseite überarbeiten */
.home-surroundings-preview .section-heading.centered p {
  display: none;
}

.home-surroundings-preview .section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 30px;
  color: #011e31;
}

.surroundings-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.surroundings-info-card {
  background: #f7f5f1;
  border: 1px solid rgba(1, 30, 49, 0.10);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(1, 30, 49, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.surroundings-card-image {
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.surroundings-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.surroundings-card-content {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.surroundings-info-card h3 {
  font-size: 1.75rem;
  line-height: 1.12;
  margin: 0 0 14px;
  color: #011e31;
}

.surroundings-info-card p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
  color: #21384a;
}

.surroundings-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.surroundings-button {
  background: #011e31 !important;
  color: #ffffff !important;
  border: 1.5px solid #011e31 !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}

.surroundings-button:hover {
  background: #ffffff !important;
  color: #011e31 !important;
  border-color: #011e31 !important;
}

@media (max-width: 900px) {
  .surroundings-card-grid {
    grid-template-columns: 1fr;
  }

  .surroundings-card-image {
    height: 220px;
  }
}
.contact-section h2,
.contact-block h2,
.form-section h2 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.2rem;
}

.contact-section > p,
.contact-block > p,
.form-section > p {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.65;
  max-width: 720px;
}
#kontakt,
.home-contact,
.final-contact {
  text-align: center;
}

#kontakt h2,
.home-contact h2,
.final-contact h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#kontakt > p,
.home-contact > p,
.final-contact > p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.65;
  max-width: 760px;
}

#kontakt form,
.home-contact form,
.final-contact form {
  text-align: left;
}
/* Startseite Kontakt-Intro */
.home-contact-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 34px auto;
}

.home-contact-intro h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.home-contact-intro p {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}
/* Startseite: Kontaktabschluss Text höher setzen */
.contact-section .contact-grid,
.contact-final .contact-grid,
.home-contact .contact-grid {
  align-items: flex-start;
}

.contact-section .contact-text,
.contact-final .contact-text,
.home-contact .contact-text {
  padding-top: 35px;
}
/* Startseite: Kontaktabschluss Text höher setzen - stärkere Variante */
.contact-section h2,
.contact-final h2,
.home-contact h2 {
  margin-top: 0;
}

.contact-section .contact-text,
.contact-final .contact-text,
.home-contact .contact-text {
  transform: translateY(-70px);
}
.home-contact .contact-form button,
.home-contact form button,
.contact-form button[type="submit"],
form button[type="submit"] {
  display: block;
  margin-left: 0;
  margin-right: auto;
}
.gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.gallery-cta-button {
  background: #00283b;
  color: #ffffff;
  border: 1px solid #00283b;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.gallery-cta-button:hover {
  background: transparent;
  color: #00283b;
}