
@font-face {
    font-family: 'Kepler';
    src: url('../fonts/KeplerStdLight.otf') format('opentype');
}
@font-face {
    font-family: 'Optima';
    src: url('../fonts/OptimaLTStd-Bold.otf') format('opentype');
    font-weight: bold;
}

body {
    margin: 0;
    background-color: #0b1428;
    color: #ffffff;
    font-family: 'Kepler', serif;
    font-weight:100;
}

a{
    color: #d4c58c;
    text-decoration: none;
}
a:hover{
    color: #d4c58c;
    text-decoration: underline;
}


.page-container {
    max-width: 1024px;
    margin: 0 auto;
    border: 1px solid #d4c58c;
    background-color: #0b1428;
    min-height: 100vh;
}

header {
    background-image: url('../img/header.jpg'); /* oder ../img, je nach Pfad */
    background-size: cover;
    background-position: center bottom;
    height: 320px;
    position: relative;
}


.legal-page header {
    background-image: none:
    background-size: none;
    height: 0px;
}

.legal-page .main-content {
    padding-top: 4rem;
}
.legal-page h1 {
    margin-left: 2rem;
}



.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    bottom: -150px; /* Hälfte der Bildhöhe */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}


.main-content {
    text-align: center;
    padding-top: 10rem;
}



h1 {
    font-family: 'Optima', sans-serif;
    color: #d4c58c;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

h2 {
    margin-top: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.services {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-top:2rem;
    padding-bottom: 2rem;
}

.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: -2rem;
}
.tel {
    margin-left: -2rem;
}

/* Icon-Größe optional */
.contact-item img {
    width: 1rem;
    height: auto;
}

/* === MOBIL: Umsortierung und Einrückung === */
@media (max-width: 768px) {
    .contact {
        flex-direction: column;
        align-items: center;
        padding-top: 1rem;
    }

    .contact-item {
        flex-direction: row;
        justify-content: flex-start;
        max-width: 320px;


    }

    /* Telefonnummer: Icon vor Text */
    .tel {
        flex-direction: row-reverse;
        margin-left: -3.5rem;
    }

    /* E-Mail: bleibt wie ist */
    .mail {
        flex-direction: row;
        margin-top: -2rem;
        margin-left: -3rem;
    }
}



.contact img {
    width: 40px;
    vertical-align: middle;
}

.adress {
    margin-top: 2rem;
    font-size: 1rem;
    letter-spacing: 1.5px;
}

.adress img {
    width: 40px;
    vertical-align: middle;
}

.footer {
    display: flex;
    align-items: center;      /* vertikal zentrieren */
    justify-content: center;  /* horizontal zentrieren */

    text-align: center;
    font-size: 0.85rem;
    color: #ccc;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: #222b3f;
    height: 4rem;
    margin-top:1rem;
}

.footer img {
    width: 24px;
    margin: 1rem 0;
}

.footer a {
    color: #d4c58c;
    text-decoration: none;

}

/* Medium Devices (Tablets, ≥768px) */
@media (max-width: 991.98px) {
    header {
        height: 270px;
    }
    .profile-image {
        width: 200px;
        height: 200px;
        bottom: -100px;
    }
    .main-content {
        text-align: center;
        padding-top: 7rem;
    }

}

/* Small Devices (Phones, <768px) */
@media (max-width: 767.98px) {
    header {
        height: 180px;
    }
    .profile-image {
        width: 150px;
        height: 150px;
        bottom: -75px;
    }
    .main-content {
        text-align: center;
        padding-top: 4rem;
    }
}

@media (min-width: 1330px) {
    header {

    }

}


.break-mobile {
    display: none;
}

@media (max-width: 576px) {
    .break-mobile {
        display: inline;
    }

    .break-mobile::after {
        content: "";
        display: block;
    }
}


/* Nur Impressum & Datenschutz: linksbündiger Text */
.legal-page .main-content {
    text-align: left;
    padding-left: 2rem;
    padding-right: 2rem;
}

.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page p,
.legal-page ul,
.legal-page li {
    text-align: left;
}

.legal-page p {
    line-height: 1.6;
    margin-bottom: 1rem;
}


.cookie-hint {
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222b3f;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 1rem;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.5);
}

.cookie-hint p {
    margin: 0;
    text-align: center;
}

.cookie-hint button {
    margin-top: 0.5rem;
    background-color: #d4c58c;
    color: #0b1428;
    border: none;
    padding: 0.4rem 1rem;
    font-weight: bold;
    cursor: pointer;
}

.cookie-hint button:hover {
    background-color: #e5d9a0;
}

