*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #3c3c3c;
    --bg-nav: #282828;
    --bg-themen: #333;
    --bg-header: #3c3c3c;
    --bg-nav-a: #555;
    --bg-mission: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    --bg-mission-p: #666;
    --bg-h1-h2: linear-gradient(135deg, #fff 0%, #a8daff 100%);
    --bg-seitenüberschriften: #a8daff;
    --bg-faq-frage: #777;
    --bg-account-btn-hover: #ff8080;
    --bg-account-btn-hover1: #ffaaaa;
    --bg-abo-card: #2e2e2e;
    --bg-abo-card-featured: rgba(102,126,234,0.08);
    --bg-nav-hover-background: rgba(100, 200, 255, 0.2);
    --bg-feedback-ki-bereich-input: #c0c0c0;
    --bg-input-placeholder: rgba(192, 192, 192, 0.6);
    --bg-tipp-bereich: rgba(100, 200, 255, 0.1);
    --bg-fakten-info-h3: #777;
    --bg-kontakt-intro: rgba(255, 255, 255, 0.8);
    --bg-tool-card: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] {
    --bg-main: #b08963;
    --bg-nav: #a37143;
    --bg-themen: #a37143;
    --bg-header: #a37143;
    --bg-nav-a: #1a1a1a;
    --bg-mission: linear-gradient(135deg, rgba(13, 50, 216, 0.15) 0%, rgba(109, 9, 208, 0.1) 100%);
    --bg-mission-p: #1a1a1a;
    --bg-h1-h2: #0f5285;
    --bg-seitenüberschriften: #0f5285;
    --bg-faq-frage: #1a1a1a;
    --bg-account-btn-hover: #b61b1b;
    --bg-account-btn-hover1: #682020;
    --bg-abo-card: #a37143;
    --bg-abo-card-featured: rgba(8, 28, 116, 0.15);
    --bg-nav-hover-background: rgba(6, 46, 225, 0.429);
    --bg-feedback-ki-bereich-input: #1a1a1a;
    --bg-input-placeholder: rgba(26, 26, 26, 0.6);
    --bg-tipp-bereich: rgba(22, 168, 246, 0.185);
    --bg-fakten-info-h3: #1a1a1a;
    --bg-kontakt-intro: #1a1a1a;
    --bg-tool-card: #a37143;
}
body {
    background-color: var(--bg-main);
}

body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: var(--bg-main);
color: #f9f9f9;
}

/* ===== FIX: Lange Überschriften (AGB, Datenschutz) auf Mobile ===== */
h1, h2, h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word; /* Strikte Variante, falls der Platz nicht reicht */
    -webkit-hyphens: auto;
    hyphens: auto; /* Sorgt für schöne Silbentrennung, z.B. Daten-schutz-er-klä-rung */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-header);
    border-bottom: 1px solid #ddd;
}
header .logo {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
header .logo h1 {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
}
header .logo p {
    font-size: 14px;
    margin-top: -5px;
    color: #555;
}
header .login-btn button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #1a1a1a;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
}
header .login-btn button:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
nav ul {
    display: flex;
    list-style: none;
    background: var(--bg-nav);
    padding: 20px;
    gap: 40px;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgb(0, 0, 0, 0.15);
    margin: 20px auto;
    max-width: 90%;
    flex-wrap: wrap;
    box-sizing: border-box;
}
nav a {
    text-decoration: none;
    color: var(--bg-nav-a);
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
}
nav a:hover {
    color: #000;
    background: var(--bg-nav-hover-background);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(100, 200, 255, 0.3);
}
nav ul li {
    position: relative;
    padding-right: 30px;
}
.mission {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
    padding: 20px;
    background: var(--bg-mission);
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 4px rgba(102, 126, 234, 0.2);
    border-radius: 15px;
}
.mission h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}
.mission p {
    font-size: 2rem;
    line-height: 1.6;
    color: var(--bg-mission-p);
    margin-bottom: 30px;
}
.mission-search input {
    padding: 12px 16px;
    width: 60%;
    border-radius: 8px;
    border: 3px solid #a855f7;
    font-size: 1rem;
    transition: all 0.25s ease;
}
.mission-search input :focus {
    border-color: #333;
    outline: none;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
}
.search-btn {
    padding: 12px 20px;
    margin-left: 10px;
    border-radius: 8px;
    border: none;
    background: #333;
    color: silver;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.search-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg,#333,#555);
}
.search-btn:active {
    box-shadow: 0 0 10px 3px rgba(0,150,255,0.7);
    transform: scale(0.97);
}
.themen {
    max-width: none;
    margin: 60px 0;
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-themen);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.themen h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}
.themen-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    column-gap: 35px;
    row-gap: 15px;
    width: 100%;
    max-width: none;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
}
.themen-zeile {
    display: contents;
}
.thema {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.thema a {
    text-decoration: none;
    color: #222;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}
.thema:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(100,200,255,0.3);
    border: 2px solid rgba(100, 200, 255, 0.4);
    background: rgba(255, 255, 255, 0.25);
}
.thema-suche {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    margin-top: 15px;
}
.thema:hover .thema-suche {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.thema-suche input {
    background: rgb(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 15px;
    color: #1a1a11;
    font: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.thema-suche input:focus {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(100, 200, 255, 0.6);
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.4);
}
.thema-suche input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}
.thema-suche button {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: silver;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 19px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-left: 10px;
    height: fit-content;
    align-self: center;
}
.thema-suche button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
    border: 2px solid rgba(100, 200, 255, 0.5);
    box-shadow: 0 6px 25px rgba(100, 200, 255, 0.3);
}
.thema-suche button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.thema {
    transition: all 0.3s ease;
}
.thema:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(100, 200, 255, 0.3);
    border: 2px solid rgba(100, 200, 255, 0.4);
}
#kein-treffer {
    width: 100%;
    max-width: none;
    text-align: center;
}
#kein-treffer h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1a1a1a;
    width: 100%;
}
.feedback-ki-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}
.feedback-bereich h3 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}
.ki-bereich h3 {
    text-align: right;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}
.feedback-bereich input,
.ki-bereich input {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px;
    color: var(--bg-feedback-ki-bereich-input);
    font-size: 1rem;
    width: 100%;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.feedback-bereich input::placeholder,
.ki-bereich input::placeholder {
    color: var(--bg-input-placeholder);
}
.feedback-bereich:hover input,
.ki-bereich:hover input {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.feedback-bereich button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 200% 200%;
    color: #333;
    border: none;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.feedback-bereich button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);

}
.feedback-bereich button:active {
    transform: scale(0.95);
}
.ki-bereich button {
    background: linear-gradient(135deg,
    #ff6b6b 0%,
    #ee5a6f 14%,
    #c44569 28%,
    #a83279 42%,
    #6c5ce7 56%,
    #0984e3 70%,
    #00b894 84%,
    #fdcb6e 100%);
    background-size: 200% 200%;
    color: #333;
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
    animation: rainbowShift 4s ease infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
@keyframes rainbowShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }

}
.ki-bereich button:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 6px 35px rgba(108, 92, 231, 0.7);
}
.ki-bereich button:active {
    transform: scale(0.95) rotate(0deg);
}
.feedback-bereich,
.ki-bereich {
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}
.feedback-bereich:hover,
.ki-bereich:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(100, 200, 255, 0.2);
}
#tipp-bereich {
    text-align: center;
    padding: 40px;
    background: var(--bg-tipp-bereich);
    border-radius: 20px;
    margin: 60px 0;
    border: 2px solid rgba(100, 200, 255, 0.3);
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.15);
    width: 100%;
    max-width: none;
    text-align: center;
}
#tipp-bereich h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}
#tipp-bereich p {
    font-size: 1.1rem;
    color: #111
}
footer {
    background: var(--bg-nav);
    padding: 40px 20px;
    margin-top: 80px;
    border-top: 2px solid rgba(255, 255, 255, 0.093);
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}
footer ul {
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    box-sizing: border-box;
}
footer li {
    transition: all 0.3s ease;
}
footer a {
    color: var(--bg-nav-a);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 8px;
    display: inline-block;
}
footer a:hover {
    color: #000;
    background: var(--bg-nav-hover-background);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(100, 200, 255, 0.3);
}
.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 20px;
}
.login-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.login-box h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}
.login-box p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 30px;
}
.input-gruppe {
    margin-bottom: 25px;
}
.input-gruppe label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.input-gruppe input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.input-gruppe input::placeholder {
    color: rgba(255, 255, 255, 0.6)
}
.input-gruppe input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    user-select: none;
}
.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.checkbox:hover input ~ .checkmark{
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}
.checkmark::after {
    content: "✓";
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #00ff88;
    font-size: 14px;
    font-weight: bold;
}
.checkbox input:checked ~ .checkmark::after {
    display: block;
}
.forgot-password {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.forgot-password:hover {
    color: #fff;
    text-decoration: underline;
}
.login-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    color: #fff;
    animation: gradientShift 3s ease infinite;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.5);
}
.login-submit:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 30px #301934;
    background: linear-gradient(135deg,#c77dff 0%, #b980ff);
}
.login-submit:active {
    transform: translateY(0);
}
.register-link {
    text-align: center;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}
