/*
Theme Name: Transcamion
Theme URI: https://transcamion.com
Description: Custom WordPress theme for Transcamion
Author: VIEREGG Design GmbH
Author URI: https://www.vieregg-design.de/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transcamion
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-wrap: break-word;
    hyphens: auto;
}

a {
    color: #1a3a52;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Skip-to-content link (visible only on keyboard focus) */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: #1a3a52;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
    left: 0;
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid #1a3a52;
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #1a3a52;
    outline-offset: 2px;
}

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

/* Header */
.site-header,
.sticky-header {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 2rem;
    position: relative;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: block;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.nav-group {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 2rem;
}

/* Mobile-only elements - hidden on desktop */
.mobile-break {
    display: none;
}

.mobile-home-link {
    display: none;
}

.mobile-menu-logo {
    display: none;
}

/* Bottom bar + legal links - only visible in mobile menu */
.mobile-bottom-bar {
    display: none;
}

.mobile-legal-links {
    display: none;
}

.site-navigation {
    flex: 1;
}

/* Hamburger menu toggle - hidden on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 9999;
    position: relative;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-header .menu-toggle span {
    background-color: #fff;
}

/* Floating mobile hamburger - hidden on desktop */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    position: fixed;
    top: 20px;
    right: 1rem;
    z-index: 10000;
    mix-blend-mode: difference;
}

.mobile-nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

.site-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.site-navigation li {
    margin: 0;
    padding: 0;
}

.site-navigation a {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 4px;
    text-decoration: none;
}

.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a,
.site-navigation .current-menu-ancestor > a,
.site-navigation .current_page_ancestor > a {
    color: #1a3a52;
}

/* Floating navigation underline */
.nav-underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #1a3a52;
    pointer-events: none;
    opacity: 0;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.lang-link {
    color: #666;
    font-weight: 500;
    font-size: 16px;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.lang-link:hover {
    color: #1a3a52;
    text-decoration: none;
}

.lang-link.active {
    color: #1a3a52;
    font-weight: 700;
}

.lang-separator {
    color: #ccc;
}

/* Customer Login Button */
.customer-login-btn {
    display: inline-block;
    background-color: #155da7;
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
    transition: background-color 0.3s ease;
}

.customer-login-btn:hover {
    background-color: #4283c4;
    color: #fff;
    text-decoration: none;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1a3a52;
    padding: 0.75rem 2rem;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-header.visible {
    transform: translateY(0);
}

.sticky-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.sticky-header .site-logo img {
    height: 35px;
    width: auto;
}

.sticky-header .site-navigation a {
    color: #fff;
}

.sticky-header .site-navigation a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.sticky-header .site-navigation .current-menu-item > a,
.sticky-header .site-navigation .current_page_item > a,
.sticky-header .site-navigation .current-menu-ancestor > a,
.sticky-header .site-navigation .current_page_ancestor > a {
    color: #fff;
}

.sticky-header .nav-underline {
    background-color: #fff;
}

.sticky-header .lang-link {
    color: rgba(255, 255, 255, 0.7);
}

.sticky-header .lang-link:hover {
    color: #fff;
}

.sticky-header .lang-link.active {
    color: #fff;
}

.sticky-header .lang-separator {
    color: rgba(255, 255, 255, 0.4);
}

.sticky-header .customer-login-btn {
    background-color: #155da7;
    color: #fff;
}

.sticky-header .customer-login-btn:hover {
    background-color: #4283c4;
}

/* Footer */
.site-footer {
    background: #1a3a52;
    color: #fff;
    padding: 0;
    margin-top: 0;
    font-size: 0.875rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Footer Block Pattern Styles */
.footer-columns > .wp-block-columns {
    display: contents;
}

.footer-columns > .wp-block-columns > .wp-block-column {
    text-align: left;
}

.footer-columns .wp-block-columns.footer-pattern {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-columns .footer-pattern .wp-block-column {
    margin: 0;
}

.footer-columns .footer-pattern p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0;
}

.footer-columns .footer-pattern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-columns .footer-pattern a:hover {
    color: #fff;
}

/* Footer Pattern Navigation */
.footer-columns .footer-pattern .footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-columns .footer-pattern .footer-navigation li {
    margin-bottom: 0.5rem;
}

.footer-columns .footer-pattern .footer-navigation a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.footer-columns .footer-pattern .footer-navigation a:hover {
    color: #fff;
}

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

.footer-title {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-address {
    font-style: normal;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list strong {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: #fff;
}

.footer-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    gap: 1rem;
}

.footer-nav .footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-nav .footer-navigation a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav .footer-navigation a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

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

    .footer-columns .wp-block-columns.footer-pattern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 40px 20px 0;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-columns .wp-block-columns.footer-pattern {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-hours-list li {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Main Content */
.site-main {
    min-height: 60vh;
}

.page-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 0.5rem;
}

/* Breadcrumb-style page header */
.breadcrumb-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #6b7280;
}

.breadcrumb-header .breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-header .breadcrumb a:hover {
    color: #1a3a52;
}

.breadcrumb-sep {
    color: #9ca3af;
    font-weight: 300;
}

.page-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a3a52;
    margin: 0;
}

.page-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* 404 Error Page */
.error-404 {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    text-align: center;
    padding: 4rem 2rem;
}

.error-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 1rem;
}

.error-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.btn-back-home {
    display: inline-block;
    background: #1a3a52;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-back-home:hover {
    background: #2a5a7a;
    text-decoration: none;
    color: #fff;
}

/* Entry content for standard pages (Impressum, Datenschutz, AGB, etc.) */
.entry-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    line-height: 1.8;
    color: #333;
}

.entry-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3a52;
    margin: 2rem 0 1rem;
}

