/* ===================================================
   KOFFERRAUMVOLUMEN — FRESH THEME v2
   A completely new design system
   =================================================== */

/* --- DESIGN TOKENS --- */
:root {
    --accent: #0ea5e9;
    --accent-hover: #38bdf8;
    --accent-subtle: rgba(14, 165, 233, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --background: #f1f5f9;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- DARK MODE --- */
[data-theme="dark"] {
    --accent: #38bdf8;
    --accent-hover: #7dd3fc;
    --accent-subtle: rgba(56, 189, 248, 0.1);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --surface: #1e293b;
    --surface-alt: #0f172a;
    --background: #0f172a;
    --border: #334155;
    --border-strong: #475569;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
}

iframe {
    max-width: 100%;
    border: none;
    border-radius: var(--radius-md);
}

/* --- LAYOUT --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================================
   HEADER
   =================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), box-shadow var(--transition);
}

[data-theme="dark"] .site-header {
    background: rgba(15, 23, 42, 0.75);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.logo-img {
    height: 50px !important;
    width: auto;
    color: var(--text-primary);
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--accent);
    background: var(--accent-subtle);
}

/* Dropdown */
.dropdown-wrapper {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    background: none;
    border: none;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.dropdown-wrapper:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 100;
}

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

.dropdown-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.dropdown-item:hover {
    background: var(--accent-subtle);
    color: var(--accent);
}

/* Mobile Toggle */
.mobile-toggle-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-toggle-btn svg {
    width: 22px;
    height: 22px;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    background: var(--surface);
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-link {
    display: block;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.mobile-nav-link:hover {
    background: var(--accent-subtle);
    color: var(--accent);
}

.mobile-nav-group {
    padding: 0.5rem 0;
    flex-shrink: 0;
}

.mobile-nav-heading {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.mobile-subnav {
    padding-left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-subnav-link {
    display: block;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-subnav-link:hover {
    background: var(--accent-subtle);
    color: var(--accent);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition);
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.mobile-theme-toggle {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: none !important;
}

[data-theme="dark"] .sun-icon {
    display: block !important;
}

:root:not([data-theme="dark"]) .sun-icon {
    display: none !important;
}

:root:not([data-theme="dark"]) .moon-icon {
    display: block !important;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(160deg, var(--surface) 0%, var(--background) 100%);
}

.hero-bg-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

.top-decor {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
}

.bottom-decor {
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.desktop-only {
    display: block;
}

/* Search */
.hero-search-wrapper {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.hero-search-glow {
    position: absolute;
    inset: -3px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    opacity: 0.12;
    filter: blur(12px);
    z-index: 0;
}

.hero-search-box {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.35rem 0.35rem 0.35rem 1.2rem;
    box-shadow: var(--shadow-md);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.btn-primary {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: calc(var(--radius-lg) - 4px);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* ===================================================
   BRANDS SECTION
   =================================================== */
.brands-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    border-radius: 10px;
    margin: 0.8rem auto 0;
}

.section-divider.left {
    margin-left: 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.brand-hover-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--accent-subtle) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
}

.brand-card:hover .brand-hover-glow {
    opacity: 1;
}

.brand-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.brand-img-wrap {
    position: relative;
    z-index: 1;
}

.brand-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: all var(--transition);
}

.brand-card:hover .brand-img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ===================================================
   ARTICLES GRID
   =================================================== */
.articles-section {
    padding: 4rem 0 6rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.article-image-wrap {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-contentbox {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-badge {
    display: inline-block;
    width: fit-content;
    padding: 0.25rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: var(--accent-subtle);
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.meta-dot {
    color: var(--border-strong);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.article-link {
    color: var(--text-primary);
}

.article-link:hover {
    color: var(--accent);
}

.article-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.article-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.read-more-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.article-card:hover .read-more-icon {
    transform: translateX(4px);
}

/* ===================================================
   SINGLE POST
   =================================================== */
.single-post-wrapper {
    padding-top: 6rem;
}

.post-container {
    max-width: 820px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 1rem 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: var(--accent);
}

.breadcrumb-icon {
    width: 14px;
    height: 14px;
    color: var(--border-strong);
}

.breadcrumb-current {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Post Header */
.post-header {
    margin-bottom: 2rem;
}

.post-category-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: var(--accent-subtle);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.post-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.post-meta-details {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Featured Image */
.post-featured-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.post-featured-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Post Content */
.rendered-content {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.post-body-content {
    padding: 0;
}

.content-top-decor {
    display: none;
}

.rendered-content h2,
.rendered-content h3,
.rendered-content h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin: 2rem 0 0.8rem;
    line-height: 1.3;
}

.rendered-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.rendered-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.rendered-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
}

.rendered-content p {
    margin-bottom: 1.2rem;
}

.rendered-content ul,
.rendered-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.rendered-content ul {
    list-style: disc;
}

.rendered-content ol {
    list-style: decimal;
}

.rendered-content li {
    margin-bottom: 0.5rem;
}

.rendered-content strong {
    color: var(--text-primary);
}

.rendered-content a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
}

.rendered-content a:hover {
    border-bottom-color: var(--accent);
}

.rendered-content hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}

.rendered-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.rendered-content iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.entry-content {
    /* WP compat wrapper */
}

/* ===================================================
   TABLES — Full Width, Responsive, Premium
   =================================================== */
.rendered-content table,
.rendered-content .wp-block-table,
.tablepress {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: table;
    background: var(--surface);
}

.rendered-content table thead,
.tablepress thead {
    background: linear-gradient(135deg, var(--accent-subtle), rgba(139, 92, 246, 0.05));
}

.rendered-content table th,
.tablepress th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    border-bottom: 2px solid var(--border);
}

.rendered-content table td,
.tablepress td {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.rendered-content table tbody tr:last-child td,
.tablepress tbody tr:last-child td {
    border-bottom: none;
}

.rendered-content table tbody tr:nth-child(even),
.tablepress tbody tr:nth-child(even) {
    background: var(--surface-alt);
}

.rendered-content table tbody tr:hover,
.tablepress tbody tr:hover {
    background: var(--accent-subtle);
}

/* Mobile Card Tables */
@media (max-width: 640px) {

    .rendered-content table,
    .tablepress {
        display: block;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .rendered-content table thead,
    .tablepress thead {
        display: none;
    }

    .rendered-content table tbody,
    .tablepress tbody {
        display: block;
    }

    .rendered-content table tr,
    .tablepress tr {
        display: block;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        margin-bottom: 1rem;
        box-shadow: var(--shadow-sm);
        overflow: hidden;
    }

    .rendered-content table td,
    .tablepress td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.85rem 1rem;
        text-align: right;
        gap: 1rem;
    }

    .rendered-content table td::before,
    .tablepress td::before {
        content: attr(data-label);
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-muted);
        text-align: left;
        flex-shrink: 0;
    }
}

/* ===================================================
   FAQ ACCORDION
   =================================================== */
.faq-accordion-list {
    padding: 0 !important;
    margin: 2rem 0;
}

.faq-accordion-list>li {
    list-style: none !important;
}

.faq-accordion {
    margin-bottom: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-accordion:hover,
.faq-accordion[open] {
    border-color: var(--accent);
}

.faq-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-primary);
    list-style: none;
    transition: background var(--transition);
}

.faq-accordion summary:hover {
    background: var(--accent-subtle);
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-accordion[open] summary svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    animation: fadeSlide 0.3s ease;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================
   POST FOOTER
   =================================================== */
.post-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0 4rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.back-link:hover {
    background: var(--accent-subtle);
    border-color: var(--accent);
}

.back-icon {
    width: 18px;
    height: 18px;
}

.share-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.share-btn-icon {
    width: 16px;
    height: 16px;
}

/* ===================================================
   CATEGORY PAGE
   =================================================== */
.category-header {
    padding: 8rem 0 3rem;
    text-align: center;
    background: linear-gradient(160deg, var(--surface) 0%, var(--background) 100%);
}

.cat-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-subtle);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.cat-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
}

.category-content {
    padding: 3rem 0 6rem;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
    position: relative;
}

.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #8b5cf6, #ec4899, var(--accent));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 0.8rem;
}

.footer-logo .highlight {
    color: var(--accent);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

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

/* ===================================================
   REVEAL ON SCROLL ANIMATIONS
   =================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 80ms;
}

.delay-200 {
    transition-delay: 160ms;
}

.delay-300 {
    transition-delay: 240ms;
}

/* ===================================================
   CONTACT FORM (pages like kontakt)
   =================================================== */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
}

input[type="submit"] {
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

input[type="submit"]:hover {
    background: var(--accent-hover);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

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

    .mobile-theme-toggle {
        display: flex !important;
    }

    .hero-section {
        padding: 8rem 0 4rem;
    }

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

    .desktop-only {
        display: none;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .post-footer-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-search-box {
        flex-direction: column;
        padding: 0.5rem;
    }

    .search-btn {
        width: 100%;
    }

    .search-icon {
        display: none;
    }
}