:root{
    --blue:#1565c0;
    --orange:#ff7a00;
    --orange-dark:#e56f00;
    --white:#ffffff;
    --black:#000000;
    --light:#f4f7fb;
    --footer:#102846;
}

*{
    margin:0;
    padding:0;
   *box-sizing:border-box;
}

html{
  * scroll-behavior:smooth;
}

body{
*   font-family:"Segoe UI",Arial,sa*s-serif;
    background:#ffffff;
 *  color:#000000;
    line-height:1*7;
}

.container{
    width:90%;
 *  max-width:1200px;
    margin:aut*;
}

header{
    background:linear*gradient(
        135deg,
        *ar(--blue),
        var(--orange)
*   );
    color:white;
    padding*25px 0;
}

header .container{
    *isplay:flex;
    justify-content:s*ace-between;
    align-items:cente*;
    flex-wrap:wrap;
}

.logo h1{*    font-size:2rem;
    margin-bot*om:5px;
}

.logo p{
    opacity:0.*5;
}

nav ul{
    list-style:none;
    display:flex;
    gap:25px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

nav a:hover{
    opacity:.8;
}

.hero{
    background:var(--light);
    padding:90px 20px;
    text-align:center;
}

.hero h2{
    color:var(--blue);
    font-size:3rem;
    margin-bottom:20px;
}

.hero p{
    max-width:800px;
    margin:auto;
    margin-bottom:30px;
    font-size:1.1rem;
}

.button{
    display:inline-block;
    background:var(--orange);
    color:white;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.button:hover{
    background:var(--orange-dark);
}

.card{
    background:white;
    margin:40px 0;
    padding:35px;
    border-radius:16px;
    box-shadow:0 6px 25px rgba(0,0,0,0.08);
    border-left:6px solid var(--orange);
}

.card h2{
    color:var(--blue);
    margin-bottom:20px;
}

.table-wrapper{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

th{
    background:var(--blue);
    color:white;
}

th,
td{
    border:1px solid #d9d9d9;
    padding:15px;
    text-align:left;
}

.highlight{
    margin-top:20px;
    background:#f8fafc;
    padding:25px;
    border-radius:12px;
}

.highlight h3{
    color:var(--orange);
    margin-bottom:10px;
}

.contact-box{
    font-size:1.05rem;
}

.contact-box a{
    color:var(--blue);
    text-decoration:none;
}

footer{
    background:var(--footer);
    color:white;
    text-align:center;
    padding:35px 20px;
}

.footer-links{
    margin-top:15px;
}

.footer-links a{
    color:white;
    text-decoration:none;
    margin:0 12px;
}

.footer-links a:hover{
    text-decoration:underline;
}

#cookie-banner{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:white;
    border-top:4px solid var(--orange);
    box-shadow:0 -3px 18px rgba(0,0,0,0.12);
    z-index:9999;
}

.cookie-content{
    max-width:1200px;
    margin:auto;
    padding:15px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.cookie-content p{
    font-size:0.9rem;
}

.cookie-content a{
    color:var(--blue);
    text-decoration:none;
    font-weight:600;
}

#cookie-accept{
    background:var(--orange);
    color:white;
    border:none;
    padding:12px 24px;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
}

#cookie-accept:hover{
    background:var(--orange-dark);
}

@media(max-width:768px){

    header .container{
        flex-direction:column;
        text-align:center;
    }

    nav ul{
        flex-direction:column;
        gap:10px;
        margin-top:20px;
    }

    .hero h2{
        font-size:2rem;
    }

    .card{
        padding:25px;
    }

    .cookie-content{
        flex-direction:column;
        text-align:center;
    }

    #cookie-accept{
        width:100%;
    }
}
/* =========================
   Datenschutz / Rechtstexte
   ========================= */

.legal-page {
    background: #f8f6f2;
    color: #2f2f2f;
}

.legal-wrapper {
    width: 100%;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.legal-hero {
    padding: 110px 0 50px;
    background: linear-gradient(180deg, #f5f1ea 0%, #f8f6f2 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-kicker {
    display: inline-block;
    margin: 0 0 14px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a6a46;
}

.legal-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
    color: #1f1f1f;
}

.legal-intro {
    max-width: 760px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #555;
}

.legal-content {
    padding: 48px 0 90px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 100px;
}

.legal-toc-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.legal-toc-box h2 {
    margin: 0 0 16px;
    font-size: 1.1rem;
    color: #1f1f1f;
}

.legal-toc-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-toc-box li + li {
    margin-top: 10px;
}

.legal-toc-box a {
    text-decoration: none;
    color: #555;
    font-size: 0.96rem;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.legal-toc-box a:hover {
    color: #8a6a46;
}

.legal-text {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 42px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.legal-text section + section {
    margin-top: 42px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.legal-text h2 {
    margin: 0 0 16px;
    font-size: 1.55rem;
    line-height: 1.3;
    color: #1f1f1f;
}

.legal-text h3 {
    margin: 24px 0 10px;
    font-size: 1.08rem;
    line-height: 1.4;
    color: #8a6a46;
}

.legal-text p,
.legal-text li {
    font-size: 1rem;
    line-height: 1.85;
    color: #434343;
}

.legal-text p {
    margin: 0 0 14px;
}

.legal-text ul {
    margin: 12px 0 18px 20px;
    padding: 0;
}

.legal-text li {
    margin-bottom: 8px;
}

.legal-text a {
    color: #8a6a46;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-text a:hover {
    color: #6d5235;
}

.legal-card {
    margin: 18px 0;
    padding: 20px 22px;
    background: #f7f3ed;
    border-left: 4px solid #8a6a46;
    border-radius: 12px;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 980px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }

    .legal-toc-box {
        margin-bottom: 8px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .legal-hero {
        padding: 90px 0 36px;
    }

    .legal-text {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .legal-text h2 {
        font-size: 1.3rem;
    }

    .legal-text p,
    .legal-text li {
        font-size: 0.98rem;
        line-height: 1.75;
    }
}
