:root {
  --pfv-gold: #D6B362;
  --pfv-text: #222222;
  --pfv-muted: #666666;
  --pfv-border: #E9E3D3;
  --pfv-bg: #FFFFFF;
  --pfv-grey: #F4F4F4;
}

/* ===== Layout: modernes, dichteres Card-Grid ===== */
.pfv-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

/* ===== Card ===== */
.pfv-card {
  border: 1px solid #eadbb3;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height:100%;                                /* Card füllt die ganze Grid-Zeile */
}
.pfv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(214,179,98,0.25);
  border-color: #d6b362;
}

/* ===== Media mit Badges ===== */
.pfv-card-media {
  display: block;
  position: relative;
  aspect-ratio: 3/2; /* etwas kompakter als 16:9 */
  overflow: hidden;
  background: #f7f4eb;
}
.pfv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .35s ease;
}
.pfv-card:hover .pfv-card-media img { transform: scale(1.06); }
.pfv-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,#f0f0f0,#e7e7e7);
}

/* Badges (Chips) */
.pfv-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #3e3e3e;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pfv-badge-region { left: 12px; }
.pfv-badge-pets   { left: auto; right: 12px; }

/* ===== Body / Typo ===== */
.pfv-card-body {
  padding:16px 18px 18px;
  display:flex;
  flex-direction:column;
}
.pfv-card-title {
  margin: 2px 0 6px;
  font-size: 20px;
  line-height: 1.25;
  color: #3b3b3b;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.pfv-card-teaser {
  margin: 0 0 10px;
  color: #6e6e6e;
  line-height: 1.45;
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2 Zeilen */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Specs (Icons + Text) ===== */
.pfv-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
@media (max-width: 520px) {
  .pfv-specs { grid-template-columns: 1fr; }
}
.pfv-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  color: #595959;
  font-size: 14px;
}
.pfv-specs i {
  width: 18px;
  text-align: center;
  color: #c7a45a;
  opacity: .9;
}

/* ===== Actions / Button ===== */
.pfv-card-actions{
  display:flex;
  justify-content:flex-start;
  gap:10px;
  margin-top:auto;         /* schiebt den Button an das untere Ende der Card */
  padding-top:8px;         /* etwas mehr Luft */
}
.pfv-btn {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid #D6B362;
  color: #D6B362;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background .25s, color .25s, box-shadow .25s, transform .08s;
}
.pfv-btn:hover,
.pfv-btn:focus {
  background: #D6B362;
  color: #fff;
  box-shadow: 0 8px 18px rgba(214,179,98,0.35);
}
.pfv-btn:active { transform: translateY(1px); }

/* ===== Pagination ===== */
.pfv-pagination {
  grid-column: 1 / -1;
  margin-top: 4px;
}
.pfv-pagination ul {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.pfv-pagination a, .pfv-pagination span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #e5e1d7;
  border-radius: 10px;
  text-decoration: none;
  color: #555;
  background: #fff;
}
.pfv-pagination .current {
  background: #D6B362;
  border-color: #D6B362;
  color: #fff;
}



.objekte{
text-align:left;
float:left;
font-size:14px;
margin-top:5%;
}
.beschreibung .icon img{
width:5%;
float:left;
max-height:20px;
}


.beschreibung b{
font-size:20px;
text-align:center;
float:left;
width:100%;
}


.beschreibung .button{
float:left;
width:100%;
text-align:center;
}




.beschreibung .button a{
text-align:center;
font-size:15px;
}
.styled {
width: 18%;
aspect-ratio: 22/9;
cursor: pointer;
color: #D6B362;
font-family: 'Poppins';
font-size: 18px;
border: none;
position: relative;
transition: 0.7s;
border:1px solid #D6B362;
float:left;
}


.styled:hover {
background: #D6B362;
color:white;
}
.styled:active {
}


.styled2:active {
box-shadow:
inset -2px -2px 3px rgba(255, 255, 255, 0.6),
inset 2px 2px 3px rgba(0, 0, 0, 0.6);
background: #D6B362;
color:white;
}


.styled2:focus {
box-shadow:
inset -2px -2px 3px rgba(255, 255, 255, 0.6),
inset 2px 2px 3px rgba(0, 0, 0, 0.6);
background: #D6B362;
color:white;
}


/*formular startseite*/


.formstart{
width:60%;
margin-left:20%;
padding: 15px 20px;
padding-bottom:14%;
font-weight: 500;
border-radius: 4px;
font-size: 14px;
letter-spacing: 0.5px;
outline: none;
color: #c4c3ca;
border: none;
-webkit-transition: all 200ms linear;
transition: all 200ms linear;
box-shadow: 0 4px 8px 4px rgba(21,21,21,.7);
background: rgba(255, 247, 230,0.3);
}