.register-link a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.register-link a:hover {
    text-decoration: underline;
}
.h1, h2 {
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5), 0 0 40px rgba(100, 200, 255, 0.3);
    background: var(--bg-h1-h2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.news-section {
    max-width: none;
    margin: 60px 0;
    text-align: center;
    padding: 40px 20px 120px 20px;
}
.news-section h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}
.news-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.filter-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 40px;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.3);
    transform: translateY(-2px);
}
.filter-btn:active {
    background: rgba(100, 200, 255, 0.3);
    border-color: rgba(100, 200, 255, 0.8);
    box-shadow: 0 0 30px rgba(100, 200, 255, 0.4);
}
.news-search {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.news-search input {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--bg-feedback-ki-bereich-input);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}
.news-search input::placeholder {
    color: var(--bg-input-placeholder);
}
.news-search input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.4);
}
.news-search button {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.news-search button:hover {
    transform: scale(1.08);
    border-color: rgba(100, 200, 255, 0.5);
    box-shadow: 0 6px 25px rgba(100, 200, 255, 0.3);
}
.top-news-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    column-gap: 30px;
    row-gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.news-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
}
.news-content {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    pointer-events: none;
    margin-top: 20px;
}
.news-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.news-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: 0 8px 40px rgba(100, 200, 255, 0.4);
    transform: translateY(-5px);
}
.news-card:hover h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.news-card:hover .news-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.facts-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}
.facts-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }
}
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
.fakten-section {
    max-width: none;
    margin: 60px 0;
    padding: 40px 20px;
}
.fakten-section h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}
.fakten-search {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.fakten-search input {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--bg-feedback-ki-bereich-input);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}
.fakten-search input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: rgba(100, 200, 255, 0.4);
}
.fakten-search button {
    background: linear-gradient(135deg, #1a1a11 0%, #2d2d2d 100%);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.fakten-search button:hover {
    transform: scale(1.08);
    border-color: rgba(100, 200, 255, 0.5);
    box-shadow: 0 6px 25px rgba(100, 200, 255, 0.3);
}
.fakten-liste {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
}
.fakten-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    min-height: 220px;
    margin-bottom: 10px;
}
.fakten-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(100, 200, 255, 0.4);
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.2);
    transform: translateX(5px);
}
.fakten-info {
    flex: 1;
}
.fakten-info h3 {
    color: var(--bg-fakten-info-h3);
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
}
.fakten-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}
.fakten-beschreibung {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.fakten-quelle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}
.fakten-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}
.fakten-buttons a {
    text-decoration: none;
    flex: 1;
}
.open-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    border: none;
    border-radius: 12px;
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}
.open-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
.open-btn:active {
    transform: scale(1.02);
}
.download-btn {
    width: 100%;
    background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    color: #1a202c;
    border: none;
    border-radius: 12px;
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
    position: relative;
    overflow: hidden;
}
.download-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    animation: shine 3s infinite;
}
@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(100%) rotate(45deg);
    }
}
.download-btn svg {
    transition: transform 0.3s ease;
}
.download-btn:hover svg {
    transform: translateY(3px);
    animation: bounce 0.6s infinite;
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(3px);
    }
    50% {
        transform: translateY(6px);
    }
}

.download-btn:active {
    transform: scale(1.02);
}
@media (max-width: 768px) {
    .fakten-item {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}
.suche-main {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}
.suche-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}
.suche-title {
    font-size: 3rem;
    color: var(--bg-seitenüberschriften);
    margin-bottom: 36px;
    text-shadow: 0 0 30px rgba(100, 200, 255, 0.6);
    letter-spacing: 2px;
    font-weight: 700;
}
.suche-box {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(100, 200, 255, 0.2);
}
.suche-box:hover {
    border-color: rgba(100, 200, 255, 0.8);
    box-shadow: 0 0 40px rgba(100, 200, 255, 0.5);
}
.suche-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 30px;
    color: #fff;
    font-size: 1.2rem;
    outline: none;
}
.suche-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.suche-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6);
}
.suche-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}
.suche-btn:active {
    transform: scale(0.98);
}
.meist-gesucht {
    margin-top: 80px;
}
.meist-gesucht h2 {
    color: var(--bg-seitenüberschriften);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 500;
}
.themen-chips {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.chip {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    text-align: center;
    display: inline-block;
}
.chip:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(100, 200, 255, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(100, 200, 255, 0.4);
    color: #fff;
}
.chip:active {
    transform: translateY(-1px) scale(1.02);
}

@media (max-width: 768px) {
    .suche-title {
        font-size: 2.5rem;
    }

    .suche-box {
        flex-direction: column;
        border-radius: 20px;
    }

    .suche-btn {
        width: 100%;
    }

    .themen-chips {
        flex-direction: column;
        align-items: center;
    }

    .chip {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
.aktuell-section {
    max-width: none;
    margin: 60px 0;
    padding: 40px 20px;
}
.aktuell-section h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}
.aktuell-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}
.aktuell-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.aktuell-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: 0 12px 50px rgba(100, 200, 255, 0.4);
    transform: translateY(-8px) scale(1.02);
}
.aktuell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.datum {
    color: #1a202c;
    font-size: 0.9rem;
    font-weight: 500;
}
.kategorie {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.aktuell-card h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}
.aktuell-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}
.mehr-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    color: #1a202c;
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}
.mehr-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, #00d4aa 0%, #00ff88 100%);
}
.mehr-btn:active {
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .aktuell-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .aktuell-card {
        padding: 30px;
        min-height: 280px;
    }

    .aktuell-card h2 {
        font-size: 1.5rem;
    }

    .aktuell-card p {
        font-size: 1rem;
    }
}
.über-section {
    max-width: none;
    margin: 60px 0;
    padding: 40px 20px;
    min-height: 60vh
}
.über-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(100, 200, 255, 0.2);
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 8px 32px rgba(100, 200, 255, 0.2);
}
.über-container h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}
.über-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}
.über-content p:last-child {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .über-container {
        padding: 40px 30px;
    }

    .über-container h1 {
        font-size: 2.5rem;
    }

    .über-content p {
        font-size: 1.05rem;
        text-align: left;
    }
}
.kontakt-section {
    max-width: none;
    margin: 60px 0;
    padding: 40px 20px;
    min-height: 70vh;
}
.kontakt-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 8px 32px rgba(100, 200, 255, 0.2);
}
.kontakt-container h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}
.kontakt-intro {
    text-align: center;
    color: var(--bg-kontakt-intro);
    font-size: 1.1rem;
    margin-bottom: 50px;
}
.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-gruppe {
    display: flex;
    flex-direction: column
}
.form-gruppe label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}
.form-gruppe input,
.form-gruppe textarea {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--bg-feedback-ki-bereich-input);
    font-size: 1rem;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
}
.form-gruppe input::placeholder,
.form-gruppe textarea::placeholder {
    color: var(--bg-input-placeholder);
}
.form-gruppe input:focus,
.form-gruppe textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.4);
}
.kontakt-submit {
    background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    color: #1a202c;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}
.kontakt-submit:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, #00d4aa 0%, #00ff88 100%);
}
.kontakt-submit:active {
    transform: scale(1.02);
}
@media (max-width: 768px) {
    .kontakt-container {
        padding: 40px 30px;
    }

    .kontakt-container h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
.einsenden-section {
    max-width: none;
    margin: 60px 0;
    padding: 40px 20px;
    min-height: 70vh;
}
.einsenden-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 8px 32px rgba(100, 200, 255, 0.2);
}
.einsenden-container h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}
.einsenden-intro {
    text-align: center;
    color: var(--bg-kontakt-intro);
    font-size: 1.1rem;
    margin-bottom: 50px;
}
.einsenden-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-gruppe select {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: #c0c0c0;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}
.form-gruppe select option {
    background: #1a202c;
    color: #fff;
}
.form-gruppe select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.4);
}
.file-upload {
    position: relative;
}
.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.file-label svg {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}
.file-label span:first-of-type {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}
.file-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}
.file-label:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.3);
}
.file-label:hover svg {
    color: #00ff88;
    transform: translateY(-3px);
}
.file-upload input[type="file"]:focus + .file-label {
    border-color: rgba(100, 200, 255, 0.8);
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.4);
}
.einsenden-submit {
    background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    color: #1a202c;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}
.einsenden-submit:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 30px  rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, #00d4aa 0%, #00ff88 100%);
}
.einsenden-submit:active {
    transform: scale(1.02);
}
@media (max-width: 768px) {
    .einsenden-container {
        padding: 40px 30px;
    }

    .einsenden-container h1 {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
.ki-section {
    max-width: none;
    margin: 60px 0;
    padding: 40px 20px;
    min-height: 75vh;
}
.ki-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 75vh;
}
.ki-container h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}
.chat-window {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    overflow-y: auto;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(100, 200, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.chat-window::-webkit-scrollbar {
    width: 8px;
}
.chat-window::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.chat-window::-webkit-scrollbar-thumb {
    background: rgba(100, 200, 255, 0.3);
    border-radius: 10px;
}
.chat-window::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 200, 255, 0.5);
}
.chat-message {
    display: flex;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-content {
    max-width: 70%;
    padding: 15px 20px;
    border-radius: 15px;
    line-height: 1.6;
    font-size: 1rem;
}
.ki-message {
    justify-content: flex-start;
}
.ki-message .message-content {
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.4);
    color: #fff;
}
.user-message {
    justify-content: flex-end;
}
.user-message .message-content {
    background: rgba(0, 255, 136, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 136, 0.4);
    color: #fff;
}
.chat-input-container {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 10px;
    transition: all 0.3s ease;
}
.chat-input-container:focus-within {
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: 0 0 30px rgba(100, 200, 255, 0.4);
}
.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: #fff;
    font-size: 1.05rem;
    outline: none;
}
.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.chat-send-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}
.chat-send-btn svg {
    color: #1a202c;
}
.chat-send-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.5);
}
.chat-send-btn:active {
    transform: scale(1.05) rotate(0deg);
}
@media (max-width: 768px) {
    .ki-container {
        height: 70vh;
    }

    .ki-container h1 {
        font-size: 2.5rem;
    }

    .message-content {
        max-width: 85%;
    }

    .chat-input {
        font-size: 1rem;
        padding: 12px 20px;
    }
}
/* ===== KI CHAT — MOBILE OPTIMIERUNG ===== */
@media (max-width: 768px) {
    .ki-section {
        padding: 20px 12px 0;
        margin: 30px 0 0;
    }

    .ki-container {
        height: calc(100vh - 160px); /* Platz für Header + Bottom Nav */
        max-height: none;
        padding-bottom: 0;
    }

    .ki-container h1 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .chat-window {
        flex: 1;
        padding: 18px 14px;
        border-radius: 16px;
        margin-bottom: 12px;
        /* Scrollbar auf Mobile ausblenden */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .chat-window::-webkit-scrollbar {
        display: none;
    }

    .message-content {
        max-width: 88%;
        padding: 12px 16px;
        font-size: 0.97rem;
    }

    /* ── Sticky Input-Container ── */
    .chat-input-container {
        position: sticky;
        bottom: calc(70px + env(safe-area-inset-bottom)); /* über Mobile-Nav */
        left: 0;
        right: 0;
        z-index: 100;
        padding: 6px 8px;
        border-radius: 20px;
        gap: 10px;
        background: rgba(40, 40, 40, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
        margin-bottom: 12px;
    }

    .chat-input {
        padding: 12px 16px;
        font-size: 1rem;
        /* Verhindert iOS Zoom beim Fokus */
        font-size: max(1rem, 16px);
    }

    /* ── Send-Button: größeres Touch-Target ── */
    .chat-send-btn {
        width: 46px;
        height: 46px;
        min-width: 46px; /* verhindert Schrumpfen */
        border-radius: 50%;
        flex-shrink: 0;
        box-shadow: 0 3px 14px rgba(0, 255, 136, 0.45);
    }

    .chat-send-btn svg {
        width: 20px;
        height: 20px;
    }

    .message-content {
        padding-bottom: 32px;
    }

    /* ── Limit-Hinweis kompakter ── */
    .ki-limit-hinweis {
        font-size: 0.78rem;
        padding: 6px 12px;
        margin-bottom: 8px;
    }
}
    /* ===== KI HINWEIS (Fehler-Disclaimer) ===== */
.ki-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 14px;
    line-height: 1.5;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="light"] .ki-disclaimer {
    color: rgba(26, 26, 26, 0.45);
}

/* ===== KOPIER-BUTTON in Chat-Nachrichten ===== */
.message-content {
    position: relative;
    padding-bottom: 34px; /* Platz für den Button schaffen */
}

.msg-copy-btn {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
    padding: 0;
}

.msg-copy-btn:hover {
    background: rgba(100, 200, 255, 0.15);
    border-color: rgba(100, 200, 255, 0.4);
    color: #a8daff;
    transform: scale(1.08);
}

.msg-copy-btn.kopiert {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.4);
    color: #6ee29c;
}

