@font-face {
  font-family: "Carlito";
  src: url("/static/fonts/carlito/Carlito-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Carlito";
  src: url("/static/fonts/carlito/Carlito-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6faf9;
  --surface: #ffffff;
  --text: #1f2f2d;
  --muted: #5c746f;
  --border: #dceae6;
  --primary: #53baa8;
  --primary-strong: #3c9789;
  --footer-bg: #1d2d2b;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Carlito", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

/* ================= LAYOUT ================= */

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 1.35rem;
}

/* Startseite: Headerzeile über die volle Viewport-Breite (nicht 1100px-Container) */
.site-header--home > .container.nav-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(1rem, 4vw, 2.75rem);
  padding-right: clamp(1rem, 4vw, 2.75rem);
  box-sizing: border-box;
}

/* ================= STARTSEITE HEADER (index.htm_ Design) ================= */

.site-header--home .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 92px;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  transition: min-height 0.22s ease, padding 0.22s ease;
}

.site-header--home.scrolled .nav-wrap {
  min-height: 72px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.site-header--home .logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.site-header--home .logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.22s ease;
}

.site-header--home.scrolled .logo-img {
  height: 56px;
}

.site-header--home .logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-header--home .logo-line-1 {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--primary);
  transition: font-size 0.2s ease;
}

.site-header--home .logo-line-2 {
  margin-top: 0.12rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  transition: font-size 0.2s ease;
}

.site-header--home.scrolled .logo-line-1 {
  font-size: 1.05rem;
}

.site-header--home.scrolled .logo-line-2 {
  font-size: 0.82rem;
}

.main-nav--home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.15rem;
  flex: 0 1 auto;
}

.main-nav--home a:not(.nav-cta) {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
}

.main-nav--home a:not(.nav-cta):hover,
.main-nav--home a:not(.nav-cta).active {
  color: var(--primary-strong);
}

.main-nav--home a:not(.nav-cta).active {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, padding 0.2s ease, font-size 0.2s ease;
}

.nav-cta:hover {
  background: var(--primary-strong);
  color: #fff !important;
}

.site-header--home.scrolled .nav-cta {
  padding: 0.42rem 0.8rem;
  font-size: 0.82rem;
}

.site-header--home.scrolled .main-nav--home a:not(.nav-cta) {
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ================= HEADER (Unterseiten) ================= */

.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(15, 42, 37, 0.08);
}

.site-header.scrolled .header-inner {
  height: 68px;
}

.site-header.scrolled .brand-logo {
  height: 48px;
}

.site-header.scrolled .brand-name {
  font-size: 0.95rem;
}

.site-header.scrolled .brand-sub {
  font-size: 0.72rem;
}

/* FULL WIDTH */
.header-container {
  width: 100%;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 90px;
  transition: height 0.22s ease;
}

/* LEFT */
.header-left {
  display: flex;
  align-items: center;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.22s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  transition: font-size 0.2s ease;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
  transition: font-size 0.2s ease;
}

/* CENTER */
.header-center {
  display: flex;
  justify-content: center;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
}

.main-nav a:hover {
  color: var(--primary-strong);
}

.main-nav a.active {
  color: var(--primary-strong);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.site-header.scrolled .cta-button {
  padding: 0.42rem 0.82rem;
  font-size: 0.86rem;
}

.site-header.scrolled .header-inner .main-nav a {
  font-size: 0.86rem;
}

/* RIGHT */
.header-right {
  display: flex;
  justify-content: flex-end;
}

/* CTA */
.cta-button {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, padding 0.2s ease, font-size 0.2s ease;
  white-space: nowrap;
}

.cta-button:hover {
  background: var(--primary-strong);
}

/* ================= HERO ================= */

.hero {
  width: 100%;
}

.hero-media {
  width: 100%;
  min-height: clamp(280px, 42vw, 460px);
  background:
    linear-gradient(rgba(10,30,27,0.45), rgba(10,30,27,0.25)),
    url("/static/images/header.jpg") center/cover no-repeat;
}

/* Intro-Karte: volle Breite des Content-Containers (bis 1100px) */
.hero .container {
  display: block;
}

.hero-main {
  background: var(--surface);
  padding: 2rem;
  border-radius: 1.2rem;
  margin-top: -2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* ================= TYPO ================= */

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 2.9vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.32rem);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

p,
li {
  font-size: 1.03rem;
  line-height: 1.72;
}

p {
  margin-bottom: 1rem;
}

/* ================= BUTTON ================= */

.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  background: #e4f5f2;
  color: #2f6f65;
}

