* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fafafa;
    color: #383832;
    font: 15px Arial, Helvetica, sans-serif
}

a {
    color: inherit
}

.site-header {
    height: 155px;
    background: transparent;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 27px 2%;
    gap: 20px
}


/* Schräger Kopfbereich wie im IONOS-Original.
   Die Navigation bleibt außerhalb der zugeschnittenen Hintergrundfläche. */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #e9dfb9;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 45px), 0 100%);
    z-index: -1;
    pointer-events: none;
}

.brand {
    font: 18px Georgia, serif;
    color: #858371;
    text-decoration: none;
    white-space: nowrap
}

.brand small {
    display: block;
    font: 11px Arial, sans-serif;
    margin-top: 4px;
    color: #868474
}

nav {
    display: flex;
    gap: 21px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 5px
}

nav a {
    font-size: 12px;
    color: #333;
    text-decoration: none;
    padding-bottom: 8px
}

nav a:hover,
nav a.active {
    border-bottom: 2px solid #d8947c
}

h1,
h2,
h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #8d8c76
}

h1 {
    font-size: 40px
}

h2 {
    font-size: 35px
}

h3 {
    font-size: 25px
}

p {
    line-height: 1.55
}

.btn,
button {
    display: inline-block;
    background: #df9880;
    color: #292721;
    border: 0;
    border-radius: 4px;
    padding: 11px 15px;
    font: 13px Arial, sans-serif;
    text-decoration: none;
    cursor: pointer
}

.btn:hover,
button:hover {
    background: #c67c65
}

.hero {
    min-height: 670px;
    background: linear-gradient(90deg, #0009, #0003), url('/images/home_uitzicht_voor_01.png') center/cover;
    display: flex;
    align-items: center;
    padding: 8%;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%)
}

.hero h1 {
    color: white
}

.hero p {
    max-width: 550px
}