.msg-copy-btn svg {
    width: 13px;
    height: 13px;
    pointer-events: none;
}

/* User-Nachrichten: Button etwas anders einfärben (auf grünem Hintergrund) */
.user-message .msg-copy-btn {
    background: rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .message-content {
        padding-bottom: 32px;
    }
    .msg-copy-btn {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 380px) {
    .ki-container h1 {
        font-size: 1.7rem;
    }

    .chat-input {
        padding: 10px 12px;
    }

    .chat-send-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
}
.über-content h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 200, 255, 0.3);
}
.über-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.coming-soon {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 60px 20px;
}
.coming-soon-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 80px 60px;
    box-shadow: 0 8px 32px rgba(100, 200, 255, 0.2);
}
.coming-soon-content h1 {
    font-size: 4rem;
    color: var(--bg-seitenüberschriften);
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(100, 200, 255, 0.6);
    letter-spacing: 3px;
}
.coming-soon-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .coming-soon-content {
        padding: 60px 40px;
    }

    .coming-soon-content h1 {
        font-size: 2.5rem;
    }

    .coming-soon-content p {
        font-size: 1.1rem;
    }
}
@media (max-width: 1024px) {
    nav ul {
        gap: 25px;
        padding: 12px;
    }

    nav a {
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    header .logo h1 {
        font-size: 2rem;
    }

    header .logo p {
        font-size: 0.9rem;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 10px;
        justify-content: center;
    }

    nav a {
        font-size: 0.95rem;
        padding: 8px 15px;
    }

    .mission {
        padding: 30px 20px;
        margin: 40px 10px;
    }

    .mission h2 {
        font-size: 2rem;
    }

    .mission p {
        font-size: 1rem;
    }

    .themen-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, auto);
        column-gap: 20px;
        row-gap: 40px;
    }

    .feedback-ki-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ki-bereich h3 {
        text-align: left;
    }
}
@media (max-width: 480px) {
    header .logo h1 {
        font-size: 1.5rem;
    }

    header .logo p {
        font-size: 0.8rem;
    }

    header .login-btn button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    nav ul {
        gap: 10px;
        padding: 10px;
    }

    nav a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .mission h2 {
        font-size: 1.5rem;
    }

    .mission p {
        font-size: 0.95rem;
    }

    .mission input {
        font-size: 0.9rem;
        padding: 10px;
    }

    .mission button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .themen-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(12, auto);
        gap: 30px;
    }

    .themen h2 {
        font-size: 2rem;
    }

    #kein-treffer h2 {
        font-size: 1.8rem;
    }

    .feedback-bereich,
    .ki-bereich {
        padding: 25px 20px;
    }

    #tipp-bereich {
        padding: 30px 20px;
    }

    #tipp-bereich h2 {
        font-size: 1.5rem;
    }

    #tipp-bereich p {
        font-size: 1rem;
    }

    footer ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
@media (max-width: 360px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .fakten-item {
        padding: 25px 20px;
    }

    .fakten-buttons {
        flex-direction: column;
    }

    .fakten-buttons a {
        width: 100%;
    }
}
/* Abo Toggle Button */
.abo-toggle-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  border: none;
  border-radius: 12px;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}
.abo-toggle-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}
.abo-toggle-btn:active {
  transform: scale(1.02);
}

/* Abo Formular */
.abo-formular {
  margin-top: 30px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(100, 200, 255, 0.3);
  animation: slideDown 0.4s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.abo-formular h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
}

/* Themen Checkboxen */
.themen-checkboxen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.1);
}
.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.checkbox-label input[type="checkbox"]:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
}
.checkbox-label input[type="checkbox"]:checked {
  background: rgba(102, 126, 234, 0.8);
  border-color: rgba(102, 126, 234, 0.9);
}
.checkbox-label input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}
.checkbox-label span {
  font-size: 1rem;
  line-height: 1.4;
}

/* Sonstiges Feld */
.sonstiges-feld,
.email-feld {
  margin-bottom: 25px;
}
.sonstiges-feld label,
.email-feld label {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1rem;
}
.sonstiges-feld input,
.email-feld input {
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 15px 20px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.sonstiges-feld input::placeholder,
.email-feld input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.sonstiges-feld input:focus,
.email-feld input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 20px rgba(100, 200, 255, 0.4);
}

/* Submit Button */
.abo-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
  color: #1a202c;
  border: none;
  border-radius: 12px;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}
.abo-submit-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 255, 136, 0.5);
  background: linear-gradient(135deg, #00d4aa 0%, #00ff88 100%);
}
.abo-submit-btn:active {
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
  .themen-checkboxen {
    grid-template-columns: 1fr;
  }
  
  .abo-formular {
    padding: 30px 20px;
  }
}
.keine-ergebnisse {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 30px;
    animation: fadeIn 0.3s ease;
}
.keine-ergebnisse p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}
.keine-ergebnisse button {
    background: linear-gradient(135deg, #00ff88, #00d4aa);
    color: #1a202c;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.keine-ergebnisse button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== ABOS PAGE ===== */

/* Sektion */
.abos-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}
.abos-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--bg-seitenüberschriften);
}
.abos-intro {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 50px;
}

/* Karten Container */
.abos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

/* Einzelne Karte */
.abo-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--bg-abo-card);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.abo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(100,200,255,0.15);
    border-color: rgba(100,200,255,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);;
}
.abo-card.abo-featured {
    border: 2px solid rgba(102,126,234,0.6);
    background: var(--bg-abo-card-featured);
    box-shadow: 0 8px 40px rgba(100,200,255,0.15);
    transform: translateY(-10px) scale(1.03);
}
.abo-card.abo-featured:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 0 16px 40px rgba(102,126,234,0.4);
    border-color: rgba(102,126,234,0.8);
    background: rgba(102,126,234,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Header (Titel + Preis) */
.abo-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.abo-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-seitenüberschriften);
    margin-bottom: 6px;
    text-align: center;
    background: none;
    -webkit-text-fill-color: var(--bg-seitenüberschriften);
}
.preis {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 0;
}
.betrag {
    font-size: 2.2rem;
    font-weight: 800;
    color: #666;
}
.zeitraum {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
}
.badge {
    position: absolute;
    top: 8px;
    right: 9px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Beschreibung unter dem Preis */
.abo-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
    margin-bottom: 22px;
    line-height: 1.5;
    text-align: left;
}

