:root {
  --forest: #164f43;
  --deep: #0c352d;
  --leaf: #2f7865;
  --coral: #e66e50;
  --sun: #f4c768;
  --sky: #e9f4ef;
  --linen: #f2eadc;
  --paper: #fffaf1;
  --white: #fffef9;
  --ink: #173b33;
  --muted: #5d706a;
  --line: rgba(23, 59, 51, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.68; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
.mod_article { margin: 0; padding: 0; }

/* Hotfix 2026-07-29: alte typelose Fit-Inputs ausblenden */
.fitSection .check input:not([type]) {
  display: none !important;
}

.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-180%); padding: .7rem 1rem; color: var(--ink); background: var(--white); box-shadow: 0 10px 30px #09291f25; }
.skip:focus { transform: none; }

.siteHeader { position: sticky; z-index: 30; top: 0; color: var(--ink); background: rgba(255, 250, 241, .96); border-bottom: 1px solid var(--line); box-shadow: 0 4px 24px rgba(12, 53, 45, .07); backdrop-filter: blur(14px); }
.nav { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brandLogo { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brandLogo img { display: block; width: auto; height: 76px; object-fit: contain; }
.navLinks { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 1.8rem); }
.navLinks > a { color: inherit; text-decoration: none; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.navLinks > a:not(.button):hover { color: var(--coral); }
.languageSwitch { display: flex; flex: 0 0 auto; gap: .2rem; padding: .28rem; border: 1px solid var(--line); border-radius: 999px; }
.languageSwitch a { min-width: 2rem; padding: .3rem .45rem; color: var(--muted); border-radius: 999px; text-align: center; text-decoration: none; font-size: .64rem; font-weight: 800; }
.languageSwitch a[aria-current="page"] { color: #fff; background: var(--forest); }
.menuToggle { display: none; min-height: 2.7rem; padding: .65rem .9rem; color: var(--forest); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }

.hero { position: relative; isolation: isolate; min-height: calc(100svh - 94px); display: grid; align-items: end; color: #fff; background: var(--deep); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url("../img/hero.webp") 58% 48% / cover no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8, 53, 44, .88) 0%, rgba(8, 53, 44, .65) 47%, rgba(8, 53, 44, .18) 78%), linear-gradient(0deg, rgba(8, 45, 38, .62), transparent 56%); }
.heroInner { padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(3.6rem, 7vw, 6rem); }
.eyebrow { margin: 0 0 1rem; color: var(--coral); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.pale { color: #ffe69a; }
h1, h2 { margin: 0; font: 400 clamp(3.15rem, 7.5vw, 7.2rem) / .98 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2.55rem, 5vw, 5.1rem); }
h1 em, h2 em { color: var(--coral); font-style: italic; }
.hero h1 { max-width: 1020px; text-shadow: none; }
.hero h1 em { color: #ffd981; }
.heroCopy { max-width: 700px; margin: 1.6rem 0 2rem; color: #fff; font-size: clamp(1.06rem, 1.7vw, 1.3rem); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .78rem 1.25rem; border: 1px solid currentColor; border-radius: 999px; color: inherit; background: transparent; text-decoration: none; font-size: .71rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(12, 53, 45, .15); }
.solid { color: #fff !important; background: var(--coral); border-color: var(--coral); }
.sun { color: var(--ink); background: var(--sun); border-color: var(--sun); }
.ghost { color: #fff; border-color: rgba(255, 255, 255, .75); }
.outline { color: var(--forest); border-color: var(--forest); }
.heroFacts { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .42); font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.skySection { background: linear-gradient(160deg, #eff9f4 0%, #e5f2ee 60%, #fff9ed 100%); }
.linen { background: var(--linen); }
.warmForest { color: #fff; background: #124b40; }
.intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.intro aside { color: var(--coral); font: 1.38rem / 1.45 var(--serif); }
.bigCopy { margin: 0 0 1.5rem; font: clamp(1.5rem, 2.8vw, 2.28rem) / 1.35 var(--serif); }
.copy { max-width: 710px; color: var(--muted); }
.lead { max-width: 730px; font: clamp(1.2rem, 2.25vw, 1.72rem) / 1.45 var(--serif); }

.chileCards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }
.chileCards article { min-height: 290px; padding: clamp(1.5rem, 3vw, 2.25rem); background: rgba(255, 254, 249, .82); border: 1px solid rgba(22, 79, 67, .1); box-shadow: 0 18px 50px rgba(25, 86, 73, .07); }
.chileCards span { color: var(--coral); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.chileCards h3 { margin: 3.4rem 0 .8rem; font: 400 2rem var(--serif); }
.chileCards p { margin: 0; color: var(--muted); }

.imageStory { position: relative; min-height: min(900px, 88svh); display: grid; align-items: end; overflow: hidden; }
.imageStory > img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.imageStory::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(9, 55, 46, .55), transparent 65%); }
.imageStoryCard { width: min(calc(100% - 2rem), 690px); margin: 0 0 clamp(2rem, 6vw, 5rem) max(1rem, calc((100% - var(--max)) / 2)); padding: clamp(2rem, 5vw, 4rem); color: var(--ink); background: rgba(255, 250, 241, .94); box-shadow: 0 24px 70px rgba(10, 50, 42, .18); backdrop-filter: blur(10px); }
.imageStoryCard h2 { font-size: clamp(2.45rem, 4.5vw, 4.65rem); }
.imageStoryCard p:last-child { margin: 1.4rem 0 0; color: var(--muted); }

.parksSection { background: #fffdf7; }
.parksIntro, .interiorHead, .farmHead { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: end; }
.parksHero { position: relative; min-height: min(720px, 74svh); margin-top: 4.5rem; overflow: hidden; background: var(--deep); }
.parksHero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.parksHero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 42, 35, .8), rgba(7, 42, 35, .04) 68%); }
.parksHeroCopy { position: absolute; z-index: 1; right: clamp(1.5rem, 5vw, 4rem); bottom: clamp(1.5rem, 5vw, 4rem); left: clamp(1.5rem, 5vw, 4rem); max-width: 750px; color: #fff; }
.parksHeroCopy span, .parkCardCopy small { color: var(--sun); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.parksHeroCopy h3 { margin: .65rem 0 1rem; font: 400 clamp(2.25rem, 4.5vw, 4.7rem) / 1.02 var(--serif); letter-spacing: -.035em; }
.parksHeroCopy p { margin: 0; max-width: 690px; font-weight: 600; }
.parkCards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.parkCards article { display: flex; flex-direction: column; background: #eef6f1; border: 1px solid rgba(22, 79, 67, .12); }
.parkCards article > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.parkCardCopy { display: flex; flex: 1; flex-direction: column; padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.parkCardCopy small { color: var(--coral); }
.parkCardCopy h3 { margin: .55rem 0 .8rem; font: 400 2.2rem var(--serif); }
.parkCardCopy p { margin: 0; color: var(--muted); }
.parkTags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0; }
.parkTags span { padding: .35rem .65rem; color: var(--forest); background: #fff; border-radius: 999px; font-size: .65rem; font-weight: 800; }
.parkCardCopy a { margin-top: auto; color: var(--forest); font-size: .74rem; font-weight: 800; }
.parksFoot { display: flex; justify-content: space-between; gap: 2rem; align-items: center; margin-top: 2rem; }
.parksFoot p { margin: 0; max-width: 690px; color: var(--muted); font-size: .82rem; }
.parksFoot p span { white-space: nowrap; }

/* Facts: use the headline field of the same Contao description-list element. */
.landhausFacts {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  overflow: hidden;
  background: linear-gradient(155deg, #f6efe2, #edf6f0);
}
.landhausFacts::before {
  content: "";
  position: absolute;
  top: 0;
  right: max(-8rem, -10vw);
  width: clamp(15rem, 33vw, 31rem);
  aspect-ratio: 1;
  border: 1px solid rgba(22, 79, 67, .11);
  border-radius: 50%;
  transform: translateY(-52%);
  pointer-events: none;
}
.landhausFacts > h2,
.landhausFacts .headline {
  position: relative;
  width: min(calc(100% - 2rem), var(--max));
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 1.25rem;
  color: var(--forest);
  font: 400 clamp(2.55rem, 5vw, 5.1rem) / .98 var(--serif);
  letter-spacing: -.045em;
  text-align: center;
  text-wrap: balance;
}
.landhausFacts > h2::after,
.landhausFacts .headline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4.5rem;
  height: 3px;
  background: var(--coral);
  transform: translateX(-50%);
}
.landhausFacts dl, .factCards { width: min(calc(100% - 2rem), var(--max)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem auto 0; }
.factCard, .factCards > article { min-width: 0; padding: clamp(1.5rem, 3vw, 2.2rem); background: rgba(255, 254, 249, .9); border: 1px solid rgba(22, 79, 67, .13); box-shadow: 0 16px 46px rgba(22, 79, 67, .07); }
.factCard dt, .factCards h3 { margin: 0 0 .65rem; color: var(--forest); font: 400 clamp(1.45rem, 2.5vw, 2rem) / 1.15 var(--serif); }
.factCard dd, .factCards p { margin: 0; color: var(--muted); }

/* Controls are mobile-only; without JavaScript all cards remain a normal grid. */
.swipeControls { display: none; }

.villarricaMoment { position: relative; isolation: isolate; min-height: min(920px, 92svh); display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--deep); }
.villarricaMoment > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.villarricaMoment::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4, 24, 20, .58), rgba(4, 24, 20, .14) 62%, transparent), linear-gradient(0deg, rgba(3, 20, 15, .78), transparent 54%); }
.villarricaMomentCopy { padding-block: clamp(3rem, 8vw, 6.5rem); }
.villarricaMomentCopy h2 { max-width: 900px; color: #fff; font-size: clamp(3rem, 6vw, 6.5rem); text-shadow: none; }
.villarricaMomentCopy h2 em { color: #ffe092; }
.villarricaMomentCopy .lead { max-width: 720px; color: #fff; font-weight: 600; }
.villarricaMomentCopy small { display: block; max-width: 780px; margin-top: 1.5rem; color: #f0f6f2; font-size: .72rem; font-weight: 600; }
.villarricaMomentCopy small a { color: inherit; text-underline-offset: .2em; }

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 740px; }
.splitImage { min-height: 600px; background-position: center; background-size: cover; }
.room { background-image: url("../img/zimmer.webp"); }
.splitCopy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.splitCopy p:not(.eyebrow) { max-width: 680px; color: #fff; font-weight: 500; }
.lineList { display: grid; margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .5); }
.lineList li { padding: .88rem 0; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); font-weight: 600; }
.lineList li::before { content: "✦"; margin-right: 1rem; color: var(--sun); }

.interiorSection { background: var(--paper); }
.interiorGrid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 1rem; margin-top: 4rem; align-items: stretch; }
.interiorGrid figure { position: relative; min-height: 480px; margin: 0; overflow: hidden; background: var(--linen); }
.interiorGrid figure img { display: block; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.interiorGrid figcaption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; padding: .7rem .9rem; color: #fff; background: rgba(8, 45, 38, .82); font-size: .72rem; font-weight: 700; backdrop-filter: blur(8px); }

.breakfastSection { background: #fffdf7; }
.breakfastGrid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.breakfastGrid figure { margin: 0; }
.breakfastGrid figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 18px 18px 0 #dceee6; }
.breakfastGrid figcaption { margin: 1.8rem 0 0 1rem; color: var(--muted); font-size: .82rem; }
.breakfastNotes { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.breakfastNotes span { padding: .45rem .8rem; color: var(--forest); background: var(--sky); border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dinnerSection { color: #fff; background: #185447; }
.dinnerGrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.dinnerGrid p:not(.eyebrow) { max-width: 620px; color: #fff; font-weight: 500; }
.dinnerGrid .button { margin-top: 1rem; }

.farmSection { background: linear-gradient(155deg, #eef6e8, #fff9ec 72%); }
.farmPhotos { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; margin-top: 4rem; }
.farmPhotos figure { margin: 0; overflow: hidden; }
.farmPhotos img { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; cursor: zoom-in; }
.farmSteps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1rem; border-block: 1px solid var(--line); }
.farmSteps article { padding: 2rem; border-right: 1px solid var(--line); }
.farmSteps article:last-child { border: 0; }
.farmSteps b { color: var(--coral); font-size: .72rem; letter-spacing: .12em; }
.farmSteps h3 { margin: 1.5rem 0 .65rem; font: 400 1.65rem var(--serif); }
.farmSteps p { margin: 0; color: var(--muted); }
.farmNote { display: flex; justify-content: space-between; gap: 2rem; align-items: center; margin-top: 2rem; }
.farmNote p { max-width: 680px; color: var(--muted); }

.videoSection { color: #fff; background: #123f36; }
.videoSection h2 { color: #fff; }
.videoGrid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.videoStory { margin: 0; }
.videoFrame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #071d18; box-shadow: 18px 18px 0 rgba(244, 199, 104, .9); }
.videoFrame button, .videoFrame iframe { width: 100%; height: 100%; border: 0; }
.videoFrame button { position: relative; display: block; padding: 0; color: #fff; background: #071d18; cursor: pointer; }
.videoFrame button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 27, 23, .7), transparent 65%); }
.videoFrame button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.videoFrame button strong { position: absolute; z-index: 2; bottom: 1.4rem; left: 1.4rem; font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; }
.playIcon { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 4.2rem; height: 4.2rem; place-items: center; padding-left: .25rem; color: var(--forest); background: var(--sun); border-radius: 50%; transform: translate(-50%, -50%); font-size: 1.4rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.videoStory figcaption { margin-top: 1.6rem; color: #e1eee9; font-size: .75rem; }

.codeGrid, .fitGrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.rules article { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.rules article:last-child { border-bottom: 1px solid var(--line); }
.rules b { color: var(--coral); font: 400 1.3rem var(--serif); }
.rules h3 { margin: 0 0 .3rem; font: 400 1.42rem var(--serif); }
.rules p { margin: 0; color: var(--muted); }

.reviewsSection { background: #edf7f2; }
.reviewsHead { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: end; }
.reviewGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; }
.reviewGrid article { padding: clamp(1.5rem, 3vw, 2.3rem); background: var(--white); border: 1px solid rgba(22, 79, 67, .12); box-shadow: 0 14px 44px rgba(22, 79, 67, .06); }
.reviewGrid article > span { color: var(--sun); font: 5rem / .7 var(--serif); }
.reviewGrid h3 { margin: 1.2rem 0 .7rem; font: 400 1.55rem var(--serif); }
.reviewGrid p { margin: 0; color: var(--muted); }

.fitSection { color: #fff; background: #0a342c; }
.fitSection h2 em { color: var(--sun); }
.fitSection p { color: #fff; font-weight: 500; }
.fitSection .eyebrow, .fitSection .result { color: #ffe69a; }
.checks { display: grid; gap: .7rem; }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: .8rem; padding: 1rem 1.1rem; color: #fff; border: 1px solid rgba(255, 255, 255, .55); border-radius: .4rem; cursor: pointer; font-weight: 600; transition: background .2s; }
.check:hover { background: rgba(255, 255, 255, .06); }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--sun); }
.result { min-height: 2rem; color: #ffe197; font: 1.22rem var(--serif); }

.ctaSection { background: linear-gradient(145deg, #fff5df, #f2f6e9 62%, #dfeee8); }
.ctaCard { text-align: center; }
.ctaLogo { display: block; width: 220px; height: auto; margin: 0 auto 1.8rem; }
.ctaCard h2, .bookLead { margin-inline: auto; }
.bookLead { margin-top: 1.5rem; color: var(--muted); }
.center { justify-content: center; }

.landhausForm { position: relative; scroll-margin-top: 7rem; padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 5vw, 4rem) clamp(5rem, 10vw, 9rem); background: linear-gradient(145deg, #fff5df 0%, #f2f6e9 56%, #dfeee8 100%); }
.landhausForm::before { content: ""; position: absolute; top: 2rem; left: max(1rem, calc(50% - 510px)); width: 10rem; height: 10rem; border: 1px solid rgba(198, 91, 66, .15); border-radius: 50%; pointer-events: none; }
.landhausForm > h2 { position: relative; width: min(100%, 920px); margin: 0 auto 1.5rem; color: var(--forest); font-size: clamp(2.2rem, 4.5vw, 4.5rem); text-align: center; }
.landhausForm > h2::after { content: ""; display: block; width: 4.5rem; height: 3px; margin: 1.25rem auto 0; background: var(--coral); }
.landhausForm form { position: relative; width: min(100%, 920px); margin: 0 auto; padding: clamp(1.5rem, 4.5vw, 3.8rem); background: rgba(255, 254, 249, .96); border: 1px solid rgba(22, 79, 67, .12); border-radius: 1.4rem; box-shadow: 0 28px 80px rgba(12, 53, 45, .13); }
.landhausForm form::before { content: ""; position: absolute; top: 0; right: clamp(1.5rem, 5vw, 3.5rem); left: clamp(1.5rem, 5vw, 3.5rem); height: 4px; background: linear-gradient(90deg, var(--coral), var(--sun), var(--forest)); border-radius: 0 0 999px 999px; }
.landhausForm .formbody { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem 1.15rem; }
.landhausForm .widget { min-width: 0; margin: 0; }
.landhausForm .widget-textarea, .landhausForm .widget-checkbox, .landhausForm .widget-submit, .landhausForm .widget-explanation, .landhausForm .widget-captcha { grid-column: 1 / -1; }
.landhausForm .widget-explanation { max-width: 680px; margin: 0 auto .4rem; color: var(--muted); text-align: center; }
.landhausForm label, .landhausForm legend { display: block; margin: 0 0 .5rem; color: var(--forest); font-size: .72rem; font-weight: 800; letter-spacing: .065em; }
.landhausForm .mandatory { color: var(--coral); }
.landhausForm input[type="text"], .landhausForm input[type="email"], .landhausForm input[type="tel"], .landhausForm input[type="date"], .landhausForm select, .landhausForm textarea { width: 100%; min-height: 3.5rem; padding: .85rem 1rem; color: var(--ink); background: #fffefa; border: 1px solid rgba(22, 79, 67, .24); border-radius: .7rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); transition: border-color .2s, box-shadow .2s, background .2s; }
.landhausForm textarea { min-height: 10.5rem; resize: vertical; }
.landhausForm input:hover, .landhausForm select:hover, .landhausForm textarea:hover { border-color: rgba(22, 79, 67, .5); }
.landhausForm input:focus, .landhausForm select:focus, .landhausForm textarea:focus { outline: none; border-color: var(--forest); background: #fff; box-shadow: 0 0 0 4px rgba(244, 199, 104, .36); }
.landhausForm fieldset { margin: .15rem 0; padding: 0; border: 0; }
.landhausForm .widget-checkbox fieldset { padding: 1rem 1.1rem; background: rgba(226, 241, 234, .55); border-radius: .8rem; }
.landhausForm .widget-checkbox label { display: inline; margin: 0; color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: 0; line-height: 1.55; }
.landhausForm .widget-checkbox input { width: 1.1rem; height: 1.1rem; margin: .15rem .55rem 0 0; accent-color: var(--forest); vertical-align: top; }
.landhausForm .widget-submit { padding-top: .35rem; text-align: center; }
.landhausForm button[type="submit"], .landhausForm input[type="submit"] { min-width: min(100%, 18rem); min-height: 3.55rem; padding: .85rem 1.55rem; color: #fff; background: var(--coral); border: 1px solid var(--coral); border-radius: 999px; box-shadow: 0 12px 28px rgba(198, 91, 66, .22); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.landhausForm button[type="submit"]:hover, .landhausForm input[type="submit"]:hover { background: #ad4d38; border-color: #ad4d38; box-shadow: 0 16px 34px rgba(198, 91, 66, .3); transform: translateY(-2px); }
.landhausForm .error { color: #9d281d; font-weight: 700; }
.landhausForm input.error, .landhausForm textarea.error, .landhausForm select.error { border-color: #a1281c; box-shadow: 0 0 0 3px rgba(161, 40, 28, .12); }

/* Formular-Unterseite /de/email: robust fuer die aktuelle Contao-Ausgabe */
.ce_form.landhausForm { width: min(calc(100% - 2rem), 960px); margin: clamp(2rem, 6vw, 5rem) auto; padding: clamp(1.4rem, 4vw, 3.5rem); background: rgba(255, 254, 249, .97); border: 1px solid rgba(22, 79, 67, .13); border-radius: 1.5rem; box-shadow: 0 28px 80px rgba(12, 53, 45, .13); }
.ce_form.landhausForm::before { content: "Aufenthalt anfragen"; display: block; margin: 0 0 .55rem; color: var(--forest); font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; text-align: center; }
.ce_form.landhausForm::after { content: "Wir antworten persönlich und helfen Ihnen gern bei der Planung Ihres Aufenthalts."; display: block; max-width: 42rem; margin: 1.5rem auto 0; color: var(--muted); font-size: .9rem; line-height: 1.65; text-align: center; }
.ce_form.landhausForm form { width: 100%; margin: 2rem 0 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.ce_form.landhausForm form::before { display: none; }
.ce_form.landhausForm .formbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.ce_form.landhausForm .widget { min-width: 0; margin: 0; padding: 0; background: transparent; border: 0; }
.ce_form.landhausForm .widget-textarea:last-of-type,
.ce_form.landhausForm .widget-radio { grid-column: 1 / -1; }
.ce_form.landhausForm label,
.ce_form.landhausForm legend { margin: 0 0 .55rem; color: var(--forest); font-size: .78rem; font-weight: 750; letter-spacing: .035em; text-transform: none; }
.ce_form.landhausForm textarea[name="Name"],
.ce_form.landhausForm textarea[name="email"],
.ce_form.landhausForm textarea[name="travel_period"] { min-height: 3.55rem; height: 3.55rem; resize: none; }
.ce_form.landhausForm textarea[name="Nachricht"] { min-height: 9rem; }
.ce_form.landhausForm .radio_container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 1rem; background: rgba(226, 241, 234, .42); border: 1px solid rgba(22, 79, 67, .1); border-radius: 1rem; }
.ce_form.landhausForm .radio_container legend { grid-column: 1 / -1; width: 100%; margin-bottom: .15rem; }
.ce_form.landhausForm .radio_container span { position: relative; display: flex; min-width: 0; }
.ce_form.landhausForm .radio_container input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ce_form.landhausForm .radio_container span label { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3.15rem; margin: 0; padding: .65rem .75rem; color: var(--forest); background: #fffefa; border: 1px solid rgba(22, 79, 67, .2); border-radius: .75rem; font-size: .76rem; font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.ce_form.landhausForm .radio_container span label:hover { border-color: var(--forest); transform: translateY(-1px); }
.ce_form.landhausForm .radio_container input:checked + label { color: #fff; background: var(--forest); border-color: var(--forest); box-shadow: 0 8px 18px rgba(22, 79, 67, .18); }
.ce_form.landhausForm .radio_container input:focus-visible + label { outline: 3px solid rgba(244, 199, 104, .65); outline-offset: 2px; }

@media (max-width: 760px) {
  .ce_form.landhausForm { width: min(calc(100% - 1rem), 960px); margin-block: 1rem 3rem; padding: 1.4rem .9rem 1.75rem; border-radius: 1rem; }
  .ce_form.landhausForm .formbody { grid-template-columns: 1fr; gap: 1rem; }
  .ce_form.landhausForm .widget { grid-column: 1 / -1; }
  .ce_form.landhausForm .radio_container { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .75rem; }
}

@media (max-width: 430px) {
  .ce_form.landhausForm .radio_container { grid-template-columns: 1fr; }
}

footer { padding: 4rem 0 2rem; color: #fff; background: #082d26; }
.footerGrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footerLogo { display: block; width: 220px; height: auto; margin-bottom: 1rem; padding: .5rem; background: #fffaf1; }
.footerGrid p, .footerGrid a { color: #fff; font-size: .86rem; font-weight: 600; }
.footerGrid nav { display: grid; align-content: start; gap: .55rem; }
.footerGrid a { text-decoration: none; }
.footerGrid a:hover { color: var(--sun); }
.footerBottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .17); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.hero,
.warmForest,
.dinnerSection,
.villarricaMoment,
.videoSection,
.fitSection,
footer {
  -webkit-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

.hero h1,
.hero h2,
.warmForest h2,
.dinnerSection h2,
.villarricaMoment h2,
.videoSection h2,
.fitSection h2 {
  color: #fff;
  text-shadow: none;
}

@media (max-width: 1120px) {
  .menuToggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .siteHeader .nav { position: relative; gap: .75rem; }
  .navLinks { position: absolute; top: calc(100% - .35rem); right: 1rem; left: 1rem; display: grid; gap: 0; padding: .7rem; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 55px rgba(12, 53, 45, .18); opacity: 0; visibility: hidden; transform: translateY(-.5rem); transition: opacity .2s, transform .2s, visibility .2s; }
  .navLinks.isOpen { opacity: 1; visibility: visible; transform: none; }
  .navLinks > a { padding: .85rem .9rem; }
}

@media (max-width: 980px) {
  .breakfastGrid, .parksIntro, .interiorHead, .farmHead, .videoGrid { grid-template-columns: 1fr; }
  .breakfastGrid figure { order: -1; }
  .parkCards { grid-template-columns: 1fr; }
  .parkCards article { display: grid; grid-template-columns: .9fr 1.1fr; }
  .parkCards article > img { height: 100%; aspect-ratio: auto; }
  .interiorGrid { grid-template-columns: 1fr 1fr; }
  .interiorGrid .living { grid-column: 1 / -1; }
  .videoGrid > div:first-child { max-width: 760px; }
  .landhausFacts dl, .factCards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .splitImage { min-height: 70vw; }
  .codeGrid, .fitGrid, .dinnerGrid { grid-template-columns: 1fr; }
  .chileCards, .reviewGrid { grid-template-columns: 1fr; }
  .chileCards article { min-height: auto; }
  .chileCards h3 { margin-top: 2rem; }
  .footerGrid { grid-template-columns: 1fr 1fr; }
  .footerGrid > div { grid-column: 1 / -1; }
  .farmSteps { grid-template-columns: 1fr; }
  .farmSteps article { border-right: 0; border-bottom: 1px solid var(--line); }
  .farmPhotos { grid-template-columns: 1fr; }
  .farmPhotos img { min-height: 54vw; }
  .parksFoot, .farmNote { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .intro { grid-template-columns: 1fr; }
  .siteHeader .nav { min-height: 78px; }
  .brandLogo img { height: 63px; }
  .navLinks { gap: .5rem; }
  .navLinks .button { min-height: 2.7rem; padding-inline: .85rem; font-size: .61rem; }
  .languageSwitch { margin-left: auto; }
  .hero { min-height: calc(100svh - 78px); }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero::after { background: linear-gradient(90deg, rgba(8, 53, 44, .86), rgba(8, 53, 44, .42)), linear-gradient(0deg, rgba(8, 45, 38, .72), transparent 62%); }
  .heroFacts { display: grid; grid-template-columns: 1fr 1fr; }
  .imageStory { min-height: 760px; }
  .imageStoryCard { margin-inline: 1rem; }
  .splitCopy { padding-inline: 1rem; }
  .parksHero { width: 100%; min-height: 670px; }
  .parksHeroCopy { inset-inline: 1.2rem; }
  .parkCards:not(.swipeTrack) article { display: flex; }
  .parkCards article > img { height: auto; aspect-ratio: 4 / 3; }
  .interiorGrid { grid-template-columns: 1fr; }
  .interiorGrid .living { grid-column: auto; }
  .interiorGrid figure { min-height: 72vw; }
  .videoFrame { box-shadow: 10px 10px 0 rgba(244, 199, 104, .9); }
  .villarricaMoment { min-height: 780px; }
  .villarricaMoment > img { object-position: 58% center; }
  .footerGrid { grid-template-columns: 1fr; }
  .footerGrid > div { grid-column: auto; }
  .footerBottom { display: grid; }
  .landhausForm .formbody { grid-template-columns: 1fr; }
  .landhausForm .widget { grid-column: 1 / -1; }
  .landhausForm { scroll-margin-top: 5.75rem; padding-inline: .75rem; }
  .landhausForm::before { display: none; }
  .landhausForm > h2 { padding-inline: .5rem; }
  .landhausForm form { padding: 1.5rem 1rem 1.75rem; border-radius: 1rem; }
  .landhausForm .formbody { gap: 1.15rem; }
  .landhausForm button[type="submit"], .landhausForm input[type="submit"] { width: 100%; }

  .swipeTrack.parkCards,
  .landhausFacts .swipeTrack {
    width: 100%;
    display: flex;
    grid-template-columns: none;
    gap: .85rem;
    margin-top: 1rem;
    padding: 0 max(1rem, calc((100vw - var(--max)) / 2)) .75rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .swipeTrack::-webkit-scrollbar { display: none; }
  .swipeTrack > .swipeItem {
    flex: 0 0 min(86vw, 390px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .landhausFacts .swipeTrack > .swipeItem { min-height: 210px; }
  .swipeControls {
    width: min(calc(100% - 2rem), var(--max));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    margin: .55rem auto 0;
  }
  .swipeArrow, .swipeDot { border: 0; cursor: pointer; }
  .swipeArrow { width: 2.65rem; height: 2.65rem; color: #fff; background: var(--forest); border-radius: 50%; font-weight: 800; }
  .swipeArrow:disabled { opacity: .35; cursor: default; }
  .swipeDots { display: flex; align-items: center; gap: .48rem; }
  .swipeDot { width: .55rem; height: .55rem; padding: 0; background: rgba(22, 79, 67, .28); border-radius: 50%; }
  .swipeDot[aria-current="true"] { width: 1.45rem; background: var(--coral); border-radius: 999px; }
  .swipeArrow:focus-visible, .swipeDot:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
}

@media (max-width: 420px) {
  .brandLogo img { width: 142px; height: auto; }
  .languageSwitch a { min-width: 1.75rem; padding-inline: .3rem; }
  .heroFacts { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
}

/* Image-led park carousel on phones and small tablets. */
@media (max-width: 820px) {
  .swipeTrack.parkCards {
    width: 100%;
    display: flex;
    grid-template-columns: none;
    gap: .9rem;
    margin-top: 1.25rem;
    padding: 0 1rem .8rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .swipeTrack.parkCards > .swipeItem {
    flex: 0 0 min(90vw, 460px);
    display: flex;
    grid-template-columns: none;
    flex-direction: column;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .swipeTrack.parkCards > .swipeItem > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }
  .swipeTrack.parkCards + .swipeControls { display: flex; }

  .swipeTrack.landhausGallery {
    width: 100%;
    display: flex;
    grid-template-columns: none;
    gap: .9rem;
    padding-inline: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .swipeTrack.landhausGallery > .swipeItem {
    flex: 0 0 min(88vw, 460px);
    min-height: 0;
    display: block;
    grid-column: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .swipeTrack.landhausGallery > .swipeItem > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }
  .swipeTrack.landhausGallery + .swipeControls { display: flex; }
}

/* Lightweight full-screen park photo viewer. */
.parkLightbox {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: clamp(1rem, 3vw, 2rem); border: 0;
  color: #fff; background: rgba(4, 24, 20, .96);
}
.parkLightbox::backdrop { background: rgba(4, 24, 20, .92); }
.parkLightboxInner { width: 100%; height: 100%; display: grid; place-items: center; }
.parkLightbox figure { max-width: min(94vw, 1500px); margin: 0; }
.parkLightbox img { display: block; width: auto; max-width: 100%; height: auto; max-height: 82vh; margin: auto; object-fit: contain; }
.parkLightbox figcaption { margin-top: .8rem; color: #fff; text-align: center; font-weight: 600; }
.parkLightboxClose {
  position: fixed; z-index: 1; top: max(1rem, env(safe-area-inset-top)); right: max(1rem, env(safe-area-inset-right));
  width: 3rem; height: 3rem; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%;
  color: #fff; background: rgba(7, 42, 35, .78); font-size: 1.65rem; line-height: 1; cursor: pointer;
}
.parkLightboxClose:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .swipeTrack { scroll-behavior: auto; }
}

/* ================================================================
   STABILE ERGÄNZUNGEN – auf Basis der älteren, funktionierenden CSS
   Keine bestehenden Bereiche wurden entfernt oder neu strukturiert.
   ================================================================ */

/* Aktuelles Video-HTML verwendet einen echten YouTube-Link statt button. */
.videoFrame .videoTrigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: #fff;
  background: #071d18;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}
.videoFrame .videoTrigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 27, 23, .7), transparent 65%);
}
.videoFrame .videoTrigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.videoFrame .videoTrigger strong {
  position: absolute;
  z-index: 2;
  bottom: 1.4rem;
  left: 1.4rem;
  color: #fff;
  font-size: .77rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.videoFrame .videoTrigger:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: -5px;
}
.videoStory .videoExternal {
  color: #ffe69a;
  text-underline-offset: .22em;
}
.videoStory .videoExternal:hover { color: #fff; }

/* Akkordeon: Inhalte bleiben ohne JavaScript vollständig sichtbar. */
.rules.isAccordion article {
  position: relative;
  padding-right: 2.7rem;
  cursor: pointer;
}
.rules.isAccordion article::after {
  content: "+";
  position: absolute;
  top: 1.05rem;
  right: .15rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--forest);
  border: 1px solid rgba(22, 79, 67, .3);
  border-radius: 50%;
  font: 400 1.35rem/1 var(--serif);
}
.rules.isAccordion article[aria-expanded="true"]::after {
  content: "−";
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}
.rules.isAccordion article[aria-expanded="false"] p { display: none; }
.rules.isAccordion article:hover { background: rgba(255, 254, 249, .42); }
.rules.isAccordion article:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}
.rules.isAccordion article > div { min-width: 0; }

/* Optische Rückmeldung für die bestehende .checks/.check-Struktur. */
.check.isChecked {
  background: rgba(255, 255, 255, .09);
  border-color: var(--sun);
}
.check:focus-within {
  outline: 3px solid rgba(244, 199, 104, .72);
  outline-offset: 2px;
}
.fitSection .result {
  margin-top: 1rem;
  padding: .95rem 1.05rem;
  background: rgba(0, 0, 0, .15);
  border-left: 3px solid var(--sun);
  line-height: 1.45;
}

/* Contao-5.7-Fallback: funktioniert auch, falls der Footer nur #footer trägt. */
#footer {
  color: #fff;
  background: #082d26;
}
#footer a {
  position: relative;
  z-index: 1;
  color: #fff;
  pointer-events: auto;
}
#footer a:hover { color: var(--sun); }

/* Desktop-Slider für Wohnzimmer und Farmtour. Mobil bleibt der vorhandene Swipe-Slider. */
.desktopGallerySlider { display: none; margin-top: 4rem; }
.desktopGalleryViewport {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  box-shadow: 0 24px 70px rgba(10, 50, 42, .16);
}
.desktopGalleryTrack {
  display: flex;
  will-change: transform;
  transition: transform .5s cubic-bezier(.22, .75, .25, 1);
}
.desktopGallerySlide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--deep);
}
.desktopGallerySlide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.desktopGallerySlide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 4rem 1.5rem 1.35rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(5, 30, 25, .88), transparent);
  font-size: .82rem;
  font-weight: 700;
}
.desktopGalleryArrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(7, 42, 35, .74);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
}
.desktopGalleryArrow:hover,
.desktopGalleryArrow:focus-visible {
  background: rgba(7, 42, 35, .96);
  border-color: #fff;
}
.desktopGalleryPrevious { left: 1.15rem; }
.desktopGalleryNext { right: 1.15rem; }
.desktopGalleryCounter {
  position: absolute;
  z-index: 3;
  right: 1.2rem;
  bottom: 1.05rem;
  min-width: 3.35rem;
  padding: .55rem .7rem;
  color: #fff;
  background: rgba(7, 42, 35, .7);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
.desktopGalleryDots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: .9rem;
}
.desktopGalleryDot {
  width: .6rem;
  height: .6rem;
  padding: 0;
  background: rgba(22, 79, 67, .28);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.desktopGalleryDot[aria-current="true"] {
  width: 1.65rem;
  background: var(--coral);
  border-radius: 999px;
}

@media (min-width: 821px) {
  .desktopGallerySlider { display: block; }
  .desktopGalleryReady { display: none !important; }
  .desktopGalleryReady + .swipeControls { display: none !important; }
}

@media (max-width: 820px) {
  .desktopGallerySlider { display: none !important; }
  .desktopGalleryReady { display: flex !important; }
}

@media (max-width: 680px) {
  .rules.isAccordion article { padding-right: 2.45rem; }
  .rules.isAccordion article::after { right: 0; }
}

/* V7: echte, sichtbare Checkboxen fuer "Passt das Landhaus". */
.fitSection .checks,
.fitSection .fitOptions {
  position: relative;
  z-index: 2;
}
.fitSection .check,
.fitSection [data-fit-choice],
.fitSection .fitOptions > label {
  position: relative;
  isolation: isolate;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}
.fitSection .check input[type="checkbox"],
.fitSection .fitCheckbox,
.fitSection .fitOptions input[type="checkbox"] {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  width: 1.2rem !important;
  height: 1.2rem !important;
  min-width: 1.2rem !important;
  margin: .18rem 0 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: var(--sun);
}
.fitSection .check.isChecked,
.fitSection [data-fit-choice].isChecked,
.fitSection .fitOptions > label.isChecked,
.fitSection .check:has(input[type="checkbox"]:checked) {
  background: rgba(255, 255, 255, .1);
  border-color: var(--sun);
}
.fitSection .result {
  position: relative;
  z-index: 1;
  min-height: 3.4rem;
  margin-top: 1rem;
  padding: .95rem 1.05rem;
  color: #ffe197;
  background: rgba(0, 0, 0, .15);
  border-left: 3px solid var(--sun);
  line-height: 1.45;
}

/* V8 – ausschließlich Layoutkorrektur:
   Checkbox und zugehöriger Text stehen zuverlässig nebeneinander. */
.fitSection .check,
.fitSection [data-fit-choice],
.fitSection .fitOptions > label {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: .8rem !important;
}

.fitSection .check input[type="checkbox"],
.fitSection [data-fit-choice] input[type="checkbox"],
.fitSection .fitOptions > label input[type="checkbox"] {
  flex: 0 0 1.2rem !important;
  width: 1.2rem !important;
  min-width: 1.2rem !important;
  margin: .18rem 0 0 !important;
}

.fitSection .check > span,
.fitSection .check > label,
.fitSection .check > div,
.fitSection [data-fit-choice] > span,
.fitSection [data-fit-choice] > label,
.fitSection [data-fit-choice] > div,
.fitSection .fitOptions > label > span {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  display: block !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* V13 – sichere Checkbox-Korrektur ohne dauerhafte DOM-Beobachtung.
   Nach erfolgreicher Initialisierung bleibt pro Zeile nur die funktionierende
   Checkbox mit der Klasse .fitCheckbox sichtbar. */
.landhausFitSafeV13Ready .fitSection .checks input[type="checkbox"]:not(.fitCheckbox),
.landhausFitSafeV13Ready .fitSection .fitOptions input[type="checkbox"]:not(.fitCheckbox),
.landhausFitSafeV13Ready .fitSection [data-fit-options] input[type="checkbox"]:not(.fitCheckbox) {
  display: none !important;
}

.landhausFitSafeV13Ready .fitSection .check > input.fitCheckbox,
.landhausFitSafeV13Ready .fitSection [data-fit-choice] > input.fitCheckbox,
.landhausFitSafeV13Ready .fitSection .fitOption > input.fitCheckbox {
  order: -1;
  display: inline-block !important;
  flex: 0 0 1.2rem !important;
  width: 1.2rem !important;
  min-width: 1.2rem !important;
  height: 1.2rem !important;
  margin: .18rem 0 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* V14 – Kontaktformular in Contao 5.7
   Funktioniert sowohl bei der CSS-Klasse am Inhaltselement als auch direkt
   am form-Element. Die Regeln bleiben auf Seiten mit diesem Formular begrenzt. */
body:has(.ce_form.landhausForm, .ce_form form.landhausForm) main {
  padding-block: clamp(2rem, 5vw, 4.5rem);
  background: linear-gradient(145deg, #fff5df 0%, #f2f6e9 56%, #dfeee8 100%);
}

body:has(.ce_form.landhausForm, .ce_form form.landhausForm) main h1 {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto clamp(1.25rem, 3vw, 2.25rem);
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-align: center;
}

.ce_form:has(form.landhausForm),
.ce_form.landhausForm {
  width: min(calc(100% - 2rem), 960px);
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  background: rgba(255, 254, 249, .97);
  border: 1px solid rgba(22, 79, 67, .13);
  border-radius: 1.5rem;
  box-shadow: 0 28px 80px rgba(12, 53, 45, .13);
}

.ce_form:has(form.landhausForm)::before,
.ce_form.landhausForm::before {
  content: "Aufenthalt anfragen";
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 .6rem;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  text-align: center;
  border: 0;
  border-radius: 0;
}

html[lang^="en"] .ce_form:has(form.landhausForm)::before,
html[lang^="en"] .ce_form.landhausForm::before {
  content: "Request your stay";
}

html[lang^="es"] .ce_form:has(form.landhausForm)::before,
html[lang^="es"] .ce_form.landhausForm::before {
  content: "Solicite su estadía";
}

.ce_form:has(form.landhausForm)::after,
.ce_form.landhausForm::after {
  content: "Wir antworten persönlich und helfen Ihnen gern bei der Planung Ihres Aufenthalts.";
  display: block;
  max-width: 42rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
  text-align: center;
}

html[lang^="en"] .ce_form:has(form.landhausForm)::after,
html[lang^="en"] .ce_form.landhausForm::after {
  content: "We reply personally and are happy to help you plan your stay.";
}

html[lang^="es"] .ce_form:has(form.landhausForm)::after,
html[lang^="es"] .ce_form.landhausForm::after {
  content: "Respondemos personalmente y con gusto le ayudamos a planificar su estadía.";
}

.ce_form form.landhausForm,
.ce_form.landhausForm form {
  position: relative;
  width: 100%;
  margin: 2rem 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ce_form form.landhausForm::before,
.ce_form.landhausForm form::before {
  display: none;
}

.ce_form form.landhausForm .formbody,
.ce_form.landhausForm .formbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
}

.ce_form form.landhausForm .widget,
.ce_form.landhausForm .widget {
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ce_form form.landhausForm .widget-textarea,
.ce_form form.landhausForm .widget-radio,
.ce_form form.landhausForm .widget-checkbox,
.ce_form form.landhausForm .widget-submit,
.ce_form form.landhausForm .widget-explanation,
.ce_form form.landhausForm .widget-captcha,
.ce_form.landhausForm .widget-textarea,
.ce_form.landhausForm .widget-radio,
.ce_form.landhausForm .widget-checkbox,
.ce_form.landhausForm .widget-submit,
.ce_form.landhausForm .widget-explanation,
.ce_form.landhausForm .widget-captcha {
  grid-column: 1 / -1;
}

.ce_form form.landhausForm label,
.ce_form form.landhausForm legend,
.ce_form.landhausForm label,
.ce_form.landhausForm legend {
  display: block;
  width: auto;
  min-height: 0;
  margin: 0 0 .45rem;
  padding: 0;
  color: var(--forest);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .025em;
  text-transform: none;
}

.ce_form form.landhausForm input[type="text"],
.ce_form form.landhausForm input[type="email"],
.ce_form form.landhausForm input[type="tel"],
.ce_form form.landhausForm input[type="date"],
.ce_form form.landhausForm select,
.ce_form form.landhausForm textarea,
.ce_form.landhausForm input[type="text"],
.ce_form.landhausForm input[type="email"],
.ce_form.landhausForm input[type="tel"],
.ce_form.landhausForm input[type="date"],
.ce_form.landhausForm select,
.ce_form.landhausForm textarea {
  display: block;
  width: 100%;
  min-height: 3.45rem;
  margin: 0;
  padding: .82rem 1rem;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid rgba(22, 79, 67, .28);
  border-radius: .7rem;
}

.ce_form form.landhausForm textarea,
.ce_form.landhausForm textarea {
  min-height: 9rem;
  resize: vertical;
}

.ce_form form.landhausForm .radio_container,
.ce_form.landhausForm .radio_container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin: 0;
  padding: 1rem;
  background: rgba(226, 241, 234, .42);
  border: 1px solid rgba(22, 79, 67, .1);
  border-radius: 1rem;
}

.ce_form form.landhausForm .radio_container legend,
.ce_form.landhausForm .radio_container legend {
  grid-column: 1 / -1;
}

.ce_form form.landhausForm .radio_container span,
.ce_form.landhausForm .radio_container span {
  position: relative;
  display: flex;
  min-width: 0;
}

.ce_form form.landhausForm .radio_container input,
.ce_form.landhausForm .radio_container input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ce_form form.landhausForm .radio_container span label,
.ce_form.landhausForm .radio_container span label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.1rem;
  margin: 0;
  padding: .65rem .7rem;
  color: var(--forest);
  background: #fffefa !important;
  border: 1px solid rgba(22, 79, 67, .22) !important;
  border-radius: .7rem;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}

.ce_form form.landhausForm .radio_container input:checked + label,
.ce_form.landhausForm .radio_container input:checked + label {
  color: #fff;
  background: var(--forest) !important;
  border-color: var(--forest) !important;
}

.ce_form form.landhausForm .widget-submit,
.ce_form.landhausForm .widget-submit {
  padding-top: .35rem;
  text-align: center;
}

.ce_form form.landhausForm button[type="submit"],
.ce_form form.landhausForm input[type="submit"],
.ce_form.landhausForm button[type="submit"],
.ce_form.landhausForm input[type="submit"] {
  width: min(100%, 19rem);
  min-height: 3.55rem;
  padding: .85rem 1.4rem;
  color: #fff;
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ce_form form.landhausForm .confirm,
.ce_form form.landhausForm .message,
.ce_form form.landhausForm .tl_confirm,
.ce_form.landhausForm .confirm,
.ce_form.landhausForm .message,
.ce_form.landhausForm .tl_confirm {
  max-width: 44rem;
  margin: 1rem auto;
  padding: 1rem 1.15rem;
  color: var(--deep);
  background: #e7f4ec;
  border-left: 4px solid var(--leaf);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  body:has(.ce_form.landhausForm, .ce_form form.landhausForm) main {
    padding-block: 1.25rem 3rem;
  }

  body:has(.ce_form.landhausForm, .ce_form form.landhausForm) main h1 {
    font-size: clamp(2.1rem, 11vw, 3.25rem);
    line-height: 1.08;
  }

  .ce_form:has(form.landhausForm),
  .ce_form.landhausForm {
    width: min(calc(100% - 1rem), 960px);
    padding: 1.4rem .9rem 1.7rem;
    border-radius: 1rem;
  }

  .ce_form form.landhausForm .formbody,
  .ce_form.landhausForm .formbody {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ce_form form.landhausForm .widget,
  .ce_form.landhausForm .widget {
    grid-column: 1 / -1;
  }

  .ce_form form.landhausForm .radio_container,
  .ce_form.landhausForm .radio_container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .75rem;
  }

  .ce_form form.landhausForm button[type="submit"],
  .ce_form form.landhausForm input[type="submit"],
  .ce_form.landhausForm button[type="submit"],
  .ce_form.landhausForm input[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .ce_form form.landhausForm .radio_container,
  .ce_form.landhausForm .radio_container {
    grid-template-columns: 1fr;
  }
}
