:root {
  --navy: #102f50;
  --white: #fff;
  --line: rgba(255,255,255,.9);
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
}
.home {
  min-height: 100vh;
  background-image:
    linear-gradient(180deg, rgba(5,20,35,.03) 0%, rgba(5,20,35,.04) 45%, rgba(5,20,35,.58) 100%),
    url("assets/hintergrund-hainersee.png");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.home-shell {
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding: 24px clamp(20px, 4vw, 58px) 24px;
  display: grid;
  grid-template-columns: minmax(260px, 355px) 1fr;
  grid-template-rows: auto 1fr auto auto;
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: 18px;
}
.brand {
  grid-column: 1 / -1;
  grid-row: 1;
  color: var(--navy);
  width: min(610px, 100%);
  text-shadow: 0 1px 1px rgba(255,255,255,.35);
}
.brand-kicker {
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand-kicker span {
  display: inline-block;
  width: min(245px, 40vw);
  height: 1px;
  background: rgba(16,47,80,.75);
}
.brand h1 {
  font-size: clamp(58px, 7vw, 94px);
  line-height: .92;
  letter-spacing: .055em;
  font-weight: 400;
  margin: 4px 0 4px;
}
.brand-wave {
  width: min(540px, 90%);
  height: 14px;
  border-top: 4px solid #4aa6df;
  border-radius: 50%;
  transform: rotate(1deg);
  margin: 5px 0 5px;
}
.tagline {
  font-size: clamp(22px, 2.5vw, 34px);
  font-style: italic;
  margin: 0;
}
.apartments {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 355px;
  z-index: 1;
}
.apartment-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.96);
  border-radius: 19px;
  color: white;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.apartment-card:hover, .apartment-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 9px 24px rgba(0,0,0,.28);
}
.apartment-card img {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  display: block;
}
.card-caption {
  min-height: 70px;
  background: rgba(7,39,72,.94);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7px 30px 8px 12px;
  position: relative;
}
.card-caption strong { font-size: clamp(17px, 1.45vw, 21px); font-weight: 700; }
.card-caption span:not(.card-arrow) { font-size: 16px; margin-top: 3px; }
.card-arrow {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Arial, sans-serif;
  font-size: 32px;
}
.intro {
  grid-column: 1 / -1;
  grid-row: 3;
  width: 100%;
  text-align: center;
  padding: 0 clamp(8px, 4vw, 55px);
  text-shadow: 0 2px 5px rgba(0,0,0,.72);
  align-self: end;
}
.intro h2 {
  font-size: clamp(25px, 3vw, 39px);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 8px;
}
.intro p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.45;
}
.site-footer {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  justify-content: center;
  padding-top: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.site-footer a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  padding: 2px 17px;
  border-right: 1px solid rgba(255,255,255,.85);
}
.site-footer a:last-child { border-right: 0; }
.site-footer a:hover { text-decoration: underline; }