/* Feature Kategorien */
.feature-gruppe {
    margin-bottom: 18px;
    text-align: left;
}
.feature-kategorie {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.feature-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.feature-liste li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    gap: 8px;
}
.feature-liste li.gesperrt {
    color: rgba(255,255,255,0.3);
}
.feature-liste li .feat-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Check-Icon */
.feat-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(102,234,150,0.2);
    border: 1.5px solid rgba(102,234,150,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    color: #6ee29c;
}

/* Dash-Icon (gesperrt) */
.feat-dash {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
}

/* Limit-Badge */
.limit-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 2px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.limit-badge.unbegrenzt {
    color: #6ee29c;
    background: rgba(102,234,150,0.1);
    border-color: rgba(102,234,150,0.3);
}

/* Trennlinie */
.feature-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 6px 0 18px 0;
}

/* Abo Button */
.abo-btn {
    width: 100%;
    background: rgba(28, 186, 33, 0.25);
    color: #333;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}
.abo-btn:hover {
    background: rgba(44, 213, 14, 0.903);
    transform: translateY(-3px);
}
.abo-btn-feature {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #555;
    box-shadow: 0 4px 20px rgba(102,126,234,0.4);
}
.abo-btn-feature:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 30px rgba(102,126,234,0.6);
}

/* Responsive */
@media (max-width: 900px) {
    .abos-container {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}
.preis-jaehrlich {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.jaehrlich-betrag {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary, #888);
}

.jaehrlich-label {
    font-size: 0.85rem;
    color: var(--text-secondary, #888);
}

.jaehrlich-hinweis {
    font-size: 0.75rem;
    background-color: var(--accent, #2ecc71);
    color: #555;
    padding: 2px 7px;
    border-radius: 20px;
    margin-left: 4px;
    font-weight: 600;
    white-space: nowrap;
}
.häufig-btn-wrapper {
    text-align: center;
    margin-top: 2.5rem;
}

.häufig-btn {
    display: inline-block;
    padding: 0.75rem 2.2rem;
    border: 2px solid var(--accent, #007bff);
    color: var(--accent, #007bff);
    background: transparent;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.5s ease
}

.häufig-btn:hover {
    background: var(--accent, #007bff8d);
    color: #555;
    box-shadow: 0 4px 18px rgba(0, 123, 255, 0.35);
}
/* ===== FAQ PAGE ===== */
        .faq-section {
            max-width: 860px;
            margin: 60px auto;
            padding: 0 20px;
        }
 
        .faq-section h1 {
            text-align: center;
            font-size: 2.8rem;
            margin-bottom: 12px;
            color: var(--bg-seitenüberschriften);
            text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
        }
 
        .faq-intro {
            text-align: center;
            color: rgba(255, 255, 255, 0.55);
            font-size: 1.05rem;
            margin-bottom: 50px;
        }
 
        /* Kategorie-Tabs */
        .faq-tabs {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }
 
        .faq-tab {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 30px;
            padding: 8px 22px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: Arial, sans-serif;
        }
 
        .faq-tab:hover {
            background: rgba(100, 200, 255, 0.15);
            border-color: rgba(100, 200, 255, 0.4);
            color: #a8daff;
        }
 
        .faq-tab.aktiv {
            background: rgba(102, 126, 234, 0.25);
            border-color: rgba(102, 126, 234, 0.6);
            color: #a8daff;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
        }
 
        /* Gruppen-Label */
        .faq-gruppe-label {
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 1.4px;
            color: rgba(255, 255, 255, 0.3);
            text-transform: uppercase;
            margin: 32px 0 14px 4px;
        }
 
        .faq-gruppe-label:first-child {
            margin-top: 0;
        }
 
        /* Accordion Karte */
        .faq-item {
            background: #2e2e2e;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            margin-bottom: 10px;
            overflow: hidden;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
 
        .faq-item.offen {
            border-color: rgba(102, 126, 234, 0.4);
            box-shadow: 0 6px 30px rgba(102, 126, 234, 0.12);
        }
 
        /* Frage (Kopf der Karte) */
        .faq-frage {
            width: 100%;
            background: transparent;
            border: none;
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            gap: 16px;
            font-family: Arial, sans-serif;
            text-align: left;
            color: var(--bg-faq-frage);
            font-size: 0.9rem;
        }
 
        .faq-frage-text {
            font-size: 1rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.88);
            line-height: 1.4;
            transition: color 0.3s ease;
        }
 
        .faq-item.offen .faq-frage-text {
            color: #a8daff;
        }
 
        .faq-icon {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            color: rgba(255, 255, 255, 0.5);
            font-size: 1rem;
        }
 
        .faq-item.offen .faq-icon {
            background: rgba(102, 126, 234, 0.25);
            border-color: rgba(102, 126, 234, 0.5);
            color: #a8daff;
            transform: rotate(45deg);
        }
 
        /* Antwort (ausgeklappt) */
        .faq-antwort-wrapper {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
 
        .faq-item.offen .faq-antwort-wrapper {
            max-height: 500px;
        }
 
        .faq-antwort {
            padding: 0 24px 22px 24px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            line-height: 1.75;
            border-top: 1px solid rgba(255, 255, 255, 0.07);
            padding-top: 18px;
        }
 
        .faq-antwort a {
            color: #a8daff;
            text-decoration: none;
            transition: color 0.2s ease;
        }
 
        .faq-antwort a:hover {
            color: #fff;
            text-decoration: underline;
        }
 
        /* Keine Ergebnisse */
        .faq-leer {
            text-align: center;
            padding: 60px 20px;
            color: rgba(255, 255, 255, 0.4);
            font-size: 1.05rem;
            display: none;
        }
 
        /* Responsive */
        @media (max-width: 600px) {
            .faq-section h1 {
                font-size: 2.2rem;
            }
 
            .faq-frage {
                padding: 16px 18px;
            }
 
            .faq-antwort {
                padding: 0 18px 18px 18px;
                padding-top: 16px;
            }
        }
.passwort-wra {
    align-items: center;
    justify-content: center;
    display: flex;
    min-height: 75vh;
}
.wrap {
  width: 100%;
  max-width: 560px;
  padding: 32px 16px;
  text-align: center;
  color: var(--bg-seitenüberschriften);
}
.sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.card {
  background: var(--bg-abo-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.output-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(102, 126, 234, 0.4);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

#pw-display {
  flex: 1;
  font-family: monospace;
  font-size: 1.15rem;
  color: #e0e0e0;
  word-break: break-all;
  min-height: 26px;
  letter-spacing: 1px;
}

.copy-btn {
  background: rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(102, 126, 234, 0.5);
  color: #a8daff;
  border-radius: 8px;
  padding: 7px 13px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s;
  white-space: nowrap;
  font-family: Arial, sans-serif;
}

.copy-btn:hover {
  background: rgba(102, 126, 234, 0.4);
  transform: scale(1.05);
}

.strength-bar {
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 6px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s, background0.4s;
}

.strength-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  margin-bottom: 18px;
}

.section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.length-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.length-row label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

#len-slider {
  flex: 1;
  accent-color: #667eea;
  cursor: pointer;
}

#len-val {
  background: rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(102, 126, 234, 0.4);
  border-radius: 8px;
  padding: 4px 10px;
  color: #a8daff;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 36px;
  text-align: center;
}

.toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.25s;
  user-select: none;
}

.toggle:hover {
  border-color: rgba(100, 200, 255, 0.35);
  background: rgba(100, 200, 255, 0.07);
}

.toggle.on {
  border-color: rgba(102, 126, 234, 0.55);
  background: rgba(102, 126, 234, 0.15);
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.15);
}

.toggle-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: all 0.25s;
  background: rgba(255, 255, 255, 0.05);
}

.toggle.on .toggle-dot {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: #764ba2;
  box-shadow: 0 0 8px rgba(118, 75, 162, 0.5);
}

.toggle-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.toggle.on .toggle-text {
  color: #c4b5fd;
}

.gen-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  font-family: Arial, sans-serif;
  margin-top: 4px;
}

.gen-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.gen-btn:active {
  transform: scale(0.98);
}

.copied-hint {
  text-align: center;
  font-size: 0.78rem;
  color: #6ee29c;
  height: 18px;
  transition: opacity 0.3s;
  opacity: 0;
  margin-top: 8px;
}
.pw-gen-btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #555;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  letter-spacing: 0.5px;
}

.pw-gen-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.pw-gen-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}
/* ===== ABO MODAL ===== */
.tni-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.tni-modal-box {
    background: #2e2e2e;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 20px;
    padding: 50px 40px 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.tni-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: Arial, sans-serif;
}

.tni-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.tni-modal-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.tni-modal-box h2 {
    color: #a8daff;
    font-size: 1.5rem;
    margin-bottom: 12px;
    background: none;
    -webkit-text-fill-color: #a8daff;
}

