/* Verhindert horizontales Scrollen auf der gesamten Seite */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    padding: 60px 20px 40px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content */
main {
    background: white;
    margin: 40px auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.intro {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid #4caf50;
}

.intro p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

h2 {
    color: #2e7d32;
    font-size: 2rem;
    margin: 40px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #81c784;
}

.arguments {
    margin-bottom: 50px;
}

.argument-item {
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.argument-item h3 {
    color: #2e7d32;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.argument-item p {
    color: #555;
    line-height: 1.7;
}

/* Liste */
.indented-list {
    margin-left: 20px;
}

/* Footer */
footer {
    background: #1b5e20;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a5d6a7;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #4caf50;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .subtitle { font-size: 1rem; }
    main { padding: 25px; margin: 20px auto; }
    h2 { font-size: 1.6rem; }
    .argument-item { padding: 15px 20px; }
    .footer-content { flex-direction: column; }
}

@media (max-width: 480px) {
    header { padding: 40px 15px 30px; }
    h1 { font-size: 1.6rem; }
    main { padding: 20px; }
    .argument-item h3 { font-size: 1.1rem; }
}

/* ============================= */
/* Bundesliga Autocomplete & Argumente */
/* Präfix: bunda- */
/* ============================= */

/* Fade-In Animation */
@keyframes bunda-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bunda-arguments-section {
    display: none;
    margin-top: 30px;
    animation: bunda-fadeIn 0.5s ease forwards;
}
.bunda-arguments-section.bunda-visible {
    display: block;
}

/* Pro-Argumente */
.bunda-argument-item.bunda-pro {
    background: #f0fff0;
    border-left: 5px solid #4caf50;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bunda-argument-item.bunda-pro h3 {
    color: #2e7d32;
    margin-bottom: 8px;
}
.bunda-argument-item.bunda-pro p {
    color: #555;
    line-height: 1.7;
}
.bunda-argument-item.bunda-pro:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

/* Contra-Argumente */
.bunda-arguments-section.bunda-contra h2 {
    color: #c62828;
    border-bottom-color: #ef9a9a;
}
.bunda-argument-item.bunda-contra {
    background: #fff8f8;
    border-left: 5px solid #f44336;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bunda-argument-item.bunda-contra h3 {
    color: #c62828;
    margin-bottom: 8px;
}
.bunda-argument-item.bunda-contra p {
    color: #555;
    line-height: 1.7;
}
.bunda-argument-item.bunda-contra:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.2);
}

/* Buttons Pro/Contra */
#decisionButtons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

#decisionButtons button {
    padding: 12px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

/* Pro Button */
#decisionButtons button:first-child {
    background-color: #4caf50;
    color: white;
}
#decisionButtons button:first-child:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Contra Button */
#decisionButtons button:last-child {
    background-color: #f44336;
    color: white;
}
#decisionButtons button:last-child:hover {
    background-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Pro */
.argument-item.bunda-pro {
    background: #f0fff0;
    border-left: 5px solid #4caf50;
}
.argument-item.bunda-pro h3 {
    color: #2e7d32;
}
.argument-item.bunda-pro:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

/* Contra */
.argument-item.bunda-contra {
    background: #fff8f8;
    border-left: 5px solid #f44336;
}
.argument-item.bunda-contra h3 {
    color: #c62828;
}
.argument-item.bunda-contra:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.2);
}

/* Header-Link - macht gesamten Header klickbar */
header .header-link {
    display: block;
    text-decoration: none !important;
    color: white !important;
    cursor: pointer;
}

header .header-link:hover {
    opacity: 0.95;
    transition: opacity 0.2s ease;
    text-decoration: none !important;
}

header .header-link:visited {
    color: white !important;
}

header .header-link h1,
header .header-link .subtitle {
    color: white !important;
    text-decoration: none !important;
}

