@charset "utf-8";

/* =====================================================
   GRUNDLAGEN
   ===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 0.5em;

    background-color: #fee296;

    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;

    overflow-x: hidden;
}


/* =====================================================
   HEADER / LOGO
   ===================================================== */

header {
    width: 100%;
    max-width: 1000px;

    text-align: center;

    margin-top: 1em;
}

header img {
    display: block;

    width: 100%;
    max-width: 1000px;
    height: auto;

    margin: 0 auto;
}


/* =====================================================
   NAVIGATION
   ===================================================== */

nav {
    width: 100%;
}

nav ul {
    display: flex;

    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;

    gap: 0.5em;

    list-style: none;
}

nav li {
    list-style: none;

    margin: 0;
    padding: 0;
}

nav img {
    display: block;

    width: auto;
    height: 85px;

    max-width: 100%;
}


/* =====================================================
   ÜBERSCHRIFT
   ===================================================== */

aside {
    width: 100%;
    max-width: 800px;

    text-align: center;

    margin: 0.5em auto;

    color:dimgray;

    /*-webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #333;*/
}

aside h1 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.2;

    margin: 0.2em 0;
}


/* =====================================================
   MAIN
   ===================================================== */

main {
    width: min(100% - 2em, 850px);

    background-color: rgba(255, 255, 255, 0.25);

    border: thin solid;
    border-radius: 1em;

    padding: 10px;

    text-align: center;

    margin: 0 auto;
}


/* =====================================================
   PREIS-BILD
   ===================================================== */

.price-content {
    width: 100%;

    display: flex;

    justify-content: center;
    align-items: center;
}

.price-content img {
    display: block;

    width: 800px;
    max-width: 100%;

    height: auto;

    margin: 0 auto;
}


/* =====================================================
   FOOTER
   ===================================================== */

footer {
    width: min(100% - 2em, 850px);

    background-color: rgba(215, 215, 215, 0.25);

    border: thin solid;
    border-radius: 1em;

    padding: 10px;

    margin: 0 0 1em;

    text-align: center;
}

footer ul {
    display: flex;

	flex-direction: row;
    flex-wrap: nowrap;

    justify-content: center;
    align-items: center;

    gap: 0.5em;

    list-style: none;
}

footer li {
    list-style: none;
    margin: 0;
	padding: 0;
}

footer img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

footer p {
    margin-top: 0.5em;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 700px) {

    nav img {
        height: auto;
        max-height: 65px;
    }

    main {
        width: calc(100% - 2em);
    }
}


/* =====================================================
   SMARTPHONE
   ===================================================== */

@media (max-width: 600px) {

    body {
        gap: 0.75em;
    }


    /* Header */

    header {
        width: 100%;
    }


    /* Navigation */

    nav ul {
        gap: 0.1em;
    }

    nav img {
        width: 100%;
        max-width: 90px;
        height: auto;
    }


    /* Überschrift */

    aside {
        width: calc(100% - 1em);

        margin: 0 auto;
    }

    aside h1 {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }


    /* Main */

    main {
        width: calc(100% - 1em);

        padding: 8px;

        margin: 0 auto;
    }


    /* Preisbild */

    .price-content {
        width: 100%;
    }

    .price-content img {
        width: 100%;
        max-width: 640px;

        height: auto;
    }


    /* Footer */

    footer {
        width: calc(100% - 1em);

        max-height: none;

        padding: 8px;
    }

    footer ul {
        flex-direction: row;
    }

    footer img {
        max-width: 100%;
    }
}


/* =====================================================
   SEHR KLEINE SMARTPHONES
   ===================================================== */

@media (max-width: 400px) {

    body {
        font-size: 13px;
    }


    nav img {
        max-width: 70px;
    }


    aside h1 {
        font-size: 1.1rem;
    }


    main {
        width: calc(100% - 0.5em);

        padding: 6px;
    }


    footer {
        width: calc(100% - 0.5em);
    }
}

/* =====================================================
   SEO / HTML-PREISBEREICH
   ===================================================== */

aside .subtitle {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    line-height: 1.3;
    margin: 0.2em 0;
}

.price-content {
    width: 100%;
    display: block;
    color: #666;
}

.price-intro {
    max-width: 720px;
    margin: 0 auto 1.25em;
    line-height: 1.55;
}

.price-intro h2,
.price-notes h2 {
    color: #444;
    font-size: 1.25rem;
    margin-bottom: 0.45em;
}

