/* Reset und Grundeinstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Reddit Sans', sans-serif;
    background-color: #2e343d;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #4fc3f7; /* Helles Blau für gute Lesbarkeit */
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color 0.2s, text-decoration-color 0.2s;
  outline: none;
}

p {
    margin-bottom: 1em;
}

a:hover,
a:focus {
  color: #ffca28; /* Akzentfarbe für Interaktion */
  text-decoration-color: #ffca28;
  cursor: pointer;
}

a:active {
  color: #ff7043; /* Deutliche Farbe beim Klicken */
  text-decoration-color: #ff7043;
}

a:focus-visible {
  outline: 2px solid #ffca28; /* Gut sichtbarer Fokus-Ring */
  outline-offset: 2px;
}

.text-blue {
    color: #64b5f6 !important;
}

.text-white {
    color: #dddddd !important;
}

.text-yellow {
    color: #FFED00 !important;
}

.text-orange {
    color: #ffca28 !important;
}

/* Google Fonts */
/* reddit-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Reddit Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/reddit-sans-v5-latin-regular.woff2') format('woff2');
}
/* reddit-sans-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Reddit Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/reddit-sans-v5-latin-700.woff2') format('woff2');
}

/* Header Bereich */
.header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    width: 100%;
    margin-top: 30px;
}

.logo {
    width: 250px;
    height: auto;
    margin-bottom: 20px;
}

.title {
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 2.3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #b8c1cc;
    margin-bottom: 20px;
}

/* Container */
.container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1; /* footer immer ganz unten */
}

/* Cards */
.card {
    background-color: #3a4149;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.card-title {
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #64b5f6;
    margin-bottom: 15px;
}

.card-text {
    color: #b8c1cc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.icon-text {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
}

.icon-text svg {
  height: 1em;
  width: auto;
  margin-right: 0.3em;
  vertical-align: middle;
  fill: currentColor;
}

