/* Laroni Real Estate
   Farben aus dem Logo: Petrol #00708b, Orange #ff4f00
   Aufbau: Grundlagen, Bausteine, Kopf, Hero, Inhalte, Formular, Fuss, Umbrueche
   -------------------------------------------------------------------------- */

:root {
    --petrol: #00708b;
    --petrol-dunkel: #005266;
    --petrol-hell: #e6f1f4;
    --orange: #ff4f00;
    --orange-dunkel: #d94300;
    --text: #23282b;
    --text-leise: #5c676c;
    --linie: #dfe5e7;
    --flaeche: #ffffff;
    --flaeche-leise: #f5f8f9;
    --bahn: 1200px;
    --radius: 6px;
    --schatten: 0 2px 10px rgba(0, 40, 50, .08);
    --schatten-hoch: 0 12px 32px rgba(0, 40, 50, .16);
    --schrift: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--schrift);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--flaeche);
    -webkit-text-size-adjust: 100%;
}

img, picture, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--petrol); }
a:hover, a:focus { color: var(--orange-dunkel); }

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--petrol-dunkel);
    margin: 0 0 .6em;
}

h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }

p { margin: 0 0 1.1em; }

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

.sprungmarke {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    background: var(--orange);
    color: #fff;
    padding: .8rem 1.2rem;
    z-index: 200;
}
.sprungmarke:focus {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: auto;
    height: auto;
    clip-path: none;
    color: #fff;
}

/* Bausteine ---------------------------------------------------------------- */

.bahn {
    width: min(100% - 2.4rem, var(--bahn));
    margin-inline: auto;
}
.bahn.schmal { width: min(100% - 2.4rem, 820px); }

.knopf {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: .8rem 1.6rem;
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: background .15s, border-color .15s, color .15s;
}
.knopf:hover, .knopf:focus {
    background: var(--orange-dunkel);
    border-color: var(--orange-dunkel);
    color: #fff;
}
.knopf--gross { padding: 1rem 2rem; font-size: 1.1rem; }
.knopf--rand {
    background: transparent;
    color: var(--petrol-dunkel);
    border-color: var(--petrol);
}
.knopf--rand:hover, .knopf--rand:focus {
    background: var(--petrol);
    color: #fff;
    border-color: var(--petrol);
}

.meldung {
    padding: .9rem 1.1rem;
    border-radius: var(--radius);
    border-inline-start: 5px solid var(--orange);
    background: #fff4ef;
    margin-bottom: 1.4rem;
}

.hinweisleiste {
    background: var(--petrol-hell);
    color: var(--petrol-dunkel);
    padding: .7rem 0;
    font-size: .95rem;
}

/* Kopfbereich -------------------------------------------------------------- */

.kopf {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--linie);
}

.kopf__innen {
    width: min(100% - 2.4rem, var(--bahn));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 84px;
}

.kopf__logo img { width: 168px; height: auto; }

.kopf__schalter {
    display: none;
    margin-inline-start: auto;
    align-items: center;
    gap: .6rem;
    background: none;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    padding: .55rem .9rem;
    font: inherit;
    font-weight: 700;
    color: var(--petrol-dunkel);
    cursor: pointer;
}
.kopf__schalter-strich,
.kopf__schalter-strich::before,
.kopf__schalter-strich::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--petrol-dunkel);
    position: relative;
}
.kopf__schalter-strich::before,
.kopf__schalter-strich::after {
    content: "";
    position: absolute;
    left: 0;
}
.kopf__schalter-strich::before { top: -6px; }
.kopf__schalter-strich::after { top: 6px; }

.menue {
    margin-inline-start: auto;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.menue__liste,
.menue__unter,
.sprachwahl__liste,
.fuss__liste,
.pfad__liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menue__liste { display: flex; gap: .3rem; }

.menue__punkt { position: relative; }

.menue__link {
    display: block;
    padding: .55rem .75rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    border-radius: var(--radius);
    white-space: nowrap;
}
.menue__link:hover,
.menue__link:focus { background: var(--petrol-hell); color: var(--petrol-dunkel); }
.menue__link.ist-aktiv { color: var(--orange-dunkel); }

.menue__unter {
    position: absolute;
    inset-inline-start: 0;
    top: 100%;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    box-shadow: var(--schatten-hoch);
    padding: .4rem;
    display: none;
}
.menue__punkt:hover > .menue__unter,
.menue__punkt:focus-within > .menue__unter { display: block; }

/* Sprachwahl als aufklappbares Menue. Ohne JavaScript bedienbar, alle acht
   Links bleiben im Quelltext. */
.sprachwahl { position: relative; }

.sprachwahl__ausloeser {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .7rem;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-leise);
    cursor: pointer;
    white-space: nowrap;
    list-style: none;
}
.sprachwahl__ausloeser::-webkit-details-marker { display: none; }
.sprachwahl__ausloeser::marker { content: ""; }
.sprachwahl__ausloeser:hover,
.sprachwahl__ausloeser:focus-visible {
    background: var(--petrol-hell);
    color: var(--petrol-dunkel);
}
.sprachwahl__globus { flex: none; }
.sprachwahl__pfeil {
    width: 0;
    height: 0;
    border-inline: 4px solid transparent;
    border-top: 5px solid currentColor;
}
.sprachwahl[open] .sprachwahl__pfeil { transform: rotate(180deg); }