.personen1{
width:25%;
margin-left:5%;
margin-right:10%;
float:left;
margin-top:3%;
}


.haustiere{
width:20%;
margin-right:13%;
float:left;
margin-top:3%;
}


.hans{
text-align:center;
width:30%;
float:left;
margin-left:4%;
}


.inputhaustiere{
width:30%;
float:left;
margin-left:0%;
}


.styled3 {
width: 18%;
aspect-ratio: 30/9;
cursor: pointer;
color: #D6B362;
font-family: 'Poppins';
font-size: 15px;
border: none;
transition: 0.7s;
border:1px solid #D6B362;
float:left;
margin-left:6%;
}
.styled3:hover {
margin-left:2%;
float:left;
margin-bottom:3%;
}


.tophalf img{
width:47%;
margin-right:1%;
margin-top:1%;
float:left;
height:370px;
}


.attribute{
width:37%;
margin-right:1%;
float:left;
}


.icon2{
width:45%;
float:left;
}


.attribute img{
width:11%;
float:left;
margin-right:3%;
}


.attribute p{
float:left;
margin-top:0.3%;
margin-left:0.5%;
font-size:100%;
margin-right:3%;
}


.kalender{
width:60%;
float:left;
}


.lage{
width:100%;
float:left;
}


.lage p{
margin-top:-2%;
}


.detailseite{
width:100%;
}


.detailseite h3{
margin-bottom:0.5%;
padding-bottom:0;
margin-top:0%;
margin-left:0%;
font-size:250%;
}


.detailseite h4{
color:#D6B362;
}


.detailseite h5{
font-size:12px;
color:#D6B362;
padding:0;
margin-top:0;
margin-left:0.1%;
}


.detailseite .location{
font-size:12px;
color:#D6B362;
padding:0;
margin-top:0;
margin-left:0.2%;
}
@media screen and (max-width: 950px) {
.formstart{
width:90%;
margin-left:5%;
padding-bottom:20%;
}
}


@media screen and (max-width: 700px) {


.formstart{
margin-left:0%;
width:100%;
padding-right:0%;
padding-left:0%;
padding-bottom:65%;
}


.urlaubsort{
width:45%;
float:left;
margin-right:2%;
}


.anreise{
width:45%;
float:left;
}


.anreiseinput{
width:47%;
float:left;
margin-left:1%;
}
.abreiseinput{
width:47%;
margin-left:48%;
float:left;
}


.ort1{
text-align:center;
width:45%;
float:left;
margin-left:2%;
}
.personen1{
width:45%;
float:left;
margin-right:0%;
margin-left:0%;
}


.haustiere{
width:45%;
float:left;
margin-right:0%;
}


.hans{
text-align:center;
width:45%;
float:left;
margin-left:2%;
}


.inputhaustiere{
width:47%;
float:left;
margin-left:1%;
}
.styled3{
width:25%;
margin-left:-9%;
margin-top:2%;
}


}
/* ===== Single Layout ===== */
.pfv-single-container {
  max-width: 1180px;
  margin: 32px auto;
  padding: 0 16px;
}
.pfv-single-header {
  margin-bottom: 14px;
}
.pfv-card-title{
  margin:2px 0 6px;
  font-size:20px;
  line-height:1.25;
  color:#3b3b3b;
  font-weight:800;

  /* vorher: -webkit-line-clamp: 1; -> jetzt 2 Zeilen */
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height: calc(1.25em * 2); /* Platzhalter für 2 Zeilen */

}

/* damit der Button ans Card-Ende gedrückt wird */
.pfv-card-body{ display:flex; flex-direction:column; }
.pfv-card-actions{ margin-top:auto; }

/* fallback, falls Grid Cards nicht streckt */
.pfv-list-grid{ align-items: stretch; }
.pfv-list-grid > .pfv-card{ height:100%; }


.pfv-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pfv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #eee6cf;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-size: 12px;
}

/* Galerie */
.pfv-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
}
.pfv-gallery-item--main {
  grid-row: span 2;
  overflow: hidden;
  border-radius: 12px;
}
.pfv-gallery-item,
.pfv-gallery-item--main {
  background: #f7f4eb;
}
.pfv-gallery-item img,
.pfv-gallery-item--main img {
  width: 100%;
aspect-ratio: 3 / 2; min-height: unset;
  object-fit: cover;
  display:block;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .pfv-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 140px 140px;
  }
  .pfv-gallery-item--main { grid-column: 1 / -1; }
}