.entry-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a3a52;
    margin: 2rem 0 0.75rem;
}

.entry-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a3a52;
    margin: 1.5rem 0 0.5rem;
}

.entry-content p {
    margin: 0 0 1rem;
}

.entry-content ul {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.4rem;
}

.entry-content a {
    color: #2271b1;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #1a3a52;
}

/* Override React Map App overflow hidden */
body.home,
body.page {
    overflow-y: auto !important;
    overflow-x: hidden;
}

#root {
    overflow: visible !important;
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    position: relative;
}

.hero-map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.hero-map #root {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Override React app's h-screen to inherit parent height */
.hero-map #root > div {
    height: 100% !important;
    max-height: 100% !important;
}

.hero-map #root > div > div {
    height: 100% !important;
}

/* Hero Störer Banner - flag from right viewport edge */
.hero-stoerer {
    position: absolute;
    bottom: -3rem;
    right: calc((100% - 100vw) / 2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #FBCE07;
    color: #DD1D21;
    padding: 0.5rem 2.5rem 0.5rem 0.5rem;
    font-family: 'Futura', 'Futura PT', 'Century Gothic', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transform: translateX(calc(100% - 6rem));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stoerer-logo {
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
}

.hero-stoerer:hover {
    transform: translateX(0);
    box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.3);
    color: #DD1D21;
    text-decoration: none;
}

/* E100 Störer — positioned below Shell Störer */
.hero-stoerer-e100 {
    bottom: -10.5rem;
    background: #50B748;
    color: #fff;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    transform: translateX(0);
}

/* Initially crop to show only the "e" — reveal full "e100" on hover */
.hero-stoerer-e100-logo {
    width: 4rem;
    height: 5rem;
    object-fit: cover;
    object-position: left center;
    transition: width 0.3s ease;
}

.hero-stoerer-e100:hover {
    color: #fff;
    transform: translateX(0);
}

.hero-stoerer-e100:hover .hero-stoerer-e100-logo {
    width: 10.5rem;
}

.hero-form {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-form h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #333;
}

.hero-form .form-group {
    margin-bottom: 1.5rem;
}

.hero-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.hero-form input,
.hero-form textarea,
.hero-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.hero-form textarea {
    resize: vertical;
    min-height: 120px;
}

.hero-form button {
    width: 100%;
    padding: 1rem;
    background: #1a3a52;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-form button:hover {
    background: #132a3c;
}

/* Responsive */
@media (max-width: 1024px) {
    /* Header */
    .site-header {
        padding: 0.75rem 1rem;
    }

    .site-header .container {
        gap: 1rem;
    }

    /* Hide sticky header on mobile - use floating hamburger instead */
    .sticky-header {
        display: none !important;
    }

    /* Hide inline hamburger on mobile (replaced by floating .mobile-nav-toggle) */
    .menu-toggle {
        display: none !important;
    }

    /* Show floating mobile hamburger */
    .mobile-nav-toggle {
        display: flex;
    }

    /* Floating hamburger animation when active */
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile nav overlay - always uses site-header's nav-group */
    .site-header .nav-group {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: #fff;
        padding: 5rem 1.5rem 1.5rem;
        gap: 1rem;
        align-items: stretch;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    .site-header .nav-group.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Mobile menu logo - top left, aligned with close button */
    .mobile-menu-logo {
        display: block;
        position: absolute;
        top: 20px;
        left: 1.5rem;
    }

    .mobile-menu-logo img {
        height: 30px;
        width: auto;
    }

    /* Mobile home link */
    .mobile-home-link {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e5e5e5;
        color: #333;
        font-weight: 500;
        font-size: 16px;
        text-decoration: none;
    }

    /* Mobile nav links */
    .site-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .site-navigation li {
        border-bottom: 1px solid #e5e5e5;
    }

    .site-navigation li:last-child {
        border-bottom: none;
    }

    .site-navigation a {
        display: block;
        padding: 0.75rem 0;
        font-size: 16px;
    }

    /* Hide desktop language switcher on mobile */
    .language-switcher {
        display: none;
    }

    /* Login button in mobile nav */
    .customer-login-btn {
        text-align: center;
        padding: 0.6rem 1.2rem;
    }

    /* Bottom bar with legal links + language switcher */
    .mobile-bottom-bar {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-between;
        margin-top: auto;
        padding-top: 1.5rem;
        border-top: 1px solid #e5e5e5;
        gap: 0.25rem;
    }

    .mobile-legal-links {
        display: contents;
    }

    .mobile-legal-links ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: contents;
    }

    .mobile-legal-links li {
        width: 100%;
    }

    .mobile-legal-links li:last-child {
        width: auto;
    }

    .mobile-legal-links a {
        color: #999;
        font-size: 13px;
        text-decoration: none;
    }

    .mobile-legal-links a:hover {
        color: #333;
    }

    .mobile-language-switcher {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        margin-left: auto;
    }

    .mobile-language-switcher .lang-link {
        color: #999;
        font-size: 13px;
        text-decoration: none;
    }

    .mobile-language-switcher .lang-link.active {
        color: #333;
        font-weight: 600;
    }

    .mobile-language-switcher .lang-separator {
        color: #ccc;
        font-size: 13px;
    }

    /* Prevent scroll when nav is open */
    body.nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Nav underline hidden on mobile */
    .nav-underline {
        display: none !important;
    }

    /* Hero */
    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-map {
        height: 400px;
    }

    .hero-stoerer {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 1rem;
        justify-content: center;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
        gap: 0.5rem;
        transform: none;
        transition: none;
    }

    .hero-stoerer:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .hero-stoerer-logo {
        width: 2rem;
        height: 2rem;
    }

    .hero-stoerer-e100 {
        padding: 0.75rem 1.5rem;
    }

    .hero-stoerer-e100-logo {
        width: auto;
        height: 2rem;
        object-fit: contain;
        object-position: center;
        transition: none;
    }

    .hero-stoerer-e100:hover .hero-stoerer-e100-logo {
        width: auto;
    }

    /* Page content */
    .page-content {
        padding: 0 1rem;
    }

    .entry-content {
        padding: 0 1rem;
    }

    .page-header {
        padding: 2rem 1rem 0.5rem;
    }

    .hero-section {
        padding: 0 1rem;
    }

    /* Footer */
    .site-footer {
        margin-top: 0;
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 15px 0;
        text-align: left;
    }

    .mobile-break {
        display: block;
    }
}

/* Bild/Text Cards — h2 override (block CSS cache workaround) */
.wp-block-transcamion-bild-text-section .card-content h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.wp-block-transcamion-bild-text-section .cards-grid.overlay-style .card-content h2 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .wp-block-transcamion-bild-text-section .card-content h2 {
        font-size: 1.25rem !important;
    }
}

