/* ===== Reset & Base ===== */
body {
    margin: 0;
    font-family: "Source Sans Pro", Arial, sans-serif;
    background: #f5f6fa;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* ===== Typography ===== */
h1, h2, h3 {
    margin-top: 0;
}

a {
    color: #fb8c00;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== Navigation ===== */

.navbar {
    background: #333;
    color: white;
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    color: white;
    font-weight: bold;
}

/* Menü */
.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a,
.nav-menu button {
    display: block;
    padding: 15px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* Hover */
.nav-menu a:hover,
.nav-menu button:hover {
    background: #555;
}

/* ===== AKTIVER MENÜPUNKT (NEU) ===== */

.nav-menu a.active,
.logo a.active {
    background: #fb8c00;
}

.dropdown.active > button {
    background: #fb8c00;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    z-index: 1000;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-menu a {
    color: #333;
    padding: 10px;
}

.dropdown-menu a:hover {
    background: #eee;
}

/* Desktop Hover */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* ===== Mobile ===== */

.nav-toggle {
    display: none;
}

@media (max-width: 768px) {

    .nav-toggle {
        display: block;
        margin-left: auto;
        font-size: 24px;
        background: none;
        border: none;
        color: white;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #333;
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        background: #444;
    }

    .dropdown-menu a {
        color: white;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }
}

/* ===== Cards ===== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* leichter Hover-Effekt */
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ===== Buttons ===== */

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #fb8c00;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    background: #e65100;
    transform: translateY(-1px);
}

/* ===== Breadcrumbs ===== */

.breadcrumbs {
    font-size: 0.9em;
    margin: 15px 0;
}

.breadcrumbs a {
    color: #fb8c00;
}

.breadcrumbs span {
    color: #555;
}

/* ===== Footer ===== */

.footer {
    background: #333;
    color: white;
    margin-top: 40px;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* ===== Formulare ===== */

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Reihen (z. B. mehrere Inputs nebeneinander) */
.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 150px;
}

/* Abschnitt (z. B. Zug 1 / Zug 2) */
.form-section {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Aktionen */
.form-actions {
    margin-top: 20px;
}

/* Details schöner */
details {
    background: #fafafa;
    padding: 10px;
    border-radius: 5px;
}

summary {
    cursor: pointer;
    font-weight: bold;
}