* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    background: #f5f7ff;
    color: #20214f;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */


/* HEADER MODERN */
header {
    background: #20214f; /* RAL 5002 */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* NAV CONTAINER */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* LOGO */
.logo {
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* NAV LINKS DESKTOP */
.nav nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

/* LINKS STYLE */
.nav nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

/* HOVER EFFECT */
.nav nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

/* CTA BUTTON */
.btn-nav {
    background: #85bbff;
   /* color: white !important; */
    color: black !important;
    font-weight: bold !important;
    padding: 8px 14px !important;
    border-radius: 6px;
    /* font-weight: 600; */
}

.btn-nav:hover {
    background: #3f5be0;
}

/* HERO */

.hero {
    /* background: linear-gradient(rgba(32,33,79,0.85), rgba(32,33,79,0.85)),
                url('hero.jpg') center/cover no-repeat; */
    background: url('hero.jpg') center/cover no-repeat;
    color: white;
    padding: 140px 0;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}


.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.h1 {
    font-size: 80;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #d9dcff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.btn-primary {
    background: #4f6dff;
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #3b54e0;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Dropdown Container */
.nav-item {
    position: relative;
}

/* Dropdown verstecken */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    min-width: 200px;
    z-index: 1000;
}

/* Links im Dropdown */
.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #444;
}

/* Hover Effekt */
.nav-item:hover .dropdown-content {
    display: block;
}

/* SECTIONS */

.section {
    padding: 100px 0;
    text-align: center;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.section h1 {
    font-size: 60px;
}

/* FOOTER */
footer a {
    color: #4f6dff;
    text-decoration: none;
}

/* optional: auch Hover sauber halten */
footer a:hover {
    color: #4f6dff;
    text-decoration: none;
}

/* GRID */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.card {
    background: #85bbff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(32,33,79,0.08);
    transition: 0.3s;
    color: #000000;
    margin-bottom: 40px;
}

.card p {
    font-size: 20px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(79,109,255,0.15);
}

.card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.highlight {
    background: #eef1ff;
}

.light {
    background: white;
}

/* CONTACT */

.contact {
    background: #20214f;
    color: white;
}

.contact-intro {
    margin-bottom: 40px;
    color: #d9dcff;
}

form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, textarea {
    padding: 14px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
}

textarea {
    min-height: 120px;
}

footer {
    background: #161739;
    color: #cfd3ff;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-box {
    background: #f5f7ff;
    border-left: 5px solid #4f6dff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}


.contact-cta {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Grundbutton */
.cta-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: 0.3s ease;
}

/* 📞 Call Button */
.cta-button.call {
    background: #0b3d91;
}

.cta-button.call:hover {
    background: #062a66;
}

/* 📧 Mail Button */
.cta-button.mail {
    background: #4f6dff;
}

.cta-button.mail:hover {
    background: #3f5be0;
}

#cookie-banner {
        position: fixed;
        bottom: 0;
        width: 100%;
        background: #0b3d91;
        color: white;
        padding: 15px;
        text-align: center;
        z-index: 9999;
        font-size: 14px;
    }

    #cookie-banner a {
        color: #fff;
        text-decoration: underline;
    }

    .cookie-buttons button {
        margin: 6px;
        padding: 8px 14px;
        border: none;
        background: white;
        color: #0b3d91;
        cursor: pointer;
        border-radius: 4px;
        font-weight: bold;
    }

    #cookie-modal {
        position: fixed;
        top:0; left:0;
        width:100%; height:100%;
        background: rgba(0,0,0,0.6);
        z-index:10000;
    }

    .cookie-modal-content {
        background: white;
        padding: 20px;
        max-width: 420px;
        margin: 10% auto;
        border-radius: 8px;
    }

/* Thumbnail */
.thumbnail {
  cursor: pointer;
  transition: 0.2s;
}

.thumbnail:hover {
  opacity: 0.8;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

/* Blur Overlay (KEIN body blur mehr!) */
.overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.5);
}

/* Bild */
.modal-content {
  position: relative;
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 2;
}

.grid img {
    transition: 0.3s ease;
}

.grid img:hover {
    transform: scale(1.03);
}



/* HEADER NAV DEFAULT (DESKTOP) */
.nav nav {
    display: flex;
    gap: 15px;
}

/* BURGER ICON */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    width: 26px;
    height: 3px;
    background: #0b3d91;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* MOBILE MENU */
@media (max-width: 768px) {

    .burger {
        display: flex;
    }

    .nav nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 260px;
        height: 100vh;
        background: #20214f; /* RAL 5002 */
        display: flex;
        flex-direction: column;
        padding: 80px 20px;
        gap: 15px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav nav.active {
        right: 0;
    }

    .nav nav a {
        color: white;
        text-decoration: none;
        padding: 10px;
        border-radius: 5px;
    }

    .nav nav a:hover {
        background: #4f6dff;
    }
}

/* BURGER → X ANIMATION */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/*
TODO:
Hero Bild im Ganzen

*/