/* Buttons */
.btn {
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
    color: #fff !important;
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

.btn-primary {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: #ffffff;
}

.btn-primary:hover {
    /* background: linear-gradient(135deg, #42a5f5, #1e88e5); */
    /* box-shadow: 0 4px 15px rgba(100, 181, 246, 0.4); */
}

.btn-secondary {
    background-color: #4a5158;
    color: #ffffff;
    border: 2px solid #5a6169;
}

.btn-secondary:hover {
    background-color: #5a6169;
    border-color: #64b5f6;
}

.btn-success {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: #ffffff;
}

.btn-success:hover {
    background: linear-gradient(135deg, #45a049, #388e3c);
    /* box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4); */
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #da190b);
    color: #ffffff;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #da190b, #c62828);
    /* box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4); */
}

/* Navigation */
.nav-container {
    /* position: relative; */
    background-color: #2e343d;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);

    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.nav-container.scrolled {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-block;
    padding: 25px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    overflow: hidden;
    vertical-align: top;
}

/* Animierter Unterstrich */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64b5f6, #42a5f5);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: #64b5f6;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-block;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
    line-height: 1.2;
    vertical-align: baseline;
}

/* Unterstrich nur unter dem Text, nicht unter dem Pfeil */
.dropdown .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px; /* Fixe Position vom linken Rand */
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64b5f6, #42a5f5);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.dropdown .nav-link:hover::after,
.dropdown .nav-link.active::after {
    width: 70px; /* Fixe Breite nur für "Sprachen" */
}

/* active */
.dropdown .nav-link.active::after {
    width: 60%;
    transform: translateX(-60%);
}

.dropdown-item.active {
    background-color: #4a5158;
    color: #64b5f6;
}

.dropdown:has(.dropdown-item.active) .nav-link::after {
    width: 55%;
    transform: translateX(0);
}

.mobile-nav-link.active {
    background-color: #4a5158;
    color: #64b5f6;
    border-left: 3px solid #64b5f6;
}

.mobile-dropdown-toggle.active {
    background-color: #4a5158;
    color: #64b5f6;
    border-left: 3px solid #64b5f6;
}

.mobile-dropdown-item.active {
    background-color: #4a5158;
    color: #64b5f6;
    border-left: 3px solid #64b5f6;
}

.mobile-dropdown:has(.mobile-dropdown-item.active) .mobile-dropdown-toggle {
    background-color: #4a5158 !important;
    color: #64b5f6 !important;
    border-left: 3px solid #64b5f6;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 6px;
    transition: transform 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #3a4149;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #4a5158;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #b8c1cc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #4a5158;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:hover {
    background-color: #4a5158;
    color: #64b5f6;
    padding-left: 25px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background-color: #3a4149;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #4a5158;
}

.mobile-nav-link {
    display: block;
    padding: 15px 25px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: #4a5158;
    color: #64b5f6;
    padding-left: 35px;
}

/* Mobile Dropdown */
.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dropdown-toggle:hover {
    background-color: #4a5158;
    color: #64b5f6;
}

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

.mobile-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #2e343d;
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 300px;
}

.mobile-dropdown-item {
    display: block;
    padding: 12px 45px;
    color: #b8c1cc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #4a5158;
}

.mobile-dropdown-item:hover {
    background-color: #4a5158;
    color: #64b5f6;
    padding-left: 55px;
}

/* Overlay für mobile Navigation */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hamburger Animation */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Formulare */
.form-container {
    background-color: #3a4149;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #64b5f6;
    margin-bottom: 10px;
    text-align: center;
}

.form-description {
    color: #b8c1cc;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    background-color: #4a5158;
    border: 2px solid #5a6169;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Reddit Sans', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #64b5f6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b8c1cc;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    transform: scale(1.2);
    accent-color: #64b5f6;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #b8c1cc;
    line-height: 1.5;
    cursor: pointer;
}

/* Links */
.link {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: #42a5f5;
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border-color: #4caf50;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border-color: #f44336;
}

.alert-info {
    background-color: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
    border-color: #64b5f6;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-color: #ffc107;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid-item {
    background-color: #3a4149;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease !important;
}

.grid-item:hover {
    transform: translateY(-2px);
}

.grid-item h3 {
    color: #64b5f6;
    margin-bottom: 10px;
    font-weight: 700;
}

.grid-item p {
    color: #b8c1cc;
}

/* Neue Thumbnail Grid Layout Klassen */
.grid-thumbnail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-item-thumbnail {
    background-color: #3a4149;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    
    /* Flexbox für Thumbnail + Text Layout */
    display: flex;
    align-items: center;
    gap: 15px;
}

.grid-item-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.grid-thumbnail a {
    text-decoration: none !important;
    color: inherit;
}

/* Thumbnail Styling */
.thumbnail {
    width: 120px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0; /* Verhindert Schrumpfen des Bildes */
}

/* Text Container */
.text-content {
    flex: 1; /* Nimmt den restlichen Platz ein */
}

.text-content h3 {
    color: #64b5f6;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.text-content p {
    color: #b8c1cc;
    margin: 0;
}

.text-white {
    color: white !important;
}

.home-grid {
    justify-items: center;
    text-align: center;
}

.home-grid .grid-item:hover, .grid-item-shadow:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Listen */
.list {
    list-style: none;
    padding: 0;
}

.list-item {
    background-color: #4a5158;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.list-item:hover {
    background-color: #5a6169;
    transform: translateX(5px);
    border-color: #64b5f6;
}

/* YouTube Container */
.youtube-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background: #3a4149;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.youtube-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2e343d;
    padding: 40px 20px;
    text-align: center;
    transition: padding 0.3s ease;
}

.youtube-activate-button {
    background: #ff0000;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.youtube-activate-button:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.youtube-notice {
    color: #b8c1cc;
    font-size: 0.9rem;
    margin-top: 10px;
}