.sprachwahl__liste {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + .4rem);
    min-width: 172px;
    padding: .35rem;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    box-shadow: var(--schatten-hoch);
    z-index: 110;
}
.sprachwahl__link {
    display: block;
    padding: .5rem .6rem;
    font-size: .9rem;
    text-decoration: none;
    color: var(--text);
    border-radius: 4px;
}
.sprachwahl__link:hover,
.sprachwahl__link:focus { background: var(--petrol-hell); color: var(--petrol-dunkel); }
.sprachwahl__link.ist-aktiv { color: var(--orange-dunkel); font-weight: 700; }

/* Nur fuer Screenreader, sichtbar nicht vorhanden. */
.nur-vorlesen {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Herobereich -------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(86vh, 780px);
    padding: 5rem 0 3rem;
    overflow: hidden;
    background: var(--petrol-dunkel);
}

.hero__buehne { position: absolute; inset: 0; }

.hero__bild {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}
.hero__bild.ist-sichtbar { opacity: 1; }
.hero__bild picture,
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }

.hero__abdeckung {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 40, 50, .55) 0%, rgba(0, 40, 50, .25) 40%, rgba(0, 40, 50, .8) 100%);
}

.hero__innen {
    position: relative;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 400px);
    gap: 2.5rem;
    align-items: end;
}

.hero__marke {
    color: #fff;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .82rem;
    margin-bottom: .8rem;
}

.hero__titel {
    color: #fff;
    margin-bottom: .5rem;
    text-shadow: 0 2px 18px rgba(0, 30, 40, .5);
}

.hero__ort {
    color: #ffd9c8;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 1.6rem;
}

.hero__villen { display: grid; gap: 1rem; }

.villenkarte {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, .95);
    border-radius: var(--radius);
    padding: .7rem;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--schatten-hoch);
    transition: transform .15s;
}
.villenkarte:hover,
.villenkarte:focus { transform: translateY(-3px); color: var(--text); }

.villenkarte__bild img {
    border-radius: 4px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.villenkarte__titel { font-size: 1.05rem; margin: 0 0 .3rem; }

.villenkarte__daten {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .85rem;
    color: var(--text-leise);
    line-height: 1.5;
}

/* Seitenkopf der Unterseiten ---------------------------------------------- */

.seitenkopf {
    position: relative;
    padding: 3rem 0 2.2rem;
    background: var(--petrol-hell);
    overflow: hidden;
}
.seitenkopf--bild { padding: 5.5rem 0 3rem; background: var(--petrol-dunkel); }
.seitenkopf__bild { position: absolute; inset: 0; }
.seitenkopf__bild picture,
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf__abdeckung {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 40, 50, .6), rgba(0, 40, 50, .75));
}
.seitenkopf .bahn { position: relative; }
.seitenkopf--bild .seitenkopf__titel,
.seitenkopf--bild .pfad,
.seitenkopf--bild .pfad a { color: #fff; }
.seitenkopf__titel { margin: 0; }

.pfad { font-size: .85rem; margin-bottom: .8rem; color: var(--text-leise); }
.pfad__liste { display: flex; flex-wrap: wrap; gap: .4rem; }
.pfad__liste li + li::before { content: "›"; margin-inline-end: .4rem; }

/* Inhaltsabschnitte -------------------------------------------------------- */

.abschnitt { padding: 3.2rem 0; }
.abschnitt--hell { background: var(--flaeche-leise); }
.abschnitt--schmalluft { padding: 1.4rem 0; }
.abschnitt--dunkel { background: var(--petrol-dunkel); color: #fff; }
.abschnitt--dunkel h2 { color: #fff; }
.abschnitt--dunkel a { color: #ffd9c8; }

.abschnitt__titel { margin-bottom: 1.4rem; }

.fliesstext h2 { margin-top: 1.8rem; }
.fliesstext h3 { margin-top: 1.5rem; }
.fliesstext > :first-child { margin-top: 0; }
.fliesstext ul, .fliesstext ol { padding-inline-start: 1.4rem; }
.fliesstext li { margin-bottom: .4rem; }
.fliesstext table { width: 100%; border-collapse: collapse; }
.fliesstext td, .fliesstext th {
    border: 1px solid var(--linie);
    padding: .5rem .7rem;
    text-align: start;
}

.bildreihe { display: grid; gap: 1.2rem; }
.bildreihe--2 { grid-template-columns: repeat(2, 1fr); }
.bildreihe--3 { grid-template-columns: repeat(3, 1fr); }

.bildblock { margin: 0; }
.bildblock img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* Galerie ------------------------------------------------------------------ */

.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
}

.galerie__feld {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    border-radius: var(--radius);
    overflow: hidden;
    line-height: 0;
}
.galerie__feld img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .25s;
}
.galerie__feld:hover img,
.galerie__feld:focus img { transform: scale(1.05); }

.lupe {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 25, 32, .93);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
}
.lupe[hidden] { display: none; }
.lupe__bild {
    max-width: min(96vw, 1400px);
    max-height: 86vh;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius);
}
.lupe__knopf {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    border: 0;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
}
.lupe__knopf:hover { background: rgba(255, 255, 255, .25); }
.lupe__zu { top: 1.2rem; inset-inline-end: 1.2rem; }
.lupe__zurueck { inset-inline-start: 1.2rem; }
.lupe__weiter { inset-inline-end: 1.2rem; }

