/* =========================================================
   Ferienhof Kröger – Cassiopeia Blue (user.css) CLEAN
   - Jede Sektion NUR EINMAL definiert
   - Kontakt/Anfahrt stabil (Map via aspect-ratio)
   - Unterkünfte: acc-card Grid (ohne Bootstrap .card zu zerstören)
   ========================================================= */

/* ---------- Tokens ---------- */
:root{
  --primary-blue:#0F3F73;
  --primary-blue-dark:#0A2A4D;
  --primary-blue-light:#14508D;

  --background-light:#F6F2E6;
  --surface:#FFFFFF;

  --text-dark:#1E1E1E;
  --text-muted:rgba(0,0,0,.72);

  --radius:18px;
  --radius-lg:22px;
  --shadow:0 8px 24px rgba(0,0,0,.08);
}

/* ---------- Base ---------- */
body.site{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--background-light);
  color:var(--text-dark);
  line-height:1.6;
}

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

h1,h2,h3{ letter-spacing:.02em; color:var(--text-dark); }
h1{ font-size:clamp(2.4rem,4vw,3.2rem); margin:0 0 .6rem; }
h2{ font-size:2rem; margin:0 0 .75rem; }
h3{ font-size:1.2rem; margin:0 0 .4rem; }
p{ margin-top:0; }

.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 1.5rem;
}

.section{ padding:3rem 0; }
.section-top-a{ background:var(--background-light); }
.section-top-b{ background:#fff; }
.section-feature-a{ background:var(--primary-blue); color:#fff; }
.section-feature-b{ background:#F3F0E8; }
.section-bottom-a{ background:#F3F0E8; }

/* ---------- Header / Menü ---------- */
.site-header{
  background:#fff;
  padding:.8rem 0;
  box-shadow:0 2px 6px rgba(0,0,0,.06);
  position:sticky;
  top:0;
  z-index:100;
}

.site-header .container{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:2rem;
  min-height:70px;
}

/* Hauptmenü */
.site-header ul.mod-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:2rem;
  font-size:1.05rem;
  flex-wrap:wrap;
}

/* Hauptmenüeinträge */
.site-header ul.mod-menu > li{
  position:relative;
  margin:0;
  padding:0;
}

.site-header ul.mod-menu > li > a,
.site-header ul.mod-menu > li > span{
  display:block;
  text-decoration:none;
  color:var(--text-dark);
  font-weight:500;
  padding:.55rem 0;
  cursor:pointer;
}

.site-header ul.mod-menu > li > a:hover,
.site-header ul.mod-menu > li > span:hover,
.site-header ul.mod-menu > li.active > a,
.site-header ul.mod-menu > li.active > span{
  color:var(--primary-blue);
}

/* Kleine Markierung für Einträge mit Untermenü */
.site-header ul.mod-menu > li.parent > a::after,
.site-header ul.mod-menu > li.parent > span::after{
  content:" ▾";
  font-size:.8em;
  margin-left:.25rem;
}

/* Zweite Menüebene / Dropdown */
.site-header ul.mod-menu > li > ul{
  display:none;
  position:absolute;
  top:100%;
  left:-1rem;
  min-width:270px;
  margin:0;
  padding:.55rem 0;
  list-style:none;
  background:#fff;
  border-radius:12px;
  box-shadow:0 14px 32px rgba(0,0,0,.14);
  z-index:1000;
}

/* Kleine unsichtbare Brücke verhindert, dass das Dropdown beim
   Wechsel mit der Maus zwischen Hauptpunkt und Untermenü zuklappt */
.site-header ul.mod-menu > li > ul::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-10px;
  height:10px;
}

/* Dropdown öffnen */
.site-header ul.mod-menu > li:hover > ul,
.site-header ul.mod-menu > li:focus-within > ul{
  display:block;
}

/* Dropdown-Einträge */
.site-header ul.mod-menu > li > ul > li{
  margin:0;
  padding:0;
}

.site-header ul.mod-menu > li > ul > li > a,
.site-header ul.mod-menu > li > ul > li > span{
  display:block;
  padding:.7rem 1.1rem;
  color:var(--text-dark);
  text-decoration:none;
  white-space:nowrap;
  font-weight:500;
}

.site-header ul.mod-menu > li > ul > li > a:hover,
.site-header ul.mod-menu > li > ul > li > span:hover,
.site-header ul.mod-menu > li > ul > li.active > a,
.site-header ul.mod-menu > li > ul > li.active > span{
  color:var(--primary-blue);
  background:rgba(15,63,115,.07);
}

/* ---------- Hero (zweispaltig) ---------- */
.hero-wrapper{
  display:flex;
  flex-wrap:nowrap;
  width:100%;
  min-height:420px;
}
.hero-wrapper,.hero-left,.hero-right{ min-width:0; }
.hero-left,.hero-right{ box-sizing:border-box; }

.hero-left{
  flex:0 0 45%;
  background:var(--primary-blue);
  color:#fff;
  display:flex;
  align-items:center;
  padding:3rem;
}
.hero-text{ max-width:520px; }
.hero-text h1{ color:#fff; margin-bottom:1rem; }
.hero-text p{ font-size:1.05rem; margin-bottom:1.4rem; color:#f6f6f6; }

.hero-buttons a{
  display:inline-block;
  padding:.7rem 1.4rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  margin-right:.75rem;
  margin-bottom:.5rem;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-primary{
  background:#fff;
  color:var(--primary-blue-dark);
}
.btn-secondary{
  background:transparent;
  border:1px solid #fff;
  color:#fff;
}
.hero-buttons a:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.15);
}

.hero-right{
  flex:0 0 55%;
  background:var(--background-light);
  display:flex;
  justify-content:flex-start;
  align-items:center;
  padding:3rem 2.5rem;
  overflow:hidden;
}
.hero-right .hero-media{
  width:100%;
  max-width:720px;
  min-width:0;
  margin-left:2rem;
}
.hero-media img{
  width:100%;
  background:#fff;
  padding:.4rem;
  border-radius:18px;
  box-shadow:0 15px 32px rgba(0,0,0,.22);
}

/* ---------- Intro ---------- */
.intro-section{
  max-width:900px;
  margin:0 auto;
  text-align:left;
}
.intro-section p{ margin-bottom:.75rem; }

/* ---------- Iconreihe ---------- */
.icon-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:1.5rem;
  max-width:1180px;
  margin:0 auto;
}
.icon-item{
  background:#fff;
  border-radius:18px;
  padding:1.8rem;
  text-align:center;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
}
.icon-emoji{ font-size:2.2rem; margin-bottom:.75rem; }

/* =========================================================
   Unterkünfte (acc-card) – bitte bevorzugen
   ========================================================= */

/* optional: Modulklassensuffix "fhk-unterkuenfte" */
.fhk-unterkuenfte{
  background:#F3F0E8;
  padding:3rem 0;
}

.accommodation-section{ max-width:1180px; margin:0 auto; padding:0 1.5rem; }

.accommodation-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1.5rem;
  align-items:stretch;
}

.acc-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transition:transform .15s ease, box-shadow .15s ease;
}
.acc-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.acc-img{
  width:100%;
  height:190px;
  object-fit:cover;
}
.acc-body{ padding:1.2rem 1.2rem 1.4rem; }
.acc-body h3{ margin:0 0 .5rem; font-size:1.25rem; }
.acc-body p{ margin:0 0 .8rem; color:var(--text-muted); }
.acc-body ul{ margin:0; padding-left:1.1rem; }
.acc-body li{ margin:.2rem 0; }

/* =========================================================
   Außenbereich (Mockup-Style) – bevorzugt mit Wrapper .outdoor-section
   ========================================================= */

.outdoor-section{
  background:var(--primary-blue);
  color:#fff;
  padding:3.25rem 0;
}
.outdoor-section h2,
.outdoor-section p{ color:#fff; }

.outdoor-content{
  max-width:1180px;
  margin:0 auto;
  padding:0 1.5rem;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:2.5rem;
  align-items:center;
}

.outdoor-text p{ opacity:.95; max-width:60ch; }

.outdoor-media{ margin:0; display:flex; justify-content:flex-end; }
.outdoor-img{
  width:min(820px,100%);
  background:#fff;
  padding:.45rem;
  border-radius:20px;
  box-shadow:0 16px 28px rgba(0,0,0,.22);
}

/* =========================================================
   Umgebung & Aktivitäten (Cards)
   ========================================================= */

.surroundings{
  max-width:1180px;
  margin:0 auto;
  padding:0 1.5rem;
}

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

.activity-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:var(--text-dark);
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
  transition:transform .18s ease, box-shadow .18s ease;
}
.activity-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 36px rgba(0,0,0,.12);
}
.activity-img{ width:100%; height:180px; object-fit:cover; }
.activity-body{ padding:1.1rem 1.2rem 1.25rem; }
.activity-body p{ margin:0; opacity:.9; }

/* =========================================================
   Kontakt & Anfahrt – NUR EIN SET
   Voraussetzung: HTML hat Wrapper .contact-page
   ========================================================= */

.component-wrapper{ padding:3rem 0 4rem; }

.contact-page{
  max-width:1180px;
  margin:0 auto;
  padding:0 1.5rem;
}

.contact-hero{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:1.8rem;
  align-items:stretch;
  margin-top:1rem;
}

.contact-card,
.map-card{
  background:#fff;
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.contact-card{ padding:2rem 2rem 1.6rem; }

.contact-card h1{
  margin:0 0 .8rem;
  font-size:clamp(2rem,3.2vw,2.6rem);
  letter-spacing:.01em;
}

.contact-card p{ margin:0 0 1.2rem; font-size:1.05rem; }

/* Kontaktdaten – als Zeilen */
.contact-details{
  display:grid;
  gap:.9rem;
  padding:1rem 0 1.2rem;
  border-top:1px solid rgba(0,0,0,.08);
  border-bottom:1px solid rgba(0,0,0,.08);
}
.cd-row{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:1rem;
}
.cd-label{ font-weight:700; color:rgba(0,0,0,.75); }
.cd-value a{ text-decoration:none; color:var(--primary-blue); font-weight:600; }
.cd-value a:hover{ text-decoration:underline; }

.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top:1.2rem;
}

/* Map – stabil per aspect-ratio */
.map-card{ padding:0; display:flex; flex-direction:column; }
.map-embed{
  position:relative;
  width:100%;
  aspect-ratio:16/10;
  background:#f3f0e8;
}
.map-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}
.map-actions{
  padding:1rem 1.2rem 1.2rem;
  border-top:1px solid rgba(0,0,0,.06);
  background:rgba(255,255,255,.85);
}