.tni-modal-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.tni-modal-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.tni-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.tni-modal-btn-sec {
    width: 100%;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.tni-modal-btn-sec:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Download gesperrt */
.download-gesperrt {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.download-gesperrt:hover {
    transform: none !important;
}

/* KI Limit Hinweis */
.ki-limit-hinweis {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
/* ===== CHECKOUT BANNER ===== */
.checkout-banner {
  border-radius: 16px;
  padding: 4px;
  margin-bottom: 30px;
  animation: fadeIn 0.4s ease;
}

.checkout-banner.success {
  background: linear-gradient(135deg, rgba(0,255,136,0.15), rgba(0,212,170,0.1));
  border: 2px solid rgba(0,255,136,0.4);
}

.checkout-banner.cancel {
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.2);
}

.checkout-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.checkout-banner-inner strong {
  color: #fff;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 4px;
}

.checkout-banner-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin: 0;
}

.checkout-banner-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.checkout-banner-inner > button {
  margin-left: auto;
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.6);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  font-family: Arial, sans-serif;
  transition: all 0.2s;
}

.checkout-banner-inner > button:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.interval-toggle {
  margin-top: auto;
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 4px;
}

.interval-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: Arial, sans-serif;
}

.interval-btn.active {
  background: rgba(102,126,234,0.35);
  color: #a8daff;
  border: 1px solid rgba(102,126,234,0.5);
}

.interval-btn:hover:not(.active) {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
}

/* ===== CHECKOUT BANNER UNTEN ===== */
.checkout-banner-fixed {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  min-width: 340px;
  max-width: 600px;
  width: 90%;
  border-radius: 16px;
  padding: 4px;
  animation: slideUpBanner 0.4s ease;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

@keyframes slideUpBanner {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.checkout-banner-fixed.success {
  background: linear-gradient(135deg, rgba(0,255,136,0.15), rgba(0,212,170,0.1));
  border: 2px solid rgba(0,255,136,0.4);
}

.checkout-banner-fixed.cancel {
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.2);
}

.checkout-banner-fixed.info {
  background: rgba(102,126,234,0.15);
  border: 2px solid rgba(102,126,234,0.4);
}

/* ===== ACCOUNT PAGE ===== */
.account-section {
    max-width: none;
    margin: 60px 0;
    padding: 40px 20px;
    min-height: 70vh;
}

.account-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.account-container h1 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
    margin-bottom: 10px;
}

.account-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px 35px;
    transition: all 0.3s ease;
}

.account-card:hover {
    border-color: rgba(100, 200, 255, 0.3);
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.1);
}

.account-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-card-icon {
    font-size: 1.5rem;
}

.account-card-header h2 {
    font-size: 1.3rem;
    color: var(--bg-seitenüberschriften);
    background: none;
    -webkit-text-fill-color: var(--bg-seitenüberschriften);
    margin: 0;
}

.account-info-zeile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-info-zeile:last-of-type {
    border-bottom: none;
}