/* Objektdaten und Objektliste --------------------------------------------- */

.objektdaten { margin: 0 0 1.6rem; }
.objektdaten__zeile {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--linie);
}
.objektdaten dt { color: var(--text-leise); margin: 0; }
.objektdaten dd { margin: 0; font-weight: 700; text-align: end; }
.objektdaten--eng .objektdaten__zeile { padding: .4rem 0; font-size: .95rem; }

.objektdaten__aktion { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }

.objektliste { display: grid; gap: 2rem; }

.objekt {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--schatten);
}
.objekt__bild img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.objekt__text { padding: 1.6rem 1.8rem 1.8rem 0; }
.objekt__titel { margin-bottom: .8rem; }
.objekt__titel a { text-decoration: none; }
.objekt__aktion { margin: 1.2rem 0 0; }

.kontaktkarte { font-style: normal; line-height: 1.9; }

/* Formular ----------------------------------------------------------------- */

.formular__feld { margin-bottom: 1.1rem; }
.formular label { display: block; font-weight: 600; margin-bottom: .35rem; }
.formular .pflicht { font-weight: 400; color: #ffd9c8; font-size: .85rem; }

.formular input[type="text"],
.formular input[type="email"],
.formular input[type="tel"],
.formular textarea {
    width: 100%;
    font: inherit;
    padding: .7rem .85rem;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
}
.formular textarea { resize: vertical; min-height: 9rem; }

.formular__einwilligung { margin: 1.2rem 0; }
.formular__einwilligung label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .6rem;
    align-items: start;
    font-weight: 400;
}
.formular__einwilligung input { margin-top: .4rem; }

.formular__honig {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.formular__abschluss { margin: 0; }

/* Fusszeile ---------------------------------------------------------------- */

.fuss {
    background: #04333f;
    color: #cfe0e5;
    padding-top: 3rem;
    margin-top: 0;
}
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover, .fuss a:focus { color: var(--orange); text-decoration: underline; }

.fuss__raster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
    padding-bottom: 2.5rem;
}
.fuss__logo {
    width: 180px;
    background: #fff;
    border-radius: var(--radius);
    padding: .6rem .8rem;
    margin-bottom: 1rem;
}
.fuss__titel { font-size: 1rem; color: #fff; margin-bottom: .8rem; }
.fuss__liste li { margin-bottom: .45rem; }
.fuss__adresse { font-style: normal; line-height: 1.8; font-size: .95rem; }

.fuss__leiste {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 1rem 0;
    font-size: .85rem;
}

/* Umbrueche ---------------------------------------------------------------- */

@media (max-width: 1050px) {
    .kopf__innen { flex-wrap: wrap; min-height: 70px; }
    .kopf__schalter { display: flex; }

    .menue {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: .6rem;
        padding-bottom: 1rem;
    }
    .menue.ist-offen { display: flex; }
    .menue__liste { flex-direction: column; gap: 0; }
    .menue__link { padding: .7rem .4rem; border-bottom: 1px solid var(--linie); }
    .menue__unter {
        position: static;
        display: block;
        border: 0;
        box-shadow: none;
        padding: 0 0 0 1rem;
    }
    .sprachwahl { width: 100%; }
    .sprachwahl__ausloeser { justify-content: space-between; }
    .sprachwahl__liste {
        position: static;
        min-width: 0;
        margin-top: .4rem;
        box-shadow: none;
    }
}

@media (max-width: 900px) {
    .hero { min-height: auto; padding: 3.5rem 0 2.5rem; }
    .hero__innen { grid-template-columns: 1fr; }
    .objekt { grid-template-columns: 1fr; }
    .objekt__text { padding: 0 1.4rem 1.6rem; }
    .bildreihe--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    body { font-size: 1rem; }
    .abschnitt { padding: 2.2rem 0; }
    .bildreihe--2, .bildreihe--3 { grid-template-columns: 1fr; }
    .villenkarte { grid-template-columns: 96px 1fr; }
    .galerie { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .kopf__logo img { width: 132px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero__bild { transition: none; }
    .galerie__feld img { transition: none; }
    .villenkarte { transition: none; }
}