/* Main Container als Flexbox für Reihenfolge-Steuerung */
main.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Arguments Sections standardmäßig versteckt */
.arguments-section {
    display: none;
    animation: fadeIn 0.5s ease;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Sichtbar wenn Klasse "visible" gesetzt */
.arguments-section.visible {
    display: block;
}

/* Fade-In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky Team Selection */
.team-selection {
    position: sticky;
    top: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
    text-align: center;
    margin-bottom: 40px;
}

/* Argument-Items: Responsive */
.argument-item,
.bunda-pro,
.bunda-contra {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px 0;
    padding: 15px 20px;
    box-sizing: border-box;
}

/* Mobile-spezifische Anpassungen */
@media (max-width: 768px) {
    .arguments-section {
        padding: 15px 10px;
    }

    .argument-item,
    .bunda-pro,
    .bunda-contra {
        padding: 12px 15px;
        margin-bottom: 15px;
    }

    main.container {
        padding: 0 10px;
    }

    .arguments-section h2 {
        font-size: 1.4rem;
        word-wrap: break-word;
    }

    .argument-item h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .arguments-section {
        padding: 10px 5px;
    }

    .argument-item,
    .bunda-pro,
    .bunda-contra {
        padding: 10px 12px;
    }
}

/* Bundesliga Spieltage Styles */
.matchday-section {
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.matchday-section h2 {
    margin-top: 0;
    color: #333;
}

.match {
    padding: 10px;
    margin: 8px 0;
    background: white;
    border-left: 4px solid #0066cc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match.finished {
    border-left-color: #28a745;
}

.match-info {
    flex: 1;
}

.match-datetime {
    text-align: right;
    white-space: nowrap;
    margin-left: 20px;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.error {
    color: #dc3545;
    padding: 20px;
    background: #f8d7da;
    border-radius: 4px;
}

/* === Vereinsraster === */
.club-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.club-card {
    padding: 14px 10px;
    background: #f4f4f4;
    border: 2px solid transparent;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    color: #1a1a1a;
    font-family: inherit;
}

.club-card:hover {
    background: #e8f5e9;
    border-color: #4caf50;
}

.club-card.selected {
    background: #2e7d32;
    color: white;
    border-color: #1b5e20;
}

.club-card .rank {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 4px;
}

.club-card.selected .rank {
    color: #c8e6c9;
}

@media (min-width: 600px) {
    .club-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .club-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================= */
/* Pro/Contra – .contra Klasse   */
/* ============================= */

.contra .argument-item {
    background: #fff8f8;
    border-left-color: #f44336;
}

.contra .argument-item:hover {
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.2);
}

.contra h2 {
    color: #c62828;
    border-bottom-color: #ef9a9a;
}

.contra .argument-item h3 {
    color: #c62828;
}

/* ============================= */
/* TRAINERLISTE – Moderne Kartenansicht */
/* ============================= */

.trainer-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.trainer-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #4caf50;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trainer-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.trainer-item::before {
    content: attr(data-rank);
    position: absolute;
    top: 0;
    left: 0;
    background: #4caf50;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    border-bottom-right-radius: 8px;
}

.trainer-item:nth-child(1) {
    border-left-color: #FFD700;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.trainer-item:nth-child(1)::before {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.trainer-item:nth-child(2) {
    border-left-color: #C0C0C0;
}

.trainer-item:nth-child(2)::before {
    background: linear-gradient(135deg, #C0C0C0 0%, #A9A9A9 100%);
}

.trainer-item:nth-child(3) {
    border-left-color: #CD7F32;
}

.trainer-item:nth-child(3)::before {
    background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
}

.trainer-content {
    padding-left: 2.5rem;
}

.trainer-name {
    font-weight: bold;
    font-size: 1.05rem;
    color: #2e7d32;
    margin-bottom: 0.25rem;
    display: block;
}

.trainer-club {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: block;
}

.trainer-duration {
    color: #777;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.duration-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .trainer-item {
        display: flex;
        align-items: center;
        padding: 1.25rem 1.5rem;
    }

    .trainer-item::before {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .trainer-content {
        flex: 1;
        display: grid;
        grid-template-columns: 2fr 3fr 2fr;
        gap: 1rem;
        align-items: center;
        padding-left: 3rem;
    }

    .trainer-name {
        font-size: 1.1rem;
    }

    .trainer-duration {
        margin-top: 0;
        justify-content: flex-end;
    }
}

/* ============================= */
/* VEREINS-TABELLE – Moderne Kartenansicht */
/* ============================= */

.verein-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.verein-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #4caf50;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.verein-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.verein-item::before {
    content: attr(data-rank);
    position: absolute;
    top: 0;
    left: 0;
    background: #4caf50;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    border-bottom-right-radius: 8px;
}

.verein-item:nth-child(1) {
    border-left-color: #FFD700;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.verein-item:nth-child(1)::before {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.verein-item:nth-child(2) {
    border-left-color: #C0C0C0;
}

.verein-item:nth-child(2)::before {
    background: linear-gradient(135deg, #C0C0C0 0%, #A9A9A9 100%);
}

.verein-item:nth-child(3) {
    border-left-color: #CD7F32;
}

.verein-item:nth-child(3)::before {
    background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
}

.verein-content {
    padding-left: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.verein-name {
    font-weight: bold;
    font-size: 1.05rem;
    color: #2e7d32;
    flex: 1;
    min-width: 150px;
}

.wechsel-count {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
}

.verein-item:nth-child(1) .wechsel-count {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    color: #856404;
    font-size: 1.1rem;
}

.verein-item:nth-child(2) .wechsel-count,
.verein-item:nth-child(3) .wechsel-count {
    background: #fff3cd;
    color: #856404;
}

.source-note {
    background: #f0f7f0;
    border-left: 3px solid #4caf50;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

@media (min-width: 768px) {
    .verein-item {
        padding: 1.25rem 1.5rem;
    }

    .verein-item::before {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .verein-content {
        padding-left: 3rem;
        gap: 1rem;
    }

    .verein-name {
        font-size: 1.1rem;
    }

    .wechsel-count {
        font-size: 1.1rem;
        padding: 0.4rem 1rem;
    }

    .verein-item:nth-child(1) .wechsel-count {
        font-size: 1.2rem;
    }
}

/* ============================= */
/* HEADER – Verbessertes Design  */
/* ============================= */

header .emoji {
    display: inline-block;
    transition: transform 0.3s ease;
}

header .emoji:hover {
    transform: rotate(-15deg) scale(1.2);
}

header .subtitle::before {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 0.5rem auto;
    border-radius: 2px;
}

@media (max-width: 600px) {
    header {
        padding: 2rem 1rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header .subtitle {
        font-size: 1rem;
    }
}

/* ============================= */
/* TRAINER-KANDIDATEN – Akkordeon */
/* ============================= */

.trainer-kandidaten-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.trainer-kandidat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #4caf50;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trainer-kandidat-item:hover {
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.trainer-kandidat-item.active {
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.25);
}

.trainer-kandidat-item:nth-child(1) {
    border-left-color: #FFD700;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.trainer-kandidat-item:nth-child(2) {
    border-left-color: #C0C0C0;
}

.trainer-kandidat-item:nth-child(3) {
    border-left-color: #CD7F32;
}

.trainer-kandidat-item::before {
    content: attr(data-rank);
    position: absolute;
    top: 0;
    left: 0;
    background: #4caf50;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    border-bottom-right-radius: 8px;
    z-index: 1;
}

.trainer-kandidat-item:nth-child(1)::before {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.trainer-kandidat-item:nth-child(2)::before {
    background: linear-gradient(135deg, #C0C0C0 0%, #A9A9A9 100%);
}

.trainer-kandidat-item:nth-child(3)::before {
    background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
}

.kandidat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    padding-left: 2.5rem;
    cursor: pointer;
    user-select: none;
}

.kandidat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kandidat-name {
    font-weight: bold;
    font-size: 1.05rem;
    color: #2e7d32;
    display: block;
}

.kandidat-beschreibung {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
}

.accordion-toggle {
    background: #e8f5e9;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2e7d32;
    flex-shrink: 0;
}

.accordion-toggle:hover {
    background: #c8e6c9;
    transform: scale(1.1);
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.trainer-kandidat-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1rem;
}

.trainer-kandidat-item.active .accordion-content {
    max-height: 1000px;
    padding: 0 1rem 1.5rem 2.5rem;
}

.detail-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.detail-item h4 {
    color: #2e7d32;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 0.25rem;
}

.detail-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-item ul li {
    padding: 0.4rem 0 0.4rem 1.2rem;
    position: relative;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.detail-item ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.detail-item p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.5rem 0 0 0;
}

.detail-item p strong {
    color: #2e7d32;
    font-weight: 600;
}

.accordion-toggle:focus {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
}

.accordion-toggle:focus:not(:focus-visible) {
    outline: none;
}

@media (min-width: 768px) {
    .kandidat-header {
        padding: 1.25rem 1.5rem;
        padding-left: 3rem;
    }

    .trainer-kandidat-item::before {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .kandidat-name {
        font-size: 1.15rem;
    }

    .kandidat-beschreibung {
        font-size: 1rem;
    }

    .accordion-toggle {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .trainer-kandidat-item.active .accordion-content {
        padding: 0 1.5rem 2rem 3rem;
    }

    .detail-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .detail-item h4 {
        font-size: 1rem;
    }

    .detail-item ul li,
    .detail-item p {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .detail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================= */
/* MAIN CONTENT – Attraktive Gestaltung */
/* ============================= */

.intro {
    background: linear-gradient(135deg, #f0f7f0 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    border-bottom: 3px solid #e8f5e9;
    position: relative;
}

.intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4caf50 0%, #2e7d32 100%);
}

.content {
    padding: 2.5rem 2rem;
    position: relative;
}

.content + .content {
    border-top: 1px solid #f0f0f0;
}

.content h2::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4caf50 0%, #2e7d32 100%);
}

.content h3 {
    color: #2e7d32;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid #4caf50;
}

.content h4 {
    color: #388e3c;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.content ul,
.content ol {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.content ul li,
.content ol li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    line-height: 1.6;
    color: #444;
}

.content ul li::before {
    content: "▸";
    position: absolute;
    left: 0.5rem;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.1rem;
}

.content ol {
    counter-reset: item;
}

.content ol li::before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.content a,
.intro a {
    color: #2e7d32;
    text-decoration: none;
    border-bottom: 1px solid #c8e6c9;
    transition: all 0.2s ease;
}

.content a:hover,
.intro a:hover {
    color: #1b5e20;
    border-bottom-color: #4caf50;
    background: #f1f8f4;
}

.content blockquote {
    background: #f9fdf9;
    border-left: 4px solid #4caf50;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.content blockquote p {
    margin: 0;
}

.highlight-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border: 2px solid #c8e6c9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    margin-top: 0;
    border-left: none;
    padding-left: 0;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.success-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.ad-mid-content {
    background: #f5f5f5;
    border: 1px dashed #ddd;
    padding: 1.5rem;
    margin: 3rem 0;
    text-align: center;
    border-radius: 8px;
}

.ad-mid-content p {
    color: #999;
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .intro,
    .content {
        padding: 1.5rem 1.25rem;
    }

    .content h3 {
        font-size: 1.25rem;
    }

    .content h4 {
        font-size: 1.1rem;
    }

    .content blockquote {
        padding: 1rem 1.25rem;
    }

    .highlight-box,
    .info-box,
    .warning-box,
    .success-box {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .intro,
    .content {
        padding: 1.25rem 1rem;
    }
}

/* ============================= */
/* Divider & Sommerpause-Banner  */
/* ============================= */

.divider svg {
    width: 100%;
    height: 120px;
    display: block;
}

.sommerpause-banner {
    background: #f5a623;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-weight: bold;
}