.account-info-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.account-info-wert {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Abo Badge */
.abo-badge {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.abo-free    { background: rgba(255,255,255,0.1);  color: rgba(255,255,255,0.6); }
.abo-basic   { background: rgba(102,126,234,0.2);  color: #a8daff; border: 1px solid rgba(102,126,234,0.4); }
.abo-premium { background: rgba(118,75,162,0.25);  color: #d4a8ff; border: 1px solid rgba(118,75,162,0.5); }
.abo-pro     { background: rgba(0,255,136,0.15);   color: #6ee29c; border: 1px solid rgba(0,255,136,0.3); }

/* Buttons */
.account-btn-gruppe {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.account-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.account-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.account-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.account-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Danger Zone */
.account-danger-card {
    border-color: rgba(255, 80, 80, 0.25);
}

.account-danger-card:hover {
    border-color: rgba(255, 80, 80, 0.4);
    box-shadow: 0 4px 20px rgba(255, 80, 80, 0.1);
}

.account-danger-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.account-btn-danger {
    width: 100%;
    background: rgba(255, 60, 60, 0.15);
    color: var(--bg-account-btn-hover);
    border: 1px solid rgba(255, 60, 60, 0.4);
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.account-btn-danger:hover {
    background: rgba(255, 60, 60, 0.25);
    border-color: rgba(255, 60, 60, 0.7);
    color: var(--bg-account-btn-hover1);
    transform: translateY(-2px);
}

.account-btn-logout {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.account-btn-logout:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== ACCOUNT EDIT ===== */
.account-info-zeile {
    position: relative;
}

.account-edit-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
    line-height: 1;
    opacity: 0.5;
}

.account-edit-btn:hover {
    background: rgba(255,255,255,0.1);
    opacity: 1;
}

.account-inline-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.account-inline-input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.25s;
    font-family: Arial, sans-serif;
}

.account-inline-input:focus {
    border-color: rgba(100, 200, 255, 0.6);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 12px rgba(100,200,255,0.2);
}

.account-inline-input::placeholder {
    color: rgba(255,255,255,0.35);
}

.account-inline-save {
    background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    color: #1a202c;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.account-inline-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,255,136,0.4);
}

.account-inline-cancel {
    background: transparent;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.25s;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.account-inline-cancel:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* ===== INFO TOOLTIP ===== */
.info-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 6px;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.6);
    font-size: 0.65rem;
    font-weight: 700;
    font-style: normal;
    cursor: default;
    transition: all 0.2s;
    flex-shrink: 0;
}

.info-icon-light {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

.info-icon:hover {
    background: rgba(100,200,255,0.25);
    border-color: rgba(100,200,255,0.5);
    color: #a8daff;
}

.info-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e1e2e;
    border: 1px solid rgba(100,200,255,0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    white-space: normal;
    width: 230px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    text-align: left;
    font-weight: 400;
    letter-spacing: 0;
}

.info-tooltip-left {
    left: auto;
    right: 0;
    transform: none;
}

.info-tooltip-wrap:hover .info-tooltip {
    opacity: 1;
}

/* ===== KI CHAT ERWEITERUNGEN ===== */

/* Lade-Animation */
.ki-loader {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 18px 20px;
}

.ki-loader span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(168, 218, 255, 0.6);
    animation: kiPulse 1.2s infinite ease-in-out;
}

.ki-loader span:nth-child(2) { animation-delay: 0.2s; }
.ki-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes kiPulse {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Quellen Block */
.ki-quellen {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
}

.ki-quellen strong {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ki-quelle-link {
    display: block;
    color: #a8daff;
    text-decoration: none;
    padding: 8px 12px;
    background: rgba(100, 200, 255, 0.08);
    border: 1px solid rgba(100, 200, 255, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.ki-quelle-link:hover {
    background: rgba(100, 200, 255, 0.15);
    border-color: rgba(100, 200, 255, 0.4);
    transform: translateX(3px);
}

/* Demo Hinweis */
.ki-demo-hinweis {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(255, 200, 50, 0.1);
    border: 1px solid rgba(255, 200, 50, 0.3);
    border-radius: 8px;
    color: rgba(255, 200, 50, 0.8);
    font-size: 0.8rem;
}

/* Antwort Text */
.ki-antwort-text {
    line-height: 1.7;
}

/* ===== FILE UPLOAD — Dateiliste ===== */

.file-label.has-files {
    border-color: rgba(0, 255, 136, 0.45);
    background: rgba(0, 255, 136, 0.07);
}

.file-label.drag-over {
    border-color: rgba(100, 200, 255, 0.8);
    background: rgba(100, 200, 255, 0.1);
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.3);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color 0.25s ease;
    animation: fadeIn 0.25s ease;
}

.file-item:hover {
    border-color: rgba(100, 200, 255, 0.35);
}

.file-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.file-item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.file-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.file-item-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.file-item-meta {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
}

.file-item-error {
    color: #ff8080;
}

.file-item-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Fortschrittsbalken */
.file-progress-wrap {
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.file-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #667eea, #00ff88);
    border-radius: 4px;
    transition: width 0.12s linear;
}

.file-progress-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    min-width: 42px;
    text-align: right;
}

/* Entfernen-Button */
.file-remove-btn {
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid rgba(255, 80, 80, 0.3);
    color: rgba(255, 120, 120, 0.8);
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: Arial, sans-serif;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.file-remove-btn:hover {
    background: rgba(255, 80, 80, 0.3);
    border-color: rgba(255, 80, 80, 0.6);
    color: #ff8080;
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .file-progress-wrap { width: 60px; }
    .file-item-name     { max-width: 150px; }
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    /* Desktop Nav verstecken */
    nav {
        display: none;
    }

    /* Bottom Bar */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-nav);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 6px 12px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.65rem;
        font-weight: 600;
        min-width: 56px;
        background: transparent;
        border: none;
        font-family: Arial, sans-serif;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item.aktiv {
        color: #a8daff;
        background: rgba(100, 200, 255, 0.1);
    }

    .mobile-nav-item svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        transition: all 0.3s ease;
    }

    .mobile-nav-item.mehr-btn-nav {
        color: rgba(255, 255, 255, 0.5);
    }

    .mobile-nav-item.mehr-btn-nav.offen {
        color: #a8daff;
        background: rgba(102, 126, 234, 0.2);
    }

    /* Mehr Panel */
    .mobile-mehr-panel {
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--bg-nav);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 24px 24px 0 0;
        padding: 20px 20px calc(80px + env(safe-area-inset-bottom));
        transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
    }

    .mobile-mehr-panel.offen {
        bottom: 0;
    }

    .mobile-mehr-handle {
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 2px;
        margin: 0 auto 24px;
    }

    .mobile-mehr-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .mobile-mehr-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 16px 8px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.75);
        font-size: 0.75rem;
        font-weight: 600;
        text-align: center;
    }

    .mobile-mehr-item:hover {
        background: rgba(100, 200, 255, 0.12);
        border-color: rgba(100, 200, 255, 0.3);
        color: #a8daff;
        transform: translateY(-2px);
    }

    .mobile-mehr-item svg {
        width: 26px;
        height: 26px;
        stroke: currentColor;
    }

    .mobile-mehr-overlay {
        position: fixed;
        inset: 0;
        z-index: 998;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .mobile-mehr-overlay.offen {
        opacity: 1;
        pointer-events: all;
    }
}

/* ===== RESPONSIVE SUCHLEISTEN ===== */
@media (max-width: 768px) {
    .news-search,
    .fakten-search {
        flex-direction: column;
        align-items: center;
        max-width: 90%;
        gap: 10px;
    }

    .news-search input,
    .fakten-search input {
        width: 100%;
    }

    .news-search button,
    .fakten-search button {
        width: 100%;
        padding: 14px 20px;
    }
}

/* ===== TOOLS PAGE ===== */
.tools-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tool-card {
    background: var(--bg-tool-card);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    border-color: rgba(100, 200, 255, 0.35);
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.1);
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tool-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-icon-purple { background: rgba(102, 126, 234, 0.2); color: #a8daff; }
.tool-icon-amber  { background: rgba(239, 159, 39, 0.2);  color: #fac775; }
.tool-icon-teal   { background: rgba(29, 158, 117, 0.2);  color: #5DCAA5; }
.tool-icon-blue   { background: rgba(55, 138, 221, 0.2);  color: #85B7EB; }

.tool-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}

.tool-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}

.badge-free    { background: rgba(0,255,136,0.15);   color: #6ee29c; border: 1px solid rgba(0,255,136,0.3); }
.badge-basic   { background: rgba(55,138,221,0.15);  color: #85B7EB; border: 1px solid rgba(55,138,221,0.3); }
.badge-premium { background: rgba(102,126,234,0.15); color: #a8daff; border: 1px solid rgba(102,126,234,0.3); }

.tool-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.tool-features li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feat-check {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(102, 234, 150, 0.15);
    border: 1px solid rgba(102, 234, 150, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    color: #6ee29c;
}

.tool-btn {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: Arial, sans-serif;
    text-align: center;
}

.tool-btn:hover {
    background: rgba(100, 200, 255, 0.12);
    border-color: rgba(100, 200, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== ZUSAMMENFASSER ===== */
.zf-section {
    max-width: none;
    margin: 60px 0;
    padding: 40px 20px;
    min-height: 75vh;
}

.zf-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zf-container h1 {
    text-align: center;
    font-size: 3rem;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
    margin-bottom: 5px;
}

.zf-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.zf-limit-hinweis {
    display: none;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zf-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.3s ease;
}

.zf-card:hover {
    border-color: rgba(100, 200, 255, 0.25);
}

.zf-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

.zf-textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    resize: vertical;
    min-height: 220px;
    outline: none;
    transition: all 0.3s ease;
}

.zf-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.zf-textarea:focus {
    border-color: rgba(100, 200, 255, 0.5);
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.15);
}

.zf-zeichen-row {
    display: flex;
    justify-content: flex-end;
}

.zf-zeichen {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Länge Auswahl */
.zf-laenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.zf-laenge-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    font-family: Arial, sans-serif;
}

.zf-laenge-btn:hover {
    background: rgba(100, 200, 255, 0.08);
    border-color: rgba(100, 200, 255, 0.35);
}

.zf-laenge-btn.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.zf-laenge-titel {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.zf-laenge-btn.active .zf-laenge-titel {
    color: #a8daff;
}

.zf-laenge-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.zf-laenge-btn.active .zf-laenge-desc {
    color: rgba(168, 218, 255, 0.6);
}

/* Submit */
.zf-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.zf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.zf-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Output */
.zf-output-wrapper {
    animation: fadeIn 0.4s ease;
}

.zf-output-card {
    border-color: rgba(0, 255, 136, 0.25);
}

.zf-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zf-copy-btn {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    padding: 7px 14px;
    color: #6ee29c;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: Arial, sans-serif;
}

.zf-copy-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.04);
}

.zf-output-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.75;
}

.zf-output-text p {
    margin: 0 0 14px;
}

.zf-output-text p:last-child {
    margin-bottom: 0;
}

.zf-demo-hinweis {
    margin-top: 14px;
    padding: 8px 14px;
    background: rgba(255, 200, 50, 0.1);
    border: 1px solid rgba(255, 200, 50, 0.3);
    border-radius: 8px;
    color: rgba(255, 200, 50, 0.8);
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .zf-laenge-grid {
        grid-template-columns: 1fr;
    }

    .zf-container h1 {
        font-size: 2.5rem;
    }

    .zf-card {
        padding: 22px 20px;
    }
}

/* ===== CHANGELOG PAGE ===== */
.changelog-section {
    max-width: none;
    margin: 60px 0;
    padding: 40px 20px;
    min-height: 70vh;
}

.changelog-container {
    max-width: 780px;
    margin: 0 auto;
}

.changelog-container h1 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 12px;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}

.changelog-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05rem;
    margin-bottom: 60px;
}

/* Timeline Wrapper */
.changelog-timeline {
    position: relative;
    padding-left: 40px;
}

/* Durchgehende vertikale Linie */
.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(102, 126, 234, 0.8),
        rgba(118, 75, 162, 0.4),
        rgba(255, 255, 255, 0.08)
    );
    border-radius: 2px;
}

/* Einzelner Eintrag */
.cl-eintrag {
    position: relative;
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    animation: fadeIn 0.4s ease;
}

.cl-eintrag:last-child {
    margin-bottom: 0;
}

/* Punkt + Linie Spalte */
.cl-punkt-wrap {
    position: absolute;
    left: -40px;
    top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

/* Punkt auf der Linie */
.cl-punkt {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2e2e2e;
    border: 2px solid rgba(102, 126, 234, 0.5);
    flex-shrink: 0;
    z-index: 1;
    transition: all 0.3s ease;
    position: relative;
}

.cl-eintrag:hover .cl-punkt {
    border-color: rgba(102, 126, 234, 0.9);
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.4);
}

/* Neuester Punkt — pulsierend */
.cl-punkt-neu {
    width: 18px;
    height: 18px;
    border-color: rgba(0, 255, 136, 0.8);
    background: rgba(0, 255, 136, 0.15);
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.4);
}

.cl-punkt-inner {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 136, 0.3);
    animation: clPulse 2s infinite ease-out;
}

@keyframes clPulse {
    0%   { transform: scale(0.8); opacity: 0.8; }
    70%  { transform: scale(1.5); opacity: 0;   }
    100% { transform: scale(0.8); opacity: 0;   }
}

/* Card */
.cl-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.cl-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(100, 200, 255, 0.3);
    box-shadow: 0 6px 30px rgba(100, 200, 255, 0.1);
    transform: translateX(4px);
}

.cl-eintrag-neu .cl-card {
    border-color: rgba(0, 255, 136, 0.25);
    background: rgba(0, 255, 136, 0.05);
}

.cl-eintrag-neu .cl-card:hover {
    border-color: rgba(0, 255, 136, 0.45);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.12);
}

/* Card Header */
.cl-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.cl-version-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cl-version {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(168, 218, 255, 0.9);
    font-family: monospace;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 3px 10px;
    letter-spacing: 0.5px;
}

.cl-neu-badge {
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: #6ee29c;
    border-radius: 20px;
    padding: 2px 10px;
    animation: fadeIn 0.5s ease;
}

.cl-datum {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Titel */
.cl-titel {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Kategorie-Tags */
.cl-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cl-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Änderungsliste */
.cl-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 14px;
}

.cl-liste li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.cl-liste li::before {
    content: '→';
    color: rgba(102, 126, 234, 0.6);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Responsive */
@media (max-width: 600px) {
    .changelog-timeline {
        padding-left: 30px;
    }

    .cl-punkt-wrap {
        left: -30px;
    }

    .cl-card {
        padding: 20px 18px;
    }

    .changelog-container h1 {
        font-size: 2.2rem;
    }
}

/* ===== CHANGELOG HEADER BUTTON ===== */
.changelog-btn button {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.changelog-btn button:hover {
    background: rgba(100, 200, 255, 0.15);
    border-color: rgba(100, 200, 255, 0.4);
    color: #a8daff;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 200, 255, 0.2);
}

/* "Neu"-Dot auf dem Button */
.changelog-btn button.hat-neu::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    animation: clPulse 2s infinite ease-out;
}

.ki-zitat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #a8daff;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    margin: 0 3px;
    vertical-align: super;
    transition: transform 0.2s;
}
.ki-zitat-link:hover {
    transform: scale(1.1);
    background-color: #7abaff;
}

/* KI Layout mit Sidebar */
.ki-layout-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;
    height: calc(100vh - 120px); /* Passe die Höhe ggf. an deinen Header an */
}

/* Sidebar Styling */
.ki-sidebar {
    width: 280px;
    background: var(--bg-card, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 15px;
    flex-shrink: 0;
    /* NEU & ANGEPASST: */
    align-self: flex-start; /* Verhindert das lästige Mitwachsen! */
    position: sticky;       /* Lässt die Sidebar beim Scrollen stehen */
    top: 20px;              /* Abstand zum oberen Bildschirmrand */
    max-height: calc(100vh - 40px); /* Sidebar wird nie höher als der Screen */
    overflow-y: auto;       /* Eigener Scrollbalken nur für den Chat-Verlauf */
}

.new-chat-btn {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
}

.new-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

.history-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-left: 5px;
}

