﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Verdana, sans-serif;
    background-color: #c3e7ff;
}

/* Layout */
.wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #ccc;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* alles rechtsbündig */
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    display: block;
    padding: 8px 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border: 1px solid #ccc;
    flex-direction: column;
    z-index: 1000;
}

.dropdown:hover > .dropdown-content {
    display: flex;
}

.dropdown-content li a {
    padding: 8px 12px;
}

.dropdown-content hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 5px 0;
}

/* ================= BURGER ================= */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

    .burger span {
        height: 3px;
        width: 25px;
        background: #000;
        margin: 4px 0;
    }
/* ================= TITLE IMAGE ================= */
.title-image {
    position: relative;
    width: 100%;
}

    .title-image img:not(.yt-button):not(.marketing) {
        width: 100%;
        height: auto;
        display: block;
        
    }

.yt-button {
    position: absolute;
    width: 42px;
    height: 42px;
    left: 54%;
    top: 34%;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.title-image img.marketing {
    position: absolute;
    width: 298px;
    height: auto;
    max-width: 90%;
    left: 74.6%;
    top: 14%;
}

/* ================= HEADINGS ================= */
h1 {
    color: #000000;
    padding: 15px 20px;
    margin-top: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: 32px;
    display: inline-block;
    background-color: #ffffff;
    padding-left: 40px;
    padding-right: 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    line-height: 140%;
}

/* ================= SECTIONS ================= */
.section {
    background: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px; 
    font-size: 17px;
}

    .section h2 {
        color: #0000ff;
        margin-bottom: 20px;
    }

.sectionweiss {
    background: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    font-size: 17px;
}

    .sectiongrau h2 {
        color: #0000ff;
        margin-bottom: 20px;
    }

.sectionweiss {
    background: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px
}

    .sectionweiss h2 {
        color: #0000ff;
        margin-top: 20px;
        margin-bottom: 28px;
        font-size: 24px;
    }

    .sectionweiss p {
        margin-top: 20px;
    }

.marketing {
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.marketing:hover {
    transform: translateY(-3px);
}

.yt-button:hover {
        transform: translateY(-3px);
    }


/* ================= CARDS ================= */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    transition: transform 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.18);
    }

    .card img {
        width: 100%;
    }

    .card p {
        padding: 10px;
        font-size: 15px;
    }

    .desc {
        margin-bottom: 24px;
        max-width: 800px;
        text-align: justify;
    }


.cards2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card2 {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    transition: transform 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .card2:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.18);
    }

    .card2 img {
        width: 100%;
        height: 300px; 
        object-fit: cover; 
        object-position: center bottom; 
        display: block;
    }

    .card2 p {
        padding: 10px;
        font-size: 15px;
    }

.more-link {
    margin-top: 20px;
}

/* ================= Formulare ================= */

.labels {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    color: #2f3e2f;
    font-size: 18px;
}

    .labels input[type="checkbox"] {
        margin-right: 8px;
    }