.subpage {
  min-height: 100vh;
  background: #f5f7f8;
  color: #24384b;
  font-family: Arial, sans-serif;
}
.subpage header {
  background: #123858;
  color: white;
  padding: 22px max(22px, calc((100% - 1100px)/2));
}
.subpage header a { color: white; text-decoration: none; }
.subpage main {
  max-width: 1100px;
  margin: 36px auto;
  padding: 0 22px 50px;
}
.subpage h1 { font: 42px Georgia, serif; margin: 0 0 18px; color: #123858; }
.subpage h2 { color: #123858; font-family: Georgia, serif; }
.subpage .hero-photo {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 12px;
}
.subpage .back { display: inline-block; margin-top: 28px; color: #123858; }
.subpage footer {
  background: #123858;
  color: white;
  padding: 20px;
  text-align: center;
}
.subpage footer a { color: white; margin: 0 10px; }


/* Responsive layout: scales to the available screen without horizontal overflow. */
html, body { width: 100%; }
body { overflow-x: hidden; }
.home {
  min-height: 100vh;
  min-height: 100svh;
  background-attachment: scroll;
  background-size: cover;
  background-position: center center;
}
.home-shell {
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: minmax(220px, 27vw) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  padding:
    clamp(16px, 2.4vh, 28px)
    clamp(16px, 3vw, 48px)
    clamp(14px, 2vh, 24px);
  column-gap: clamp(18px, 3vw, 48px);
  row-gap: clamp(10px, 1.6vh, 18px);
}
.brand { max-width: min(610px, 70vw); }
.brand h1 { font-size: clamp(48px, 6.2vw, 88px); }
.apartments {
  width: 100%;
  max-width: 100%;
  gap: clamp(10px, 1.7vh, 20px);
}
.apartment-card img { aspect-ratio: 1.48 / 1; }
.card-caption { min-height: clamp(56px, 7.5vh, 70px); }
.card-caption strong { font-size: clamp(15px, 1.35vw, 20px); }
.card-caption span:not(.card-arrow) { font-size: clamp(13px, 1.05vw, 16px); }
.intro { padding-inline: clamp(8px, 2.5vw, 38px); }
.intro h2 { font-size: clamp(22px, 2.8vw, 36px); }
.intro p { font-size: clamp(14px, 1.25vw, 18px); }
.site-footer a {
  font-size: clamp(12px, 1.05vw, 15px);
  padding-inline: clamp(7px, 1.1vw, 16px);
}

/* Smaller desktop and tablet: keep everything fluid and readable. */
@media (max-width: 900px) and (min-width: 601px) {
  .home-shell {
    grid-template-columns: minmax(205px, 31vw) minmax(0, 1fr);
    column-gap: 18px;
    padding: 18px;
  }
  .brand h1 { font-size: clamp(48px, 7vw, 68px); }
  .tagline { font-size: clamp(20px, 2.8vw, 27px); }
  .apartments { max-width: 100%; }
  .intro { padding-inline: 8px; }
  .site-footer a { padding-inline: 8px; }
}

/* Smartphones: single-column flow, touch-friendly links, no fixed-height clipping. */
@media (max-width: 600px) {
  .home {
    background-attachment: scroll;
    background-position: 58% center;
    background-size: cover;
  }
  .home-shell {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 14px 18px;
  }
  .brand {
    width: 100%;
    max-width: 100%;
  }
  .brand-kicker { font-size: clamp(24px, 8vw, 34px); gap: 10px; }
  .brand-kicker span { width: min(38vw, 150px); }
  .brand h1 {
    font-size: clamp(43px, 13vw, 68px);
    letter-spacing: .025em;
    overflow-wrap: anywhere;
  }
  .brand-wave { width: min(92%, 390px); }
  .tagline { font-size: clamp(19px, 5.5vw, 26px); }
  .apartments {
    width: min(100%, 360px);
    max-width: 360px;
    align-self: flex-start;
    gap: 14px;
  }
  .apartment-card { border-radius: 15px; }
  .apartment-card img { aspect-ratio: 1.55 / 1; }
  .card-caption { min-height: 58px; padding: 6px 30px 7px 8px; }
  .card-caption strong { font-size: clamp(15px, 4.2vw, 18px); }
  .card-caption span:not(.card-arrow) { font-size: 14px; }
  .card-arrow { right: 10px; font-size: 28px; }
  .intro {
    width: 100%;
    padding: 8px 3px 0;
    text-align: center;
  }
  .intro h2 { font-size: clamp(23px, 6vw, 29px); }
  .intro p { font-size: 15px; line-height: 1.45; }
  .site-footer { padding-top: 4px; }
  .site-footer nav { justify-content: center; row-gap: 5px; }
  .site-footer a {
    font-size: 12px;
    padding: 5px 8px;
    line-height: 1.3;
  }
  .subpage header { padding: 18px 20px; }
  .subpage main { margin: 22px auto; padding: 0 16px 36px; }
  .subpage h1 { font-size: clamp(28px, 8vw, 36px); }
  .subpage .hero-photo { max-height: 42vh; }
  .subpage footer a { display: inline-block; margin: 6px 8px; }
}

/* Very narrow phones. */
@media (max-width: 360px) {
  .home-shell { padding-inline: 11px; }
  .apartments { width: 100%; }
  .site-footer a { font-size: 11px; padding-inline: 6px; }
}

/* Short landscape screens: allow natural scrolling rather than cropping content. */
@media (max-height: 650px) and (min-width: 601px) {
  .home-shell { min-height: 100vh; }
  .brand h1 { font-size: clamp(46px, 5.2vw, 68px); }
  .apartments { max-width: min(280px, 25vw); }
}

/* Appartement-Unterseite */
.apartment-detail { background:#f7f7f4; color:#263746; }
.apartment-detail .detail-header { min-height:72px; padding:14px clamp(18px,5vw,76px); display:flex; align-items:center; justify-content:space-between; gap:22px; background:#fff; color:#173a57; }
.detail-brand { color:#173a57; text-decoration:none; letter-spacing:.12em; font:18px Georgia,serif; }
.detail-header nav { display:flex; flex-wrap:wrap; gap:clamp(12px,2.5vw,34px); }
.detail-header nav a { color:#173a57; text-decoration:none; font-size:14px; }
.detail-header nav a:hover { text-decoration:underline; }
.apartment-detail .detail-main { max-width:1240px; margin:0 auto; padding:0 24px 56px; }
.detail-hero { position:relative; height:clamp(380px,58vw,650px); overflow:hidden; margin:0 -24px; background:#193d59; }
.detail-hero>img { width:100%; height:100%; object-fit:cover; object-position:center 55%; display:block; }
.detail-hero-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,29,46,.72),rgba(8,29,46,.25) 58%,rgba(8,29,46,.02)); }
.detail-hero-copy { position:absolute; left:clamp(24px,7vw,100px); bottom:clamp(32px,7vw,78px); color:white; }
.eyebrow { margin:0 0 13px; letter-spacing:.18em; font:600 11px Arial,sans-serif; }
.eyebrow.dark { color:#718392; }
.detail-hero h1 { margin:0; color:white; font:400 clamp(46px,7vw,82px)/.98 Georgia,serif; }
.detail-hero-copy>p:not(.eyebrow) { margin:15px 0 18px; font:italic clamp(20px,2.6vw,28px) Georgia,serif; }
.hero-capacity { display:inline-block; border:1px solid rgba(255,255,255,.8); padding:9px 15px; font-size:14px; }
.detail-intro { max-width:790px; margin:76px auto 58px; text-align:center; }
.detail-intro h2,.section-heading h2,.detail-amenities h2 { margin:0 0 20px; color:#173a57; font:400 clamp(31px,4vw,44px) Georgia,serif; }
.detail-intro p:not(.eyebrow) { color:#536472; font-size:17px; line-height:1.8; margin:0 auto 13px; }
.detail-facts { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid #d8e0e4; border-bottom:1px solid #d8e0e4; padding:25px 0; margin:0 0 82px; }
.detail-facts div { display:flex; flex-direction:column; align-items:center; gap:7px; border-right:1px solid #d8e0e4; color:#6b7a84; font-size:13px; }
.detail-facts div:last-child { border:0; }
.fact-number { color:#173a57; font:30px Georgia,serif; }
.detail-gallery-section { margin-bottom:80px; }
.section-heading { text-align:center; margin-bottom:30px; }
.section-heading p:last-child { color:#667783; font-size:15px; }
.detail-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.detail-gallery figure { position:relative; margin:0; overflow:hidden; background:#e5e9e9; min-height:250px; }
.detail-gallery figure.gallery-wide { grid-column:span 2; }
.detail-gallery img { display:block; width:100%; height:100%; min-height:250px; max-height:440px; object-fit:cover; transition:transform .35s ease; }
.detail-gallery figure.gallery-wide img { max-height:510px; }
.detail-gallery figure:hover img { transform:scale(1.025); }
.detail-gallery figcaption { position:absolute; bottom:0; left:0; right:0; padding:28px 18px 14px; color:#fff; font-size:14px; background:linear-gradient(transparent,rgba(0,0,0,.62)); }
.detail-amenities { display:grid; grid-template-columns:.85fr 1.15fr; gap:55px; align-items:start; padding:48px clamp(20px,5vw,64px); background:#edf1f1; }
.detail-amenities ul { margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 24px; color:#465b69; font-size:15px; }
.detail-amenities li:before { content:"âœ“"; color:#4c8198; margin-right:10px; }
.detail-note { margin:75px 0 24px; padding:48px 24px; text-align:center; background:#173a57; color:#fff; }
.detail-note h2 { margin:0 0 10px; color:#fff; font:400 clamp(29px,4vw,40px) Georgia,serif; }
.detail-note p { margin:0 0 24px; color:#e0e9ef; }
.detail-note a { display:inline-block; padding:12px 22px; border:1px solid #fff; color:#fff; text-decoration:none; }
.detail-note a:hover { background:#fff; color:#173a57; }
.detail-back { text-align:center; margin:26px 0 0; }
.detail-back a { color:#173a57; text-decoration:none; }
.detail-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding:22px clamp(18px,5vw,76px); background:#102f50; color:#fff; font-size:13px; }
.detail-footer nav { display:flex; gap:22px; }
.detail-footer a { color:#fff; text-decoration:none; }
@media(max-width:700px) {
 .apartment-detail .detail-header { align-items:flex-start; flex-direction:column; padding:17px 18px; }
 .detail-header nav { gap:14px; }
 .apartment-detail .detail-main { padding:0 15px 35px; }
 .detail-hero { height:470px; margin:0 -15px; }
 .detail-hero-copy { left:22px; right:18px; bottom:32px; }
 .detail-intro { margin:48px auto 42px; }
 .detail-intro p:not(.eyebrow) { font-size:15px; line-height:1.7; }
 .detail-facts { grid-template-columns:repeat(2,1fr); row-gap:22px; margin-bottom:54px; }
 .detail-facts div:nth-child(2) { border-right:0; }
 .detail-gallery { grid-template-columns:1fr; gap:12px; }
 .detail-gallery figure.gallery-wide { grid-column:auto; }
 .detail-gallery figure,.detail-gallery img { min-height:220px; }
 .detail-gallery figure.gallery-wide img { max-height:330px; }
 .detail-amenities { grid-template-columns:1fr; gap:20px; padding:30px 20px; }
 .detail-amenities ul { grid-template-columns:1fr; gap:13px; }
 .detail-note { margin-top:48px; padding:36px 18px; }
 .detail-footer { flex-direction:column; align-items:center; text-align:center; }
}

/* Korrektur: Darstellung der Appartementseite an die verfÃ¼gbare BildschirmgrÃ¶ÃŸe anpassen */
html { width:100%; max-width:100%; overflow-x:hidden; }
body.apartment-detail {
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:hidden;
  font-size:16px;
}
.apartment-detail *, .apartment-detail *::before, .apartment-detail *::after {
  box-sizing:border-box;
}
.apartment-detail img {
  display:block;
  max-width:100%;
}
.apartment-detail .detail-header {
  width:100%;
  min-height:64px;
  padding:12px clamp(14px,3vw,38px);
}
.apartment-detail .detail-main {
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 clamp(14px,2.5vw,28px) 42px;
}
.apartment-detail .detail-hero {
  width:calc(100% + 2 * clamp(14px,2.5vw,28px));
  height:clamp(300px,43vw,510px);
  margin-left:calc(-1 * clamp(14px,2.5vw,28px));
  margin-right:calc(-1 * clamp(14px,2.5vw,28px));
}
.apartment-detail .detail-hero-copy {
  left:clamp(20px,5vw,64px);
  bottom:clamp(24px,5vw,58px);
  max-width:calc(100% - 40px);
}
.apartment-detail .detail-hero h1 {
  font-size:clamp(36px,5.4vw,64px);
  line-height:1.02;
}
.apartment-detail .detail-hero-copy>p:not(.eyebrow) {
  font-size:clamp(17px,2vw,23px);
}
.apartment-detail .detail-intro {
  width:100%;
  max-width:760px;
  margin:clamp(38px,6vw,62px) auto 44px;
}
.apartment-detail .detail-intro h2,
.apartment-detail .section-heading h2,
.apartment-detail .detail-amenities h2 {
  font-size:clamp(27px,3.4vw,38px);
}
.apartment-detail .detail-intro p:not(.eyebrow) {
  font-size:clamp(15px,1.35vw,17px);
  line-height:1.7;
}
.apartment-detail .detail-facts {
  margin-bottom:clamp(42px,6vw,64px);
}
.apartment-detail .detail-gallery-section {
  margin-bottom:clamp(42px,6vw,64px);
}
.apartment-detail .detail-gallery {
  width:100%;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(10px,1.5vw,16px);
}
.apartment-detail .detail-gallery figure,
.apartment-detail .detail-gallery img {
  min-width:0;
  width:100%;
}
.apartment-detail .detail-gallery figure {
  min-height:0;
  height:clamp(190px,27vw,330px);
}
.apartment-detail .detail-gallery figure.gallery-wide {
  grid-column:span 2;
  height:clamp(220px,34vw,390px);
}
.apartment-detail .detail-gallery img,
.apartment-detail .detail-gallery figure.gallery-wide img {
  height:100%;
  min-height:0;
  max-height:none;
  object-fit:cover;
}
.apartment-detail .detail-amenities {
  width:100%;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(18px,4vw,42px);
  padding:clamp(24px,4vw,42px);
}
.apartment-detail .detail-amenities ul {
  min-width:0;
  grid-template-columns:repeat(2,minmax(0,1fr));
  font-size:clamp(13px,1.2vw,15px);
}
.apartment-detail .detail-note {
  margin-top:clamp(40px,6vw,60px);
  padding:clamp(28px,4vw,42px) 18px;
}
.apartment-detail .detail-footer {
  width:100%;
  padding:20px clamp(14px,3vw,38px);
}
@media(max-width:700px) {
  .apartment-detail .detail-header { gap:12px; }
  .apartment-detail .detail-header nav { width:100%; gap:9px 15px; }
  .apartment-detail .detail-header nav a { font-size:13px; }
  .apartment-detail .detail-main { padding:0 14px 30px; }
  .apartment-detail .detail-hero {
    width:calc(100% + 28px);
    margin-left:-14px;
    margin-right:-14px;
    height:clamp(300px,105vw,420px);
  }
  .apartment-detail .detail-hero h1 { font-size:clamp(35px,10vw,52px); }
  .apartment-detail .detail-hero-copy { left:20px; bottom:24px; }
  .apartment-detail .detail-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .apartment-detail .detail-gallery { grid-template-columns:minmax(0,1fr); }
  .apartment-detail .detail-gallery figure,
  .apartment-detail .detail-gallery figure.gallery-wide {
    grid-column:auto;
    height:clamp(190px,62vw,280px);
  }
  .apartment-detail .detail-amenities { grid-template-columns:minmax(0,1fr); }
  .apartment-detail .detail-amenities ul { grid-template-columns:minmax(0,1fr); }
  .apartment-detail .detail-footer { align-items:center; text-align:center; }
}
@media(max-width:380px) {
  .apartment-detail .detail-hero h1 { font-size:34px; }
  .apartment-detail .hero-capacity { font-size:12px; padding:7px 10px; }
  .apartment-detail .detail-facts .fact-number { font-size:25px; }
}

/* Lesbarkeit: SchriftgrÃ¶ÃŸen bleiben auch bei schmaleren Ansichten gut lesbar */
.apartment-detail { font-size:17px; }
.apartment-detail .detail-header nav a { font-size:15px; }
.apartment-detail .eyebrow { font-size:12px; }
.apartment-detail .detail-hero h1 { font-size:clamp(42px,5.2vw,66px); }
.apartment-detail .detail-hero-copy>p:not(.eyebrow) { font-size:clamp(20px,2.1vw,25px); }
.apartment-detail .hero-capacity { font-size:15px; }
.apartment-detail .detail-intro p:not(.eyebrow) {
  font-size:17px;
  line-height:1.75;
}
.apartment-detail .detail-intro h2,
.apartment-detail .section-heading h2,
.apartment-detail .detail-amenities h2 {
  font-size:clamp(30px,3.1vw,40px);
  line-height:1.2;
}
.apartment-detail .detail-facts div { font-size:15px; }
.apartment-detail .fact-number { font-size:32px; }
.apartment-detail .section-heading p:last-child { font-size:16px; line-height:1.6; }
.apartment-detail .detail-gallery figcaption { font-size:16px; }
.apartment-detail .detail-amenities ul { font-size:16px; line-height:1.55; }
.apartment-detail .detail-note h2 { font-size:clamp(30px,3.2vw,40px); }
.apartment-detail .detail-note p { font-size:17px; line-height:1.6; }
.apartment-detail .detail-note a { font-size:16px; }
.apartment-detail .detail-footer { font-size:14px; }
@media(max-width:700px) {
  .apartment-detail { font-size:16px; }
  .apartment-detail .detail-header nav a { font-size:14px; }
  .apartment-detail .detail-hero h1 { font-size:clamp(38px,9vw,50px); }
  .apartment-detail .detail-hero-copy>p:not(.eyebrow) { font-size:20px; }
  .apartment-detail .detail-intro p:not(.eyebrow) { font-size:16px; line-height:1.7; }
  .apartment-detail .detail-facts div { font-size:14px; }
  .apartment-detail .fact-number { font-size:29px; }
  .apartment-detail .section-heading p:last-child { font-size:15px; }
  .apartment-detail .detail-gallery figcaption { font-size:15px; }
  .apartment-detail .detail-amenities ul { font-size:15px; }
  .apartment-detail .detail-note p { font-size:16px; }
}

/* Browser-Zoom / Typografie: keine viewportabhÃ¤ngige Verkleinerung von FlieÃŸtext */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.apartment-detail {
  font-size: 1rem;
}
.apartment-detail .detail-header nav a { font-size: 0.9375rem; }
.apartment-detail .eyebrow { font-size: 0.75rem; }
.apartment-detail .detail-hero h1 { font-size: 4rem; }
.apartment-detail .detail-hero-copy > p:not(.eyebrow) { font-size: 1.5rem; }
.apartment-detail .hero-capacity { font-size: 0.9375rem; }
.apartment-detail .detail-intro p:not(.eyebrow) {
  font-size: 1.0625rem;
  line-height: 1.75;
}
.apartment-detail .detail-intro h2,
.apartment-detail .section-heading h2,
.apartment-detail .detail-amenities h2 {
  font-size: 2.25rem;
  line-height: 1.2;
}
.apartment-detail .detail-facts div { font-size: 0.9375rem; }
.apartment-detail .fact-number { font-size: 2rem; }
.apartment-detail .section-heading p:last-child { font-size: 1rem; line-height: 1.6; }
.apartment-detail .detail-gallery figcaption { font-size: 1rem; }
.apartment-detail .detail-amenities ul { font-size: 1rem; line-height: 1.55; }
.apartment-detail .detail-note h2 { font-size: 2.375rem; }
.apartment-detail .detail-note p { font-size: 1.0625rem; line-height: 1.6; }
.apartment-detail .detail-note a { font-size: 1rem; }
.apartment-detail .detail-footer { font-size: 0.875rem; }

@media (max-width:700px) {
  .apartment-detail .detail-hero h1 { font-size: 2.625rem; }
  .apartment-detail .detail-hero-copy > p:not(.eyebrow) { font-size: 1.25rem; }
  .apartment-detail .detail-intro p:not(.eyebrow) { font-size: 1rem; }
  .apartment-detail .detail-intro h2,
  .apartment-detail .section-heading h2,
  .apartment-detail .detail-amenities h2 { font-size: 1.875rem; }
  .apartment-detail .detail-facts div { font-size: 0.875rem; }
  .apartment-detail .fact-number { font-size: 1.8125rem; }
  .apartment-detail .section-heading p:last-child { font-size: 0.9375rem; }
  .apartment-detail .detail-gallery figcaption { font-size: 0.9375rem; }
  .apartment-detail .detail-amenities ul { font-size: 0.9375rem; }
  .apartment-detail .detail-note h2 { font-size: 1.875rem; }
  .apartment-detail .detail-note p { font-size: 1rem; }
}

/* Kompaktere Wohnungsseite bei gleichbleibend gut lesbarer Schrift */
.apartment-detail .detail-main { max-width:1040px; }
.apartment-detail .detail-hero {
  height:clamp(280px,32vw,390px);
}
.apartment-detail .detail-hero h1 {
  font-size:clamp(38px,4vw,52px);
}
.apartment-detail .detail-hero-copy>p:not(.eyebrow) {
  font-size:20px;
}
.apartment-detail .detail-intro {
  max-width:780px;
  margin:38px auto 30px;
}
.apartment-detail .detail-intro h2,
.apartment-detail .section-heading h2,
.apartment-detail .detail-amenities h2 {
  font-size:clamp(28px,2.8vw,34px);
}
.apartment-detail .detail-intro p:not(.eyebrow) {
  font-size:16px;
  line-height:1.6;
}
.apartment-detail .detail-facts {
  padding:16px 0;
  margin-bottom:42px;
}
.apartment-detail .fact-number { font-size:28px; }
.apartment-detail .detail-gallery-section { margin-bottom:42px; }
.apartment-detail .section-heading { margin-bottom:20px; }
.apartment-detail .detail-gallery {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.apartment-detail .detail-gallery figure,
.apartment-detail .detail-gallery figure.gallery-wide {
  grid-column:auto;
  height:clamp(170px,19vw,230px);
  min-height:0;
}
.apartment-detail .detail-gallery img,
.apartment-detail .detail-gallery figure.gallery-wide img {
  height:100%;
  min-height:0;
  max-height:none;
}
.apartment-detail .detail-amenities {
  padding:28px 32px;
  gap:24px;
}
.apartment-detail .detail-amenities h2 { font-size:30px; }
.apartment-detail .detail-amenities ul {
  font-size:15px;
  gap:10px 18px;
}
.apartment-detail .detail-note {
  margin-top:38px;
  padding:30px 18px;
}
.apartment-detail .detail-note h2 { font-size:32px; }
.apartment-detail .detail-note p { font-size:16px; }
@media(max-width:700px) {
  .apartment-detail .detail-hero { height:300px; }
  .apartment-detail .detail-hero h1 { font-size:38px; }
  .apartment-detail .detail-intro { margin:30px auto 26px; }
  .apartment-detail .detail-gallery {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .apartment-detail .detail-gallery figure,
  .apartment-detail .detail-gallery figure.gallery-wide {
    grid-column:auto;
    height:clamp(135px,38vw,190px);
  }
  .apartment-detail .detail-gallery figcaption {
    font-size:13px;
    padding:22px 10px 9px;
  }
  .apartment-detail .detail-amenities { padding:24px 18px; }
}
@media(max-width:420px) {
  .apartment-detail .detail-gallery { grid-template-columns:1fr; }
  .apartment-detail .detail-gallery figure,
  .apartment-detail .detail-gallery figure.gallery-wide { height:210px; }
}

/* Startseite: kompakter Aufbau bei gut lesbarer Schrift â€“ kein Herauszoomen nÃ¶tig */
.home {
  min-height:100vh;
  min-height:100svh;
  background-attachment:scroll;
  background-size:cover;
  background-position:center center;
}
.home-shell {
  min-height:100vh;
  min-height:100svh;
  width:100%;
  max-width:1600px;
  margin:0 auto;
  padding:clamp(12px,2vh,20px) clamp(18px,3vw,42px) 14px;
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr) auto auto;
  column-gap:clamp(18px,2.8vw,38px);
  row-gap:clamp(8px,1.2vh,13px);
}
.home .brand {
  grid-column:1 / -1;
  grid-row:1;
  width:min(540px,100%);
  max-width:100%;
}
.home .brand-kicker { font-size:30px; gap:12px; }
.home .brand-kicker span { width:min(180px,28vw); }
.home .brand h1 {
  font-size:clamp(52px,5.1vw,68px);
  line-height:.92;
  margin:2px 0;
}
.home .brand-wave { width:min(420px,85%); height:10px; margin:3px 0; }
.home .tagline { font-size:23px; line-height:1.15; }
.home .apartments {
  grid-column:1;
  grid-row:2;
  align-self:start;
  width:100%;
  max-width:250px;
  gap:12px;
}
.home .apartment-card {
  border-width:2px;
  border-radius:13px;
}
.home .apartment-card img {
  width:100%;
  aspect-ratio:1.72 / 1;
  object-fit:cover;
}
.home .card-caption {
  min-height:54px;
  padding:6px 25px 6px 8px;
}
.home .card-caption strong { font-size:17px; line-height:1.2; }
.home .card-caption span:not(.card-arrow) { font-size:14px; margin-top:2px; }
.home .card-arrow { right:9px; font-size:26px; }
.home .intro {
  grid-column:1 / -1;
  grid-row:3;
  align-self:end;
  width:100%;
  padding:0 clamp(8px,2vw,28px);
}
.home .intro h2 { font-size:29px; line-height:1.15; margin:0 0 6px; }
.home .intro p {
  max-width:1050px;
  font-size:16px;
  line-height:1.45;
}
.home .site-footer {
  grid-column:1 / -1;
  grid-row:4;
  padding-top:5px;
}
.home .site-footer a {
  font-size:14px;
  padding:2px 12px;
}
@media(max-width:900px) and (min-width:601px) {
  .home-shell {
    grid-template-columns:220px minmax(0,1fr);
    column-gap:18px;
    padding:14px 18px 12px;
  }
  .home .apartments { max-width:220px; }
  .home .brand h1 { font-size:54px; }
  .home .tagline { font-size:21px; }
  .home .intro h2 { font-size:26px; }
  .home .intro p { font-size:15px; }
  .home .site-footer a { font-size:13px; padding-inline:8px; }
}
@media(max-width:600px) {
  .home-shell {
    min-height:100svh;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:13px;
    padding:14px 13px 16px;
  }
  .home .brand { width:100%; }
  .home .brand-kicker { font-size:25px; }
  .home .brand h1 { font-size:clamp(44px,12vw,60px); }
  .home .brand-wave { width:85%; }
  .home .tagline { font-size:20px; }
  .home .apartments {
    width:min(100%,310px);
    max-width:310px;
    align-self:flex-start;
    gap:11px;
  }
  .home .apartment-card img { aspect-ratio:1.75 / 1; }
  .home .card-caption { min-height:52px; }
  .home .card-caption strong { font-size:16px; }
  .home .card-caption span:not(.card-arrow) { font-size:14px; }
  .home .intro { padding:3px 2px 0; }
  .home .intro h2 { font-size:24px; }
  .home .intro p { font-size:15px; line-height:1.45; }
  .home .site-footer { padding-top:2px; }
  .home .site-footer nav { row-gap:4px; }
  .home .site-footer a { font-size:12px; padding:4px 7px; }
}
/* Bei niedrigen MonitorhÃ¶hen scrollt nur der Inhalt â€“ Schrift wird nicht verkleinert. */
@media(max-height:760px) and (min-width:601px) {
  .home-shell { min-height:760px; }
}

/* Gezielte Korrektur der Startseite nach dem Screenshot */
body.home {
  font-family: Georgia, "Times New Roman", serif;
  background-position: center center;
  background-size: cover;
}
body.home .home-shell {
  max-width: 1920px;
  min-height: 100svh;
  padding: 18px 26px 16px;
  grid-template-columns: 330px minmax(0,1fr);
  grid-template-rows: auto minmax(0,1fr) auto auto;
  column-gap: 28px;
  row-gap: 10px;
}
body.home .brand {
  width: 560px;
  max-width: 100%;
  text-shadow: 0 1px 2px rgba(255,255,255,.6);
}
body.home .brand-kicker { font-size: 30px; gap: 12px; }
body.home .brand-kicker span { width: 190px; }
body.home .brand h1 {
  font-size: 68px;
  line-height: .95;
  letter-spacing: .045em;
  margin: 3px 0;
}
body.home .brand-wave { width: 400px; max-width: 90%; height: 10px; margin: 3px 0; }
body.home .tagline { font-size: 22px; line-height: 1.2; }
body.home .apartments {
  width: 330px;
  max-width: 330px;
  gap: 13px;
  align-self: start;
}
body.home .apartment-card {
  border-width: 2px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
}
body.home .apartment-card img {
  width: 100%;
  aspect-ratio: 1.85 / 1;
  height: auto;
  object-fit: cover;
}
body.home .card-caption {
  min-height: 62px;
  padding: 7px 30px 8px 10px;
}
body.home .card-caption strong { font-size: 19px; line-height: 1.2; }
body.home .card-caption span:not(.card-arrow) { font-size: 16px; margin-top: 4px; }
body.home .card-arrow { font-size: 28px; right: 10px; }
body.home .intro {
  width: 100%;
  padding: 0 30px;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0,0,0,.85);
}
body.home .intro h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 8px;
  font-style: italic;
}
body.home .intro p {
  max-width: 1120px;
  font-size: 19px;
  line-height: 1.5;
}
body.home .site-footer { padding-top: 8px; }
body.home .site-footer a {
  font-size: 16px;
  padding: 3px 15px;
}
@media(max-width:1100px) and (min-width:601px) {
  body.home .home-shell {
    grid-template-columns: 290px minmax(0,1fr);
    column-gap: 20px;
    padding: 16px 18px 14px;
  }
  body.home .apartments { width:290px; max-width:290px; }
  body.home .brand h1 { font-size:60px; }
  body.home .intro { padding-inline:12px; }
  body.home .intro p { font-size:17px; }
}
@media(max-width:600px) {
  body.home .home-shell {
    min-height:100svh;
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:14px 13px 16px;
  }
  body.home .brand { width:100%; }
  body.home .brand-kicker { font-size:25px; }
  body.home .brand h1 { font-size:clamp(46px,12vw,62px); }
  body.home .tagline { font-size:20px; }
  body.home .apartments {
    width:min(100%,330px);
    max-width:330px;
    gap:12px;
  }
  body.home .apartment-card img { aspect-ratio:1.85 / 1; }
  body.home .card-caption { min-height:58px; }
  body.home .card-caption strong { font-size:18px; }
  body.home .card-caption span:not(.card-arrow) { font-size:15px; }
  body.home .intro { padding:4px 2px 0; }
  body.home .intro h2 { font-size:25px; }
  body.home .intro p { font-size:16px; line-height:1.5; }
  body.home .site-footer a { font-size:13px; padding:4px 7px; }
}
@media(max-height:760px) and (min-width:601px) {
  body.home .home-shell { min-height:760px; }
}

/* Startseite bei Edge/Firefox 100 %: GrÃ¶ÃŸen auf normale Desktopansicht abstimmen */
@media (min-width: 1101px) {
  body.home .home-shell {
    min-height: 100vh;
    min-height: 100svh;
    max-width: 1920px;
    padding: 12px 24px 12px;
    grid-template-columns: 260px minmax(0,1fr);
    grid-template-rows: auto minmax(0,1fr) auto auto;
    column-gap: 24px;
    row-gap: 8px;
  }
  body.home .brand {
    width: 460px;
    max-width: 100%;
  }
  body.home .brand-kicker { font-size: 25px; gap: 10px; }
  body.home .brand-kicker span { width: 150px; }
  body.home .brand h1 {
    font-size: 54px;
    line-height: .94;
    letter-spacing: .045em;
    margin: 2px 0;
  }
  body.home .brand-wave { width: 330px; height: 8px; margin: 3px 0; }
  body.home .tagline { font-size: 19px; line-height: 1.15; }
  body.home .apartments {
    width: 260px;
    max-width: 260px;
    gap: 10px;
  }
  body.home .apartment-card {
    border-width: 2px;
    border-radius: 11px;
  }
  body.home .apartment-card img {
    aspect-ratio: 1.85 / 1;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  body.home .card-caption {
    min-height: 48px;
    padding: 5px 26px 5px 8px;
  }
  body.home .card-caption strong { font-size: 17px; line-height: 1.15; }
  body.home .card-caption span:not(.card-arrow) { font-size: 14px; margin-top: 2px; }
  body.home .card-arrow { font-size: 24px; right: 8px; }
  body.home .intro {
    padding: 0 22px;
    align-self: end;
  }
  body.home .intro h2 {
    font-size: 27px;
    line-height: 1.15;
    margin-bottom: 6px;
  }
  body.home .intro p {
    max-width: 1040px;
    font-size: 16px;
    line-height: 1.4;
  }
  body.home .site-footer { padding-top: 4px; }
  body.home .site-footer a {
    font-size: 14px;
    padding: 2px 12px;
  }
}
/* Bei mittleren Desktopfenstern dieselbe proportionale Gestaltung */
@media (min-width: 601px) and (max-width: 1100px) {
  body.home .home-shell {
    grid-template-columns: 230px minmax(0,1fr);
    column-gap: 18px;
    padding: 12px 16px;
  }
  body.home .brand h1 { font-size: 48px; }
  body.home .brand-kicker { font-size: 22px; }
  body.home .tagline { font-size: 18px; }
  body.home .apartments { width:230px; max-width:230px; gap:9px; }
  body.home .card-caption { min-height:46px; }
  body.home .card-caption strong { font-size:15px; }
  body.home .card-caption span:not(.card-arrow) { font-size:13px; }
  body.home .intro h2 { font-size:24px; }
  body.home .intro p { font-size:15px; }
}

/* Firefox-Feinschliff: etwas kompakter, damit der untere Seitenrand sichtbar bleibt.
   Diese Regeln gelten ausschlieÃŸlich in Firefox; Edge bleibt unverÃ¤ndert. */
@-moz-document url-prefix() {
  @media (min-width: 601px) {
    body.home .home-shell {
      min-height: 100vh;
      min-height: 100svh;
      padding: 8px 20px 8px;
      grid-template-columns: 245px minmax(0,1fr);
      grid-template-rows: auto minmax(0,1fr) auto auto;
      column-gap: 22px;
      row-gap: 6px;
    }
    body.home .brand { width: 420px; }
    body.home .brand-kicker { font-size: 23px; }
    body.home .brand-kicker span { width: 135px; }
    body.home .brand h1 { font-size: 49px; line-height: .92; margin: 1px 0; }
    body.home .brand-wave { width: 300px; height: 7px; margin: 2px 0; }
    body.home .tagline { font-size: 17px; }
    body.home .apartments {
      width: 245px;
      max-width: 245px;
      gap: 8px;
    }
    body.home .apartment-card img { aspect-ratio: 2 / 1; }
    body.home .card-caption {
      min-height: 43px;
      padding: 4px 23px 4px 7px;
    }
    body.home .card-caption strong { font-size: 16px; }
    body.home .card-caption span:not(.card-arrow) { font-size: 13px; margin-top: 1px; }
    body.home .card-arrow { font-size: 22px; right: 7px; }
    body.home .intro { padding: 0 16px; }
    body.home .intro h2 { font-size: 24px; line-height: 1.1; margin-bottom: 4px; }
    body.home .intro p { font-size: 15px; line-height: 1.32; max-width: 1000px; }
    body.home .site-footer { padding-top: 2px; }
    body.home .site-footer a { font-size: 13px; padding: 1px 10px; }
  }
}

/* Einheitliche Navigation und Seitenlinks auf allen Unterseiten */
.subpage-header {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px 28px;
  padding:16px clamp(18px,4vw,58px) !important;
  background:#123858;
  color:#fff;
}
.subpage-header .subpage-brand {
  flex:0 0 auto;
  color:#fff;
  font:22px Georgia,serif;
  letter-spacing:.07em;
  text-decoration:none;
  white-space:nowrap;
}
.subpage-header .global-nav {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:7px 19px;
}
.subpage-header .global-nav a {
  color:#fff;
  text-decoration:none;
  font:15px Arial,sans-serif;
  white-space:nowrap;
}
.subpage-header .global-nav a:hover,
.global-footer a:hover { text-decoration:underline; }
.global-footer {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  width:100%;
  margin-top:36px;
  padding:22px 18px;
  background:#123858;
  color:#fff;
  text-align:center;
  font:14px Arial,sans-serif;
}
.global-footer nav {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 18px;
}
.global-footer a {
  color:#fff;
  text-decoration:none;
  font-size:14px;
}
.subpage main { min-height:calc(100vh - 230px); }
@media(max-width:760px) {
  .subpage-header { align-items:flex-start; flex-direction:column; gap:12px; }
  .subpage-header .global-nav { justify-content:flex-start; gap:10px 14px; }
  .subpage-header .global-nav a { font-size:14px; }
  .global-footer nav { gap:10px 14px; }
}

.home-global-nav {
  position:absolute;
  z-index:5;
  top:18px;
  right:clamp(18px,3vw,48px);
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px 16px;
  max-width:calc(100% - 560px);
}
.home-global-nav a {
  color:#fff;
  font:15px Arial,sans-serif;
  text-decoration:none;
  text-shadow:0 1px 4px rgba(0,0,0,.85);
  white-space:nowrap;
}
.home-global-nav a:hover { text-decoration:underline; }
@media(max-width:900px) {
  .home-global-nav { top:12px; max-width:calc(100% - 300px); gap:6px 10px; }
  .home-global-nav a { font-size:13px; }
}
@media(max-width:600px) {
  .home-global-nav {
    position:static;
    max-width:100%;
    justify-content:flex-start;
    padding:4px 0;
    gap:8px 12px;
  }
  .home-global-nav a { font-size:13px; }
}


/* Kontaktformular */
.contact-main {
  width: min(100% - 36px, 980px);
  margin: 34px auto 48px;
  min-height: 480px;
}
.contact-main h1 { margin-bottom: 12px; }
.contact-intro { max-width: 820px; line-height: 1.6; margin-bottom: 26px; }
.contact-form {
  background: #fff;
  border: 1px solid #d8e0e7;
  border-radius: 12px;
  padding: clamp(18px,3vw,30px);
  box-shadow: 0 4px 18px rgba(17,48,73,.07);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px 20px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #173a57;
  font-weight: 600;
  font-size: 15px;
}
.contact-form label span, .contact-form label strong { color: #9b2c2c; }
.contact-form input:not([type=checkbox]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #aebdca;
  border-radius: 6px;
  background: #fff;
  padding: 11px 12px;
  color: #173047;
  font: 16px Arial,sans-serif;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #7ba8c7;
  outline-offset: 1px;
}
.contact-message { display:block !important; margin-top:20px; }
.contact-message textarea { margin-top:7px; resize:vertical; }
.contact-consent { margin-top:18px; }
.contact-form .consent-label {
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:10px;
  font-weight:400;
  line-height:1.5;
}
.consent-label input { margin-top:4px; flex:0 0 auto; }
.contact-form a, .contact-direct a { color:#174b70; }
.contact-required { color:#536575; font-size:13px; margin:15px 0 10px; }
.contact-submit {
  border:0;
  border-radius:7px;
  background:#123858;
  color:#fff;
  padding:13px 22px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}
.contact-submit:hover { background:#1b4b70; }
.contact-direct { margin-top:22px; }
.contact-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
@media(max-width:650px) {
  .contact-main { width:calc(100% - 26px); margin:24px auto 34px; }
  .contact-grid { grid-template-columns:1fr; gap:14px; }
  .contact-form { padding:17px; }
  .contact-submit { width:100%; }
}


/* Bildergalerie: Bilder per Klick vergrÃ¶ÃŸern */
.detail-gallery figure img {
  cursor: zoom-in;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(5, 17, 28, .92);
}
.image-lightbox.is-open { display: flex; }
.image-lightbox img {
  display: block;
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 36px rgba(0,0,0,.45);
  cursor: zoom-out;
}
.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  color: #fff;
  font: 32px/1 Arial,sans-serif;
  cursor: pointer;
}
.image-lightbox-close:focus-visible,
.detail-gallery img:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@media(max-width:600px) {
  .image-lightbox { padding: 5vh 3vw; }
  .image-lightbox img { max-width: 94vw; max-height: 82vh; }
  .image-lightbox-close { top: 10px; right: 12px; }
}


/* Korrektur fÃ¼r niedrige Browser-Ansichten bei 100 % Zoom (z. B. Firefox) */
@media (min-width: 1101px) and (max-height: 820px) {
  body.home .home-shell {
    min-height: 100vh;
    min-height: 100svh;
    padding: 7px 20px 6px;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    row-gap: 4px;
  }
  body.home .brand-kicker { font-size: 21px; }
  body.home .brand h1 { font-size: 46px; line-height: .9; margin: 0; }
  body.home .brand-wave { height: 6px; margin: 1px 0; }
  body.home .tagline { font-size: 16px; line-height: 1.05; }
  body.home .apartments { gap: 6px; }
  body.home .apartment-card img { aspect-ratio: 2.35 / 1; }
  body.home .card-caption {
    min-height: 37px;
    padding: 3px 22px 3px 6px;
  }
  body.home .card-caption strong { font-size: 15px; line-height: 1.05; }
  body.home .card-caption span:not(.card-arrow) { font-size: 12px; margin-top: 1px; }
  body.home .card-arrow { font-size: 20px; right: 6px; }
  body.home .intro { padding: 0 12px; }
  body.home .intro h2 { font-size: 21px; line-height: 1.05; margin: 0 0 3px; }
  body.home .intro p { font-size: 13px; line-height: 1.2; margin: 0 auto; }
  body.home .site-footer { padding-top: 0; }
  body.home .site-footer a { font-size: 12px; padding: 1px 8px; }
}


/* Optische Trennung zwischen Beschreibungstext und den weiterfÃ¼hrenden Links */
body.home .intro {
  padding-bottom: 16px;
}

/* Endgueltige Groessenkorrektur: Startseiten-Kacheln auf allen Geraeten ca. 25 % kleiner */
@media (min-width: 601px) {
  body.home .home-shell {
    grid-template-columns: 169px minmax(0, 1fr) !important;
  }
  body.home .apartments {
    width: 169px !important;
    max-width: 169px !important;
    gap: 8px !important;
  }
}

body.home .apartment-card {
  border-width: 2px;
  border-radius: 9px;
}

body.home .apartment-card img {
  width: 100%;
  aspect-ratio: 1.85 / 1;
  height: auto;
  object-fit: cover;
}

body.home .card-caption {
  min-height: 43px;
  padding: 4px 21px 4px 6px;
}

body.home .card-caption strong {
  font-size: 13px;
  line-height: 1.15;
}

body.home .card-caption span:not(.card-arrow) {
  font-size: 11px;
  margin-top: 2px;
}

body.home .card-arrow {
  font-size: 21px;
  right: 6px;
}

@media (min-width: 601px) and (max-width: 1100px) {
  body.home .apartments {
    gap: 7px !important;
  }
}

@media (max-width: 600px) {
  body.home .apartments {
    width: min(100%, 169px) !important;
    max-width: 169px !important;
    gap: 8px !important;
  }
  body.home .card-caption {
    min-height: 43px;
    padding: 4px 21px 4px 6px;
  }
  body.home .card-caption strong {
    font-size: 13px;
  }
  body.home .card-caption span:not(.card-arrow) {
    font-size: 11px;
  }
  body.home .card-arrow {
    font-size: 21px;
    right: 6px;
  }
}

/* Gesamte Startseitenansicht zusätzlich um 3 % verkleinern */
body.home {
  zoom: 0.97;
}