/* Info-Kacheln */
.contact-info-grid{
  margin-top:2.2rem;
  display:grid;
  grid-template-columns:repeat(3,minmax(220px,1fr));
  gap:1.2rem;
}
.info-tile{
  background:#fff;
  border-radius:18px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  padding:1.4rem 1.5rem;
}
.info-tile p{ margin:0; color:var(--text-muted); }

/* =========================================================
   Preise (nur wenn genutzt)
   ========================================================= */
.prices-page{ padding:2.5rem 0 3rem; }
.price-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(260px,1fr));
  gap:1.6rem;
  margin:1.5rem 0 2.5rem;
}
.price-card{
  background:#fff;
  border-radius:18px;
  box-shadow:0 8px 26px rgba(0,0,0,.08);
  padding:1.6rem 1.7rem;
}
.price-row strong{ font-size:1.7rem; color:var(--primary-blue); }

/* ---------- Footer ---------- */
.site-footer{
  background:#F3F0E8;
  padding:2rem 0;
  text-align:center;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px){
  /* Menü auf kleineren Geräten untereinander; Untermenüs sichtbar/eingerückt.
     Ein echtes Hamburger-Menü können wir später ergänzen. */
  .site-header .container{
    align-items:flex-start;
  }

  .site-header ul.mod-menu{
    flex-direction:column;
    align-items:flex-start;
    gap:.35rem;
    width:100%;
  }

  .site-header ul.mod-menu > li{
    width:100%;
  }

  .site-header ul.mod-menu > li > a,
  .site-header ul.mod-menu > li > span{
    width:100%;
    padding:.45rem 0;
  }

  .site-header ul.mod-menu > li > ul{
    position:static;
    display:block;
    min-width:0;
    width:100%;
    margin:.1rem 0 .35rem;
    padding:0 0 0 1rem;
    background:transparent;
    border-radius:0;
    box-shadow:none;
  }

  .site-header ul.mod-menu > li > ul::before{
    display:none;
  }

  .site-header ul.mod-menu > li > ul > li > a,
  .site-header ul.mod-menu > li > ul > li > span{
    padding:.35rem 0;
    white-space:normal;
    font-size:.98rem;
  }

  .site-header ul.mod-menu > li > ul > li > a:hover,
  .site-header ul.mod-menu > li > ul > li > span:hover{
    background:transparent;
  }

  .hero-wrapper{ flex-wrap:wrap; }
  .hero-left,.hero-right{ flex:0 0 100%; padding:2.5rem 1.5rem; }
  .hero-right{ justify-content:center; }
  .hero-right .hero-media{ margin-left:0; max-width:720px; }

  .outdoor-content{ grid-template-columns:1fr; gap:1.5rem; }
  .outdoor-media{ justify-content:flex-start; }

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

  .contact-hero{ grid-template-columns:1fr; }
  .contact-info-grid{ grid-template-columns:1fr; }
  .cd-row{ grid-template-columns:1fr; gap:.25rem; }
}
@media (max-width: 640px){
  .activity-grid{ grid-template-columns:1fr; }
  .activity-img{ height:200px; }
  .price-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   Apartments-Übersicht (Itemid 113) – sauber & stabil
   ========================================================= */
.itemid-113 .com-content-category-blog .items-row{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.itemid-113 .com-content-category-blog .items-row > .item{
  float: none !important;        /* falls Bootstrap/Altlasten */
  width: auto !important;
  margin: 0 !important;
}

.itemid-113 .com-content-category-blog .item{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Bild oben als sauberes Card-Cover */
.itemid-113 .com-content-category-blog .item .item-image img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* Innenabstände */
.itemid-113 .com-content-category-blog .item .page-header,
.itemid-113 .com-content-category-blog .item .article-body,
.itemid-113 .com-content-category-blog .item .tags,
.itemid-113 .com-content-category-blog .item .readmore{
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.itemid-113 .com-content-category-blog .item .page-header{
  padding-top: 1.1rem;
}

.itemid-113 .com-content-category-blog .item .readmore{
  padding-bottom: 1.25rem;
}

/* Mobil: etwas größere Bilder */
@media (max-width: 640px){
  .itemid-113 .com-content-category-blog .item .item-image img{
    height: 220px;
  }
}

/* =========================================================
   Apartments – Übersicht (Kategorie Blog)
   Ziel: modernes Grid + korrekte Bildgrößen + saubere Karten
   Greift auf .com-content-category-blog (nur Übersichtsseite)
   ========================================================= */

/* Container auf der Übersichtsseite etwas luftiger */
.com-content-category-blog.blog {
  padding: 1.5rem 0 3rem;
}

/* Joomla Wrapper (items-leading) -> Grid */
.com-content-category-blog__items.blog-items.items-leading {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin: 1.2rem 0 0;
}

/* Einzelnes Item darf NICHT seine eigenen Layouts kaputt machen */
.com-content-category-blog__item.blog-item {
  margin: 0 !important;
  padding: 0 !important;
}

/* Deine Card */
.com-content-category-blog .item.item-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Bild-Link oben */
.com-content-category-blog .item.item-card .item-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;     /* sorgt für gleich hohe Bilder */
  overflow: hidden;
  background: #f3f3f3;
}

/* DAS ist der "Bilder sind riesig" Fix */
.com-content-category-blog .item.item-card .item-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block;
}

/* Body */
.com-content-category-blog .item.item-card .item-body {
  padding: 1.2rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* Meta */
.com-content-category-blog .fk-card-meta {
  font-weight: 600;
  opacity: .85;
  font-size: .98rem;
}

/* Preis */
.com-content-category-blog .fk-card-price {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-blue, #0F3F73);
  margin-top: -.25rem;
}

/* Hunde-Badge */
.com-content-category-blog .fk-card-dogs {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(15,63,115,.08);
  font-weight: 700;
  font-size: .92rem;
  width: fit-content;
}

.com-content-category-blog .fk-card-dogs.fk-no-dogs {
  background: rgba(0,0,0,.06);
}

/* Introtext */
.com-content-category-blog .item-intro p {
  margin: .2rem 0 0;
  opacity: .9;
}

/* Hover: leicht anheben */
@media (hover:hover) {
  .com-content-category-blog .item.item-card {
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .com-content-category-blog .item.item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(0,0,0,.12);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .com-content-category-blog__items.blog-items.items-leading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .com-content-category-blog__items.blog-items.items-leading {
    grid-template-columns: 1fr;
  }
  .com-content-category-blog .item.item-card .item-image {
    aspect-ratio: 16 / 11;
  }
}

/* =========================================
   Umgebung & Aktivitäten
   ========================================= */

.surroundings-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.surroundings-intro {
  max-width: 850px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.surroundings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.surroundings-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.surroundings-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.surroundings-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.surroundings-body {
  padding: 1.5rem;
}

.surroundings-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.surroundings-body p {
  margin: 0;
  line-height: 1.6;
}

.surroundings-body ul {
  margin: 0;
  padding-left: 1.1rem;
}

.surroundings-body li {
  margin-bottom: 0.4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .surroundings-card img {
    height: 200px;
  }
}


/* =========================================================
   Kategorieblogs – allgemeines Kartenraster
   Gilt für Erlebnisse am Hof, Umgebung, Restaurants usw.
   Apartments behalten ihre bestehenden Kartenelemente.
   ========================================================= */

/* Joomla-Bloglisten als Raster darstellen */
.com-content-category-blog .com-content-category-blog__items.blog-items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: stretch;
  margin: 1.5rem 0 0;
}

/* Einzelne Joomla-Items neutralisieren */
.com-content-category-blog .com-content-category-blog__item.blog-item {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}

/* Neutrale Inhaltskarten */
.com-content-category-blog .content-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Bildbereich */
.com-content-category-blog .content-card .item-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ece8de;
}

.com-content-category-blog .content-card .item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Karteninhalt */
.com-content-category-blog .content-card .item-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}

.com-content-category-blog .content-card .item-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.com-content-category-blog .content-card .item-title a {
  color: var(--text-dark);
  text-decoration: none;
}

.com-content-category-blog .content-card .item-title a:hover {
  color: var(--primary-blue);
}

.com-content-category-blog .content-card .item-intro {
  color: var(--text-muted);
}

.com-content-category-blog .content-card .item-intro p:last-child {
  margin-bottom: 0;
}

.com-content-category-blog .content-card .readmore {
  margin: auto 0 0;
  padding-top: .35rem;
}

/* Auch leere Karten sollen bereits die spätere Kartenform zeigen */
.com-content-category-blog .content-card .item-body:empty {
  min-height: 110px;
}

/* Hover */
@media (hover:hover) {
  .com-content-category-blog .content-card {
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .com-content-category-blog .content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(0,0,0,.12);
  }
}

/* Tablet */
@media (max-width: 992px) {
  .com-content-category-blog .com-content-category-blog__items.blog-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Smartphone */
@media (max-width: 680px) {
  .com-content-category-blog .com-content-category-blog__items.blog-items {
    grid-template-columns: 1fr;
  }

  .com-content-category-blog .content-card .item-image {
    aspect-ratio: 16 / 11;
  }
}

/* =========================================================
   Erlebnis-Detailseiten
   ========================================================= */

.article-detail{
  max-width: 1180px;
  margin: 3rem auto;
}

/* Titel */
.article-detail > h1{
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  color: var(--text-dark);
}

/* Großes Beitragsbild */
.article-full-image{
  margin: 0 0 2rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.article-full-image img{
  
  height: 460px;
  
  
}

/* Textbereich */
.article-content{
  max-width: 980px;
}

/* Einleitungsabsatz */
.article-content > p:first-child{
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Faktenboxen */
.excursion-facts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.excursion-fact{
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  line-height: 1.45;
}

.excursion-fact strong{
  display: block;
  margin-bottom: .35rem;
  color: var(--primary-blue);
  font-size: .95rem;
}

/* Überschriften im Detailtext */
.article-content h2{
  margin: 2.2rem 0 1rem;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  line-height: 1.2;
}

/* Fließtext */
.article-content p{
  line-height: 1.75;
}

/* Externer Button */
.excursion-button{
  display: inline-block;
  margin-top: .75rem;
  padding: .75rem 1.15rem;
  border-radius: 999px;

  background: var(--primary-blue);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;

  transition: transform .15s ease, box-shadow .15s ease;
}

.excursion-button:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

/* Tablet */
@media (max-width: 900px){
  .article-full-image img{
    height: 380px;
  }

  .excursion-facts{
    grid-template-columns: 1fr;
  }
}

/* Smartphone */
@media (max-width: 600px){
  .article-detail{
    margin: 2rem auto;
  }

  .article-full-image{
    border-radius: 16px;
  }

  .article-full-image img{
    height: 260px;
  }

  .article-content{
    max-width: none;
  }

  .excursion-button{
    width: 100%;
    text-align: center;
  }
}

/* Feinschliff Erlebnis-Detailseite */

.article-full-image img{
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
/* Abstand nach dem Einleitungstext reduzieren */
.article-content > p:first-child {
    margin-bottom: 1.25rem;
}

/* Fakten etwas näher an die Einleitung */
.excursion-facts {
    margin-top: 1.25rem;
    margin-bottom: 2.25rem;
}

/* =========================================================
   Service & Info – "Gut zu wissen" als breiter Abschluss
   ========================================================= */

/* Der Blog-Beitrag mit .service-extra spannt über alle Spalten */
.com-content-category-blog__item.blog-item:has(.service-extra) {
  grid-column: 1 / -1;
}

/* Breite Abschlusskarte */
.com-content-category-blog .content-card:has(.service-extra) {
  padding: 0;
}

/* Inhalt */
.service-extra {
  padding: .25rem 0;
}

/* Drei Infobereiche nebeneinander */
.service-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-extra-box {
  background: #f6f2e6;
  border-radius: 16px;
  padding: 1.25rem;
}

.service-extra-box h3 {
  margin: 0 0 .7rem;
  font-size: 1.15rem;
}

.service-extra-box p:last-child {
  margin-bottom: 0;
}

/* Stornobedingungen darunter */
.service-cancellation {
  background: rgba(15, 63, 115, .07);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
}

.service-cancellation h3 {
  color: var(--primary-blue);
  margin: 0 0 1rem;
}

.service-cancellation p:last-child {
  margin-bottom: 0;
}

/* Tablet / Smartphone */
@media (max-width: 900px) {
  .service-extra-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PREISE – Zusatzleistungen
   ========================================================= */

.price-info {
  margin-top: 2.5rem;
}

.price-info > h2 {
  margin-bottom: 1.25rem;
}

.price-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-info .info-box {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.price-info .info-box h3 {
  margin: 0 0 .55rem;
  font-size: 1.05rem;
}

.price-info .info-box p {
  margin: 0;
  line-height: 1.6;
}


/* =========================================================
   PREISE – Anfrage am Seitenende
   ========================================================= */

.price-cta {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: rgba(15, 63, 115, .07);
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.price-cta h2 {
  margin: 0 0 .4rem;
}

.price-cta p {
  margin: 0;
}

.price-cta .cta-button {
  display: inline-block;
  white-space: nowrap;
}


/* Tablet */
@media (max-width: 900px) {

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

}


/* Smartphone */
@media (max-width: 600px) {

  .price-info-grid {
    grid-template-columns: 1fr;
  }

  .price-cta {
    display: block;
  }

  .price-cta .cta-button {
    margin-top: 1rem;
  }

}

/* =========================================================
   STARTSEITE – AUSSENBEREICH
   ========================================================= */

.home-outdoor {
  background: #0f477c;
  padding: 4rem 0;
}

.home-outdoor-content {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;

  display: grid;
  grid-template-columns: .85fr 1.4fr;
  align-items: center;
  gap: 3rem;
}

.home-outdoor-text {
  color: #fff;
}

.home-outdoor-text .home-kicker {
  display: block;
  margin-bottom: .6rem;

  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: .8;
}

.home-outdoor-text h2 {
  color: #fff;
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.home-outdoor-text p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
}

.home-outdoor-button {
  display: inline-block;
  margin-top: .75rem;
  padding: .7rem 1.1rem;

  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;

  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.home-outdoor-button:hover {
  background: #fff;
  color: #0f477c;
}

.home-outdoor-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;

  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0,0,0,.18);
}


/* Tablet / Smartphone */
@media (max-width: 800px) {

  .home-outdoor {
    padding: 2.5rem 0;
  }

  .home-outdoor-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .home-outdoor-image {
    order: -1;
  }

}

/* Startseite – Poolbereich kompakter */

.outdoor-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
}

.outdoor-text {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

/* =========================================================
   STARTSEITE – KONTAKT CTA
   ========================================================= */

.home-contact {
  margin-top: 2rem;
  padding: 2rem 0 3rem;
}

.home-contact p {
  max-width: 900px;
  line-height: 1.65;
}

.home-contact-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.home-contact-btn {
  display: inline-block;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.home-contact-btn.primary {
  background: #0f477c;
  color: #fff;
}

.home-contact-btn.secondary {
  background: #fff;
  color: #0f477c;
  border: 1px solid #0f477c;
}

.home-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

@media (max-width: 600px) {
  .home-contact-actions {
    display: grid;
  }

  .home-contact-btn {
    text-align: center;
  }
}

/* Startseite – Abstand vor Footer reduzieren */
.home-contact {
    padding-bottom: 3rem;
    margin-bottom: 0;
}

/* Footer kompakter */
.container-footer {
    margin-top: 0;
}

.container-footer .grid-child {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Startseite – leeren Komponentenbereich ausblenden */
.itemid-101 .component-wrapper:has(.blog-featured:empty) {
    display: none;
}

/* Startseite – Abschluss kompakter gestalten */

.itemid-101 .section-bottom-a {
    padding-bottom: 2rem;
}

.itemid-101 .home-contact {
    margin-top: 2rem;
    padding: 2rem 0 2.5rem;
}

/* Footer kompakter */
.site-footer {
    padding: 2.5rem 0 2rem;
}

.footer-inner p {
    margin: 0 0 .75rem;
}

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

.section-feature-a .outdoor-text h2 {
    color: #f7f3e8;
}

/* Auf der Startseite wird keine Komponentenausgabe benötigt */
body.itemid-101 .component-wrapper {
    display: none;
}

/* Hero – linker blauer Bereich */
.hero-left {
    background: #154b7f;
    display: flex;
    align-items: center;
    padding: 55px 54px;
}

.hero-text {
    max-width: 560px;
}

.hero-text h1 {
    margin: 0 0 28px;
    font-size: clamp(2.6rem, 4vw, 3.7rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.hero-text p {
    margin: 0 0 28px;
    max-width: 540px;
    font-size: 1.05rem;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
/* =========================================================
   APARTMENT-DETAILSEITEN
   Hauptbild, Ausstattung/Eckdaten, Hunde-Hinweis & Galerie
   ========================================================= */

.apartment-detail{
  max-width:1180px;
  margin:0 auto;
  padding:0 1.5rem;
}

.apartment-header{
  max-width:900px;
  margin-bottom:1.5rem !important;
}

.apartment-header h1{
  margin-bottom:.45rem;
}

.apartment-intro{
  font-size:1.08rem;
  color:var(--text-muted);
}

.apartment-intro p:last-child{
  margin-bottom:0;
}

/* Hauptbild: ruhig, breit und unabhängig vom Originalformat */
.apartment-hero{
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  border-radius:var(--radius-lg);
  background:#ece8de;
  box-shadow:0 12px 30px rgba(0,0,0,.10);
  margin-bottom:2rem !important;
}

.apartment-hero img{
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  object-position:center;
  border-radius:0 !important;
}

/* Bootstrap-Row der Detailseite als kontrolliertes Zweispaltenlayout */
.apartment-detail > .row{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);
  gap:1.5rem;
  margin:0;
  align-items:stretch;
}

.apartment-detail > .row > [class*="col-"]{
  width:auto;
  max-width:none;
  padding:0;
}

.apartment-section,
.apartment-booking-card{
  background:var(--surface);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:1.6rem 1.7rem;
}

.apartment-section h2,
.apartment-booking-card h2{
  font-size:1.55rem;
  margin:0 0 1.15rem;
}

/* Ausstattung als übersichtliche kleine Kacheln */
.equipment-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.7rem;
}

.equipment-item{
  position:relative;
  padding:.75rem .9rem .75rem 2rem;
  border-radius:12px;
  background:#f7f5ef;
  line-height:1.4;
}

.equipment-item::before{
  content:"✓";
  position:absolute;
  left:.8rem;
  top:.72rem;
  color:var(--primary-blue);
  font-weight:800;
}

.apartment-included{
  padding-top:1.2rem;
  border-top:1px solid rgba(0,0,0,.08);
}

.apartment-included h3{
  margin-bottom:.75rem;
}

.included-items{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
}

.included-items span{
  display:inline-flex;
  align-items:center;
  padding:.5rem .75rem;
  border-radius:999px;
  background:rgba(15,63,115,.07);
  font-weight:600;
}

/* Eckdaten / Preis */
.apartment-facts{
  display:grid;
  gap:.15rem;
}

.apartment-fact{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:.72rem 0;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.apartment-fact span{
  color:var(--text-muted);
}

.apartment-fact strong{
  text-align:right;
}

.apartment-price{
  display:flex;
  align-items:baseline;
  gap:.35rem;
  padding:1rem 0 .25rem;
  color:var(--primary-blue);
}

.apartment-price strong{
  font-size:2rem;
  line-height:1;
}

.apartment-price span{
  font-weight:600;
}

/* Falls der Hunde-Hinweis in der PHP ausgegeben wird */
.apartment-dogs,
.apartment-dog-note,
.fk-apartment-dogs{
  margin-top:1rem;
  padding:.75rem 1rem;
  border-radius:999px;
  background:rgba(15,63,115,.08);
  font-weight:700;
}

/* Anfragebutton auf Detailseite */
.apartment-booking-card .btn,
.apartment-booking-card .btn-primary{
  display:block;
  width:100%;
  box-sizing:border-box;
  padding:.8rem 1rem;
  border:0;
  border-radius:999px;
  background:var(--primary-blue);
  color:#fff !important;
  text-align:center;
  text-decoration:none;
  font-weight:700;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.apartment-booking-card .btn:hover,
.apartment-booking-card .btn-primary:hover{
  background:var(--primary-blue-dark);
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.14);
}

/* Galerie */
.apartment-gallery{
  margin-top:2.5rem;
}

.apartment-gallery h2{
  margin-bottom:1.1rem;
}

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

.apartment-gallery-grid > *{
  min-width:0;
}

.apartment-gallery-grid img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:4 / 3;
  object-fit:cover;
  object-position:center;
  border-radius:16px;
  box-shadow:0 7px 20px rgba(0,0,0,.08);
  transition:transform .18s ease, box-shadow .18s ease;
}

@media (hover:hover){
  .apartment-gallery-grid img:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(0,0,0,.13);
  }
}

/* Tablet */
@media (max-width:900px){
  .apartment-detail > .row{
    grid-template-columns:1fr;
  }

  .apartment-booking-card{
    max-width:none;
  }

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

/* Smartphone */
@media (max-width:600px){
  .apartment-detail{
    padding:0 1rem;
  }

  .apartment-hero{
    aspect-ratio:4 / 3;
    border-radius:16px;
  }

  .apartment-section,
  .apartment-booking-card{
    padding:1.25rem;
    border-radius:16px;
  }

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

  .included-items{
    display:grid;
  }

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

  .apartment-gallery-grid img{
    aspect-ratio:4 / 3;
  }
}


/* =========================================================
   Apartment-Detail – Hunde-Hinweis + Lightbox
   ========================================================= */

.apartment-dog-note{
  margin-top:1rem;
  padding:.8rem 1rem;
  border-radius:16px;
  background:rgba(15,63,115,.08);
  color:var(--text-dark);
  font-weight:700;
  line-height:1.45;
}

.apartment-dog-note div{
  margin-top:.15rem;
  font-weight:600;
}

.apartment-gallery-item{
  cursor:zoom-in;
}

.apartment-lightbox[hidden]{
  display:none;
}

.apartment-lightbox{
  position:fixed;
  inset:0;
  z-index:5000;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.88);
  padding:2rem 5rem;
}

.apartment-lightbox-stage{
  margin:0;
  width:min(1200px, 92vw);
  height:min(82vh, 850px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.apartment-lightbox-image{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:14px;
  box-shadow:0 22px 60px rgba(0,0,0,.35);
}

.apartment-lightbox-close,
.apartment-lightbox-prev,
.apartment-lightbox-next{
  position:absolute;
  border:0;
  background:rgba(255,255,255,.94);
  color:#111;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}

.apartment-lightbox-close{
  top:1.25rem;
  right:1.25rem;
  width:46px;
  height:46px;
  border-radius:999px;
  font-size:2rem;
  line-height:1;
}

.apartment-lightbox-prev,
.apartment-lightbox-next{
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:64px;
  border-radius:16px;
  font-size:2.2rem;
  line-height:1;
}

.apartment-lightbox-prev{ left:1.25rem; }
.apartment-lightbox-next{ right:1.25rem; }

.apartment-lightbox-open{
  overflow:hidden;
}

@media (max-width:700px){
  .apartment-lightbox{
    padding:4rem .75rem 1rem;
  }

  .apartment-lightbox-prev,
  .apartment-lightbox-next{
    width:42px;
    height:54px;
    border-radius:14px;
  }

  .apartment-lightbox-prev{ left:.5rem; }
  .apartment-lightbox-next{ right:.5rem; }

  .apartment-lightbox-close{
    top:.75rem;
    right:.75rem;
  }
}

/* =========================================================
   DER FERIENHOF
   ========================================================= */

.hof-page {
    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: 4rem;
}


/* Intro
--------------------------------------------------------- */

.hof-intro {
    margin: 1.5rem 0 2.5rem;
    padding: 2.5rem 3rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.hof-intro__content {
    max-width: 900px;
}

.hof-kicker {
    display: inline-block;
    margin-bottom: .6rem;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #557a46;
}

.hof-intro h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.hof-lead {
    font-size: 1.15rem;
    line-height: 1.7;
}


/* Highlights
--------------------------------------------------------- */

.hof-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0 0 3rem;
}

.hof-highlight {
    display: flex;
    min-height: 125px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.hof-highlight__number {
    display: block;
    margin-bottom: .35rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: #315b2b;
}

.hof-highlight__text {
    font-size: .95rem;
}


/* Inhaltsbereiche
--------------------------------------------------------- */

.hof-section {
    margin: 2rem 0;
    padding: 3rem;
    background: #fff;
    border-radius: 18px;
}

.hof-section__content {
    max-width: 850px;
}

.hof-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.hof-section p {
    line-height: 1.75;
}

.hof-section--nature {
    background: #eef3e8;
}


/* CTA
--------------------------------------------------------- */

.hof-cta {
    margin-top: 3rem;
    padding: 3rem;
    text-align: center;
    background: #315b2b;
    color: #fff;
    border-radius: 20px;
}

.hof-cta .hof-kicker {
    color: #dbe8d4;
}

.hof-cta h3 {
    margin: .25rem 0 1rem;
    font-size: 2rem;
    color: #fff;
}

.hof-cta p {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.hof-cta .btn {
    display: inline-block;
    padding: .85rem 1.4rem;
    border-radius: 999px;
    background: #fff;
    color: #315b2b;
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hof-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
    color: #315b2b;
}


/* Tablet
--------------------------------------------------------- */

@media (max-width: 900px) {

    .hof-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .hof-intro,
    .hof-section,
    .hof-cta {
        padding: 2rem;
    }
}


/* Smartphone
--------------------------------------------------------- */

@media (max-width: 600px) {

    .hof-page {
        padding-bottom: 2rem;
    }

    .hof-intro {
        padding: 1.5rem;
        border-radius: 14px;
    }

    .hof-highlights {
        grid-template-columns: 1fr 1fr;
        gap: .7rem;
    }

    .hof-highlight {
        min-height: 105px;
        padding: 1rem .6rem;
    }

    .hof-highlight__number {
        font-size: 1.15rem;
    }

    .hof-highlight__text {
        font-size: .85rem;
    }

    .hof-section,
    .hof-cta {
        padding: 1.5rem;
        border-radius: 14px;
    }

    .hof-section h3,
    .hof-cta h3 {
        font-size: 1.5rem;
    }
}

/* =========================================================
   FERIENHOF – BILDER
   ========================================================= */

.hof-intro--with-image {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr);
    gap: 2.5rem;
    align-items: center;
}

.hof-intro__image {
    height: 100%;
    min-height: 360px;
}

.hof-intro__image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}


/* Inhaltsbereiche mit Bild */

.hof-section--image-left,
.hof-section--image-right {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.hof-section--image-right {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
}

.hof-section__image {
    height: 100%;
    min-height: 310px;
}

.hof-section__image img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}


/* Landschaftsbild etwas breiter wirken lassen */

.hof-section--nature .hof-section__image img {
    object-position: center center;
}


/* Tablet / Smartphone */

@media (max-width: 900px) {

    .hof-intro--with-image,
    .hof-section--image-left,
    .hof-section--image-right {
        grid-template-columns: 1fr;
    }

    .hof-intro__image {
        min-height: 300px;
    }

    .hof-intro__image img {
        min-height: 300px;
    }

    .hof-section__image {
        min-height: 280px;
    }

    .hof-section__image img {
        min-height: 280px;
    }

    .hof-section--image-right .hof-section__image {
        order: -1;
    }
}


@media (max-width: 600px) {

    .hof-intro__image,
    .hof-intro__image img {
        min-height: 230px;
    }

    .hof-section__image,
    .hof-section__image img {
        min-height: 230px;
    }
}

/* =========================================================
   DER FERIENHOF – CTA im Blau der Startseite
   ========================================================= */

.hof-cta {
    background: #0f477c;
}

.hof-cta .hof-kicker {
    color: rgba(255, 255, 255, .8);
}

.hof-cta .btn {
    background: #fff;
    color: #0f477c;
}

.hof-cta .btn:hover {
    background: #f6f2e6;
    color: #0f477c;
}

/* Der Ferienhof – automatisch ausgegebenen Beitragstitel ausblenden */
.itemid-102 .article-detail > h1 {
    display: none;
}


/* Startseite – Hinweis zur Frühstückspause */

.home-breakfast-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 24px;
  background: #f0f3f6;
  border-left: 4px solid #0f477c;
  border-radius: 12px;
}

.home-breakfast-notice__icon {
  color: #0f477c;
  font-size: 28px;
  line-height: 1;
}

.home-breakfast-notice__content h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #0a2a4d;
}

.home-breakfast-notice__content p {
  margin: 0 0 8px;
  line-height: 1.6;
}

.home-breakfast-notice__content a {
  color: #0f477c;
  font-weight: 600;
}

@media (max-width: 600px) {
  .home-breakfast-notice {
    padding: 16px;
    gap: 12px;
  }
}


/* ==========================================
   STARTSEITE – NEUER HERO (TESTVERSION)
   ========================================== */

.home-hero-new {
  max-width: 1200px;
  margin: 32px auto;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(20, 35, 50, 0.07);
}

.home-hero-new__content {
  min-width: 0;
}

.home-hero-new__kicker {
  display: block;
  margin-bottom: 16px;
  color: #0f477c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-new h1 {
  margin: 0 0 22px;
  color: #202020;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.1;
  font-weight: 750;
}

.home-hero-new__lead {
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 600;
  color: #333;
}

.home-hero-new__content p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.home-hero-new__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}

.home-hero-new__button {
  display: inline-block;
  padding: 14px 22px;
  background: #0f477c;
  color: #fff;
  text-decoration: none;
  border-radius: 9px;
  font-weight: 600;
}

.home-hero-new__button:hover {
  background: #0a2a4d;
  color: #fff;
}

.home-hero-new__link {
  color: #0f477c;
  font-weight: 600;
  text-decoration: none;
}

.home-hero-new__link:hover {
  text-decoration: underline;
}

.home-hero-new__image img {
  display: block;
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 800px) {
  .home-hero-new {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
    margin: 20px 16px;
  }

  .home-hero-new h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .home-hero-new__image img {
    height: auto;
    max-height: 350px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}


/* ==========================================
   STARTSEITE – FRÜHSTÜCKSHINWEIS ZENTRIEREN
   ========================================== */

.home-breakfast-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.home-breakfast-container .home-breakfast-notice {
  width: 100%;
  margin: 0;
}

@media (max-width: 600px) {
  .home-breakfast-container {
    padding: 0 16px;
  }
}


/* ==========================================
   STARTSEITE – HERO UND HINWEIS ZENTRIEREN
   ========================================== */

/* Äußeren Hero-Bereich auf volle Breite setzen */
body.itemid-101 .site-main > .hero-wrapper {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/* Weiße Hero-Karte mittig ausrichten */
body.itemid-101 .home-hero-new {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 32px auto;
    box-sizing: border-box;
}

/* Frühstückshinweis auf dieselbe Breite bringen */
body.itemid-101 .home-breakfast-container {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Mobilansicht */
@media (max-width: 800px) {
    body.itemid-101 .home-hero-new {
        width: calc(100% - 32px);
        margin: 20px auto;
    }

    body.itemid-101 .home-breakfast-container {
        width: calc(100% - 32px);
    }
}


/* ==========================================
   STARTSEITE – HERO-AUSRICHTUNG KORRIGIEREN
   ========================================== */

/* Äußeren Hero-Container zurücksetzen */
body.itemid-101 .site-main > .hero-wrapper {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Joomla-Modul über volle Breite */
body.itemid-101 .hero-wrapper #mod-custom110 {
    display: block;
    width: 100%;
    max-width: none;
}

/* Weiße Hero-Karte mittig */
body.itemid-101 .home-hero-new {
    display: grid;
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 32px auto;
    box-sizing: border-box;
}

/* Mobile Darstellung */
@media (max-width: 800px) {
    body.itemid-101 .home-hero-new {
        width: calc(100% - 32px);
        margin: 20px auto;
    }
}


/* ==========================================
   STARTSEITE – VORTEILE UND AUSSENBEREICH
   IM NEUEN KACHELDESIGN
   ========================================== */

/* Vorteilsbereich: beiger statt weißer Hintergrund */
body.itemid-101 .section-top-b {
    background: transparent;
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Die vier Vorteilskacheln */
body.itemid-101 .icon-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(20, 35, 50, 0.06);
}

/* Außenbereich: blauen Hintergrund entfernen */
body.itemid-101 .section-feature-a {
    background: transparent;
    padding: 32px 0 48px;
}

/* Poolbereich als große weiße Kachel */
body.itemid-101 .outdoor-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 36px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(20, 35, 50, 0.07);
}

/* Text im Poolbereich */
body.itemid-101 .outdoor-text,
body.itemid-101 .outdoor-text h2,
body.itemid-101 .outdoor-text p {
    color: #252525;
}

body.itemid-101 .outdoor-text h2 {
    margin-top: 0;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

/* Poolfoto */
body.itemid-101 .outdoor-image img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 16px;
}

/* Tablet und Smartphone */
@media (max-width: 800px) {
    body.itemid-101 .outdoor-layout {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px;
        margin: 0 16px;
    }

    body.itemid-101 .outdoor-image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}


/* ==========================================
   FERIENHOF KRÖGER – SANFTER HOVER-EFFEKT
   ========================================== */

/* Vier Vorteilskacheln */
body.itemid-101 .icon-item {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Großer Poolbereich */
body.itemid-101 .outdoor-layout {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Nur bei Geräten mit echter Maus */
@media (hover: hover) and (pointer: fine) {

    body.itemid-101 .icon-item:hover,
    body.itemid-101 .outdoor-layout:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 38px rgba(15, 71, 124, 0.14);
    }
}

/* Barrierefreiheit: reduzierte Bewegung beachten */
@media (prefers-reduced-motion: reduce) {
    body.itemid-101 .icon-item,
    body.itemid-101 .outdoor-layout {
        transition: none;
    }
}


/* ==========================================
   FERIENHOF KRÖGER – SCROLL-ANIMATION
   ========================================== */

/* Nur Elemente animieren, die JavaScript
   ausdrücklich dafür vorbereitet hat */
@media (prefers-reduced-motion: no-preference) {

    body.itemid-101 .fk-reveal-ready {
        opacity: 0;
        transform: translateY(24px);
        transition:
            opacity 0.7s ease,
            transform 0.7s ease;
    }

    body.itemid-101 .fk-reveal-ready.fk-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bei reduzierter Bewegung alles sichtbar */
@media (prefers-reduced-motion: reduce) {
    body.itemid-101 .fk-reveal-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ==========================================
   FERIENHOF KRÖGER – KACHEL-STAGGER
   ========================================== */

@media (prefers-reduced-motion: no-preference) {

    body.itemid-101 .icon-item.fk-reveal-ready.fk-visible:nth-child(2) {
        transition-delay: 100ms;
    }

    body.itemid-101 .icon-item.fk-reveal-ready.fk-visible:nth-child(3) {
        transition-delay: 200ms;
    }

    body.itemid-101 .icon-item.fk-reveal-ready.fk-visible:nth-child(4) {
        transition-delay: 300ms;
    }
}


/* Startseite: Kontaktkarte und kompakter Footer */
body.itemid-101 .home-contact {
  box-sizing: border-box;
  margin: 1rem 0 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(20, 35, 50, .07);
}

body.itemid-101 .home-contact h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.25;
}

body.itemid-101 .home-contact p {
  max-width: 65ch;
  margin: 0;
  color: var(--text-muted, #454545);
  line-height: 1.7;
}

body.itemid-101 .home-contact-actions {
  margin-top: 1.5rem;
  gap: .8rem;
}

body.itemid-101 .home-contact-btn {
  box-sizing: border-box;
  max-width: 100%;
}

body.itemid-101 .site-footer {
  margin-top: 0;
  padding: 0 0 1.5rem;
  background: transparent;
}

body.itemid-101 .footer-inner {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 63, 115, .14);
  color: var(--text-muted, #454545);
  font-size: .95rem;
  line-height: 1.65;
}

body.itemid-101 .footer-inner p {
  margin: 0 0 .65rem;
}

body.itemid-101 .footer-inner strong {
  color: var(--text-dark, #1e1e1e);
}

body.itemid-101 .footer-inner a {
  color: var(--primary-blue, #0f3f73);
  text-decoration: underline;
  text-decoration-color: rgba(15, 63, 115, .35);
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

body.itemid-101 .footer-inner a:hover {
  color: var(--primary-blue-dark, #0a2a4d);
  text-decoration-color: currentColor;
}

body.itemid-101 .footer-copy {
  font-size: .85rem;
}

body.itemid-101 .footer-inner p:last-child {
  margin-bottom: 0;
}

body.itemid-101 .home-contact-btn:focus-visible,
body.itemid-101 .footer-inner a:focus-visible {
  outline: 3px solid var(--primary-blue, #0f3f73);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  body.itemid-101 .home-contact {
    border-radius: 16px;
  }

  body.itemid-101 .footer-inner {
    padding-top: 1.25rem;
    font-size: .9rem;
  }
}

/* Ergänzung: Rechtslinks im Footer auf allen Seiten */
.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: .5rem;
  margin: 0 0 .75rem;
  font-size: .9rem;
}

.site-footer .footer-legal a {
  color: var(--primary-blue, #0f3f73);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.site-footer .footer-legal a:hover {
  color: var(--primary-blue-dark, #0a2a4d);
}

.site-footer .footer-legal a:focus-visible {
  outline: 3px solid var(--primary-blue, #0f3f73);
  outline-offset: 4px;
}

/* Impressum und Datenschutz: nur Beiträge mit .legal-page */
.legal-page {
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(20, 35, 50, .07);
  color: var(--text-dark, #1e1e1e);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

/* Der vom Template ausgegebene Titel steht außerhalb des Beitragstexts. */
.article-detail:has(.legal-page) > h1,
.com-content-article:has(.legal-page) > .page-header {
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.article-detail:has(.legal-page) > h1,
.com-content-article:has(.legal-page) > .page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.legal-page h2 {
  margin: 2rem 0 .75rem;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  line-height: 1.3;
  color: var(--primary-blue-dark, #0a2a4d);
}

.legal-page h3 {
  margin: 1.5rem 0 .5rem;
  font-size: 1.15rem;
  line-height: 1.4;
}

.legal-page p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page > p:first-child {
  padding: 1rem 1.2rem;
  background: #f0f3f6;
  border-left: 3px solid var(--primary-blue, #0f3f73);
  border-radius: 10px;
  font-size: .95rem;
}

.legal-page ul,
.legal-page ol {
  margin: .75rem 0 1.25rem;
  padding-left: 1.4rem;
}

.legal-page li + li {
  margin-top: .5rem;
}

.legal-page a {
  color: var(--primary-blue, #0f3f73);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.legal-page a:hover {
  color: var(--primary-blue-dark, #0a2a4d);
}

.legal-page a:focus-visible {
  outline: 3px solid var(--primary-blue, #0f3f73);
  outline-offset: 3px;
}

.legal-page > :last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .legal-page {
    border-radius: 16px;
  }
}

/* Gemeinsamer Akzent für Seitentitel; Startseite ausgeschlossen. */
body:not(.itemid-101) .article-detail > h1,
body:not(.itemid-101) .com-content-article > .page-header h1,
body:not(.itemid-101) .contact-card h1,
body:not(.itemid-101) .prices-page > h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--primary-blue-dark, #0a2a4d);
  margin-bottom: 1.75rem;
  overflow-wrap: anywhere;
}

body:not(.itemid-101) .article-detail > h1::after,
body:not(.itemid-101) .com-content-article > .page-header h1::after,
body:not(.itemid-101) .contact-card h1::after,
body:not(.itemid-101) .prices-page > h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--primary-blue, #0f3f73);
}

/* Rechtstexte: Titel bündig zur Innenkante der Inhaltskarte. */
.article-detail:has(.legal-page) > .article-content {
  max-width: none;
}

body:not(.itemid-101) .article-detail:has(.legal-page) > h1,
body:not(.itemid-101) .com-content-article:has(.legal-page) > .page-header {
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
}

/* Neue Seitenköpfe – nach bisheriger Titel-CSS laden. */
body:not(.itemid-101) .site-main :is(
  .article-detail > h1,
  .apartment-header > h1,
  .com-content-category-blog > h1,
  .com-content-category-blog > .page-header h1,
  .com-content-article > .page-header h1,
  .contact-card h1,
  .prices-page > h1,
  .page-intro > h1
) {
  color: var(--primary-blue-dark, #0a2a4d);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

body:not(.itemid-101) .site-main :is(
  .article-detail > h1,
  .apartment-header > h1,
  .com-content-category-blog > h1,
  .com-content-category-blog > .page-header h1,
  .com-content-article > .page-header h1,
  .contact-card h1,
  .prices-page > h1,
  .page-intro > h1
)::before {
  content: "Ferienhof Kröger";
  display: block;
  margin-bottom: .85rem;
  color: var(--primary-blue, #0f3f73);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body:not(.itemid-101) .site-main :is(
  .article-detail > h1,
  .apartment-header > h1,
  .com-content-category-blog > h1,
  .com-content-category-blog > .page-header h1,
  .com-content-article > .page-header h1,
  .contact-card h1,
  .prices-page > h1,
  .page-intro > h1
)::after {
  content: none;
}

/* Bestehende Einleitungen auf Detail- und Übersichtsseiten weiterverwenden. */
body:not(.itemid-101) .apartment-header .apartment-intro,
body:not(.itemid-101) .com-content-category-blog > .category-desc {
  max-width: 70ch;
  color: var(--text-muted, #454545);
  font-size: 1.05rem;
  line-height: 1.75;
}

body:not(.itemid-101) .apartment-header {
  max-width: 960px;
}

/* Kontakt hat im untersuchten HTML zwei H1: nur die innere anzeigen. */
body:not(.itemid-101) .article-detail:has(.contact-card h1) > h1 {
  display: none;
}

/* Neue Rechtsseiten-HTML enthält den vollständigen Kopf in der Karte. */
body:not(.itemid-101) .article-detail:has(.legal-page .page-intro) > h1,
body:not(.itemid-101) .com-content-article:has(.legal-page .page-intro) > .page-header {
  display: none;
}

.legal-page .page-intro {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15, 63, 115, .12);
}

.legal-page .page-intro p {
  max-width: 65ch;
  margin: 0;
  color: var(--text-muted, #454545);
  font-size: 1.05rem;
}

.legal-page > .legal-draft-note {
  padding: 1rem 1.2rem;
  background: #f0f3f6;
  border-left: 3px solid var(--primary-blue, #0f3f73);
  border-radius: 10px;
  font-size: .95rem;
}

html.fhk-pl-open { overflow: hidden; }

.fhk-playground-gallery a { cursor: zoom-in; }

.fhk-playground-lightbox {
  box-sizing: border-box;
  width: min(1200px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 3.5rem 4rem 1rem;
  border: 0;
  border-radius: 18px;
  background: #101a25;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.4);
}

.fhk-playground-lightbox::backdrop { background: rgba(0,0,0,.85); }
.fhk-playground-lightbox:not([open]) { display: none; }
.fhk-playground-lightbox figure { margin: 0; }

.fhk-playground-lightbox img {
  display: block;
  width: 100%;
  height: min(72dvh, 800px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.fhk-playground-lightbox figcaption {
  padding: .75rem 0 .25rem;
  text-align: center;
  font-size: .95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.fhk-playground-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0a2a4d;
  font: 2rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.fhk-playground-lightbox button:focus-visible {
  outline: 3px solid #9dcbff;
  outline-offset: 3px;
}

.fhk-pl-close { top: .6rem; right: .6rem; }
.fhk-pl-prev { left: .5rem; top: 45%; }
.fhk-pl-next { right: .5rem; top: 45%; }

@media (max-width: 600px) {
  .fhk-playground-lightbox {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: 3.5rem .5rem 4rem;
    border-radius: 12px;
  }
  .fhk-playground-lightbox img { height: 60dvh; }
  .fhk-pl-prev { top: auto; bottom: .5rem; left: calc(50% - 54px); }
  .fhk-pl-next { top: auto; bottom: .5rem; right: calc(50% - 54px); }
}

/* Nach Spielplatz.css laden: Raster wie bei den Apartments. */
.fhk-playground-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.fhk-playground-gallery figure {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.fhk-playground-gallery a,
.fhk-playground-gallery img {
  border-radius: 16px;
}

.fhk-playground-gallery a {
  display: block;
}

.fhk-playground-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 7px 20px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.fhk-playground-gallery figcaption {
  padding: .65rem .25rem 0;
  color: var(--text-muted, #454545);
  font-size: .95rem;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fhk-playground-gallery a:hover img {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,.13);
  }
}

@media (max-width: 900px) {
  .fhk-playground-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .fhk-playground-gallery {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fhk-playground-gallery img {
    transition: none;
  }
}

/* Kontaktseite: Visforms Formular 1 im Anfragebereich. Unten an user.css anhaengen. */
#anfrage { scroll-margin-top: 6rem; }
#anfrage, #anfrage * { box-sizing: border-box; }
#anfrage > .visforms > h1 { display: none; }
#anfrage #anfrage-titel { color: #103553; margin: 0 0 1rem; line-height: 1.25; }
#anfrage .visforms { min-width: 0; width: 100%; }
#anfrage form#mod-visform1 { margin-top: 1.5rem; width: 100%; }
#anfrage form#mod-visform1 fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#anfrage form#mod-visform1 fieldset > .row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem;
  margin: 1rem 0 0;
}
#anfrage form#mod-visform1 fieldset > .row > .col-12 { width: 100%; min-width: 0; padding: 0; }
/* Telefon und Nachricht ueber die gesamte Breite; Reisedaten stehen nebeneinander. */
#anfrage form#mod-visform1 fieldset > .row > :is(.field3, .field9) { grid-column: 1 / -1; }
#anfrage form#mod-visform1 .form-group.row { display: block; margin: 0; }
#anfrage form#mod-visform1 .form-group.row > label {
  display: block; width: 100%; max-width: none; padding: 0; margin: 0 0 .5rem;
  font-weight: 600; color: #103553;
}
#anfrage form#mod-visform1 .form-group.row > div,
#anfrage form#mod-visform1 [class^="field"] > .row > div,
#anfrage form#mod-visform1 .pbBtnCon div {
  width: 100%; max-width: none; margin-left: 0; padding-left: 0; padding-right: 0;
}
#anfrage form#mod-visform1 :is(input.form-control, select.form-select, textarea.form-control) {
  display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px;
  padding: .75rem .875rem; border: 1px solid #9daab5; border-radius: 10px;
  background: #fff; color: #263746; font: inherit; line-height: 1.4;
}
#anfrage form#mod-visform1 select.form-select { padding-right: 2rem; }
#anfrage form#mod-visform1 textarea.form-control { height: 160px; min-height: 130px; resize: vertical; }
#anfrage form#mod-visform1 .field-calendar .input-group { display: flex; align-items: stretch; width: 100%; }
#anfrage form#mod-visform1 .field-calendar .input-group > input { flex: 1 1 0; border-radius: 10px 0 0 10px; }
#anfrage form#mod-visform1 .field-calendar .input-group > span { flex: 0 0 auto; display: flex; }
#anfrage form#mod-visform1 .field-calendar button {
  min-width: 48px; min-height: 48px; border: 1px solid #9daab5; border-left: 0;
  border-radius: 0 10px 10px 0; background: #edf2f6; color: #103553; cursor: pointer;
}
#anfrage form#mod-visform1 .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
#anfrage form#mod-visform1 :is(input, select, textarea, button):focus-visible {
  outline: 3px solid #2469a3; outline-offset: 3px;
}
#anfrage form#mod-visform1 .vis_mandatory { font-size: .9rem; }
#anfrage form#mod-visform1 [data-error-field-id] { color: #a31e2d; font-size: .9rem; }
#anfrage form#mod-visform1 input[type="submit"] {
  display: inline-block; width: auto; max-width: 100%; min-height: 48px; margin-top: 1.5rem;
  padding: .875rem 1.5rem; border: 0; border-radius: 999px;
  background: #164c7e; color: #fff; font: inherit; font-weight: 700; white-space: normal; cursor: pointer;
}
#anfrage form#mod-visform1 input[type="submit"]:hover:not(:disabled) { background: #103553; }
#anfrage form#mod-visform1 input[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
@media (max-width: 640px) {
  #anfrage form#mod-visform1 fieldset > .row { grid-template-columns: minmax(0, 1fr); }
  #anfrage form#mod-visform1 input[type="submit"] { width: 100%; }
}

/* Neue Kontaktanordnung: nach Anfrageformular.css unten an user.css anhaengen. */
.contact-page.contact-page-v2 { width: 100%; max-width: 1200px; margin-inline: auto; }
.contact-page-v2, .contact-page-v2 * { box-sizing: border-box; }
.contact-page-v2 .contact-v2-intro { max-width: 800px; margin: 0 0 2rem; }
.contact-page-v2 .contact-v2-eyebrow { color: #164c7e; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .75rem; }
.contact-page-v2 .contact-v2-intro h1 { color: #103553; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 1rem; }
.contact-page-v2 .contact-v2-intro h1::before,
.contact-page-v2 .contact-v2-intro h1::after { content: none; }
.contact-page-v2 p { line-height: 1.65; }
.contact-page-v2 .contact-v2-main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); align-items: start; gap: 1.5rem; }
.contact-page-v2 .contact-card { min-width: 0; width: 100%; padding: clamp(1.25rem, 2.5vw, 2rem); border-radius: 22px; background: #fff; box-shadow: 0 8px 26px #1035530c; }
.contact-page-v2 #anfrage { margin-top: 0; }
.contact-page-v2 #anfrage-titel { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.contact-page-v2 .contact-v2-details h2,
.contact-page-v2 .contact-v2-arrival h2 { color: #103553; line-height: 1.25; margin: 0 0 1rem; }
.contact-page-v2 .contact-v2-details h2 { font-size: 1.4rem; }
.contact-page-v2 .contact-v2-details a { overflow-wrap: anywhere; }
.contact-page-v2 .contact-v2-details p { margin: 0 0 1.25rem; }
.contact-page-v2 .contact-v2-fax { font-size: .9rem; }
.contact-page-v2 .contact-v2-times { border-top: 1px solid #e0e5e9; padding-top: 1.25rem; margin-bottom: 1.5rem; line-height: 1.7; }
.contact-page-v2 .contact-v2-button { display: inline-block; max-width: 100%; padding: .8rem 1.2rem; border-radius: 999px; background: #164c7e; color: #fff; text-decoration: none; font-weight: 700; text-align: center; line-height: 1.4; }
.contact-page-v2 .contact-v2-button:hover { background: #103553; }
.contact-page-v2 a:focus-visible { outline: 3px solid #2469a3; outline-offset: 4px; }
.contact-page-v2 .contact-v2-arrival { margin-top: 3rem; }
.contact-page-v2 .contact-v2-arrival-heading { margin-bottom: 1.25rem; }
.contact-page-v2 .contact-v2-arrival-heading p { margin: 0; }
.contact-page-v2 .map-card { display: block; width: 100%; min-height: 0; height: auto; overflow: hidden; border-radius: 22px; background: #fff; }
.contact-page-v2 .map-embed { display: block; width: 100%; height: 360px; min-height: 0; aspect-ratio: auto; padding: 0; }
.contact-page-v2 .map-embed iframe { position: static; display: block; width: 100%; height: 100%; border: 0; }
.contact-page-v2 .map-actions { padding: 1rem 1.25rem; }
.contact-page-v2 .contact-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.contact-page-v2 .info-tile { min-width: 0; padding: 1.5rem; }
@media (max-width: 900px) {
  .contact-page-v2 .contact-v2-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .contact-page-v2 .contact-info-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-page-v2 .map-embed { height: 280px; }
}

/* Fitnessraum-Galerie: unten an die bestehende user.css anhaengen. */
.fhk-fitness .fhk-fitness-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}
.fhk-fitness-gallery figure { min-width: 0; margin: 0; }
.fhk-fitness-gallery a { display: block; border-radius: 16px; overflow: hidden; background: #eeeae1; }
.fhk-fitness-gallery img { display: block; width: 100%; height: auto; }
.fhk-fitness-gallery figcaption { margin-top: .6rem; color: #425466; font-size: .95rem; line-height: 1.5; }
.fhk-fitness-gallery a:focus-visible { outline: 3px solid #164c7e; outline-offset: 4px; }
@media (max-width: 640px) {
  .fhk-fitness .fhk-fitness-gallery { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}

/* Fitnessraum: Geräte statt Decke zeigen */
.article-full-image img[src*="fitnessraum-ueberblick.jpg"] {
  object-position: center 65%;
}

.outdoor-image img,
.outdoor-gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

/* Außenbereich: Hauptbild über der Galerie */
.outdoor-layout > .outdoor-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.outdoor-media > .outdoor-image {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.outdoor-media .outdoor-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.outdoor-media .outdoor-gallery-item {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}

.outdoor-media .outdoor-image img,
.outdoor-media .outdoor-gallery-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 14px;
}

@media (max-width: 640px) {
  .outdoor-media .outdoor-gallery {
    grid-template-columns: 1fr;
  }
}

.fk-contact-extra { margin-top: 1.25rem; }
.fk-contact-extra .contact-v2-button { white-space: normal; }
.fk-contact-note { font-size: .9rem; line-height: 1.5; margin-top: .75rem; }
.fk-external-note { font-size: .85em; font-weight: normal; }
.fk-social-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65rem 1.25rem; margin: 1rem 0; }
.footer-inner .fk-social-links { justify-content: center; }
.fk-social-links a { text-decoration: underline; text-underline-offset: .2em; }
.fk-social-links a:focus-visible, .fk-contact-extra a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

/* Ganz unten in user.css ergänzen. Gilt nur für den neuen Footer. */
body .site-footer .footer-inner.fk-footer {
  box-sizing: border-box;
  background: #123f69;
  color: #f7f5ef;
  border: 0;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 52px);
  margin: 24px auto 0;
  text-align: left;
  font-size: 16px;
  line-height: 1.65;
  box-shadow: 0 12px 32px rgba(18, 63, 105, .12);
}
body .site-footer .fk-footer .fk-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 36px; }
body .site-footer .fk-footer h2 { color: #fff; margin: 0 0 14px; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; }
body .site-footer .fk-footer h3 { color: #fff; margin: 0 0 16px; font-size: 18px; line-height: 1.4; }
body .site-footer .fk-footer p { margin: 0 0 10px; color: inherit; }
body .site-footer .fk-footer .fk-footer-eyebrow { color: #c4d6e6; margin-bottom: 10px; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
body .site-footer .fk-footer a { color: #fff; text-decoration: underline; text-decoration-color: #91aec8; text-underline-offset: .22em; overflow-wrap: anywhere; }
body .site-footer .fk-footer a:hover { color: #fff; text-decoration-color: #fff; }
body .site-footer .fk-footer a:focus-visible { outline: 3px solid #f3cf85; outline-offset: 4px; }
body .site-footer .fk-footer .fk-footer-label { display: inline-block; min-width: 66px; color: #c4d6e6; font-size: 14px; }
body .site-footer .fk-footer .fk-footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
body .site-footer .fk-footer a.fk-footer-pill { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; box-sizing: border-box; border: 1px solid #789ab7; border-radius: 999px; padding: 9px 17px; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; }
body .site-footer .fk-footer a.fk-footer-pill:hover { background: #245780; }
body .site-footer .fk-footer a.fk-footer-whatsapp { flex-basis: 100%; background: #f4eddf; color: #123f69; border-color: #f4eddf; }
body .site-footer .fk-footer a.fk-footer-whatsapp:hover { background: #fff; color: #123f69; }
body .site-footer .fk-footer .fk-footer-note { color: #c4d6e6; font-size: 12px; }
body .site-footer .fk-footer .fk-footer-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid #537896; margin-top: 30px; padding-top: 20px; font-size: 13px; }
body .site-footer .fk-footer .footer-copy { color: #c4d6e6; margin: 0; font-size: inherit; }
body .site-footer .fk-footer .fk-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.fk-footer-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 960px) {
  body .site-footer .fk-footer .fk-footer-grid { grid-template-columns: 1fr 1fr; }
  body .site-footer .fk-footer .fk-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body .site-footer .footer-inner.fk-footer { border-radius: 18px; padding: 28px 22px; }
  body .site-footer .fk-footer .fk-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  body .site-footer .fk-footer .fk-footer-brand { grid-column: auto; }
  body .site-footer .fk-footer .fk-footer-bottom { margin-top: 24px; }
}

/* Ganz unten in user.css einfügen. Nur Social-Links im Kontaktkasten. */
.contact-page.contact-page-v2 .fk-contact-extra .fk-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
}
.contact-page.contact-page-v2 .fk-contact-extra .fk-social-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 46px;
  max-width: 100%;
  padding: 10px 18px;
  border: 1px solid #b8cbdc;
  border-radius: 999px;
  background: #edf3f8;
  color: #154b7f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.contact-page.contact-page-v2 .fk-contact-extra .fk-social-links > a::after {
  content: "↗";
  font-size: 18px;
  line-height: 1;
}
.contact-page.contact-page-v2 .fk-contact-extra .fk-social-links > a:hover {
  background: #dce8f2;
  border-color: #154b7f;
  color: #123f69;
  text-decoration: none;
}
.contact-page.contact-page-v2 .fk-contact-extra .fk-social-links > a:focus-visible {
  outline: 3px solid #154b7f;
  outline-offset: 3px;
}
/* Hinweis bleibt für Screenreader erhalten; sichtbar steht er darunter. */
.contact-page.contact-page-v2 .fk-contact-extra .fk-social-links .fk-external-note {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-page.contact-page-v2 .fk-contact-extra .fk-social-links::after {
  content: "Facebook und Instagram öffnen externe Dienste.";
  flex-basis: 100%;
  color: #536373;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .contact-page.contact-page-v2 .fk-contact-extra .fk-social-links > a { transition: none; }
}

/* Ganz unten in die vorhandene user.css einfügen. */
.fk-stay-section .fk-stay-intro { max-width: 740px; margin: 0 0 28px; }
.fk-stay-section .fk-stay-intro h2 { color: #154b7f; font-size: clamp(26px, 3vw, 36px); line-height: 1.25; margin: 0 0 12px; }
.fk-stay-section .fk-stay-intro p { color: #454545; font-size: 17px; line-height: 1.65; margin: 0; }
.fk-stay-section .fk-stay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.fk-stay-section .fk-stay-grid .acc-card { display: flex; flex-direction: column; min-width: 0; color: #202020; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; box-shadow: 0 7px 22px rgba(0,0,0,.07); }
.fk-stay-section .fk-stay-grid .acc-img { display: block; width: 100%; height: 240px; object-fit: cover; }
.fk-stay-section .fk-stay-grid .fk-stay-solo { object-position: 50% 65%; }
.fk-stay-section .fk-stay-grid .fk-stay-couple { object-position: 50% 69%; }
.fk-stay-section .fk-stay-grid .fk-stay-family { object-position: 50% 67%; }
.fk-stay-section .fk-stay-grid .acc-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.fk-stay-section .fk-stay-grid h3 { margin: 0 0 12px; color: #202020; font-size: 23px; line-height: 1.3; }
.fk-stay-section .fk-stay-grid .acc-body p { margin: 0 0 24px; color: #454545; line-height: 1.65; }
.fk-stay-section .fk-stay-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; color: #154b7f; font-weight: 700; line-height: 1.5; }
.fk-stay-section .acc-card:hover .fk-stay-link { text-decoration: underline; text-underline-offset: .2em; }
.fk-stay-section .acc-card:focus-visible { outline: 3px solid #154b7f; outline-offset: 5px; }
@media (max-width: 900px) {
  .fk-stay-section .fk-stay-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
  .fk-stay-section .fk-stay-grid .acc-img { height: clamp(220px, 45vw, 340px); }
}
@media (prefers-reduced-motion: reduce) {
  .fk-stay-section .acc-card { transition: none; }
  .fk-stay-section .acc-card:hover { transform: none; }
}

/* Startseiten-Feinschliff: ganz unten in user.css ergänzen. */

/* Vier kompakte Vorteilskacheln mit gut lesbarer Schrift. */
body.itemid-101 #mod-custom112 .icon-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
body.itemid-101 #mod-custom112 .icon-item {
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 24px 20px;
}
body.itemid-101 #mod-custom112 .icon-emoji {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 12px;
}
body.itemid-101 #mod-custom112 .icon-item h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #202020;
}
body.itemid-101 #mod-custom112 .icon-item p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  color: #454545;
}

/* Einheitliche Abschnittsüberschriften; Hero und Footer behalten ihre Gestaltung. */
body.itemid-101 #mod-custom113 .outdoor-text h2,
body.itemid-101 #mod-custom114 .fk-stay-intro h2,
body.itemid-101 #mod-custom115 .surroundings > h2,
body.itemid-101 #mod-custom118 .home-contact h2 {
  color: #154b7f;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 16px;
}

/* Kontaktabschluss mit Abstand von den Ausflugskarten. */
body.itemid-101 #mod-custom118 .home-contact {
  margin-top: clamp(32px, 4vw, 48px);
}

@media (max-width: 992px) {
  body.itemid-101 #mod-custom112 .icon-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 560px) {
  body.itemid-101 #mod-custom112 .icon-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  body.itemid-101 #mod-custom112 .icon-item {
    padding: 22px;
  }
}

/* Nur der Kaninchenbeitrag mit .fhk-rabbits, keine anderen Erlebnisbilder. */
.article-detail:has(.fhk-rabbits) > .article-full-image img {
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.fhk-rabbits-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.fhk-rabbits-gallery figure {
  min-width: 0;
  margin: 0;
  padding: .5rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.fhk-rabbits-gallery a {
  display: block;
  border-radius: 12px;
}

.fhk-rabbits-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.fhk-rabbits-gallery figcaption {
  padding: .65rem .5rem .4rem;
  color: var(--text-muted, #454545);
  font-size: .95rem;
}

.fhk-rabbits a {
  color: var(--primary-blue, #0f3f73);
  text-underline-offset: .2em;
}

.fhk-rabbits a:focus-visible {
  outline: 3px solid var(--primary-blue, #0f3f73);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .fhk-rabbits-gallery {
    grid-template-columns: 1fr;
  }
}

html.fhk-rb-open { overflow: hidden; }

.fhk-rabbits-gallery a { cursor: zoom-in; }

.fhk-rabbits-lightbox {
  box-sizing: border-box;
  width: min(1200px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 3.5rem 4rem 1rem;
  border: 0;
  border-radius: 18px;
  background: #101a25;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.4);
}

.fhk-rabbits-lightbox::backdrop { background: rgba(0,0,0,.85); }
.fhk-rabbits-lightbox:not([open]) { display: none; }
.fhk-rabbits-lightbox figure { margin: 0; }

.fhk-rabbits-lightbox img {
  display: block;
  width: 100%;
  height: min(72dvh, 800px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.fhk-rabbits-lightbox figcaption {
  padding: .75rem 0 .25rem;
  text-align: center;
  font-size: .95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.fhk-rabbits-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0a2a4d;
  font: 2rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.fhk-rabbits-lightbox button:focus-visible {
  outline: 3px solid #9dcbff;
  outline-offset: 3px;
}

.fhk-rb-close { top: .6rem; right: .6rem; }
.fhk-rb-prev { left: .5rem; top: 45%; }
.fhk-rb-next { right: .5rem; top: 45%; }

@media (max-width: 600px) {
  .fhk-rabbits-lightbox {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: 3.5rem .5rem 4rem;
    border-radius: 12px;
  }
  .fhk-rabbits-lightbox img { height: 60dvh; }
  .fhk-rb-prev { top: auto; bottom: .5rem; left: calc(50% - 54px); }
  .fhk-rb-next { top: auto; bottom: .5rem; right: calc(50% - 54px); }
}

/* Poolbild in der Kachel weiter unten ausrichten */
img[src*="ferienhof-kroeger-pool-3.webp"] {
  object-position: center bottom;
}

/* Galerie im Poolbeitrag */
.fhk-pool-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.fhk-pool-gallery figure {
  min-width: 0;
  margin: 0;
  padding: .5rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.fhk-pool-gallery a {
  display: block;
}

.fhk-pool-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.fhk-pool-gallery figcaption {
  padding: .75rem .5rem .4rem;
  color: #454545;
}

.fhk-pool-gallery a:focus-visible {
  outline: 3px solid #0f3f73;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .fhk-pool-gallery {
    grid-template-columns: 1fr;
  }
}

html.fhk-pool-open { overflow: hidden; }

.fhk-pool-gallery a { cursor: zoom-in; }

.fhk-pool-lightbox {
  box-sizing: border-box;
  width: min(1200px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 3.5rem 4rem 1rem;
  border: 0;
  border-radius: 18px;
  background: #101a25;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.4);
}

.fhk-pool-lightbox::backdrop { background: rgba(0,0,0,.85); }
.fhk-pool-lightbox:not([open]) { display: none; }
.fhk-pool-lightbox figure { margin: 0; }

.fhk-pool-lightbox img {
  display: block;
  width: 100%;
  height: min(72dvh, 800px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.fhk-pool-lightbox figcaption {
  padding: .75rem 0 .25rem;
  text-align: center;
  font-size: .95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.fhk-pool-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0a2a4d;
  font: 2rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.fhk-pool-lightbox button:focus-visible {
  outline: 3px solid #9dcbff;
  outline-offset: 3px;
}

.fhk-pool-close { top: .6rem; right: .6rem; }
.fhk-pool-prev { left: .5rem; top: 45%; }
.fhk-pool-next { right: .5rem; top: 45%; }

@media (max-width: 600px) {
  .fhk-pool-lightbox {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: 3.5rem .5rem 4rem;
    border-radius: 12px;
  }
  .fhk-pool-lightbox img { height: 60dvh; }
  .fhk-pool-prev { top: auto; bottom: .5rem; left: calc(50% - 54px); }
  .fhk-pool-next { top: auto; bottom: .5rem; right: calc(50% - 54px); }
}

/* Joomla-Navigationspfad, begrenzt auf die neue Template-Position. */
.fhk-breadcrumbs { margin: 0 0 1.5rem; font-size: .875rem; line-height: 1.6; color: #454545; }
.fhk-breadcrumbs .breadcrumb {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .35rem .65rem; list-style: none;
  margin: 0; padding: 0 !important; background: transparent;
}
.fhk-breadcrumbs .breadcrumb > li { float: none !important; margin: 0; padding: 0; min-width: 0; overflow-wrap: anywhere; }
.fhk-breadcrumbs .breadcrumb > li.breadcrumb-item + li.breadcrumb-item::before {
  content: "›"; display: inline-block; float: none;
  margin-right: .65rem; padding: 0; color: #666;
}
.fhk-breadcrumbs .mod-breadcrumbs__divider { display: none; }
.fhk-breadcrumbs a { color: var(--primary-blue, #0f3f73); text-decoration: underline; text-underline-offset: .18em; }
.fhk-breadcrumbs a:focus-visible { outline: 2px solid #0f3f73; outline-offset: 3px; border-radius: 2px; }
.fhk-breadcrumbs .active { color: #454545; }

/* Am Ende der user.css einfügen. Startseite: bestehende Hero-Abstände. */
body.site:not(.itemid-101) .site-main > .component-wrapper {
  padding-top: 32px;
}

/* Zusätzliche obere Abstände der Inhaltswrapper nicht aufsummieren. */
body.site:not(.itemid-101) .component-wrapper .article-detail,
body.site:not(.itemid-101) .component-wrapper .hof-intro,
body.site:not(.itemid-101) .component-wrapper .contact-hero {
  margin-top: 0;
}

body.site:not(.itemid-101) .component-wrapper .surroundings-page {
  padding-top: 0;
}

@media (max-width: 800px) {
  body.site:not(.itemid-101) .site-main > .component-wrapper {
    padding-top: 20px;
  }
}

/* Nur der Hühnerbeitrag mit .fhk-chickens, keine anderen Erlebnisbilder. */
.article-detail:has(.fhk-chickens) > .article-full-image img {
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.fhk-chickens-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.fhk-chickens-gallery figure {
  min-width: 0;
  margin: 0;
  padding: .5rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.fhk-chickens-gallery a {
  display: block;
  border-radius: 12px;
}

.fhk-chickens-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.fhk-chickens-gallery figcaption {
  padding: .65rem .5rem .4rem;
  color: var(--text-muted, #454545);
  font-size: .95rem;
}

.fhk-chickens a {
  color: var(--primary-blue, #0f3f73);
  text-underline-offset: .2em;
}

.fhk-chickens a:focus-visible {
  outline: 3px solid var(--primary-blue, #0f3f73);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .fhk-chickens-gallery {
    grid-template-columns: 1fr;
  }
}

html.fhk-ch-open { overflow: hidden; }

.fhk-chickens-gallery a { cursor: zoom-in; }

.fhk-chickens-lightbox {
  box-sizing: border-box;
  width: min(1200px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 3.5rem 4rem 1rem;
  border: 0;
  border-radius: 18px;
  background: #101a25;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.4);
}

.fhk-chickens-lightbox::backdrop { background: rgba(0,0,0,.85); }
.fhk-chickens-lightbox:not([open]) { display: none; }
.fhk-chickens-lightbox figure { margin: 0; }

.fhk-chickens-lightbox img {
  display: block;
  width: 100%;
  height: min(72dvh, 800px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.fhk-chickens-lightbox figcaption {
  padding: .75rem 0 .25rem;
  text-align: center;
  font-size: .95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.fhk-chickens-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0a2a4d;
  font: 2rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.fhk-chickens-lightbox button:focus-visible {
  outline: 3px solid #9dcbff;
  outline-offset: 3px;
}

.fhk-ch-close { top: .6rem; right: .6rem; }
.fhk-ch-prev { left: .5rem; top: 45%; }
.fhk-ch-next { right: .5rem; top: 45%; }

@media (max-width: 600px) {
  .fhk-chickens-lightbox {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: 3.5rem .5rem 4rem;
    border-radius: 12px;
  }
  .fhk-chickens-lightbox img { height: 60dvh; }
  .fhk-ch-prev { top: auto; bottom: .5rem; left: calc(50% - 54px); }
  .fhk-ch-next { top: auto; bottom: .5rem; right: calc(50% - 54px); }
}

/* Kompaktes Titelbild nur im Hühnerbeitrag */
.article-detail:has(.fhk-chickens) > .article-full-image img {
  width: 100%;
  height: clamp(260px, 36vw, 480px);
  max-height: 480px;
  object-fit: cover;
  object-position: center 52%;
}

/* Nur der Pferdebeitrag mit .fhk-horses, keine anderen Erlebnisbilder. */
.article-detail:has(.fhk-horses) > .article-full-image img {
  width: 100%;
  height: clamp(260px, 36vw, 480px);
  max-height: 480px;
  object-fit: cover;
  object-position: center 58%;
}

.fhk-horses-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.fhk-horses-gallery figure {
  min-width: 0;
  margin: 0;
  padding: .5rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.fhk-horses-gallery a {
  display: block;
  border-radius: 12px;
}

.fhk-horses-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.fhk-horses-gallery figcaption {
  padding: .65rem .5rem .4rem;
  color: var(--text-muted, #454545);
  font-size: .95rem;
}

.fhk-horses a {
  color: var(--primary-blue, #0f3f73);
  text-underline-offset: .2em;
}

.fhk-horses a:focus-visible {
  outline: 3px solid var(--primary-blue, #0f3f73);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .fhk-horses-gallery {
    grid-template-columns: 1fr;
  }
}

html.fhk-hr-open { overflow: hidden; }

.fhk-horses-gallery a { cursor: zoom-in; }

.fhk-horses-lightbox {
  box-sizing: border-box;
  width: min(1200px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 3.5rem 4rem 1rem;
  border: 0;
  border-radius: 18px;
  background: #101a25;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.4);
}

.fhk-horses-lightbox::backdrop { background: rgba(0,0,0,.85); }
.fhk-horses-lightbox:not([open]) { display: none; }
.fhk-horses-lightbox figure { margin: 0; }

.fhk-horses-lightbox img {
  display: block;
  width: 100%;
  height: min(72dvh, 800px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.fhk-horses-lightbox figcaption {
  padding: .75rem 0 .25rem;
  text-align: center;
  font-size: .95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.fhk-horses-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0a2a4d;
  font: 2rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.fhk-horses-lightbox button:focus-visible {
  outline: 3px solid #9dcbff;
  outline-offset: 3px;
}

.fhk-hr-close { top: .6rem; right: .6rem; }
.fhk-hr-prev { left: .5rem; top: 45%; }
.fhk-hr-next { right: .5rem; top: 45%; }

@media (max-width: 600px) {
  .fhk-horses-lightbox {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: 3.5rem .5rem 4rem;
    border-radius: 12px;
  }
  .fhk-horses-lightbox img { height: 60dvh; }
  .fhk-hr-prev { top: auto; bottom: .5rem; left: calc(50% - 54px); }
  .fhk-hr-next { top: auto; bottom: .5rem; right: calc(50% - 54px); }
}


/* ==========================================
   Veranstaltungen – Bielefeld-Guide
   ========================================== */

.section-events-bottom {
    padding: 0 0 50px;
}

.section-events-bottom .weihnachtsmarkt-guide {
    background: #174573;
    color: #ffffff;
    border-radius: 24px;
    padding: 40px 48px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.section-events-bottom .hof-kicker {
    display: block;
    color: #d6e8f5;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-events-bottom h2 {
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 20px;
}

.section-events-bottom p {
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 16px;
}

.section-events-bottom .btn {
    display: inline-block;
    background: #ffffff;
    color: #174573;
    padding: 13px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.section-events-bottom .btn:hover {
    background: #e9f2fa;
    color: #174573;
}

@media (max-width: 768px) {
    .section-events-bottom .weihnachtsmarkt-guide {
        padding: 28px 24px;
        border-radius: 18px;
    }
}