.btn-secondary:hover {
  background: #d3ece7;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(83, 186, 168, 0.12);
}

.btn-wrap {
  margin: 0.35rem 0 0.85rem;
}

.btn-wrap:last-child {
  margin-bottom: 0;
}

/* Ganze Karte klickbar (ohne verschachteltes <a>-Blockproblem) */
.card-with-link {
  position: relative;
  display: block;
}

.card-with-link .card-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card-with-link .card {
  position: relative;
  z-index: 1;
}

/* ================= SECTIONS ================= */

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: #f0f7f5;
}

.page-section {
  padding-top: 2.5rem;
}

.hero-intro h2:first-child {
  margin-top: 0;
}

/* Überschrift + Einleitung im Angebotsbereich wie „angebot-head“ */
.angebot-wrap > h2:first-of-type {
  color: var(--text);
  margin-bottom: 0.4rem;
}

.angebot-wrap > h2:first-of-type + p {
  color: var(--muted);
  margin-bottom: 0;
}

.angebot-wrap .card {
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.angebot-wrap .card:hover {
  transform: translateY(-5px);
  border-color: #b7d9d2;
  box-shadow: 0 16px 28px rgba(21, 50, 45, 0.12);
}

/* ================= COMPONENTS (Markdown / Shortcodes) ================= */

.page-content .card,
.angebot-wrap .card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.2rem;
  border-radius: 1rem;
}

.page-content .card h3,
.angebot-wrap .card h3 {
  margin-top: 0;
  color: var(--text);
}

.angebot-wrap .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.25rem;
}

.angebot-wrap .col {
  min-width: 0;
}

.angebot-wrap h2:first-child {
  color: var(--text);
}

.footer-md p:last-child {
  margin-bottom: 0;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  margin: 1rem 0;
}

.alert.warning {
  background: #fff8f0;
  border: 1px solid #f0d9c2;
}

.alert.info {
  background: #eef8f6;
  border: 1px solid var(--border);
}

.box {
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: 0.75rem;
  margin: 1rem 0;
}

.vline {
  width: var(--vline-width, 1px);
  height: var(--vline-height, 80px);
  background: var(--vline-color, var(--border));
  margin: var(--vline-margin, 0.6rem auto);
  border-radius: 999px;
}

.text-highlight {
  background: rgba(83, 186, 168, 0.2);
  color: var(--text);
  padding: 0.06rem 0.32rem;
  border-radius: 0.3rem;
}

.text-small {
  font-size: 0.9em;
  color: var(--muted);
}

.faq-accordion {
  margin: 1.25rem 0;
  display: grid;
  gap: 0.7rem;
  --faq-icon-closed: "+";
  --faq-icon-open: "-";
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: #fff;
  overflow: hidden;
}

.faq-item > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text);
  padding: 0.95rem 1rem;
  position: relative;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::after {
  content: var(--faq-icon-closed);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item[open] > summary::after {
  content: var(--faq-icon-open);
}

.faq-answer {
  padding: 0 1rem 1rem;
  color: var(--muted);
}

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

.icon-list ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.icon-list li {
  position: relative;
  padding-left: 1.7rem;
  margin: 0;
}

.icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 1rem;
  height: 1rem;
  background-image: var(--icon-list-url);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.icon-list li > *:last-child {
  margin-bottom: 0;
}

.icon-list--compact li {
  padding-left: 1.45rem;
}

.icon-list--compact li::before {
  width: 0.82rem;
  height: 0.82rem;
  top: 0.44em;
}

.icon-list--comfortable li {
  padding-left: 1.95rem;
}

.icon-list--comfortable li::before {
  width: 1.15rem;
  height: 1.15rem;
  top: 0.31em;
}

/* Markdown-Tabellen (Python-Markdown „extra“, GFM-Stil mit | --- |) */
.page-content .table-wrap,
.footer-md .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.35rem 0;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: var(--surface);
}