/* Specs-Leiste */
.pfv-specs-wide {
  margin: 16px 0 6px;
}
.pfv-specs-wide ul {
  list-style: none;
  padding: 12px 14px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 10px;
  border: 1px solid #eadbb3;
  border-radius: 12px;
  background: #fff;
}
.pfv-specs-wide li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #464646;
}
.pfv-specs-wide i { color: #c7a45a; }

/* Content + Sidebar */
.pfv-single-content {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 24px;
  margin-top: 14px;
}
@media (max-width: 980px) {
  .pfv-single-content {
    grid-template-columns: 1fr;
  }
}
.pfv-content-text p { margin: 0 0 10px; line-height: 1.6; }

/* Feature Chips */
.pfv-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}
.pfv-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #eee6cf;
  background: #fff;
  color: #555;
  font-size: 12px;
}
.pfv-features i { color: #c7a45a; }

/* Sticky Buchungskarte */
.pfv-sticky { position: sticky; top: 90px; }
.pfv-book-form { display: grid; gap: 10px; }
.pfv-book-form label { display: grid; gap: 6px; font-size: 13px; color:#444; }
.pfv-book-form input,
.pfv-book-form select {
  padding: 8px 10px;
  border: 1px solid #e5e1d7;
  border-radius: 8px;
  background: #fff;
}

/* Kalender */
.pfv-calendar { margin-top: 24px; }
.pfv-calendar iframe {
  border: 1px solid #eadbb3;
  border-radius: 12px;
  background: #fff;
}
.pfv-single-meta .pfv-badge {
  position: static !important;
  left: auto; right: auto; bottom: auto;
}

/* Related */
.pfv-related{ margin-top:28px; }
.pfv-related h2{ margin-bottom:14px; }
.pfv-related-grid{
  display:grid; gap:16px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px){ .pfv-related-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .pfv-related-grid{ grid-template-columns: 1fr; } }

.pfv-rel-card{
  display:block; background:#fff; border:1px solid var(--pfv-border);
  border-radius:16px; overflow:hidden; text-decoration:none; color:inherit;
  transition: box-shadow .15s, transform .05s, border-color .15s;
}
.pfv-rel-card:hover{ box-shadow:0 8px 24px rgba(0,0,0,.06); border-color:#e1d7c0; transform:translateY(-1px); }

.pfv-rel-media{ aspect-ratio: 16/9; overflow:hidden; }
.pfv-rel-media img{ width:100%; height:100%; object-fit:cover; display:block; }

.pfv-rel-body{ padding:12px 14px 14px; }
.pfv-rel-title{ font-weight:700; margin-bottom:8px; }
.pfv-rel-meta{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }

.pfv-pill{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; line-height:1; padding:6px 10px; border-radius:999px;
  background:#faf8f2; border:1px solid #eadfca; color:#333;
}
.pfv-pill.ok{ background:#f4fbf4; border-color:#dceedf; }
.pfv-pill.no{ background:#fbf4f4; border-color:#f0dada; }

.pfv-rel-loc{ font-size:12px; color:var(--pfv-muted); display:flex; align-items:center; gap:6px; }

/* Buchungs-Button in Gold */
.pfv-card .pfv-btn{
  background: var(--pfv-gold) !important;
  border: 1px solid var(--pfv-gold) !important;
  color:#fff !important;
  border-radius:12px;
  padding:.8rem 1rem;
  font-weight:700;
  transition: filter .15s, transform .05s;
}
.pfv-card .pfv-btn:hover{ filter:brightness(0.95); }
.pfv-card .pfv-btn:active{ transform: translateY(1px); }

/* --- Specs Line (modern horizontal info bar) --- */
.pfv-specs-wide {
  margin: 20px 0;
  border: 1px solid var(--pfv-border);
  border-radius: 14px;
  background: #fff;
  padding: 10px 18px;
}

.pfv-specs-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  font-size: 15px;
  color: var(--pfv-text);
}

.pfv-specs-line div {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pfv-specs-line i {
  color: var(--pfv-gold);
  font-size: 16px;
}

/* Responsiv */
@media (max-width: 800px){
  .pfv-specs-line {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 14px;
  }
}
/* --- PFV Lightbox: wirklich fullscreen & ohne Theme-Grenzen --- */
.pfv-lightbox{ 
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;           /* über allem */
  background: rgba(0,0,0,.92) !important;
  display: none; 
  align-items: center; 
  justify-content: center;
}
.pfv-lightbox.is-open{ display:flex !important; }

/* Bühne = kompletter Viewport, kein max-width-Deckel */
.pfv-lightbox-inner{
  width: 100dvw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

/* Bild immer maximal groß – unabhängig von globalen img-Regeln */
.pfv-lightbox img{
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100dvw - 48px) !important;
  max-height: calc(100dvh - 48px) !important;
  object-fit: contain !important;
  image-rendering: auto !important;
  transform: none !important;
}

/* Bedien-Buttons etwas größer */
.pfv-lightbox-close, .pfv-lightbox-prev, .pfv-lightbox-next{
  width: 48px !important; 
  height: 48px !important;
  border-radius: 12px !important;
  backdrop-filter: blur(2px);
}
.pfv-lightbox-prev{ left: 16px !important; }
.pfv-lightbox-next{ right: 16px !important; }
.pfv-lightbox-close{ right: 16px !important; top: 16px !important; }
.pfv-lightbox-counter{ top: 16px !important; }
/* ===== Buchungsbedingungen ===== */

.pfv-policies{
  margin: 26px 0 10px;
  padding: 18px 18px 22px;
  border: 1px solid var(--pfv-border);
  border-radius: 14px;
  background: #fbf8f1; /* leicht warm-beige */
}
.pfv-policies-head h2{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7b6a43;
}
.pfv-policies-grid{
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 22px;
}
@media (max-width: 980px){
  .pfv-policies-grid{ grid-template-columns: 1fr; gap: 16px; }
}

.pfv-policies-col h3{
  margin: 0 0 10px;
  font-size: 20px;
}

.pfv-policies-list{
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.pfv-policies-list li{
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: #222;
}
.pfv-policies-list .ico{
  width: 28px; height: 28px; border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  background: #fff;
  border: 1px solid #e8dcc2;
  box-shadow: 0 2px 6px rgba(0,0,0,.04) inset;
}
.pfv-policies-list li.ok .ico{ background: var(--pfv-gold); color:#fff; border-color: var(--pfv-gold); }
.pfv-policies-list li.no .ico{ color:#9c9c9c; }

/* Steps (rechte Spalte) */
.pfv-steps{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pfv-step{
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 6px 0;
}
.pfv-step-badge{
  width: 46px; height: 46px; border-radius: 999px;
  background: #fff;
  border: 1px solid #eee3cc;
  display:flex; align-items:center; justify-content:center;
  font-weight: 800; color:#222;
}
.pfv-step-title{ font-weight: 700; margin-bottom: 4px; }
.pfv-step-text{ color:#333; }

/* saubere, zentrierte Trennlinie zwischen den beiden Steps */
.pfv-step-sep{
  align-self: center;
  width: 2px;
  height: 28px;           /* optisch passend – bei Bedarf anpassen */
  background: #e9dfc8;
  border-radius: 2px;
}

/* Mobile: falls du die Steps nebeneinander haben willst, anpassen
@media (min-width: 1200px){
  .pfv-steps{ gap: 14px; }
}
*/
/* === Urlaub-buchen Suche === */
.pfv-search{
  margin: 8px 0 18px;
}
.pfv-search-form{
  border: 1px solid var(--pfv-border);
  border-radius: 14px;
  background: #fffaf1;
  padding: 14px;
}
.pfv-search-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 980px){
  .pfv-search-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .pfv-search-grid{ grid-template-columns: 1fr; }
}
.pfv-field{ display: grid; gap: 6px; }
.pfv-field label{ font-size: 13px; color:#444; }
.pfv-field input,
.pfv-field select{
  padding: 9px 10px;
  border: 1px solid #e5e1d7;
  border-radius: 10px;
  background: #fff;
}
.pfv-field.pfv-action{ align-items: end; }

/* Primärer Button in Plugin-Gold */
.pfv-btn-primary{
  background: var(--pfv-gold) !important;
  border: 1px solid var(--pfv-gold) !important;
  color:#fff !important;
  border-radius:12px;
  padding:.75rem 1rem;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition: filter .15s, transform .05s;
}
.pfv-btn-primary:hover{ filter:brightness(0.95); }
.pfv-btn-primary:active{ transform: translateY(1px); }

/* Result-Kopf */
.pfv-results-head{ margin: 18px 0 6px; }
.pfv-results-head h2{ margin:0 0 4px; }
.pfv-results-meta{ color:#666; display:flex; gap:8px; align-items:center; }

/* Gleich hohe Buttonzeile (wir reservieren zwei Zeilen für Titel) */
.pfv-card-title--2l{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.25em * 2); /* 2 Zeilen Platzhalter */
}
.pfv-noresults{ margin: 20px 0 10px; }
