:root {
    --hellblau: #b1e1ef;
    --schriftfarbe: #373737;
    --tuerkis: #00869e;
    --ueberschrift1: #005074;
    --ueberschrift2: #00869e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--schriftfarbe);
    font-size: 18px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

footer {
    background-color: var(--tuerkis);
    color: #fff;
    padding: 16px;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
}

h1 {
    color: var(--ueberschrift1);
    margin-top: 30px;
    text-align: center;
}

.dgsf a {
    display: flex;
    justify-content: center;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.person {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.photo-placeholder img {
    max-width: 100%;
}

.text-content {
    flex: 2 1 400px;
    line-height: 1.6;
}

h2 {
    color: var(--ueberschrift2);
    /*margin-top: 2rem;*/
}

.qualifikationen {
    padding-left: 1.2rem;
}

.qualifikationen li {
    margin-bottom: 0.4rem;
}

.contact-box {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #e8f5e9;
    border-left: 4px solid var(--ueberschrift2);
    border-radius: 0.5rem;
}

.kontaktdaten {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.3rem 0;
    font-weight: 500;
}

.kontaktdaten a {
    color: inherit;        
    text-decoration: none;         
}

.hyperlink {
    color: inherit;        
    text-decoration: none; 
    font-weight: bold;
}

.zitat {
    background-color: var(--tuerkis); 
    color: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.begruessung {
    background: linear-gradient(135deg, #005074, #00869e);
    color: #fff;
    padding: 40px 20px;
    /*border-radius: 12px;*/
}

.begruessung h2 {
    /*var(--ueberschrift1);*/
    color: #fff;
}

.begruessung, .fliesstext {
    padding: 20px;
}

.fliesstext p {
    line-height: 1.6;
}

.fliesstext p {
    padding: 12px;
}

.fliesstext h2 {
    padding: 12px 12px 0 12px;
}

.bild-begruessung {

}

.bild-begruessung img {
    max-width: 100%;
    display: block;

    /* Noch härtere Übergänge links und unten */
    -webkit-mask-image: 
        linear-gradient(to right, transparent 0%, black 5%, black 100%),   /* links sehr kurz */
        linear-gradient(to top, transparent 0%, black 10%, black 100%);    /* unten sehr kurz */
    -webkit-mask-composite: intersect;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;

    mask-image: 
        linear-gradient(to right, transparent 0%, black 5%, black 100%),
        linear-gradient(to top, transparent 0%, black 10%, black 100%);
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: cover;
}

/*
.bild-begruessung img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}*/

.logo-grid {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    margin: 20px 0;
}

.logo-grid a img {
    width: 270px;
    height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-grid a img:hover {
    transform: scale(1.1);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid var(--tuerkis);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
    padding: 20px;
    font-size: 16px;
    z-index: 9999;
    display: none; /* wird per JS eingeblendet */
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: var(--ueberschrift1);
}

.cookie-content p {
    margin-bottom: 15px;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cookie-buttons button {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

#accept-cookies {
    background-color: var(--tuerkis);
    color: #fff;
}

#decline-cookies {
    background-color: #ddd;
    color: #333;
}


/* ipad */
@media (min-width: 1024px) {
    .begruessung-oben {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .text-begruessung {
        width: 450px;
    }
    .text-begruessung h2 {
        font-size: 2.5em;
    }
    .logo-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(270px, 1fr));
        gap: 40px;
    }
    .photo-placeholder {
        float: right;
        margin: 8px 0 20px 20px;
        width: 320px;
    }
    .dgsf {
        display: flex;
        align-items: center;
    }
    .dgsf img {
        max-width: 160px;
    }
    .dgsf a {
        display: inline;
    }
}

/* große Viewports */
@media (min-width: 1200px) {

}