.footer-md .table-wrap {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.page-content .table-wrap table,
.footer-md .table-wrap table {
  width: 100%;
  min-width: 16rem;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.page-content .table-wrap th,
.page-content .table-wrap td,
.footer-md .table-wrap th,
.footer-md .table-wrap td {
  padding: 0.65rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.footer-md .table-wrap th,
.footer-md .table-wrap td {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.page-content .table-wrap thead th,
.footer-md .table-wrap thead th {
  background: #eef8f6;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.footer-md .table-wrap thead th {
  background: rgba(83, 186, 168, 0.18);
  color: #eaf6f4;
}

.page-content .table-wrap tbody tr:last-child th,
.page-content .table-wrap tbody tr:last-child td,
.footer-md .table-wrap tbody tr:last-child th,
.footer-md .table-wrap tbody tr:last-child td {
  border-bottom: none;
}

.page-content .table-wrap tbody tr:nth-child(even) td {
  background: rgba(83, 186, 168, 0.04);
}

.footer-md .table-wrap tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.04);
}

.page-content .cta {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #eef8f6;
  text-align: center;
}

.page-content .cta h3 {
  margin-bottom: 0.75rem;
}

.page-content .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.page-content .row.row-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-content .row.row-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-content .row.row-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-content .col {
  min-width: 0;
}

.booking-embed {
  margin: 2rem 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: clip;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(15, 42, 37, 0.08);
  min-width: 0;
}

.booking-embed__hint {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Schmale Viewports: iFrame-Buchung unbedienbar → Button statt Einbettung */
.booking-embed__mobile {
  display: none;
}

.booking-embed__mobile-btn {
  box-sizing: border-box;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: center;
}

.booking-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  /* vh auf Mobilgeräten inkonsistent (Browser-Chrome); dvh/svh wo verfügbar */
  min-height: clamp(560px, 78vh, 920px);
  border: none;
  border-radius: 0.8rem;
  background: #fff;
}

@supports (height: 1dvh) {
  .booking-embed iframe {
    min-height: clamp(560px, 78dvh, 920px);
  }
}

.booking-embed__fallback {
  margin-top: 0.9rem;
  margin-bottom: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.booking-embed__fallback a {
  color: var(--primary-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (max-width: 640px) {
  .booking-embed__mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.25rem;
  }

  .booking-embed__mobile-btn {
    display: block;
    width: 100%;
  }

  .booking-embed iframe,
  .booking-embed__frame {
    display: none !important;
  }

  .booking-embed__fallback {
    display: none;
  }
}

.map-embed {
  margin: 1.4rem 0 2rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 42, 37, 0.08);
  min-width: 0;
}

.map-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: clamp(320px, 52vh, 500px);
  border: none;
  border-radius: 0.75rem;
}

@supports (height: 1dvh) {
  .map-embed iframe {
    min-height: clamp(300px, 52dvh, 500px);
  }
}

.map-embed__fallback {
  margin: 0.75rem 0 0;
  font-size: 0.93rem;
}

.map-embed__fallback a {
  color: var(--primary-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.page-content .gallery {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.page-content .gallery-item {
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 42, 37, 0.08);
}

.page-content .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-content .gallery-item-link {
  display: block;
  cursor: zoom-in;
}

.page-content .gallery-item figcaption {
  padding: 0.65rem 0.85rem 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

.page-content .gallery-cols-auto {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.page-content .gallery-cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.page-content .gallery-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-content .gallery-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-content .gallery-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-form {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}

.contact-form label {
  font-weight: 700;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.68rem 0.82rem;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(83, 186, 168, 0.28);
  border-color: var(--primary);
}

.contact-form-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 400 !important;
  color: var(--muted);
  margin-top: 0.2rem;
}

.contact-form-checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.contact-form-errors {
  margin-top: 0.45rem;
  padding-left: 1.2rem;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.3rem;
}

.page-content .portrait-float {
  max-width: 42%;
  height: auto;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15, 42, 37, 0.12);
}

.page-content .portrait-float--right {
  float: right;
  margin: 0.1rem 0 1rem 1.25rem;
}

.page-content .portrait-float--left {
  float: left;
  margin: 0.1rem 1.25rem 1rem 0;
}

.page-content .content-clear {
  clear: both;
}

/* ================= FOOTER ================= */

.site-footer {
  background: var(--footer-bg);
  color: #d7e6e3;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.site-footer .container {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
  padding-left: max(1.35rem, env(safe-area-inset-left));
  padding-right: max(1.35rem, env(safe-area-inset-right));
}

.footer-links {
  margin-top: 0.35rem;
}

.footer-links a,
.footer-md a {
  color: #fff;
  text-decoration: none;
}

.cookie-settings-trigger {
  margin-top: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.45rem 0.75rem;
  font: inherit;
  cursor: pointer;
  position: absolute;
  left: 1.35rem;
  top: 50%;
  transform: translateY(0.65rem);
}

.cookie-settings-trigger:hover {
  background: rgba(83, 186, 168, 0.24);
}

.cookie-banner {
  position: absolute;
  left: 1.1rem;
  right: auto;
  bottom: -0.7rem;
  z-index: 110;
  width: min(390px, calc(100vw - 2.2rem));
  max-width: none;
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(12, 28, 25, 0.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0 0 0.65rem;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #1f2f2d;
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  padding: 0.45rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links a:hover,
.footer-md a:hover {
  color: #fff;
  background: rgba(83, 186, 168, 0.38);
  border-radius: 0.35rem;
  padding: 0.12em 0.4em;
  text-decoration: none;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .header-inner {
    grid-template-columns: 1fr;
    height: auto;
    gap: 1rem;
    padding: 1rem;
  }

  .site-header.scrolled .header-inner {
    height: auto;
  }

  .header-center {
    justify-content: center;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-right {
    justify-content: center;
  }

  .page-content .row,
  .angebot-wrap .row {
    grid-template-columns: 1fr;
  }

  .site-header--home .nav-wrap {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .site-header--home .logo {
    flex: 1;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .main-nav--home {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding-top: 0.3rem;
    margin-left: 0;
  }

  .main-nav--home.is-open {
    display: flex;
  }

  .main-nav--home a {
    padding: 0.6rem 0.3rem;
  }

  .main-nav--home .nav-cta {
    text-align: center;
  }

  .page-content .row.row-cols-2,
  .page-content .row.row-cols-3,
  .page-content .row.row-cols-4 {
    grid-template-columns: 1fr;
  }

  .page-content .portrait-float {
    float: none;
    display: block;
    width: min(100%, 320px);
    max-width: 100%;
    margin: 0 auto 1rem;
  }

  .booking-embed {
    padding: 0.75rem;
  }

  .booking-embed iframe {
    /* Mindesthöhe wiederherstellen (vh-only war auf schmalen Viewports zu niedrig) */
    min-height: clamp(480px, 75vh, 760px);
    border-radius: 0.7rem;
  }

  @supports (height: 1dvh) {
    .booking-embed iframe {
      min-height: clamp(480px, 75dvh, 760px);
    }
  }

  .map-embed {
    padding: 0.7rem;
  }

  .map-embed iframe {
    min-height: clamp(260px, 52vh, 380px);
    border-radius: 0.65rem;
  }

  @supports (height: 1dvh) {
    .map-embed iframe {
      min-height: clamp(260px, 52dvh, 380px);
    }
  }

  .cookie-banner {
    left: 0.75rem;
    right: auto;
    bottom: -0.6rem;
    width: min(360px, calc(100vw - 1.5rem));
    padding: 0.72rem 0.78rem;
  }

  .site-footer .container {
    text-align: center;
  }

  .cookie-settings-trigger {
    position: static;
    transform: none;
    margin-top: 0.85rem;
  }
}

@media (min-width: 1000px) {
  /* Optischer Ausgleich fuer das externe Embed-Layout */
  .booking-embed {
    padding-left: 1.45rem;
    padding-right: 0.95rem;
  }
}

@media (max-width: 720px) {
  .page-content .gallery-cols-3,
  .page-content .gallery-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .page-content .gallery-cols-2,
  .page-content .gallery-cols-3,
  .page-content .gallery-cols-4 {
    grid-template-columns: 1fr;
  }

  /* Schmale Handys: etwas weniger Chrom, stabile sichtbare Höhe */
  .booking-embed {
    margin-left: 0;
    margin-right: 0;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    padding-left: max(0.55rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.55rem, env(safe-area-inset-right, 0px));
  }

  .booking-embed iframe {
    min-height: clamp(420px, 68vh, 600px);
    border-radius: 0.65rem;
  }

  @supports (height: 1dvh) {
    .booking-embed iframe {
      min-height: clamp(420px, 68dvh, 600px);
    }
  }

  .map-embed {
    margin-left: 0;
    margin-right: 0;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }

  .map-embed iframe {
    min-height: clamp(220px, 44vh, 340px);
    border-radius: 0.6rem;
  }

  @supports (height: 1dvh) {
    .map-embed iframe {
      min-height: clamp(220px, 44dvh, 340px);
    }
  }
}