/* Print styles */
@media print {
    .site-header,
    .sticky-header,
    .mobile-nav-toggle,
    .site-footer,
    .cookie-consent-banner,
    .hero-stoerer,
    .skip-to-content,
    .customer-login-btn,
    .language-switcher,
    #intercom-container,
    .intercom-lightweight-app {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .entry-content {
        max-width: 100%;
        padding: 0;
    }

    .page-header {
        padding: 1rem 0 0.5rem;
    }

    .site-main {
        min-height: 0;
    }

    img {
        max-width: 100% !important;
    }
}

/* =============================================
   Cookie Consent Banner
   ============================================= */
.tc-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: #fff;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tc-cookie-banner.tc-cb-visible {
    transform: translateY(0);
}

.tc-cb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.tc-cb-main {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.tc-cb-text {
    flex: 1;
}

.tc-cb-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.tc-cb-text a {
    color: #1a3a52;
    text-decoration: underline;
}

.tc-cb-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.tc-cb-accept-all {
    background: #1a3a52;
    color: #fff;
    border: 2px solid #1a3a52;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.tc-cb-accept-all:hover {
    background: #132a3c;
}

.tc-cb-reject-all {
    background: #fff;
    color: #333;
    border: 2px solid #ddd;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s ease;
}

.tc-cb-reject-all:hover {
    border-color: #999;
}

.tc-cb-settings {
    background: none;
    border: none;
    color: #1a3a52;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0.6rem 0.5rem;
    white-space: nowrap;
    text-decoration: underline;
}

/* Detail panel */
.tc-cb-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.tc-cb-details.tc-cb-details-open {
    max-height: 400px;
}

.tc-cb-details-inner {
    padding-top: 1.25rem;
    border-top: 1px solid #e5e5e5;
    margin-top: 1.25rem;
}

.tc-cb-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.tc-cb-category:last-child {
    border-bottom: none;
}

.tc-cb-category-info {
    flex: 1;
}

.tc-cb-category-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}

