@import url('https://fonts.googleapis.com/css2?family=Diplomata+SC&display=swap');

:root {
    --primary-green: #4A5D23;
    --secondary-orange: #D36819;
    --text-color: #333;
    --bg-light: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    font-family: 'Verdana', sans-serif;
    font-size: 14px;
    color: var(--text-color);
}

a:link,
a:visited {
    color: var(--secondary-orange);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #0f4838;
}

.divHaupt {
    width: 100%;
    max-width: 792px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header Section */
.divTitel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background: linear-gradient(90deg, #9ff224 0%, #e9e85a 100%);
    border-bottom: 3px solid var(--primary-green);
    position: relative;
    z-index: 100;
    min-height: 80px;
    /* Ensure space for absolute title */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.divRoundImage {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-green);
    flex-shrink: 0;
}

.divRoundImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titel-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Diplomata SC', serif;
    font-size: 12px;
    color: var(--primary-green);
    width: 60%;
    /* Limit width to avoid hitting sides */
    line-height: 1.2;
}

.titel-text span {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 5px;
}

.divSymbol {
    width: 100px;
    height: 220px;
    flex-shrink: 0;
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 50;
    pointer-events: none;
}

.divSymbol img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}

.divInfoOben {
    padding: 10px 20px;
    text-align: center;
    color: var(--secondary-orange);
    font-weight: bold;
    font-size: 13px;
    background: rgba(74, 93, 35, 0.05);
}

.divInfoOben a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.divInfoOben a:hover {
    opacity: 0.8;
}

/* Content Layout */
.main-wrapper {
    display: flex;
    flex: 1;
}

.divLinks {
    width: 200px;
    padding: 20px;
    background-color: #fff;
    flex-shrink: 0;
}

.divLinks h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
}

.Linklabel {
    color: #5B5F5C;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
    margin-bottom: 10px;
}

.divInhalt {
    flex: 1;
    padding: 20px 110px 20px 30px;
    /* Large right padding to clear the symbol */
    line-height: 1.6;
}

.divInhalt h3 {
    color: var(--primary-green);
    margin-top: 0;
}

.divInfoUnten {
    padding: 12px;
    background: #9ff224;
    /* Solid lime green bar as requested */
    text-align: center;
    font-family: 'Diplomata SC', serif;
    font-size: 20px;
    color: var(--primary-green);
    margin-top: auto;
    letter-spacing: 2px;
}

/* Mobile Hamburger */
#mobile-hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--primary-green);
    cursor: pointer;
    padding: 5px;
}

/* Specific for Uber Mich page photo */
.divMeinFoto {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    float: right;
    margin-left: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.divMeinFoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Overrides */
@media only screen and (max-width: 768px) {
    .divTitel {
        padding: 5px 15px;
        justify-content: flex-start;
    }

    .divRoundImage {
        display: none;
    }

    .titel-text {
        font-size: 16px;
        width: 70%;
    }

    .titel-text span {
        font-size: 10px;
    }

    .divSymbol {
        width: 40px;
        height: 50px;
    }

    #mobile-hamburger-btn {
        display: block;
        order: -1;
    }

    .main-wrapper {
        flex-direction: column;
    }

    .divLinks {
        width: 100%;
        display: none;
        /* Controlled by JS */
        background: #f9f9f9;
        border-bottom: 1px solid #eee;
    }

    .divLinks.show-mobile-menu {
        display: block;
    }

    .divInhalt {
        width: 100% !important;
        padding: 20px;
    }

    .divSymbol {
        width: 30px;
        height: 60px;
        top: 5px;
        right: 10px;
    }

    .divInfoOben {
        font-size: 11px;
    }

    .divMeinFoto {
        float: none;
        margin: 0 auto 20px;
    }
}