.chat-history-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chat-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: 0.2s;
    border: 1px solid transparent;
}

.chat-history-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.chat-history-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.chat-history-item.active {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: #fff;
}

.delete-chat-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    opacity: 0; /* Nur bei Hover sichtbar */
    transition: 0.2s;
}

.chat-history-item:hover .delete-chat-btn {
    opacity: 1;
}

.delete-chat-btn:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

/* Mobile Toggle Button */
.mobile-sidebar-toggle {
    display: none;
    background: var(--bg-card, rgba(255,255,255,0.05));
    border: 1px solid var(--border-color, rgba(255,255,255,0.1));
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 0 20px 10px 20px;
    cursor: pointer;
    font-weight: 500;
}

/* Haupt-Chat-Bereich Anpassung */
.ki-container {
    flex-grow: 1;
    margin: 0; /* Überschreibt das alte margin: 0 auto */
    max-width: none;
    display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
    .ki-layout-wrapper {
        flex-direction: column;
        height: auto;
    }
    .mobile-sidebar-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .ki-sidebar {
        display: none; /* Auf Handy erst versteckt */
        width: 100%;
        max-height: 300px;
        margin: 0 20px;
        width: auto;
    }
    .ki-sidebar.open {
        display: flex;
    }
}

/* ===== SIDEBAR & FILTER LAYOUT ===== */
.page-layout-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    padding: 0 20px;
    align-items: flex-start;
}