.tc-cb-category-desc {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

/* Toggle switch */
.tc-cb-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.tc-cb-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tc-cb-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: background-color 0.2s ease;
}

.tc-cb-toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.tc-cb-toggle input:checked + .tc-cb-toggle-slider {
    background-color: #1a3a52;
}

.tc-cb-toggle input:checked + .tc-cb-toggle-slider::before {
    transform: translateX(20px);
}

.tc-cb-toggle input:disabled + .tc-cb-toggle-slider {
    background-color: #1a3a52;
    opacity: 0.5;
    cursor: default;
}

.tc-cb-save {
    background: #1a3a52;
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s ease;
}

.tc-cb-save:hover {
    background: #132a3c;
}

/* Map consent placeholder */
.tc-map-consent-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #f0f2f5;
    color: #555;
    text-align: center;
    padding: 3rem 2rem;
    min-height: 300px;
}

.tc-map-consent-placeholder p {
    margin: 0;
    font-size: 15px;
    max-width: 400px;
}

.tc-map-consent-btn {
    background: #1a3a52;
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tc-map-consent-btn:hover {
    background: #132a3c;
}

/* Cookie settings footer link */
.cookie-settings-link {
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .tc-cb-inner {
        padding: 1.25rem 1rem;
    }

    .tc-cb-main {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .tc-cb-buttons {
        flex-direction: column;
    }

    .tc-cb-accept-all,
    .tc-cb-reject-all {
        text-align: center;
    }
}