.feature {
    max-width: 980px;
    margin: 100px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.feature>div {
    max-width: 390px
}

.feature img {
    width: 100%;
    height: 380px;
    object-fit: cover
}

.feature p {
    font-size: 14px
}

.feature h2 {
    font-size: 35px
}

.content {
    max-width: 1000px;
    margin: 90px auto 110px;
    padding: 0 24px
}

.content h1 {
    text-align: center;
    margin-bottom: 40px
}

.center {
    text-align: center
}

.lead {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.gallery figure {
    margin: 0
}

.gallery img {
    width: 100%;
    height: 185px;
    object-fit: cover
}

.gallery figcaption {
    font-size: 12px;
    margin-top: 7px
}

.contact-band {
    background: #e9dfb9;
    padding: 100px 24px 85px;
    clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%)
}

.contact-grid {
    max-width: 980px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px
}

.contact-grid input,
.contact-grid textarea,
.form-wrap input,
.form-wrap textarea {
    display: block;
    width: 100%;
    margin: 9px 0 18px;
    padding: 11px;
    border: 1px solid #999783;
    border-radius: 3px;
    background: transparent;
    font: inherit
}

.contact-grid textarea,
.form-wrap textarea {
    min-height: 165px
}

.contact-grid label,
.form-wrap label {
    font-size: 13px
}

.muted {
    color: #777
}

.notice {
    padding: 20px;
    background: #eee8d3;
    border-left: 3px solid #d9917d;
    margin: 25px 0
}

footer {
    text-align: center;
    background: #151515;
    color: white;
    padding: 45px 15px;
    font-size: 12px
}

footer a {
    color: white
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px
}

.footer-icons a {
    font-size: 20px;
    text-decoration: none
}

.place {
    margin: 65px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center
}

.place img {
    width: 100%;
    height: 320px;
    object-fit: cover
}

.page-hero {
    height: 500px;
    background: linear-gradient(#0006, #0007), url('/images/contact_uitzicht_voor_01.jpg') center/cover;
    display: flex;
    align-items: center;
    padding: 8%;
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%)
}

.page-hero h1 {
    color: white
}

.form-wrap {
    max-width: 650px;
    margin: 65px auto
}

.form-wrap button {
    width: 100%
}

.calendar-section {
    background: #df9780;
    padding: 65px 24px;
    text-align: center
}

.calendar-section iframe {
    display: block;
    width: min(850px, 100%);
    height: 520px;
    margin: auto;
    border: 0;
    background: white
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px
}

.info-columns h2 {
    font-size: 27px;
    color: #c87981
}

.info-columns p,
.info-columns li {
    font-size: 13px;
    line-height: 1.6
}

.section-title {
    text-align: center;
    color: #c77980
}

.rule-list {
    max-width: 600px;
    margin: 35px auto;
    text-align: center;
    line-height: 2
}

.gallery a {
    display: block
}

.gallery a:hover {
    opacity: .85
}

@media(max-width:760px) {
    .site-header {
        height: auto;
        display: block;
        padding: 22px 22px 55px
    }

    .brand {
        display: block;
        margin-bottom: 20px
    }

    nav {
        justify-content: flex-start;
        gap: 13px
    }

    .hero {
        min-height: 470px;
        padding: 30px
    }

    .hero h1 {
        font-size: 33px
    }

    .feature,
    .place,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 55px 22px
    }

    .feature img {
        height: 320px
    }

    .content {
        margin: 50px auto
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .gallery img {
        height: 170px
    }

    .contact-band {
        clip-path: none;
        padding: 45px 0
    }

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

    h1 {
        font-size: 34px
    }

    h2 {
        font-size: 30px
    }

    .page-hero {
        height: 360px
    }
}

@media(max-width:460px) {
    .info-columns {
        grid-template-columns: 1fr
    }
}

/* CasaVanLente v3: hero uses lower half of original image */
.hero {
    background-image: linear-gradient(90deg, #0009, #0003), url('/images/home_uitzicht_voor_01.png');
    background-position: center, center bottom;
    background-size: cover, cover
}

.gallery figcaption strong {
    display: block;
    font-weight: 600;
    line-height: 1.35
}

.gallery figcaption p {
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1.45
}

.contact-grid .required-note,
.form-wrap .required-note {
    font-size: 12px;
    color: #555
}

/* v4: wider hero framing and destination captions */
.hero {
    background-size: cover;
    background-position: center 70%
}

.places-content figure {
    margin: 0
}

.places-content figcaption {
    font-size: .94rem;
    line-height: 1.5;
    margin-top: 12px
}

.places-content figcaption p {
    margin: .35rem 0 0
}

.place-intro {
    margin: 2rem auto 3rem !important;
    max-width: 860px
}

.place-intro img {
    display: block;
    width: 100%;
    height: auto
}

.places-content .place {
    align-items: center
}

/* v5: Places to visit - original narrow editorial layout */
.places-content {
  max-width: 790px;
  margin: 76px auto 75px;
  padding: 0 24px;
}
.places-content > h2,
.places-content .place h2 {
  color: #c35d79;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.16;
  margin: 0 0 18px;
}
.places-content > p { margin: 0 0 16px; font-size: 13px; line-height: 1.45; }
.places-content .place-intro {
  margin: 0 0 28px !important;
  max-width: none;
}
.places-content .place-intro img {
  width: 245px; height: 245px; object-fit: cover;
}
.places-content .place-intro figcaption { max-width: 245px; }
.places-content .place {
  display: block;
  margin: 0;
  padding: 25px 0 23px;
  border-bottom: 3px solid #333;
}
.places-content .place:first-of-type { border-top: 3px solid #333; }
.places-content .place h2 { margin: 0 0 14px; }
.places-content .place > div > p {
  font-size: 13px; line-height: 1.45; margin: 0 0 14px;
}
.places-content .place figure { display: inline-block; vertical-align: top; width: 245px; margin: 0 10px 0 0; }
.places-content .place img { display: block; width: 245px; height: 245px; object-fit: cover; }
.places-content figcaption { margin-top: 6px; font-size: 11px; line-height: 1.35; }
.places-content figcaption strong { display: block; font-weight: 400; }
.places-content figcaption p { display: none; }
.places-content .place-extra { display: inline-block; vertical-align: top; width: 245px; margin: 0 10px 0 0; }
@media(max-width:760px) {
  .places-content { margin: 45px auto 65px; }
  .places-content > h2, .places-content .place h2 { font-size: 29px; }
  .places-content .place figure, .places-content .place-extra { width: min(245px,100%); }
  .places-content .place img, .places-content .place-intro img { max-width: 100%; }
}

/* v5 final: introduction rule and paired Capranica photographs */
.places-content > p { border-bottom: 3px solid #333; padding-bottom: 16px; margin-bottom: 0; }
.places-content .place:first-of-type { border-top: 0; }
.places-content .place-aerial { display: inline-block; width: 245px; vertical-align: top; margin: 0 10px 0 0 !important; }
.places-content .place-aerial img { width: 245px; height: 245px; object-fit: cover; }
@media(max-width:760px) { .places-content .place-aerial { max-width: 100%; } .places-content .place-aerial img { max-width: 100%; } }


/* v6: Prices and availability — scoped to preserve all other pages */
.prices-page { font-size: 13px; color: #222; }
.prices-page h1,.prices-page h2 { color: #c35d79; font-family: Georgia,serif; font-weight: 400; line-height: 1.18; }
.prices-page h1 { font-size: 36px; margin: 0 0 25px; }
.prices-page h2 { font-size: 33px; margin: 0 0 20px; }
.prices-page p { line-height: 1.5; }
.prices-intro,.prices-discounts,.prices-availability,.prices-rules { text-align:center; max-width: 720px; padding: 0 20px; margin-left:auto; margin-right:auto; }
.prices-intro { margin-top: 88px; }
.prices-intro > p { max-width: 700px; margin: 0 auto 18px; }
.price-lines p { margin: 0 0 12px; }
.prices-discounts { margin-top: 120px; }
.prices-discounts p { margin: 0; }
.prices-availability { margin-top: 115px; margin-bottom: 47px; }
.prices-availability p { margin: 0; }
.prices-calendar-band { background:#df947e; min-height: 585px; display:flex; flex-direction:column; align-items:center; justify-content:space-between; padding: 34px 20px 32px; }
.prices-calendar-band iframe { display:block; width:min(100%, 610px); height:460px; border:0; background:white; }
.prices-calendar-band .calendar-open { color:white; text-decoration:underline; font-size:13px; margin-top:30px; }
.calendar-placeholder { background:#fff; width:min(100%,610px); min-height:400px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:25px; }
.calendar-placeholder h3 { margin:0 0 15px; font-size:22px; }
.calendar-placeholder a { color:#b75371; }
.prices-rules { padding-top:62px; }
.prices-rules h2 { margin-bottom:27px; }
.prices-rules .rule { margin-bottom:16px; }
.prices-rules .rule strong { display:block; }
.prices-rules .rule p { margin:5px 0 0; }
.prices-parking { max-width:1180px; margin:115px auto 80px; padding:0 25px; display:grid; grid-template-columns: 1fr 1fr; align-items:center; gap:110px; }
.parking-image { background:#e8dfb7; padding:0 18px 18px 0; }
.parking-image img { display:block; width:100%; height:auto; aspect-ratio: 2.35; object-fit:cover; }
.parking-text h2 { margin-bottom:16px; }
.parking-text p { max-width:420px; }
.prices-write { max-width:880px; margin:60px auto 65px; padding:0 24px; display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start; }
.prices-write h2 { margin:0 0 22px; }
.prices-write-copy p { max-width:310px; }
.prices-social { display:flex; gap:13px; font-size:21px; font-weight:bold; }
.prices-social a { color:inherit; text-decoration:none; }
.prices-form { display:flex; flex-direction:column; gap:6px; }
.prices-form label { font-size:13px; }
.prices-form input,.prices-form textarea { background:transparent; border:1px solid #333; border-radius:0; width:100%; padding:7px; font:inherit; }
.prices-form textarea { resize:vertical; min-height:170px; }
.prices-form p { margin:2px 0 0; font-size:12px; }
.prices-form button { background:#e8dfb7; border:0; padding:11px; color:#333; cursor:pointer; }
@media(max-width:760px) {
 .prices-intro { margin-top:55px; }
 .prices-page h1,.prices-page h2 { font-size:29px; }
 .prices-discounts,.prices-availability { margin-top:75px; }
 .prices-calendar-band { min-height:510px; }
 .prices-calendar-band iframe { height:420px; }
 .prices-parking,.prices-write { grid-template-columns:1fr; gap:25px; margin:65px auto; }
 .prices-write { max-width:520px; }
}
.calendar-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
/* v7: Useful information page, matching the original four-column layout */
.useful-page { max-width: 1020px; margin: 76px auto 95px; padding: 0 24px; color: #303030; font-size: 14px; line-height: 1.38; }
.useful-page h1, .useful-page h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: #c35d79; }
.useful-page h1 { font-size: 38px; margin: 0 0 24px; }
.useful-lead { max-width: 970px; margin: 0 0 25px; }
.useful-download { text-align: center; margin: 0 0 86px; }
.useful-download a { display: inline-block; padding: 12px 15px; background: #e8dfb7; color: #333; text-decoration: none; border-radius: 5px; }
.useful-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; align-items: start; }
.useful-columns section { min-width: 0; overflow-wrap: anywhere; }
.useful-columns h2 { font-size: 33px; line-height: 1.13; min-height: 95px; margin: 0 0 19px; }
.useful-columns p { margin: 0 0 20px; }
.useful-columns a { color: #c35d79; text-decoration: underline; }
.useful-columns em { color: #888; }
@media (max-width: 800px) { .useful-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; } .useful-columns h2 { min-height: 0; } }
@media (max-width: 500px) { .useful-page { margin: 50px auto 65px; } .useful-columns { grid-template-columns: 1fr; } .useful-page h1 { font-size: 32px; } .useful-columns h2 { font-size: 29px; } .useful-download { margin-bottom: 45px; } }

/* v8: Legal Notice, aligned with the original IONOS layout */
.legal-page {
  width: min(100% - 48px, 760px);
  margin: 92px auto 108px;
  color: #303030;
  font-size: 15px;
  line-height: 1.5;
}
.legal-page h1 {
  margin: 0 0 30px;
  color: #c35d79;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 39px;
  font-weight: 400;
}
.legal-details { margin: 0; }
.legal-details dt { font-weight: 700; margin: 0 0 13px; }
.legal-details dd { margin: 0 0 22px; }
.legal-details a { color: inherit; text-decoration: none; }
.legal-details a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .legal-page { margin: 55px auto 75px; }
  .legal-page h1 { font-size: 33px; }
}

/* Auf kleinen Displays eine flachere Schräge. */
@media (max-width: 760px) {
  .site-header::before {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%);
  }
}
/* Bildbereich unter den schrägen Header ziehen */
.site-header + main {
  margin-top: -45px;
}

/* Platz für den schrägen Header bei normalen Seiten */
.site-header + main > :not(.hero):not(.page-hero):first-child {
  padding-top: 45px;
}

@media (max-width: 760px) {
  .site-header + main {
    margin-top: -22px;
  }

  .site-header + main > :not(.hero):not(.page-hero):first-child {
    padding-top: 22px;
  }
}
.site-header {
  position: relative;
  z-index: 10;
}

.site-header + main {
  position: relative;
  z-index: 1;
}