.youtube-frame {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-white {
    color: #ffffff !important;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Flags */
.lang-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.lang-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lang-header {
    font-size: 1.4em;
    font-weight: bold;
    color: #60aaff;
    margin-bottom: 8px;
}

.flag-row {
    display: flex;
    gap: 8px;
}

/* Pfeil zentriert ausrichten */
.arrow-col {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    align-items: end;
    padding-top: 2.7em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .card,
    .form-container {
        padding: 20px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        margin-right: 0;
    }

    .btn-wrapper {
        width: 100%;
        margin-right: 0;
    }
    
    .youtube-placeholder {
        padding: 20px;
    }

    /* Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .card,
    .form-container {
        padding: 15px;
    }
}

.marker-underline {
  position: relative;
  text-decoration: none;
}

.marker-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.18em;
  background: linear-gradient(90deg, #ffe066 60%, #ffb347 100%);
  opacity: 0.8;
  border-radius: 0.12em 0.18em 0.18em 0.12em;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-2deg) scaleY(1.1);
}

.checkmark {
    color: rgb(255, 202, 40);
    background: #3a4149;
    padding: 2px 5px;
    border-radius: 10px;
    margin-right: 5px;
}

.text-grey {
    color: #b8c1cc;
}

.mt, .mt-1 {
    margin-top: 40px;
}
.mt-2 {
    margin-top: 60px;
}






/* ausgabe_1.html */

.newsletter-form {
    background-color: #3a4149;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    text-align: left;
}

.newsletter-title {
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #64b5f6;
    margin-bottom: 10px;
    text-align: center;
}

.newsletter-description {
    color: #b8c1cc;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.newsletter-form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input[type="email"],
.form-group input[type="text"] {
    background-color: #4a5158;
    border: 2px solid #5a6169;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Reddit Sans', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: #64b5f6;
}

.form-group input[type="email"]::placeholder,
.form-group input[type="text"]::placeholder {
    color: #b8c1cc;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    transform: scale(1.2);
    accent-color: #64b5f6;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #b8c1cc;
    line-height: 1.5;
    cursor: pointer;
}

.link {
    color: #4fc3f7; /* Helles Blau für gute Lesbarkeit */
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color 0.2s, text-decoration-color 0.2s;
    outline: none;
}

.link:hover,
.link:focus {
    color: #ffca28; /* Akzentfarbe für Interaktion */
    text-decoration-color: #ffca28;
    cursor: pointer;
}

.link:active {
    color: #ff7043; /* Deutliche Farbe beim Klicken */
    text-decoration-color: #ff7043;
}

.link:focus-visible {
    outline: 2px solid #ffca28; /* Gut sichtbarer Fokus-Ring */
    outline-offset: 2px;
}

.newsletter-button {
    background: linear-gradient(135deg, #4caf50, #45a049);
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.newsletter-button:hover {
    background: linear-gradient(135deg, #45a049, #388e3c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.newsletter-success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    display: none;
}

/* Quiz Styles */
.quiz-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.question-card {
    background-color: #3a4149;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.question-card:hover {
    transform: translateY(-2px);
}

.question-number {
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #64b5f6;
    margin-bottom: 15px;
}

.german-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.answer-button {
    background-color: #4a5158;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    font-family: 'Reddit Sans', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    border: 2px solid transparent;
}

.answer-button:hover,
.answer-button:focus,
.answer-button.selected {
    background-color: #5a6169;
    transform: translateX(5px);
}

.answer-button:focus,
.answer-button.selected {
    border-color: #64b5f6;
    outline: none;
}

.answer-button:active {
    transform: translateX(5px) translateY(1px);
}

.answer-button:disabled {
    cursor: not-allowed;
    transform: none; 
}

.answer-button.correct {
    background-color: #4caf50;
    border-color: #45a049;
    transform: none;
}

.answer-button.incorrect {
    background-color: #f44336;
    border-color: #da190b;
    transform: none;
}

.answer-button.neutral {
    background-color: #6c757d;
    border-color: #5a6268;
    transform: none;
}

.check-button {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.check-button:hover {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.4);
}

.check-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.result-text {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.result-correct {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.result-incorrect {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.score-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #3a4149;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.score-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #64b5f6;
}

.quiz-title {
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .quiz-title {
        font-size: 1.5rem;
    }
    .question-card {
        padding: 20px;
    }
    .german-text {
        font-size: 1.2rem;
    }
}

.question-card {
    background-color: #3a4149;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.question-card:hover {
    transform: translateY(-2px);
}

.question-number {
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #64b5f6;
    margin-bottom: 15px;
}

.german-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.answer-button {
    background-color: #4a5158;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    font-family: 'Reddit Sans', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    border: 2px solid transparent;
}

.answer-button:hover,
.answer-button:focus,
.answer-button.selected {
    background-color: #5a6169;
    transform: translateX(5px);
}

.answer-button:focus,
.answer-button.selected {
    border-color: #64b5f6;
    outline: none;
}

.answer-button:active {
    transform: translateX(5px) translateY(1px);
}

.answer-button:disabled {
    cursor: not-allowed;
    transform: none; 
}

.answer-button.correct {
    background-color: #4caf50;
    border-color: #45a049;
    transform: none;
}

.answer-button.incorrect {
    background-color: #f44336;
    border-color: #da190b;
    transform: none;
}

.answer-button.neutral {
    background-color: #6c757d;
    border-color: #5a6268;
    transform: none;
}

.check-button {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.check-button:hover {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.4);
}

.check-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.result-text {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.result-correct {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.result-incorrect {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.score-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #3a4149;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
}

.score-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #64b5f6;
}

.youtube-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto 40px;
    background: #3a4149;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.youtube-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2e343d;
    padding: 40px 20px;
    text-align: center;
    transition: padding 0.3s ease;
}

.youtube-activate-button {
    background: #ff0000;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.youtube-activate-button:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.youtube-notice {
    color: #b8c1cc;
    font-size: 0.9rem;
    margin-top: 10px;
}

.youtube-frame {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    .question-card {
        padding: 20px;
    }
    .german-text {
        font-size: 1.2rem;
    }
}

/* Kontaktformular */

/* Kontaktformular Styles */
.contact-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.form-group label {
    display: block;
    color: #64b5f6;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.turnstile-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.character-counter {
    font-size: 0.8rem;
    color: #b8c1cc;
    text-align: right;
    margin-top: 5px;
}

.character-counter.warning {
    color: #ffc107;
}

.character-counter.danger {
    color: #f44336;
}

.required {
    color: #f44336;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 10px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4a5158; /* linear-gradient(135deg, #64b5f6, #42a5f5); */
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    transform: translateY(-3px);
    /* box-shadow: 0 6px 25px rgba(100, 181, 246, 0.4); */
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top::before {
    content: '↑';
    font-size: 1.3rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .scroll-to-top::before {
        font-size: 1.2rem;
    }
}

.grid-item-thumbnail {
    position: relative; /* Wichtig für absolute Positionierung */
}

.pdf-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pdf-icon:hover {
    transform: scale(1.05);
}

.pdf-svg {
    width: 40px;
    height: 40px;
    opacity: 0.8;
}

/* Schwierigkeits-Level Anzeige */
.difficulty-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: center;
}

.difficulty-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #b8c1cc;
}

.difficulty-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.difficulty-bars {
    display: flex;
    width: 36px;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #4a5158;
}

.difficulty-bar {
    flex: 1;
    transition: all 0.3s ease;
}

/* Einfach - 1/3 grün */
.difficulty-easy .difficulty-bar:nth-child(1) {
    background-color: #4caf50;
}
.difficulty-easy .difficulty-bar:nth-child(2),
.difficulty-easy .difficulty-bar:nth-child(3) {
    background-color: #4a5158;
}
.difficulty-easy .difficulty-text {
    color: #4caf50;
}

/* Mittel - 1.5/3 gelb */
.difficulty-medium .difficulty-bar:nth-child(1) {
    background-color: #ffca28;
}
.difficulty-medium .difficulty-bar:nth-child(2) {
    background: linear-gradient(90deg, #ffca28 50%, #4a5158 50%);
}
.difficulty-medium .difficulty-bar:nth-child(3) {
    background-color: #4a5158;
}
.difficulty-medium .difficulty-text {
    color: #ffca28;
}

/* Schwer - 3/3 rot */
.difficulty-hard .difficulty-bar:nth-child(1),
.difficulty-hard .difficulty-bar:nth-child(2),
.difficulty-hard .difficulty-bar:nth-child(3) {
    background-color: #f44336;
}
.difficulty-hard .difficulty-text {
    color: #f44336;
}

.difficulty-text {
    font-weight: 600;
}

/* Glow Effekte */
.difficulty-easy .difficulty-bars {
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.2);
}
.difficulty-medium .difficulty-bars {
    box-shadow: 0 0 8px rgba(255, 202, 40, 0.2);
}
.difficulty-hard .difficulty-bars {
    box-shadow: 0 0 8px rgba(244, 67, 54, 0.2);
}

/* Kleine Schwierigkeits-Anzeige für Grid Items */
.difficulty-small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    position: absolute;
    /* top: 10px; */
    top: -12px;
    /* right: 10px; */
    left: 10px;
    background-color: rgba(46, 52, 61, 0.9);
    padding: 4px 8px;
    border-radius: 6px;
    backdrop-filter: blur(5px);
}

.difficulty-small .difficulty-bars {
    width: 24px;
    height: 8px;
    border-radius: 4px;
}

.difficulty-small .difficulty-text {
    font-weight: 600;
    font-size: 0.7rem;
}

/* Grid Item Thumbnail Position */
.grid-item-thumbnail {
    position: relative;
}

/*
================================================
Ko-fi Support Button Styles
================================================
*/

.kofi-button {
    position: fixed;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF5E5B 0%, #FF1744 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.kofi-button:hover,
.kofi-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 23, 68, 0.4);
    color: white;
    text-decoration: none;
}

.kofi-button:active {
    transform: translateY(0);
}

.coffee-icon {
    font-size: 18px;
    animation: kofi-steam 2s infinite;
    display: inline-block;
}

@keyframes kofi-steam {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .kofi-button {
        top: 20px;
        left: 20px;
        padding: 8px 14px;
        font-size: 13px;
        gap: 6px;
    }

    .coffee-icon {
        font-size: 16px;
    }

    .kofi-text-full {
        display: none;
    }

    .kofi-text-short {
        display: inline;
    }
}

@media (min-width: 769px) {
    .kofi-text-short {
        display: none;
    }

    .kofi-text-full {
        display: inline;
    }
}

/* Extra klein für sehr kleine Displays */
@media (max-width: 480px) {
    .kofi-button {
        padding: 6px 12px;
        font-size: 12px;
        gap: 4px;
    }

    .coffee-icon {
        font-size: 14px;
    }
}