.price-table-wrap {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 1.25em;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(255,255,255,0.35);
    text-align: left;
}

.price-table caption {
    padding: 0.75em;
    font-weight: bold;
    font-size: 1.1rem;
    color: #444;
}

.price-table th,
.price-table td {
    padding: 0.8em 1em;
    border: 1px solid rgba(102,102,102,0.35);
}

.price-table th {
    color: #444;
    background-color: rgba(215,215,215,0.25);
}

.price-table td:last-child,
.price-table th:last-child {
    text-align: right;
    white-space: nowrap;
}

.price-notes {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.55;
}

.price-notes ul {
    margin-left: 1.4em;
}

.price-notes li {
    margin: 0.25em 0;
}

.booking-link {
    margin-top: 1.25em;
    text-align: center;
}

.booking-link a {
    display: inline-block;
    padding: 0.7em 1.1em;
    color: #555;
    font-weight: bold;
    text-decoration: underline;
}

@media (max-width: 600px) {
    aside .subtitle {
        font-size: 1rem;
    }

    .price-table th,
    .price-table td {
        padding: 0.65em 0.55em;
    }

    .price-table td:last-child,
    .price-table th:last-child {
        white-space: normal;
    }
}


/* =====================================================
   PREISBEREICH NACH BILDVORLAGE
   ===================================================== */

.price-board {
    width: 100%;
    max-width: 800px;
    margin: 1.25em auto 1.5em;
    text-align: left;
    color: #444;
}

.price-board-row {
    display: grid;
    align-items: center;
    min-height: 74px;
    border-bottom: 1px solid #444;
    column-gap: 1.25em;
    padding: 0 0.4em;
}

.price-board-head {
    grid-template-columns: 1.25fr 1.25fr 1.45fr 1fr;
    min-height: 58px;
    font-weight: bold;
}

.price-board-note {
    grid-template-columns: 1fr;
    min-height: 74px;
    font-weight: bold;
}

.price-board-data {
    grid-template-columns: 1.2fr 0.7fr 1.8fr 0.2fr;
    min-height: 78px;
}

.price-board-bottom {
    grid-template-columns: 1.2fr 1.4fr;
    min-height: 72px;
    border-bottom: 0;
}

.price-board strong {
    color: #333;
}

.price-notes {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.price-notes h2 {
    text-align: center;
}

@media (max-width: 600px) {
    .price-board {
        margin-top: 1em;
    }

    .price-board-row {
        min-height: auto;
        padding: 0.8em 0.25em;
        column-gap: 0.65em;
    }

    .price-board-head {
        grid-template-columns: 1.25fr 0.8fr 1.1fr;
    }

    .price-board-head > div:nth-child(4) {
        display: none;
    }

    .price-board-data {
        grid-template-columns: 1.25fr 0.8fr 1.1fr;
    }

    .price-board-data > div:nth-child(4) {
        display: none;
    }

    .price-board-bottom {
        grid-template-columns: 1.25fr 1.9fr;
    }
}

@media (max-width: 420px) {
    .price-board-head {
        display: none;
    }

    .price-board-data,
    .price-board-bottom {
        grid-template-columns: 1fr;
        gap: 0.2em;
    }

    .price-board-data > div,
    .price-board-bottom > div {
        text-align: center;
    }

    .price-board-note {
        text-align: center;
    }
}

.price-board{display:flex;flex-direction:column;align-items:center;width:100%;max-width:800px;margin:1.25em auto 1.5em;text-align:center}
.apartment-price,.additional-price{width:100%;max-width:620px;padding:1.25em 0;border-bottom:1px solid #444;text-align:center}
.apartment-price h2,.additional-price h2{margin:0 0 .8em;color:#444;font-size:1.2rem}
.apartment-price-list{width:100%;max-width:440px;margin:0 auto}
.apartment-price-list p{display:grid;grid-template-columns:1fr auto;gap:2em;align-items:baseline;margin:.45em 0;text-align:left}
.apartment-price-list strong{min-width:70px;text-align:right;color:#333}
.additional-price p{text-align:center}
.price-board .price-board-note{display:block;width:100%;max-width:620px;min-height:0;padding:1.25em 0 0;border:0;text-align:center;font-weight:normal;line-height:1.5}
@media(max-width:420px){.apartment-price-list p{grid-template-columns:1fr;gap:.1em;text-align:center;margin:.8em 0}.apartment-price-list strong{min-width:0;text-align:center}}
