/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: #0f2a44;
}


/* =========================
   HEADER
========================= */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    height: 100px; /* ✅ Dein Wunsch */
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #0f2a44;
    font-weight: 600;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    height: 100vh;
    background: url("KALABackgroundHeader.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center; /* ✅ ZENTRIERT */
    padding: 40px;
}

/* ✅ WEISSER VERLAUF (rechts) */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 1;

    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.5) 40%,
        rgba(255,255,255,0.85) 70%,
        rgba(255,255,255,0.95) 100%
    );
}
/* HERO VARIANTEN */

/* Standard = zentriert (für Anfrage & Impressum) */
.hero.center {
    justify-content: center;
}

/* Startseite = rechts */
.hero.right {
    justify-content: flex-end;
}
.hero.right .glass-box {
    margin-right: 60px;
}
``

/* =========================
   HERO TEXT (Startseite)
========================= */

.overlay {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* =========================
   GLASS BOX (WICHTIG)
========================= */

.glass-box {
    position: relative;
    z-index: 2;

    background: rgba(255, 255, 255, 0.7);  /* ✅ DURCHSCHEINEND */
    backdrop-filter: blur(10px);           /* ✅ GLASS EFFEKT */
    
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* =========================
   BUTTON
========================= */

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #0f2a44;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.btn:hover {
    background: #2fa4c7;
}


/* =========================
   CONTENT
========================= */

.content {
    padding: 80px;
    text-align: center;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #f4f4f4;
    padding: 40px;
    text-align: center;
}

footer p {
    margin: 5px 0;
}


/* =========================
   FORM
========================= */

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ddd;
}

button {
    width: 100%;
    padding: 12px;
    background: #2fa4c7;
    color: white;
    border: none;
    border-radius: 6px;
}

button:hover {
    background: #0f2a44;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero {
        justify-content: center;
        text-align: center;
    }

    .hero::after {
        width: 100%;
        background: rgba(255,255,255,0.9);
    }

    header {
        flex-direction: column;
    }
}

/* =========================
   DATENSCHUTZ SPEZIAL
========================= */

.legal-box {
    max-width: 900px;      /* ✅ DEUTLICH BREITER */
    width: 100%;

    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);

    padding: 30px;
    border-radius: 12px;
    z-index: 2;
}

/* SCHRIFT DEUTLICH KLEINER */
.legal-box h1 {
    font-size: 24px;   /* vorher viel größer */
    margin-bottom: 20px;
}

.legal-box h2 {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 0px;
}

.legal-box p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0px;
}

/* =========================
   LEGAL CONTENT (UNTEN)
========================= */

.legal-content {
    background: #ffffff;
    padding: 80px 20px;
}

.legal-container {
    max-width: 1000px;
    margin: auto;
}

.legal-container h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #0f2a44;
}

.legal-container p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #333;
}

/* optional: feine Trennung */
.legal-container h2:not(:first-child) {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* =========================
   IMPRESSUM HERO BLOCK
========================= */

.legal-hero-box {
    position: relative;
    z-index: 2;

    background: rgba(255, 255, 255, 0.9);  /* weniger transparent */
    backdrop-filter: blur(6px);

    padding: 20px 20px;
    border-radius: 10px;

    max-width: 400px;
    width: 100%;

    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* TYPOGRAFIE */

.legal-hero-box h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.legal-hero-box h2 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-hero-box p {
    font-size: 14px;
    line-height: 1.4;
}

/* BUTTON (zweite Variante) */
.btn.secondary {
    background: transparent;
    color: #0f2a44;
    border: 1px solid #0f2a44;
    margin-top: 20px;
}

.btn.secondary:hover {
    background: #0f2a44;
    color: #fff;
}

/* =========================
   LEISTUNGEN SECTION
========================= */

.leistungen {
    padding: 50px 20px;
    background: #ffffff;
	text-align: center;
}

/* TITEL */
.leistungen h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.leistungen h2 {
    font-size: 16px;
    margin-bottom: 0px;
}

.leistungen h3 {
    font-size: 14px;
    margin-bottom: 0px;
}

.leistungen p {
    font-size: 16px;

}



