/* NEU: Flama Condensed Light (300) */
@font-face {
  font-family: 'Flamacondensed';
  src: url("https://cdn.prod.website-files.com/66b2290f89446ae978e088d4/670e73bafb852754eb67d95b_FlamaCondensed-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Flamacondensed Book';
  src: url("https://cdn.prod.website-files.com/66b2290f89446ae978e088d4/670e73ba1b7d4f43b5342355_FlamaCondensed-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* NEU: Flama Condensed Medium (500) */
@font-face {
  font-family: 'Flamacondensed';
  src: url("https://cdn.prod.website-files.com/66b2290f89446ae978e088d4/670e73bace29cef72daf8711_FlamaCondensed-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Flamacondensed';
  src: url("https://cdn.prod.website-files.com/66b2290f89446ae978e088d4/670e73ba5d93042e225693a0_FlamaCondensed-Extrabold.otf") format("opentype"),
       url("https://cdn.prod.website-files.com/66b2290f89446ae978e088d4/670e73bb078646bcf8fcfcdf_FlamaCondensed-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Flamacondensed';
  src: url("https://cdn.prod.website-files.com/66b2290f89446ae978e088d4/670e73ba707992bdd572610e_FlamaCondensed-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Custom Styles */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Flamacondensed Book', sans-serif;
    background-color: #1F274C; /* Standard-Hintergrund, kann pro Seite im Body-Tag überschrieben werden */
    color: white;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}
.font-anton { /* Beachte: wird in den neuen Files nicht direkt genutzt, aber schadet nicht */
    font-family: 'Flamacondensed', sans-serif;
    font-weight: 900; /* Standardmäßig Black, wenn nur Flamacondensed ohne Gewicht angegeben wird */
}
.font-flama-condensed {
    font-family: 'Flamacondensed', sans-serif;
    font-weight: 700; /* Bold */
}
/* NEU: Klasse für Medium Font */
.font-flama-menu {
    font-family: 'Flamacondensed', sans-serif;
    font-weight: 500; /* Medium */
}
.font-flama-book {
    font-family: 'Flamacondensed Book', sans-serif;
    font-weight: 400; /* Book */
}
.bg-brand-red {
    background-color: #8A1814;
}
.bg-brand-green {
    background-color: #14301B;
}
.bg-brand-blue {
    background-color: #1F274C;
}
.bg-hero-green { /* Wird in den neuen Files nicht direkt genutzt */
    background-color: #14301b;
}
.text-brand-red {
    color: #8A1814;
}
.text-brand-green {
    color: #14301B;
}

.carousel-image-wrapper {
    height: 40vh; /* Makes images thinner */
    flex-shrink: 0;
    width: 100%;
}
 @media (min-width: 768px) {
    .carousel-image-wrapper {
        width: 33.3333%;
    }
}
.ll-carousel {
    position: relative;
}
.ll-carousel::before,
.ll-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3.5rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}
.ll-carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
.ll-carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
.ll-carousel:not(.ll-carousel--at-start)::before {
    opacity: 0.9;
}
.ll-carousel:not(.ll-carousel--at-end)::after {
    opacity: 0.9;
}
.ll-carousel-track {
    scrollbar-width: none;
}
.ll-carousel-track::-webkit-scrollbar {
    display: none;
}
.footer-social {
    display: inline-flex;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-social img {
    transition: transform 0.3s ease;
}
.footer-social:hover,
.footer-social:focus-visible {
    transform: translateY(-4px) scale(1.08);
}
.footer-social:hover img,
.footer-social:focus-visible img {
    transform: rotate(-5deg);
}
.footer-social:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.speaker-card {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.speaker-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.speaker-card img {
    transition: transform 0.35s ease;
    will-change: transform;
}
.speaker-card:hover img,
.speaker-card:focus-within img {
    transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
    .speaker-card,
    .speaker-card.is-visible {
        opacity: 1;
        transform: none;
    }
    .speaker-card img {
        transition: none;
    }
}
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%) translateY(20px);
    background: rgba(12, 15, 30, 0.98);
    color: #ffffff;
    padding: 0.95rem 1.2rem;
    border-radius: 0.75rem;
    max-width: min(92%, 420px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.cookie-banner p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.4;
}
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.cookie-button {
    background: #ffffff;
    color: #0c0f1e;
    border: none;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    font-family: 'Flamacondensed', sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.cookie-button--primary {
    background: #8A1814;
    color: #fff;
}
.cookie-button:hover,
.cookie-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    outline: none;
}
.cookie-button--primary:hover,
.cookie-button--primary:focus-visible {
    background: #a3201a;
}
.cookie-button--secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}
.cookie-button--secondary:hover,
.cookie-button--secondary:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}
.cookie-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 700;
}
.cookie-link:hover,
.cookie-link:focus-visible {
    opacity: 0.8;
}
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 1rem;
        padding: 0.85rem 1rem;
    }
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-button {
        width: 100%;
        text-align: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Accordion Styles */
.accordion-item {
    border-bottom: 2px solid white;
}
.accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
}
.accordion-header img {
    height: 2.5rem;
}
#uebersetzung-img {
    width: auto;
    height: 3.0rem;
}
.accordion-icon {
    font-size: 3rem; /* Adjusted for a smaller + */
    line-height: 0.5;
    font-weight: 500;
    color: white;
    width: 40px; /* Ensures consistent width */
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease-out; /* Add transition for animation */
}
.accordion-icon.rotate-45 {
    transform: rotate(45deg);
}
.accordion-content {
    display: none;
    padding: 0 1.5rem;
}
.accordion-content.open {
    display: block;
    padding-top: 1rem;
    padding-bottom: 3rem; /* Consistent bottom padding */
}
.accordion-header .accordion-icon {
    font-size: 6.5rem;
    width: 6.5rem;
    max-width: 6.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0.5 !important;
}
.accordion-content p,
.accordion-content li,
.accordion-content strong,
.accordion-content span {
    margin-bottom: 1rem;
    font-family: 'Flamacondensed Book', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 30px;
    color: white;
}
.accordion-content h4 {
    font-family: 'Flamacondensed', sans-serif;
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: 2.5px;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
}
.accordion-content a {
    text-decoration: underline;
    font-weight: 700;
    color: white !important;
    font-family: 'Flamacondensed Book', sans-serif;
}
.accordion-content a:hover {
    opacity: 0.8;
}

/* Utility for button-style links inside accordions */
.accordion-button-link {
    text-decoration: none !important;
}
.accordion-button-link:hover {
    text-decoration: none !important;
}

@media (max-width: 410px) {
    .accordion-header {
        gap: 0.75rem;
    }
    .accordion-header img {
        height: 2rem;
        max-width: calc(100% - 6.5rem - 0.75rem);
    }
}

.location-button {
    border: 2px solid white;
    border-radius: 8px;
    background-color: #1F274C;
    padding: 0.75rem 1.5rem; /* Adjusted padding for rectangular shape */
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    color: white !important;
    font-size: 1rem;
    line-height: 1.2;
    margin-top: 1rem;
    text-decoration: none !important;
    font-family: 'Flamacondensed', sans-serif;
    font-weight: 700; /* Explizit Bold setzen, da die Basis-Schriftart FlamaCondensed ist */
}
.location-button:hover {
    background-color: white;
    color: #1F274C !important;
}

.newsletter-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #ffffff;
    border-radius: 9999px;
    animation: newsletter-spin 0.8s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}
@keyframes newsletter-spin {
    to { transform: rotate(360deg); }
}