.filter-sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 25px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.filter-sidebar h3 {
    color: var(--bg-seitenüberschriften);
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

/* Wrapper für Responsive Layout der Filter-Inputs */
.filter-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-group label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-sidebar input,
.filter-sidebar select {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.filter-sidebar select option {
    background: #282828;
    color: #fff;
}

.filter-sidebar input:focus,
.filter-sidebar select:focus {
    border-color: #00ff88;
}

.sidebar-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 5px;
}

.sidebar-btn:hover {
    background: rgba(255, 80, 80, 0.8);
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* Mobile Optimierung: Sidebar wird zum Grid über den Inhalten */
@media (max-width: 900px) {
    .page-layout-wrapper {
        flex-direction: column;
    }
    .filter-sidebar {
        width: 100%;
        position: static;
        padding: 15px;
    }
    .filter-sidebar h3 {
        margin-bottom: 15px;
    }
    .filter-sidebar-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        align-items: end;
    }
    .sidebar-btn {
        height: 42px; /* Gleiche Höhe wie die Inputs auf Mobile */
        margin-top: 0;
    }
}

/* ===== FAKTEN KACHELN KOMPAKTER MACHEN ===== */
.fakten-liste {
    gap: 12px !important; /* Vorher 30px - zieht die Karten eng zusammen */
}

.fakten-item {
    margin-bottom: 0 !important; /* Entfernt den doppelten Abstand */
    padding: 20px 30px !important; /* Etwas weniger Innenabstand */
    min-height: 150px !important; /* Verhindert, dass leere Karten unnötig hoch werden */
}

/* ===== LADEANIMATION & FEEDBACK FAKTEN ===== */
.tni-loader {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: #00ff88;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 60px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fakten-feedback {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 25px;
    display: none; /* Standardmäßig versteckt, wird via JS gezeigt */
}

.fakten-feedback strong {
    color: #00ff88;
    font-size: 1.15rem;
}

/* ===== PERFORMANCE BOOST FAKTEN-SEITE (ANTI-RUCKEL-FIX) ===== */

.fakten-item {
    /* GAMECHANGER: Rendert nur Kacheln, die im sichtbaren Bereich sind */
    content-visibility: auto;
    contain-intrinsic-size: 150px; /* Sagt dem Browser, wie hoch die Kachel ungefähr ist */
    
    /* PERFORMANCE: Wir verbieten 'transition: all', da das den Browser extrem stresst. 
       Wir animieren nur das, was sich beim Hovern wirklich bewegt. */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease !important;
}

/* Optimierung der Navbar, damit sie beim Hovern nicht den gesamten Bildschirm-Layer neu berechnet */
nav a {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease !important;
    will-change: transform; /* Sagt der GPU, dass sie sich bereithalten soll */
}

/* Falls es auf älteren PCs immer noch leicht ruckelt, kannst du bei den tausenden Fakten-Items 
   den teuren Blur-Effekt abschalten, indem du die unteren Kommentare entfernst: */

/*
.fakten-item {
    backdrop-filter: none !important;
}
*/

/* ===== FACTSCAN DASHBOARD ===== */
.fs-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fs-title {
    text-align: center;
    font-size: 3rem;
    color: var(--bg-seitenüberschriften);
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}

.fs-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.fs-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fs-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

.fs-char-count-row {
    display: flex;
    justify-content: flex-end;
}

.fs-char-count {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.fs-limit-hinweis {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    display: none;
}

/* Dashboard Layout */
.fs-dashboard {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .fs-dashboard {
        grid-template-columns: 1fr;
    }
    .fs-title {
        font-size: 2.5rem;
    }
}

/* Output Fazit */
.fs-fazit {
    text-align: center;
    color: #a8daff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Donut Chart (SVG) */
.fs-score-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fs-score-box p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 10px;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 150px;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}

.percentage {
    fill: #fff;
    font-family: sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: bold;
}

[data-theme='light'] .percentage {
    fill: #1a1a1a;
}

.score-good { stroke: #00ff88; }
.score-warning { stroke: #fac775; }
.score-bad { stroke: #ff8080; }

/* Kriterien Grid */
.fs-kriterien-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.fs-kriterium {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid transparent;
}

.fs-krit-good { border-left-color: #00ff88; }
.fs-krit-warning { border-left-color: #fac775; }
.fs-krit-bad { border-left-color: #ff8080; }

.fs-krit-icon {
    font-size: 1.2rem;
    font-weight: bold;
    width: 25px;
    text-align: center;
}

.fs-krit-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #a8daff;
}

.fs-krit-title span {
    font-size: 0.8rem;
    opacity: 0.5;
}

.fs-krit-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* --- SCHWEBENDE KI NEWS LEISTE --- */
.ki-floating-bar {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 850px;
    background: rgba(20, 20, 20, 0.85); /* Eleganter Dark Mode Hintergrund */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

/* Anpassung für Light Theme */
[data-theme='light'] .ki-floating-bar {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 200, 100, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ki-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- Custom Dropdown Styling (Neu) --- */
.ki-scope-dropdown {
    -webkit-appearance: none; /* Schaltet das hässliche Windows/Mac Design ab */
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 8px;
    padding: 10px 35px 10px 15px; /* Platz rechts für den eigenen Pfeil */
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
    
    /* Eigener, cleaner Dropdown-Pfeil in TNI-Grün (#00ff88) */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2300ff88%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.ki-scope-dropdown:focus, .ki-scope-dropdown:hover {
    border-color: #00ff88;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

/* Style für die aufgeklappten Optionen */
.ki-scope-dropdown option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

/* Anpassung für Light Theme */
[data-theme='light'] .ki-scope-dropdown {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    /* Dunkler Pfeil für Light Mode */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
}

[data-theme='light'] .ki-scope-dropdown:focus, [data-theme='light'] .ki-scope-dropdown:hover {
    border-color: #00cc6a;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 200, 100, 0.1);
}

[data-theme='light'] .ki-scope-dropdown option {
    background-color: #ffffff;
    color: #000000;
}

.ki-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-color, #fff);
    font-size: 1rem;
    outline: none;
    padding: 5px;
}

[data-theme='light'] .ki-input-wrapper input {
    color: #000;
}

.ki-input-wrapper button {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.ki-input-wrapper button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.ki-input-wrapper button:disabled {
    background: #555;
    color: #aaa;
    cursor: not-allowed;
    transform: none;
}

/* Ergebnis-Container (Poppt nach oben auf) */
#ki-news-result-container {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 40vh; /* Verhindert, dass es zu groß wird */
    overflow-y: auto;
}

[data-theme='light'] #ki-news-result-container {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.ki-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
    font-weight: bold;
    color: #00ff88;
}

[data-theme='light'] .ki-result-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#ki-close-result {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
}

#ki-close-result:hover {
    opacity: 1;
}

#ki-news-result-content {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

[data-theme='light'] #ki-news-result-content {
    color: #333;
}

#ki-news-loading {
    margin-top: 10px;
    color: #00ff88;
    font-size: 0.9rem;
    text-align: center;
    animation: pulse 1.5s infinite;
}

/* ===== MOBILE OPTIMIERUNG: KI-Newsleiste schlanker machen ===== */
@media (max-width: 600px) {
    /* 1. Die Leiste selbst dünner machen (weniger Innenabstand) */
    .ki-floating-bar {
        padding: 10px 12px;
        border-radius: 14px;
    }

    /* 2. Elemente in zwei Zeilen erlauben, aber den Abstand dazwischen verringern */
    .ki-input-wrapper {
        flex-wrap: wrap; 
        gap: 8px; /* Vorher 10-12px */
    }
    
    /* 3. Dropdown schmaler und Text etwas kleiner */
    .ki-scope-dropdown {
        width: 100%; 
        flex: 1 1 100%;
        padding: 8px 30px 8px 12px; /* Weniger Höhe */
        font-size: 0.9rem;
        background-position: right 8px center;
        background-size: 14px; /* Pfeil etwas kleiner */
    }
    
    /* 4. Input-Feld (Texteingabe) kompakter */
    .ki-input-wrapper input {
        flex: 1 1 auto;
        min-width: 0; 
        padding: 6px 8px; /* Weniger Höhe */
        font-size: 0.9rem;
    }
    
    /* 5. Button kompakter */
    .ki-input-wrapper button {
        flex-shrink: 0; 
        padding: 8px 16px; /* Weniger Höhe */
        font-size: 0.9rem;
    }

    /* 6. Auch das Ergebnis-Fenster etwas straffen, wenn es aufploppt */
    #ki-news-result-container {
        padding: 12px;
        margin-bottom: 10px;
    }

    .ki-result-header {
        margin-bottom: 8px;
        padding-bottom: 6px;
        font-size: 0.9rem;
    }
}

/* Spezifisches CSS für die Debatte (angepasst an das KI-Sidebar Layout) */
.debatte-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}
.debatte-setup {
    background: var(--bg-card, #1e1e2e);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color, #333);
}
.debatte-input-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.debatte-input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #444);
    background: var(--bg-input, #2a2a3c);
    color: var(--text-color, #fff);
    font-size: 1rem;
}
.start-btn {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.start-btn:hover:not(:disabled) { background: #00cc6a; }
.start-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.arena {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 120px;
}

/* Bot Styling */
.bot-msg {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.4s ease forwards;
    max-width: 85%;
}
.bot-name {
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bot-pro {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    align-self: flex-start;
}
.bot-pro .bot-name { color: #00ff88; }

.bot-contra {
    background: rgba(255, 68, 68, 0.05);
    border: 1px solid rgba(255, 68, 68, 0.3);
    align-self: flex-end;
}
.bot-contra .bot-name { color: #ff4444; justify-content: flex-end; }

.bot-neutral {
    background: rgba(64, 169, 255, 0.05);
    border: 1px solid rgba(64, 169, 255, 0.3);
    align-self: center;
    width: 100%;
    max-width: 100%;
    text-align: center;
}
.bot-neutral .bot-name { color: #40a9ff; justify-content: center; }

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 10px 0;
    justify-content: center;
}
.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #888;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quellen-box {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}
.quelle-link { color: #888; text-decoration: none; display: block; margin-top: 4px; }
.quelle-link:hover { color: #fff; }

/* OVERRIDES für das Wrapper-Layout, damit der Footer nach unten gedrückt wird */
        .ki-layout-wrapper {
            height: auto !important;
            min-height: calc(100vh - 80px); /* Damit es mind. den Bildschirm füllt */
            align-items: stretch;
        }
        .ki-section {
            height: auto !important;
            overflow: visible !important;
        }
        
        .arena {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 40px;
            padding-bottom: 60px;
        }

/* FIX: KI Leiste auf dem Handy über die Mobile-Nav anheben */
@media (max-width: 768px) {
    .ki-floating-bar {
        bottom: calc(75px + env(safe-area-inset-bottom));
    }
}

/* =====================================================================
   FIX: Kacheln-Überlauf auf dem Laptop (Responsive Grid & Flex-Input) 
   ===================================================================== */

/* 1. Suchleiste in den Kacheln flexibel machen */
.thema-suche {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Ersetzt das alte margin-left des Buttons */
}

.thema-suche input {
    flex: 1 1 auto;
    min-width: 0; /* GANZ WICHTIG: Erlaubt dem Input-Feld, kleiner als der Text zu werden! */
    width: 100%;
}

.thema-suche button {
    margin-left: 0 !important; /* Wird nun sauber über 'gap' geregelt */
    flex-shrink: 0; /* Button behält seine feste Größe */
}

/* 2. Auf kleineren Laptop-Bildschirmen früher auf 2 Spalten wechseln */
@media (max-width: 1100px) {
    .themen-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, auto); /* Da 12 Kacheln: 2 Spalten = 6 Zeilen */
        column-gap: 25px;
    }
}

/* =====================================================================
   FIX: Such-Button in den Themen-Kacheln zur Lupe machen
   ===================================================================== */

/* 1. Text im Button ausblenden und Button kompakt quadratisch machen */
.thema-suche button {
    font-size: 0 !important; /* Versteckt das Wort "suchen" */
    color: transparent !important;
    width: 44px;  /* Feste, quadratische Breite */
    height: 44px; /* Feste Höhe, passend zum Input-Feld */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. Schickes Lupen-Icon als CSS-Maske generieren */
.thema-suche button::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: silver; /* Farbe der Lupe (passt zum alten Text) */
    
    /* Vektorgrafik direkt im CSS eingebunden */
    -webkit-mask: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%228%22%3E%3C%2Fcircle%3E%3Cline%20x1%3D%2221%22%20y1%3D%2221%22%20x2%3D%2216.65%22%20y2%3D%2216.65%22%3E%3C%2Fline%3E%3C%2Fsvg%3E") no-repeat center;
    mask: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%228%22%3E%3C%2Fcircle%3E%3Cline%20x1%3D%2221%22%20y1%3D%2221%22%20x2%3D%2216.65%22%20y2%3D%2216.65%22%3E%3C%2Fline%3E%3C%2Fsvg%3E") no-repeat center;
    
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.3s ease;
}

/* 3. Etwas cooleres Hover-Verhalten (Lupe wird bläulich) */
.thema-suche button:hover::after {
    background-color: #a8daff;
}

/* 4. Input-Feld leicht anpassen, damit der Text noch mehr Platz hat */
.thema-suche input {
    padding: 10px 12px; /* Etwas weniger Padding links/rechts */
    font-size: 0.95rem; /* Schrift einen Hauch feiner */
}

/* =====================================================================
   FIX: Auf Handys und kleinen Tablets die Kacheln wieder 1-spaltig machen
   ===================================================================== */
@media (max-width: 768px) {
    .themen-container {
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important; /* DAS IST DER RETTER! Zwingt das Grid nach unten, nicht nach rechts */
        grid-template-rows: auto !important;
        gap: 25px !important;
    }
}

/* =====================================================================
   LIGHT MODE: Filter-Sidebar & KI-Debatte (Arena)
   ===================================================================== */

/* --- 1. Filter Sidebar (News / Fakten) --- */
[data-theme='light'] .filter-sidebar {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme='light'] .filter-sidebar h3 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #0f5285; /* Passend zum Light-Mode Überschriften-Blau */
}

[data-theme='light'] .filter-group label {
    color: #1a1a1a;
    font-weight: 600;
}

[data-theme='light'] .filter-sidebar input,
[data-theme='light'] .filter-sidebar select {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #1a1a1a;
}

[data-theme='light'] .filter-sidebar select option {
    background: #ffffff;
    color: #1a1a1a;
}

[data-theme='light'] .filter-sidebar input:focus,
[data-theme='light'] .filter-sidebar select:focus {
    border-color: #00cc6a;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 204, 106, 0.2);
}

[data-theme='light'] .sidebar-btn {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme='light'] .sidebar-btn:hover {
    background: rgba(182, 27, 27, 0.9); /* Dunkleres Rot für Light Mode */
    color: #ffffff;
}

/* --- 2. KI Sidebar (Chat-Verlauf) --- */
[data-theme='light'] .ki-sidebar {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme='light'] .history-title {
    color: rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

[data-theme='light'] .chat-history-item {
    color: #1a1a1a;
}

[data-theme='light'] .chat-history-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme='light'] .chat-history-item.active {
    background: rgba(0, 204, 106, 0.2);
    border-color: rgba(0, 204, 106, 0.5);
    font-weight: 600;
}

[data-theme='light'] .delete-chat-btn {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme='light'] .delete-chat-btn:hover {
    color: #b61b1b;
    background: rgba(182, 27, 27, 0.15);
}

[data-theme='light'] .mobile-sidebar-toggle {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #1a1a1a;
}

/* --- 3. KI Debatte (Arena) --- */
[data-theme='light'] .debatte-setup {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme='light'] .debatte-input {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #1a1a1a;
}

[data-theme='light'] .bot-pro {
    background: rgba(0, 204, 106, 0.1);
    border: 1px solid rgba(0, 204, 106, 0.3);
}

[data-theme='light'] .bot-pro .bot-name { color: #00994d; }

[data-theme='light'] .bot-contra {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

[data-theme='light'] .bot-contra .bot-name { color: #b61b1b; }

[data-theme='light'] .bot-neutral {
    background: rgba(64, 169, 255, 0.1);
    border: 1px solid rgba(64, 169, 255, 0.3);
}

[data-theme='light'] .bot-neutral .bot-name { color: #0f5285; }

[data-theme='light'] .bot-msg {
    color: #1a1a1a;
}

[data-theme='light'] .quelle-link {
    color: #0f5285;
}

[data-theme='light'] .quelle-link:hover {
    color: #1a1a1a;
    text-decoration: underline;
}
/* =====================================================================
   LIGHT MODE: Disclaimer-Schriftfarbe (z. B. bei der KI / Bot-Debatte)
   ===================================================================== */
[data-theme='light'] .ki-disclaimer {
    color: #000000 !important; /* Komplett Schwarz für maximale Lesbarkeit */
}