.reg_box {
    width: 400px;
    padding: 14px 16px;
    border: 1px solid #d8e2d8;
    border-radius: 10px;
    font-size: 18px;
    background-color: #f0f0f0;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

    .reg_box:hover {
        border-color: #a8c9a8;
    }

.reg_boxlang {
    width: 100%;
    max-width: 700px;
    padding: 14px 16px;
    border: 1px solid #d8e2d8;
    border-radius: 10px;
    font-size: 18px;
    background-color: #f0f0f0;
    transition: all 0.25s ease;
    box-sizing: border-box;
    font-family: Verdana, sans-serif;
}

.buttons {
    margin-top: 25px;
    padding: 14px;
    width: 100px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #4c8f4c, #3b6f3b);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: block;
}

.zustimmen {
    margin-top: 25px;
    padding: 14px;
    width: 500px;
    border: none;
    border-radius: 10px;
    background-color: #4c8f4c;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: block;
}

.buttons:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.loschen {
    margin-top: 25px;
    padding: 14px;
    width: 220px;
    border: none;
    border-radius: 10px;
    background-color: #ff0000;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: block;
    color: #ffffff;
    margin-left: 30%;
    position: relative;
    top: -74px
}

.loschen:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.fehler {
    display: block;
    margin-top: 20px;
    padding: 12px 15px;
    background-color: #ffeaea;
    border: 1px solid #ffb3b3;
    border-radius: 8px;
    color: #b30000;
    font-weight: 500;
}

    /* ================= Einträge Tabelle ================= */

.gtabelle {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 100%;
    text-align: left;
}

.weisstab {
    background-color: #ffffff;
    font-size: 17px;
    padding-left: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.grautab {
    background-color: #f0f0f0;
    font-size: 17px;
    padding-left: 2px;
    padding-top: 2px;
    padding-bottom: 2px
}

.weisstyptab {
    background-color: #ffffff;
    font-size: 17px;
    padding-left: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.grautyptab {
    background-color: #f0f0f0;
    font-size: 17px;
    padding-left: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
}

    /* ================= FOOTER ================= */
    .footer {
    background: #ffffff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 12px
}

    .footer a {
        margin-right: 15px;
        text-decoration: none;
        color: #000;
    }

A:link {
    TEXT-DECORATION: none;
    color: #0000a0;
}

A:active {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A:focus {
    TEXT-DECORATION: none;
    color: #0000a0;
}

A:visited {
    TEXT-DECORATION: none;
    color: #0000a0;
}

A:hover {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.mn:link {
    TEXT-DECORATION: none;
    color: #000000;
}

A.mn:active {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.mn:focus {
    TEXT-DECORATION: none;
    color: #000000;
}

A.mn:visited {
    TEXT-DECORATION: none;
    color: #000000;
}

A.mn:hover {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.home:link {
    TEXT-DECORATION: none;
    color: #000000;
}

A.home:active {
    TEXT-DECORATION: none;
    color: #ff0000;
}

A.home:focus {
    TEXT-DECORATION: none;
    color: #000000;
}

A.home:visited {
    TEXT-DECORATION: none;
    color: #000000;
}

A.home:hover {
    TEXT-DECORATION: none;
    color: #ff0000;
    transform: translateY(-2px);
}

A.card:link {
    TEXT-DECORATION: none;
    color: #000000;
}

A.card:active {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.card:focus {
    TEXT-DECORATION: none;
    color: #000000;
}

A.card:visited {
    TEXT-DECORATION: none;
    color: #000000;
}

A.card:hover {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.card2:link {
    TEXT-DECORATION: none;
    color: #000000;
}

A.card2:active {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.card2:focus {
    TEXT-DECORATION: none;
    color: #000000;
}

A.card2:visited {
    TEXT-DECORATION: none;
    color: #000000;
}

A.card2:hover {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.foot:link {
    TEXT-DECORATION: none;
    color: #000000;
}

A.foot:active {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.foot:focus {
    TEXT-DECORATION: none;
    color: #000000;
}

A.foot:visited {
    TEXT-DECORATION: none;
    color: #000000;
}

A.foot:hover {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.zustimmen:link {
    TEXT-DECORATION: none;
    color: #ffffff;
}

A.zustimmen:active {
    TEXT-DECORATION: underline;
    color: #ff0000;
}

A.zustimmen:focus {
    TEXT-DECORATION: none;
    color: #000000;
}

A.zustimmen:visited {
    TEXT-DECORATION: none;
    color: #ffffff;
}

A.zustimmen:hover {
    TEXT-DECORATION: underline;
    color: #ffffff;
    background-color: #3a6f3a;
}




.ct {
    text-align: left;
    display: block;
    font-size: 13px;
    margin-bottom: 12px;
    color: #606060;
    
}

.mm {
    font-family: Verdana,Arial;
    font-size: 17px;
    color: #0000ff;
    display: block
}

.mfotos {
    margin-top: 12px;
    font-family: Verdana,Arial;
    font-size: 10px;
    max-width: 100%;
    height: auto;
    text-align: center;
    display: block;
}

.lfotos {
    margin-top: 12px;
    margin-bottom: 12px;
    font-family: Verdana,Arial;
    font-size: 10px;
    max-width: 100%;
    height: auto;
    text-align: center;
    display: block;
}

.liste {
    text-align: justify;
    line-height: 150%;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 17px;
}

h3 {
    font-family: Verdana,Arial;
    font-size: 20px;
    color: #000000;
    margin-bottom: 12px;
    text-align: left;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 16px;
}

.rh {
    border: none;
    border-top: 1px solid #c0c0c0;
    color: #FFFFFF;
    background-color: #FFFFFF;
    height: 1px;
    width: 100%;
    text-align: left;
    margin-top: 12px;
    margin-bottom: 12px;
    margin-left: 0px;
}

.rb {
    border: none;
    border-top: 1px solid #c0c0c0;
    color: #FFFFFF;
    background-color: #FFFFFF;
    height: 1px;
    width: 100%;
    text-align: left;
    margin-top: 12px;
    margin-bottom: 12px;
    margin-left: 0px;
}

.kh {
    border: none;
    border-top: 1px solid #c0c0c0;
    color: #FFFFFF;
    background-color: #FFFFFF;
    height: 1px;
    width: 100%;
    text-align: left;
    margin-top: 12px;
    margin-bottom: 12px;
    margin-left: 0px;
}

ol {
    margin-top: 12px;
    margin-left: 40px;
}

ul.imtext {
    margin-top: 20px;
    margin-left: 40px;
}

ul.ok {
    margin-left: 40px;
}


ul.ok li::marker {
    content: "✔ ";
    color: #2ecc71;
    
}

.h2center {
    text-align: left
}

.boldlink {
    font-weight: bold;
    display: block;
    margin-bottom: 12px;
}

.dlink {
    display: block;
    margin-bottom: 8px
}

.infolink {margin-top: 20px}

.rfotos {
    float: right;
    margin-right: 9px;
    margin-bottom: 6px;
    margin-left: 9px;
    margin-top: 0px;
    font-family: Verdana,Arial;
    font-size: 10px;
    display: block
}

.ustrich {
    width: 100%;
    border-bottom: 1px solid #eee;
    text-align: left;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 700px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;

    }

        nav ul.active {
            display: flex;
        }

    .burger {
        display: flex;
    }

 

    .card2 img {
        width: 100%;
        height: 300px; /* einheitliche Höhe */
        object-fit: cover; /* Bild wird beschnitten, nicht verzerrt */
        object-position: center bottom; /* schneidet bevorzugt unten ab */
        display: block;
    }

    .marketing {
        position: static;
        display: block;
        margin: 10px 0 0 auto;
    }
}

@media (max-width: 1200px) {
    .title-image img.marketing {
        width: 220px;
    }
    h1 {margin-left: 10px;}
}

@media (max-width: 900px) {

    .weisstab {
        font-size: 12px;
    }

    .grautab {
        font-size: 12px;
    }
    .weisstyptab {
        font-size: 12px;
    }
    .grautyptab {
        font-size: 12px;
    }

    .title-image img.marketing {
        width: 180px;
        left: 75%;
    }
    .cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .cards2 {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 700px) {
    .title-image img.marketing {
        display: block;
        width: 160px;
        margin: 10px 0 0 auto;
        left: 68%;
    }
}

@media (max-width: 900px) {
    .yt-button {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 700px) {
    .yt-button {
        width: 28px;
        height: 28px;
        top: 50px;
    }
}

@media (max-width: 700px) {
    nav ul {
        display: none;
        flex-direction: column;
        align-items: flex-start; /* ← DAS ist der entscheidende Punkt */
        text-align: left;
        width: 100%;
        margin-top: 10px;
    }

        nav ul.active {
            display: flex;
        }

    /* Mobile Dropdowns */
    .dropdown-content {
        position: static;
        display: none;
        padding-left: 15px;
        border: none;
    }

    .dropdown.active > .dropdown-content {
        display: flex;
        flex-direction: column;
    }

    .burger {
        display: flex;
        margin-left: 16px; /* Abstand */
    }

    

}

/* Desktop Dropdowns */
@media (min-width: 701px) {
    .dropdown-content {
        left: auto; /* standard links aufheben */
        right: 0; /* Dropdown rechts an Hauptpunkt ausrichten */
    }
}

@media (min-width: 900px) {
    .liste {
        margin-left: 100px; 
        margin-right: 100px;
    }
}

@media (min-width: 1200px) {
    .liste {
        margin-left: 200px;
        margin-right: 200px;
    }
}

@media (max-width: 1000px) {
    h1 {
        font-size: 22px; /* reduziert für mobile */
        padding: 8px 15px; /* optional etwas weniger Padding */
    }

    @media (max-width: 700px) {
        h1 {
            font-size: 20px; /* reduziert für mobile */
            padding: 8px 15px; /* optional etwas weniger Padding */
        }
    }
