/* /home/neo/Backend/cwpro/app/static/css/main.css - VOLLSTÄNDIG MIT INSTAGRAM PROMO & GLASSMORPHISM HEADER */

:root {
    --background-primary: #21252b;
    --background-secondary: #282c34;
    --text-primary: #abb2bf;
    --text-muted: #5c6370;
    --primary-color: #61afef;
    --success-color: #9ece6a;
    --error-color: #e06c75;
    --warning-color: #e5c07b;
    --border-color: #3e4451;
    --white-text: #ffffff;
    --header-height: 70px;
    --spacing-medium: 1rem;
    --spacing-large: 2rem;
    --border-radius: 6px;
    
    /* Instagram Gradient Variablen */
    --instagram-purple: #833ab4;
    --instagram-pink: #fd1d1d;
    --instagram-orange: #fcb045;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    text-decoration: underline;
}

/* ============================================= */
/* ========== FLASH MESSAGES =================== */
/* ============================================= */
.flash-messages {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.flash {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border-left: 5px solid;
    background-color: var(--background-secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    opacity: 1;
    animation-name: fadeOut;
    animation-duration: 1s;
    animation-delay: 4s;
    animation-fill-mode: forwards;
    font-size: 0.95rem;
}

.flash.info { border-color: var(--primary-color); }
.flash.success { border-color: var(--success-color); }
.flash.error { border-color: var(--error-color); }
.flash.warning { border-color: var(--warning-color); }

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

/* ============================================= */
/* ========== HEADER & NAVIGATION ============== */
/* ========== (GLASSMORPHISM STYLE) =========== */
/* ============================================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 25, 35, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    height: var(--header-height);
    padding: 0 var(--spacing-large);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
    z-index: 1001;
    white-space: nowrap;
    order: 1;
}

.logo:hover {
    text-decoration: none;
}

/* ========== SPRACH-SELECTOR (GLASSMORPHISM) ========== */
.language-selector {
    display: flex;
    align-items: center;
    order: 2;
    margin-left: auto;
    margin-right: 1rem;
}

.lang-options {
    display: flex;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.4rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.3rem;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
    filter: grayscale(0.5);
    background-color: transparent;
}

.lang-link:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.15) rotate(5deg);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.lang-link.active {
    opacity: 1;
    filter: grayscale(0);
    background: rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.4);
    color: var(--white-text);
    font-weight: bold;
}

