@font-face {
  font-display: swap;
  font-family: "Ela Breathing";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/breathing.woff") format("woff");
}

@font-face {
  font-display: swap;
  font-family: "Ela Nixie";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/nixie-regular.woff") format("woff");
}

@font-face {
  font-display: swap;
  font-family: "Ela Nixie";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/nixie-bold.woff") format("woff");
}

:root {
  --font-body: "Ela Nixie", "Nixie One", "Segoe UI", Arial, sans-serif;
  --font-script: "Ela Breathing", "Brush Script MT", "Segoe Script", cursive;
  --ink: #221915;
  --muted: #6d6158;
  --cream: #fddfbf;
  --paper: #fffdf9;
  --line: #e7bd91;
  --teal: #075c63;
  --teal-dark: #03464d;
  --sage: #768f74;
  --wine: #9a3d45;
  --gold: #cf8a45;
  --shadow: 0 18px 45px rgba(50, 31, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

.theme-altstadtliebe {
  --ink: #1b2f28;
  --muted: #675c4f;
  --cream: #f5efe5;
  --paper: #fffaf2;
  --line: #d9c19a;
  --teal: #203a32;
  --teal-dark: #172b25;
  --sage: #738466;
  --wine: #8f6330;
  --gold: #bd8422;
  --shadow: 0 18px 45px rgba(34, 29, 20, 0.16);
}

img {
  display: block;
  max-width: 100%;
}

.image-numbered {
  position: relative;
  display: block;
  overflow: hidden;
}

.hero[data-image-number]::after,
.image-numbered[data-image-number]::after {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(3, 70, 77, 0.94);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  color: #fff;
  content: attr(data-image-number);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  padding: 8px 11px;
  pointer-events: none;
  text-shadow: none;
  white-space: nowrap;
}

.theme-altstadtliebe .image-numbered::after {
  border-color: rgba(255, 250, 242, 0.82);
  background: rgba(27, 47, 40, 0.94);
  color: #fffaf2;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(234, 217, 198, 0.85);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  padding: 6px 0;
  margin: 0 auto;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.brand span {
  display: block;
  font-family: var(--font-script);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.14;
  padding-top: 4px;
  overflow-wrap: anywhere;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: #34271f;
  font-size: 0.96rem;
  font-weight: 700;
  min-width: 0;
}

.nav-links a {
  min-width: 0;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  min-width: max-content;
}

.nav-actions .button {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: normal;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button--ghost {
  background: transparent;
  color: var(--teal);
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button--small {
  min-height: 40px;
  width: 100%;
  padding: 8px 14px;
}

.button--altstadt {
  border-color: #bd8422;
  background: #203a32;
  color: #fffaf2;
}

.button--altstadt:hover {
  border-color: #172b25;
  background: #172b25;
}

.button--gold {
  border-color: #bd8422;
  background: #bd8422;
  color: #1b2f28;
}

.button--gold:hover {
  border-color: #a86f17;
  background: #a86f17;
  color: #1b2f28;
}

.hero {
  position: relative;
  min-height: clamp(540px, 68vh, 680px);
  isolation: isolate;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(16, 12, 9, 0.75) 0%, rgba(16, 12, 9, 0.42) 48%, rgba(16, 12, 9, 0.08) 100%), url("photos/hauptseite-bild-1.jpg");
  background-position: center;
  background-size: cover;
}

.hero__inner {
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: inherit;
  margin: 0 auto;
  padding: 56px 0;
}

.hero__copy {
  width: min(100%, 650px);
  max-width: 650px;
  min-width: 0;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.hero h1,
.room-hero h1,
.altstadt-hero h1,
.team-hero h1,
.team-hero h2,
.section h2,
.detail-panel h2,
.legal-hero h1,
.legal-card h2 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero h1,
.room-hero h1,
.team-hero h1,
.team-hero h2 {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(3rem, 5.7vw, 5rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0;
}

.hero p {
  max-width: 570px;
  margin: 22px 0 0;
  font-size: 1.18rem;
  overflow-wrap: break-word;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow,
.room-hero .eyebrow {
  color: #f6c177;
  margin-bottom: 18px;
}

.altstadt-hero .eyebrow {
  color: #dca94b;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.modal-open {
  overflow: hidden;
}

.inquiry-modal[hidden] {
  display: none;
}

.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow-y: auto;
  background: rgba(20, 13, 9, 0.58);
  padding: 24px;
}

.inquiry-dialog {
  position: relative;
  width: min(920px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(20, 13, 9, 0.34);
  padding: 30px;
}

.inquiry-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.inquiry-dialog__head {
  padding-right: 44px;
}

.inquiry-dialog h2 {
  margin: 0 0 18px;
  font-family: var(--font-script);
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.26;
}

.inquiry-form {
  display: grid;
  gap: 18px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.35;
  padding: 11px 12px;
}

.inquiry-form textarea {
  min-height: 128px;
  resize: vertical;
}

.inquiry-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-calendar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.74);
  padding: 16px;
}

.inquiry-calendar__top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-align: center;
}

.inquiry-calendar__top button,
.calendar-day {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.inquiry-calendar__top button {
  width: 42px;
  height: 42px;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.calendar-day {
  min-height: 42px;
  padding: 7px 4px;
}

.calendar-day--muted {
  color: #a69789;
  background: #f7f0e8;
}

.calendar-day--today {
  border-color: var(--teal);
}

.calendar-day--range {
  border-color: rgba(7, 92, 99, 0.24);
  background: rgba(7, 92, 99, 0.12);
}

.calendar-day--selected {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.calendar-selection {
  margin: 12px 0 0;
  color: var(--teal);
}

.inquiry-form__status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.inquiry-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-fact {
  min-width: 0;
  min-height: 126px;
  padding: 24px;
  background: var(--paper);
}

.quick-fact strong {
  display: block;
  max-width: 100%;
  padding: 0.12em 0.08em 0.18em;
  font-family: var(--font-script);
  font-size: clamp(1.65rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.42;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.quick-fact span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  overflow-wrap: break-word;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section--tight {
  padding: 48px 0;
}

.section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

.section h2 {
  margin: 0 0 6px;
  padding: 0.18em 0.12em 0.24em;
  font-family: var(--font-script);
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.detail-panel h2,
.two-column h2 {
  margin: 0 0 6px;
  padding: 0.18em 0.12em 0.24em;
  font-family: var(--font-script);
  font-size: clamp(2.15rem, 3.5vw, 3.1rem);
  font-weight: 400;
  line-height: 1.46;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.section__heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: break-word;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.property-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(300px, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(63, 39, 22, 0.1);
}

.property-card--altstadtliebe {
  border-color: #d7bd88;
  background: #fffaf2;
}

.property-card__image {
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.property-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 30px 34px;
}

.property-card__logo {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  object-fit: contain;
}

.property-card h3 {
  margin: 0 0 6px;
  padding: 0.18em 0.08em 0.22em;
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.property-card__badge {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: break-word;
}

.property-card__content > p:not(.eyebrow) {
  overflow-wrap: break-word;
}

.room-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(63, 39, 22, 0.08);
}

.room-card__image-link {
  display: block;
  overflow: hidden;
}

.room-card__image-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 260ms ease;
}

.room-card:hover .room-card__image-link img {
  transform: scale(1.025);
}

.room-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.room-card h3 {
  margin: 0;
  font-family: var(--font-script);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.14;
}

.room-card__meta {
  min-height: 48px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-weight: 700;
}

.compact-list,
.feature-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.compact-list {
  flex: 1;
}

.compact-list li,
.feature-list li {
  position: relative;
  padding-left: 18px;
}

.compact-list li::before,
.feature-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.experience {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.experience__media {
  min-height: 430px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.experience__media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.experience__content {
  min-width: 0;
  padding: 18px 0 18px 24px;
}

.experience h2,
.altstadt-teaser h2,
.altstadt-apartment-card h3,
.location-comparison h3 {
  font-size: clamp(2.15rem, 3.7vw, 3.25rem);
  line-height: 1.44;
  margin-bottom: 8px;
  padding: 0.18em 0.14em 0.26em;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.highlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.highlight-list li {
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  background: rgba(255, 253, 249, 0.76);
  padding: 12px 14px;
  font-weight: 700;
}

.dog-friendly-section {
  border-top: 1px solid rgba(231, 189, 145, 0.62);
}

.dog-friendly-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.dog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 12px;
  min-width: 0;
}

.dog-gallery__item {
  min-width: 0;
  min-height: 220px;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dog-gallery__item--garden {
  grid-row: span 2;
}

.dog-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.dog-gallery__item--garden img {
  object-position: 55% 72%;
}

.dog-gallery__item--apartment img {
  object-position: 50% 59%;
}

.dog-gallery__item--welcome img {
  object-position: 50% 38%;
}

.dog-friendly-note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(63, 39, 22, 0.1);
  padding: 30px;
}

.dog-friendly-note h3 {
  margin: 0 0 10px;
  padding: 0.16em 0.1em 0.24em;
  color: var(--teal);
  font-family: var(--font-script);
  font-size: clamp(2rem, 3.3vw, 2.85rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

.dog-friendly-note .button {
  align-self: flex-start;
  margin-top: 12px;
}

.sauna-section {
  border-top: 1px solid rgba(231, 189, 145, 0.62);
}

.sauna-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.sauna-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 12px;
  min-width: 0;
}

.sauna-gallery__item {
  min-width: 0;
  min-height: 220px;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sauna-gallery__item--large {
  grid-row: span 2;
}

.sauna-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.sauna-note {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(63, 39, 22, 0.1);
  padding: 30px;
}

.sauna-note h3 {
  margin: 0 0 10px;
  padding: 0.16em 0.1em 0.24em;
  color: var(--teal);
  font-family: var(--font-script);
  font-size: clamp(2rem, 3.3vw, 2.85rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

.altstadt-teaser {
  background: #f5efe5;
}

.altstadt-teaser__inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0;
}

.altstadt-teaser img {
  width: 240px;
  height: 240px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.altstadt-teaser h2 {
  margin: 0 0 8px;
  color: #203a32;
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
}

.altstadt-teaser p:not(.eyebrow) {
  max-width: 720px;
}

.altstadt-overview {
  background: var(--cream);
}

.altstadt-apartment-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #d7bd88;
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 14px 34px rgba(63, 39, 22, 0.12);
}

.altstadt-apartment-card__media {
  min-height: 430px;
}

.altstadt-apartment-card__media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.altstadt-apartment-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.altstadt-apartment-card h3,
.location-comparison h3 {
  margin-top: 0;
  color: var(--teal);
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
}

.altstadt-apartment-card__content > p:not(.eyebrow) {
  max-width: 620px;
  overflow-wrap: break-word;
}

.location-band {
  background: var(--cream);
}

.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.location--comparison {
  display: block;
}

.location img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.location--comparison > div > p:not(.eyebrow) {
  max-width: 760px;
}

.location-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.location-comparison article {
  min-width: 0;
  border: 1px solid #d9e5d8;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.78);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(63, 39, 22, 0.08);
}

.location-comparison article:nth-child(2) {
  border-color: #d7bd88;
  background: #fffaf2;
}

.nearby-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid #d9e5d8;
  border-radius: 8px;
  background: #d9e5d8;
}

.nearby-list div {
  min-width: 0;
  background: #fffdf9;
  padding: 16px;
}

.nearby-list span,
.nearby-list strong {
  display: block;
}

.nearby-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.nearby-list strong {
  margin-top: 4px;
  color: var(--teal);
}

.distance-list {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 24px 0 0;
}

.distance-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #d9e5d8;
  padding-bottom: 8px;
}

.footer {
  background: var(--teal-dark);
  color: #fff;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.footer img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.footer a {
  color: #fff;
}

.footer p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.footer--compact {
  margin-top: 0;
}

.footer__inner--compact {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 26px 0;
}

.room-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  min-height: 610px;
  background: var(--teal-dark);
  color: #fff;
}

.room-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: 100%;
  padding:
    64px clamp(32px, 4vw, 72px)
    64px
    max(32px, calc((100vw - 1180px) / 2));
}

.room-hero__content p:not(.eyebrow) {
  max-width: min(100%, 560px);
  font-size: 1.12rem;
  overflow-wrap: break-word;
}

.room-hero h1 {
  max-width: min(100%, 520px);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.room-hero__media {
  min-height: 610px;
}

.room-hero__image {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.team-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 0;
  background:
    linear-gradient(120deg, rgba(3, 70, 77, 0.97), rgba(7, 92, 99, 0.78)),
    var(--teal-dark);
  color: #fff;
}

.team-hero__content {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  grid-template-areas:
    "eyebrow cards"
    "title cards"
    "copy cards"
    ". actions";
  align-items: start;
  gap: 10px 30px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
  padding: 62px 0 34px;
}

.team-hero__content > .eyebrow {
  grid-area: eyebrow;
  margin-bottom: 0;
}

.team-hero__content > h2 {
  grid-area: title;
  margin: 0;
}

.team-hero__content > p:not(.eyebrow) {
  grid-area: copy;
  max-width: 100%;
  margin: 0;
  font-size: 1.12rem;
  overflow-wrap: break-word;
}

.team-hero__media {
  width: min(1180px, calc(100% - 32px));
  min-height: 430px;
  margin: 0 auto 56px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-hero__image {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.team-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-hero .team-note-grid {
  grid-area: cards;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.team-hero__content > .hero-actions {
  grid-area: actions;
  margin-top: 4px;
}

.team-note {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(63, 39, 22, 0.09);
  color: var(--ink);
  padding: 26px;
}

.team-note h2,
.team-note h3 {
  margin: 0 0 8px;
  color: var(--teal);
  font-family: var(--font-script);
  font-size: clamp(1.65rem, 2.3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.team-note p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.altstadt-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  min-height: 650px;
  background:
    linear-gradient(120deg, rgba(27, 47, 40, 0.96) 0%, rgba(27, 47, 40, 0.88) 52%, rgba(189, 132, 34, 0.14) 100%),
    #203a32;
  color: #fffaf2;
}

.altstadt-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: 100%;
  padding:
    62px clamp(32px, 4vw, 72px)
    62px
    clamp(32px, 4vw, 72px);
}

.altstadt-hero__logo {
  width: 152px;
  height: 152px;
  margin-bottom: 22px;
  border-radius: 50%;
  object-fit: contain;
  background: #fffaf2;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.altstadt-hero h1 {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(2.9rem, 4.8vw, 4.4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  max-width: min(100%, 560px);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.legal-hero {
  display: flex;
  align-items: center;
  min-height: 330px;
  background:
    linear-gradient(90deg, rgba(3, 70, 77, 0.94), rgba(7, 92, 99, 0.78)),
    var(--teal-dark);
  color: #fff;
}

.legal-hero > div {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.14;
  padding-top: 4px;
  letter-spacing: 0;
}

.legal-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 1.1rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 28px;
  min-width: 0;
  box-shadow: 0 14px 36px rgba(50, 31, 18, 0.08);
}

.legal-card--wide {
  grid-column: 1 / -1;
}

.legal-card h2 {
  margin-top: 0;
  font-family: var(--font-script);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.12;
}

.legal-card a {
  color: var(--teal);
  font-weight: 750;
}

.altstadt-hero__content p:not(.eyebrow) {
  max-width: min(100%, 620px);
  font-size: 1.12rem;
  overflow-wrap: break-word;
}

.altstadt-hero__media {
  min-height: 650px;
}

.altstadt-hero__image {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.back-link {
  width: fit-content;
  margin-bottom: 28px;
  color: #f6c177;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.detail-grid,
.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 28px;
  min-width: 0;
}

.detail-panel--accent {
  border-color: rgba(7, 92, 99, 0.35);
  background: #eff8f6;
}

.detail-panel--altstadt {
  border-color: rgba(189, 132, 34, 0.45);
  background: #fbf4e8;
}

.facts {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.facts dt {
  color: var(--muted);
  font-weight: 700;
}

.facts dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.stacked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal);
  font-weight: 850;
}

.two-column {
  align-items: start;
}

.two-column > div {
  border-top: 4px solid var(--sage);
  padding-top: 22px;
}

.two-column--altstadt > div {
  border-top-color: #bd8422;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 12px;
  margin-top: 22px;
}

.photo-grid__item {
  margin: 0;
  border-radius: 8px;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-grid__item:first-child {
  grid-row: span 2;
}

.photo-grid__item:first-child img {
  aspect-ratio: auto;
  height: 100%;
}

.photo-grid--wide {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .section__heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .section__heading p {
    max-width: 100%;
  }

  .quick-facts,
  .room-grid,
  .property-grid,
  .property-card,
  .experience,
  .dog-friendly-layout,
  .sauna-layout,
  .location,
  .location-comparison,
  .altstadt-apartment-card,
  .footer__inner,
  .room-hero,
  .team-hero,
  .altstadt-hero,
  .legal-grid,
  .detail-grid,
  .two-column,
  .altstadt-teaser__inner {
    grid-template-columns: 1fr;
  }

  .footer__inner--compact {
    align-items: start;
  }

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

  .sauna-gallery {
    grid-template-rows: repeat(2, minmax(180px, 1fr));
  }

  .dog-gallery {
    grid-template-rows: repeat(2, minmax(200px, 1fr));
  }

  .experience__content {
    padding: 0;
  }

  .room-hero__media,
  .room-hero__image,
  .room-hero,
  .team-hero__media,
  .team-hero__image,
  .team-hero,
  .altstadt-hero__media,
  .altstadt-hero__image,
  .altstadt-hero {
    min-height: 0;
  }

  .room-hero__media,
  .team-hero__media,
  .altstadt-hero__media {
    aspect-ratio: 16 / 10;
  }

  .room-hero__image,
  .team-hero__image,
  .altstadt-hero__image {
    min-height: 0;
  }

  .team-hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "copy"
      "cards"
      "actions";
    gap: 14px;
    padding-bottom: 28px;
  }

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

  .property-card__image img {
    min-height: 260px;
  }

  .property-card__image {
    border-radius: 8px 8px 0 0;
  }

  .altstadt-apartment-card__media,
  .altstadt-apartment-card__media img {
    min-height: 300px;
  }

  .nearby-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .altstadt-teaser img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .nav {
    width: min(100% - 24px, 1180px);
    gap: 12px;
  }

  .brand span,
  .brand small {
    display: none;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  .nav-links a {
    min-height: 38px;
    border: 1px solid rgba(7, 92, 99, 0.18);
    border-radius: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.58);
    text-align: center;
  }

  .nav-links a:not(.button) {
    font-size: 0.92rem;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  .nav-actions .button {
    width: 100%;
    white-space: normal;
  }

  .nav-links .button {
    width: 100%;
    min-height: 42px;
    border-color: var(--teal);
    background: var(--teal);
    color: #fff;
  }

  .inquiry-modal {
    align-items: start;
    padding: 14px;
  }

  .inquiry-dialog {
    padding: 22px;
  }

  .inquiry-form__grid {
    grid-template-columns: 1fr;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-height: 38px;
    padding: 6px 2px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 560px;
    background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.74) 0%, rgba(12, 9, 7, 0.36) 100%), url("photos/hauptseite-bild-1.jpg");
  }

  .hero__inner {
    align-items: end;
    padding-bottom: 46px;
  }

  .hero h1,
  .room-hero h1,
  .team-hero h1,
  .team-hero h2,
  .altstadt-hero h1 {
    font-size: clamp(2.25rem, 9.8vw, 2.55rem);
    line-height: 1.36;
  }

  .hero h1 {
    max-width: min(100%, 300px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .altstadt-hero h1 {
    max-width: min(100%, 340px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero p,
  .room-hero__content p:not(.eyebrow),
  .team-hero__content p:not(.eyebrow),
  .altstadt-hero__content p:not(.eyebrow) {
    font-size: 1rem;
    max-width: min(100%, 340px);
  }

  .quick-facts,
  .room-grid,
  .property-grid,
  .highlight-list,
  .photo-grid,
  .dog-gallery,
  .sauna-gallery,
  .nearby-list {
    grid-template-columns: 1fr;
  }

  .sauna-gallery__item--large {
    grid-row: auto;
  }

  .dog-gallery__item--garden {
    grid-row: auto;
  }

  .dog-friendly-note,
  .sauna-note {
    padding: 24px;
  }

  .dog-friendly-note .button {
    width: 100%;
  }

  .property-card__content {
    padding: 26px 36px 30px;
  }

  .property-card h3,
  .room-card h3 {
    font-size: clamp(1.65rem, 7.2vw, 2rem);
    line-height: 1.38;
  }

  .quick-fact {
    min-height: 0;
    padding: 22px 38px;
  }

  .quick-fact strong {
    font-size: 1.65rem;
    line-height: 1.46;
  }

  .section h2,
  .altstadt-teaser h2,
  .altstadt-apartment-card h3,
  .location-comparison h3 {
    font-size: clamp(2rem, 8.6vw, 2.45rem);
    line-height: 1.46;
  }

  .altstadt-apartment-card__content,
  .location-comparison article {
    padding: 24px;
  }

  .nearby-list div {
    padding: 14px;
  }

  .detail-panel h2,
  .two-column h2 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
    line-height: 1.52;
  }

  .legal-card h2 {
    font-size: 2rem;
    line-height: 1.24;
  }

  .room-hero__content,
  .team-hero__content,
  .altstadt-hero__content {
    padding: 44px 20px;
  }

  .altstadt-hero__logo {
    width: 118px;
    height: 118px;
  }

  .photo-grid__item:first-child {
    grid-row: auto;
  }

  .photo-grid__item:first-child img {
    aspect-ratio: 4 / 3;
  }

  .section__heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .section {
    width: min(1180px, calc(100% - 48px));
    padding: 52px 0;
  }

  .distance-list div,
  .facts div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .facts dd {
    text-align: left;
  }

  .legal-hero {
    min-height: 260px;
  }

  .legal-card {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .nav-links {
    grid-template-columns: 1fr;
  }

  .team-hero .team-note-grid {
    gap: 12px;
  }

  .team-note {
    padding: 22px 20px;
  }

  .team-note h2,
  .team-note h3 {
    font-size: clamp(2rem, 12vw, 2.5rem);
    line-height: 1.04;
  }

  .hero {
    min-height: 620px;
  }

  .hero-actions,
  .section__actions,
  .inquiry-form__actions {
    width: 100%;
  }

  .hero-actions .button,
  .section__actions .button,
  .inquiry-form__actions .button {
    width: 100%;
  }

  .footer__inner,
  .footer__inner--compact {
    width: min(100% - 24px, 1180px);
  }
}