/* ========== NAVIGATION TOGGLE ========== */
.nav-toggle-input {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
    order: 4;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    display: block;
    background: var(--text-primary);
    height: 3px;
    width: 100%;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-label span::before {
    top: -10px;
}

.nav-toggle-label span::after {
    top: 10px;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* ========== MAIN NAVIGATION ========== */
.main-nav {
    display: flex;
    order: 3;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: var(--spacing-medium);
    align-items: center;
}

.main-nav li:not(:last-child)::after {
    content: '•';
    color: var(--text-muted);
    margin-left: var(--spacing-medium);
    pointer-events: none;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--white-text);
    text-decoration: none;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ============================================= */
/* ========== MOBILE NAVIGATION ================ */
/* ============================================= */
@media (max-width: 767px) {
    header {
        padding: 0 var(--spacing-medium);
        height: auto;
        min-height: var(--header-height);
        flex-wrap: wrap;
    }

    .logo {
        font-size: 1.2rem;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .language-selector {
        order: 2;
        gap: 0.2rem;
        margin-right: 0.5rem;
    }

    .lang-link {
        width: 2rem;
        height: 2rem;
        font-size: 1.1rem;
    }

    .lang-options {
        gap: 0.15rem;
        padding: 0.3rem;
    }

    .nav-toggle-label {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background-color: rgba(20, 25, 35, 0.98);
        backdrop-filter: blur(20px);
        border-right: 1px solid var(--border-color);
        padding-top: calc(var(--header-height) + 1rem);
        transition: left 0.3s ease-in-out;
        z-index: 1001;
        flex-direction: column;
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav li a {
        display: block;
        padding: var(--spacing-medium) var(--spacing-large);
        font-size: 1rem;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav li:not(:last-child)::after {
        display: none;
    }

    .nav-toggle-input:checked ~ .main-nav {
        left: 0;
    }

    .nav-toggle-input:checked ~ .nav-overlay {
        display: block;
    }

    .nav-toggle-input:checked ~ .nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle-input:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle-input:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* ============================================= */
/* ========== INSTAGRAM PROMO SECTION ========== */
/* ============================================= */
.instagram-promo-section {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1) 0%, rgba(253, 29, 29, 0.1) 50%, rgba(252, 176, 69, 0.1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    margin: 0;
}

.instagram-promo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.instagram-promo-text {
    flex: 1;
    min-width: 280px;
}

.instagram-promo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.instagram-alert-icon {
    color: #ff3333;
    font-size: 2rem;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
    animation: pulse-alert 2s infinite;
    font-weight: bold;
}

@keyframes pulse-alert {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.instagram-promo-header h3 {
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.instagram-promo-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.instagram-promo-benefits {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.benefit-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.benefit-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.instagram-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-width: 200px;
}

.instagram-qr-image {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.instagram-qr-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* ============================================= */
/* ========== MAIN CONTENT ===================== */
/* ============================================= */
.main-content-wrapper {
    padding: var(--spacing-large) var(--spacing-medium);
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - var(--header-height) - 200px);
    width: 100%;
}

/* ============================================= */
/* ========== HERO SECTION ===================== */
/* ============================================= */
.hero {
    background-image: url('/static/img/hero.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: var(--white-text);
    border-bottom: 3px solid var(--primary-color);
    padding: 2rem 1rem;
    margin-bottom: var(--spacing-large);
    border-radius: var(--border-radius);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
}

.button-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    border: 1px solid var(--primary-color);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    text-decoration: none;
    font-size: 1rem;
}

.button-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
}

.button-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: normal;
    border: 1px solid var(--primary-color);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    text-decoration: none;
    font-size: 0.9rem;
}

.button-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-secondary);
    text-decoration: none;
}

/* ============================================= */
/* ========== CONTENT SECTIONS ================= */
/* ============================================= */
.content-section {
    background-color: var(--background-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-large);
}

.content-section h2 {
    margin-top: 0;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.2;
}

.announcement-card {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.announcement-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.announcement-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    line-height: 1.2;
    word-wrap: break-word;
}

.announcement-card .date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.announcement-content {
    line-height: 1.6;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.announcement-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.announcement-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.announcement-content td {
    vertical-align: top;
    padding: 0.5rem;
}

.announcement-content td h2 {
    margin-top: 0;
    font-size: 1rem;
}

.announcement-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    width: 100%;
    margin: 1rem 0;
}

.feedback-card {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.feedback-card:last-child {
    margin-bottom: 0;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feedback-author {
    font-weight: 600;
    color: var(--text-primary);
}

.feedback-rating {
    margin-bottom: 0.75rem;
    letter-spacing: 0.2rem;
}

.feedback-rating .star {
    color: var(--warning-color);
    font-size: 1.2rem;
}

.feedback-rating .star.filled {
    color: var(--warning-color);
}

.feedback-text {
    font-style: italic;
    color: var(--text-secondary, #ccc);
    margin: 0.75rem 0 0 0;
    line-height: 1.5;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
    word-wrap: break-word;
}

/* ============================================= */
/* ========== FOOTER ========================== */
/* ============================================= */
footer {
    background-color: var(--background-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-large) var(--spacing-medium);
    margin-top: var(--spacing-large);
}

footer p {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-large);
    margin-bottom: 1.5rem;
}

.footer-contact-section {
    padding: 1rem;
    background-color: var(--background-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.footer-contact-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.footer-contact-section p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-align: left;
    word-wrap: break-word;
}

.footer-contact-section a {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* ============================================= */
/* ========== RESPONSIVE DESIGN ================ */
/* ============================================= */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --spacing-large: 1.5rem;
        --spacing-medium: 0.75rem;
    }

    .hero {
        height: 350px;
        padding: 1.5rem 1rem;
        margin-bottom: var(--spacing-large);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.2rem;
    }

    .announcement-card h3 {
        font-size: 1.1rem;
    }

    /* Instagram Promo Tablet */
    .instagram-promo-content {
        gap: 2rem;
    }

    .instagram-promo-header h3 {
        font-size: 1.5rem;
    }
}

/* Mobile (480px - 767px) */
@media (max-width: 767px) {
    :root {
        --header-height: 60px;
        --spacing-large: 1rem;
        --spacing-medium: 0.5rem;
    }

    body {
        font-size: 15px;
    }

    .main-content-wrapper {
        padding: var(--spacing-large) var(--spacing-medium);
        min-height: auto;
    }

    .hero {
        height: 280px;
        padding: 1rem 0.75rem;
        margin-bottom: var(--spacing-medium);
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .button-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .content-section {
        padding: 1rem;
        margin-bottom: var(--spacing-medium);
    }

    .content-section h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.4rem;
    }

    .announcement-card {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .announcement-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .announcement-card .date {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .announcement-content {
        font-size: 0.9rem;
    }

    .feedback-card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .feedback-header {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .feedback-rating .star {
        font-size: 1rem;
    }

    .feedback-text {
        font-size: 0.85rem;
        padding-left: 0.75rem;
        margin-top: 0.5rem;
    }

    footer {
        padding: var(--spacing-large) var(--spacing-medium);
        margin-top: var(--spacing-medium);
    }

    .footer-contact {
        gap: var(--spacing-medium);
        margin-bottom: 1rem;
    }

    .footer-contact-section {
        padding: 0.75rem;
    }

    .footer-contact-section h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .footer-contact-section p,
    .footer-contact-section a {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 0.75rem;
    }

    /* Instagram Promo Mobile */
    .instagram-promo-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.5rem;
    }

    .instagram-promo-header {
        justify-content: center;
    }

    .instagram-promo-benefits {
        justify-content: center;
    }

    .instagram-qr-image {
        width: 120px;
        height: 120px;
    }

    .instagram-promo-header h3 {
        font-size: 1.4rem;
    }

    .instagram-promo-description {
        font-size: 1rem;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
    :root {
        --header-height: 50px;
        --spacing-large: 0.75rem;
        --spacing-medium: 0.4rem;
    }

    body {
        font-size: 14px;
    }

    header {
        padding: 0 0.5rem;
    }

    .logo {
        font-size: 1rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .language-selector {
        gap: 0.1rem;
        margin-right: 0.3rem;
    }

    .lang-link {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 1rem;
    }

    .main-content-wrapper {
        padding: 0.75rem 0.4rem;
    }

    .hero {
        height: 220px;
        padding: 0.75rem 0.5rem;
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 1.2rem;
        margin-bottom: 0.15rem;
    }

    .hero p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .button-primary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .content-section {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .content-section h2 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.3rem;
    }

    .announcement-card {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .announcement-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .announcement-card .date {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .announcement-content {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .feedback-card {
        padding: 0.6rem;
        margin-bottom: 0.5rem;
    }

    .feedback-header {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    .feedback-rating .star {
        font-size: 0.9rem;
    }

    .feedback-text {
        font-size: 0.8rem;
        padding-left: 0.5rem;
        margin-top: 0.3rem;
    }

    footer {
        padding: 0.75rem 0.4rem;
        margin-top: 0.5rem;
    }

    .footer-contact {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .footer-contact-section {
        padding: 0.6rem;
    }

    .footer-contact-section h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .footer-contact-section p,
    .footer-contact-section a {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
        padding-top: 0.5rem;
    }

    /* Instagram Promo Small Mobile */
    .instagram-promo-section {
        padding: 1.5rem 0.75rem;
    }

    .instagram-promo-header h3 {
        font-size: 1.2rem;
    }

    .instagram-alert-icon {
        font-size: 1.5rem;
    }

    .instagram-qr-image {
        width: 100px;
        height: 100px;
    }

    .benefit-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Very Small Mobile (< 360px) */
@media (max-width: 359px) {
    :root {
        --header-height: 45px;
        --spacing-large: 0.5rem;
        --spacing-medium: 0.3rem;
    }

    body {
        font-size: 13px;
    }

    .logo {
        font-size: 0.9rem;
        max-width: 100px;
    }

    .lang-link {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.9rem;
    }

    .hero {
        height: 180px;
        padding: 0.5rem 0.4rem;
    }

    .hero h1 {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }

    .hero p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .button-primary {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .content-section h2 {
        font-size: 0.95rem;
    }

    .announcement-card h3 {
        font-size: 0.9rem;
    }

    .footer-contact {
        grid-template-columns: 1fr;
    }

    .footer-contact-section p,
    .footer-contact-section a {
        font-size: 0.7rem;
    }

    /* Instagram Promo Very Small */
    .instagram-promo-header h3 {
        font-size: 1rem;
    }

    .instagram-promo-description {
        font-size: 0.9rem;
    }

    .instagram-qr-container {
        padding: 1rem;
    }
}

/* ============================================= */
/* FLÜSSIGE TYPOGRAFIE (Fluid Typography)      */
/* ============================================= */
:root {
    --text-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --text-sm: clamp(0.875rem, 2vw, 1rem);
    --text-base: clamp(1rem, 2.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 3vw, 1.25rem);
    --text-xl: clamp(1.25rem, 4vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 5vw, 2rem);
    --text-3xl: clamp(1.75rem, 6vw, 2.5rem);

    --space-xs: clamp(0.25rem, 1vw, 0.5rem);
    --space-sm: clamp(0.5rem, 2vw, 0.75rem);
    --space-md: clamp(0.75rem, 3vw, 1rem);
    --space-lg: clamp(1rem, 4vw, 1.5rem);
    --space-xl: clamp(1.5rem, 5vw, 2rem);
    --space-2xl: clamp(2rem, 6vw, 3rem);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Visible für Accessibility */
:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
