/*
Theme Name: Boxed
Theme URI: https://advance-media.de/
Author: Patrick Schlak
Author URI: https://advance-media.de
Description: Wordpress Theme based on ACF and Gutenberg
Version: 0.0.1
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: themebase, acf, gutenberg
Text Domain: 
*/

/* ==========================================================================
   1. CUSTOM FONT DECLARATIONS (Berthold Akzidenz Grotesk)
   ========================================================================== */

/* Light (300) */
@font-face {
    font-family: 'MyCustomFont';
    src: url('assets/fonts/Berthold-Akzidenz-Grotesk-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular (400) */
@font-face {
    font-family: 'MyCustomFont';
    src: url('assets/fonts/Berthold-Akzidenz-Grotesk-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Italic (400 + italic style) */
@font-face {
    font-family: 'MyCustomFont';
    src: url('assets/fonts/Berthold-Akzidenz-Grotesk-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Medium (500) */
@font-face {
    font-family: 'MyCustomFont';
    src: url('assets/fonts/Berthold-Akzidenz-Grotesk-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold (700) */
@font-face {
    font-family: 'MyCustomFont';
    src: url('assets/fonts/Berthold-Akzidenz-Grotesk-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Bold Italic (700 + italic style) */
@font-face {
    font-family: 'MyCustomFont';
    src: url('assets/fonts/Berthold Akzidenz Grotesk BE Bold Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Bold Extended Italic (800 + italic style) */
@font-face {
    font-family: 'MyCustomFont';
    src: url('assets/fonts/Berthold Akzidenz Grotesk BE Bold Extended Italic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Extra Bold (800) */
@font-face {
    font-family: 'MyCustomFont';
    src: url('assets/fonts/Berthold Akzidenz Grotesk BE Extra Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Super (900) */
@font-face {
    font-family: 'MyCustomFont';
    src: url('assets/fonts/Berthold Akzidenz Grotesk BE Super.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================================
   2. GLOBAL, HEADER & LAYOUT STYLES (DESKTOP DEFAULT)
   ========================================================================== */

body * {
    font-family: 'MyCustomFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}



#header.row {
    padding:0 !important;
}


#breadcrumbs + .page > .row:first-child > div:first-child,
#breadcrumbs + .page > .row:first-child,
.platz-fur-header-cards > div:first-child {
    padding-top: 0 !important;
}


#breadcrumbs + .page,
#breadcrumbs + #page,
#header + .page,
#page,
.page{
        background: linear-gradient(180deg, rgba(0, 48, 68, 1) 0%, rgba(0, 0, 0, 1) 50%);
}


@media (max-width:575px){
.kommentare-content,
.blog-einzeln-content,
.hero-slider-inner,
.hero-slider-text{
    width: 85vw !important;
}
}


.owl-stage-outer .owl-stage .owl-item.active{
    display: flex !important;
    justify-content: center !important;
}

#header {
    position: relative;
    z-index: 9999; /* Ensure header stays on top of page content */
}

#header .navbar {
    background-color: #003044 !important;
}

/* Container Flex Setup */
.navbar > .container {
    max-width: 90vw !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 16vh !important; /* Desktop height */
}

/* Drawer Placement under the Header */
.mm-ocd__content {
    top: 16vh !important; /* Desktop top placement */
}

/* Left Group Structure (Logos & Slogan) */
.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Right Group Structure (Button & Hamburger) */
.header-right {
    display: flex;
    align-items: center;
}

/* Logo Adjustments - Desktop Default */
.navbar-brand-desktop img,
.navbar-brand-mobile img {
    display: block;
    height: auto;
    max-height: 110px; /* Desktop logo size */
}

/* Slogan Styles - Desktop Default */
.header-slogan {
    display: block;
    color: #E6F5FC;
    font-family: 'MyCustomFont', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* Header Action Button - Desktop Default */
.header-right .header-request-btn {
    display: inline-block !important;
    margin-right: 35px;
    font-size: 0 !important; /* Hide dynamic markup string explicitly in header */
}

/* Re-injects "Jetzt Anfragen" only on the desktop header button */
.header-right .header-request-btn::before {
    content: "Jetzt Anfragen";
    display: inline-block;
    font-family: 'MyCustomFont', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 20px;
    letter-spacing: 0.3px;
    transform: skewX(25deg);
}

.mm {
    --mm-ocd-max-width: 380px;
}


/* ==========================================================================
   SHARED REQUEST BUTTON STYLES (Used by both Header & Hero Slider)
   ========================================================================== */

.header-request-btn,
.submit-wrapper input[type="submit"] {
    display: inline-block;
    margin-right: 15px; 
    padding: 10px 30px !important; /* Desktop Padding */
    background-color: #C8873A !important;
    color: #E6F5FC !important;
    text-decoration: none !important;
    border-radius: 12px; 
    transform: skewX(-25deg) !important;
    z-index: 4 !important; 
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Style for dynamic inline text wrapper used in hero sliders */
.header-request-btn .btn-text {
    display: inline-block;
    font-family: 'MyCustomFont', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 18px !important;
    transform: skewX(25deg) !important; /* Counteracts the skewed background */
}

.header-request-btn:hover,
.submit-wrapper input[type="submit"]:hover {
    background-color: #b07530 !important;
    transform: skewX(-25deg) scale(1.03) !important;
}

.hero-link-second {
    background-color: #003044 !important;
    border: 1px solid #66C5EE !important;
}

.hero-link-second span {
    color: #66C5EE !important;
}

.hero-link-second:hover {
    background-color: #003044 !important;
}


/* ==========================================================================
   NAVIGATION-SPECIFIC BUTTON OVERRIDES (Forces static text wrapper)
   ========================================================================== */

/* Show Request Button in Navigation Drawer ONLY when mobile drawer is open */
html.mm-ocd--open .header-right .header-request-btn,
body.mm-ocd--open .header-right .header-request-btn,
.mm-ocd--open .header-right .header-request-btn {
    display: inline-block;
    margin-right: 35px;
    font-size: 0 !important; /* Hide original link string to swap dynamically */
}

/* Generates "Jetzt Anfragen" specifically inside Navigation layout views */
html.mm-ocd--open .header-right .header-request-btn::before,
body.mm-ocd--open .header-right .header-request-btn::before,
.mm-ocd--open .header-right .header-request-btn::before {
    content: "Jetzt Anfragen";
    display: inline-block;
    font-family: 'MyCustomFont', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 20px !important;
    transform: skewX(25deg) !important; /* Perfect anti-skew */
    color: #E6F5FC !important;
}

.mm-ocd {
    z-index: 4 !important;
}


/* ==========================================================================
   3. HAMBURGER ICON & DRAWER OVERRIDES
   ========================================================================== */

.hamburger-btn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 38px !important;
    height: 30px !important;
    cursor: pointer !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    position: relative !important;
}

.hamburger-btn span {
    width: 40px !important;
    display: block !important;
    height: 3px !important;
    background-color: #ffffff !important;
    border-radius: 4px !important;
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99) !important;
    position: absolute !important;
    left: 0 !important;
    transform-origin: center !important;
}

/* Stagger-Layout im geschlossenen Zustand */
.hamburger-btn span:nth-child(1) {
    top: 3px !important;
}

.hamburger-btn span:nth-child(2) {
    top: 13px !important;
    left: 8px !important; /* Versatz nach rechts */
}

.hamburger-btn span:nth-child(3) {
    top: 23px !important;
}


/* ==========================================================================
   PERFEKTES "X" IM GEÖFFNETEN ZUSTAND
   ========================================================================== */



.mm-spn--open{
    top:60px !important;
    width: 100% !important;
}


/* 1. Obere Linie */
body:has(.mm-ocd--open) .hamburger-btn span:nth-child(1) {
    transform: rotate(45deg) !important;
    top: 13px !important;
    left: 0 !important;
    width: 40px !important;
    height: 3px !important;
}

/* 2. Mittlere Linie (Ausblenden) */
body:has(.mm-ocd--open) .hamburger-btn span:nth-child(2) {
    opacity: 0 !important;
    transform: translateX(-20px) !important;
}

/* 3. Untere Linie */
body:has(.mm-ocd--open) .hamburger-btn span:nth-child(3) {
    transform: rotate(-45deg) !important;
    top: 13px !important;
    left: 0 !important;
    width: 40px !important;
    height: 3px !important;
}


.mm-spn.mm-spn--navbar::after{
    opacity: 1 !important;
    color: #5bc1eb !important;
    font-family: 'MyCustomFont', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
    font-style: italic;
}

.mm-spn.mm-spn--dark.mm-spn--navbar.mm-spn--main,
.mm-spn.mm-spn--dark.mm-spn--navbar{
    border-left: 1px solid #009FE3 !important;
}

.menu-item-has-children > a{
    width:70% !important;
}

.mm-spn li::before{
    border-top:3px solid rgba(0, 159, 227, 0.6) !important;
    border-right:3px solid rgba(0, 159, 227, 0.6) !important;
    opacity:1 !important;
    transform:rotate(43deg) translate(0,-50%) !important; 
    width: 15px !important;
    height: 15px !important;
    right: 25% !important;
    top: 50% !important;
}


.sub-menu.mm-spn--open{
    padding-right: 0 !important;
}

.mm-spn ul.mm-spn--parent{
    left: 0 !important;
}

/* --- CUSTOM MENU DRAWER LOOK --- */
#menu {
    background-color: #000000 !important;
}

#menu-hauptmenue {
    background-color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
}

#menu-hauptmenue li,
.mm-menu li {
    position: relative !important;
    border-bottom: 1px solid rgba(0, 159, 227, 0.6) !important; 
}

#menu-hauptmenue li a,
.mm-menu li a {
    display: block !important;
    padding: 25px 0 25px 45px !important; /* Desktop Menu padding */
    color: #5bc1eb !important;
    font-family: 'MyCustomFont', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 20px !important;
    text-transform: none;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

/* Hover-Effekte für Link-Texte */
#menu-hauptmenue li a:hover,
.mm-menu li a:hover {
    color: #E6F5FC !important;
}

.mm-spn a:not(:last-child)::after{
    display: none !important;
}

/* ==========================================================================
   SPEZIELLER DESIGN-PFEIL NUR FÜR DIE KLASSE .pfeil (AUF DEM LI::AFTER)
   ========================================================================== */

/* 1. Setzt das neue, detaillierte SVG-Bild direkt auf das a::after im li mit der Klasse .pfeil */
#menu-hauptmenue li.pfeil a::after,
.mm-menu li.pfeil a::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    width: 32px !important;
    height: 18px !important;
    right: 30% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none;
    
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='18' viewBox='0 0 32 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9H31M31 9L23 1M31 9L23 17' stroke='%2366C5EE' stroke-width='1' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    
    transition: transform 0.2s ease, background-image 0.2s ease !important;
}

/* 2. Hover-Zustand: Der Vektorpfeil gleitet leicht nach rechts und wechselt zu Weiß */
#menu-hauptmenue li.pfeil a:hover::after,
.mm-menu li.pfeil a:hover::after {
    transform: translateY(-50%) translateX(6px) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='18' viewBox='0 0 32 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9H31M31 9L23 1M31 9L23 17' stroke='%23ffffff' stroke-width='1' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
}


/* ==========================================================================
   HERO SLIDER - DESKTOP DEFAULT
   ========================================================================== */

.hero-slider-title,
.hero-slider-subtitle,
.hero-slider-text {
    color: #E6F5FC;
    text-shadow:2px 2px 4px rgba(0,0,0,1);
}

.hero-slider-title,
.hero-slider-subtitle,
body.single-news .hero-slider-title {
    font-style: italic;
    font-weight: 700;
    font-size: 3em; /* Desktop font size */
    line-height: 1em; /* Desktop line height */
    letter-spacing: .5px;
}

.hero-slider-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.5em; /* Desktop font size */
    line-height: 1em; /* Desktop line height */
    padding-bottom: 40px;
}



#breadcrumbs {
    background-color: #003044;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
    margin:0;
}

#breadcrumbs a ,
#breadcrumbs span{
    text-decoration:none;
    color: #E6F5FC;
}

.breadcrumb_last {
    font-weight:700;
}

@media (min-width: 576px) { #breadcrumbs { padding-left: calc((102% - 540px) / 2); padding-right: calc((102% - 540px) / 2); } }
@media (min-width: 768px) { #breadcrumbs { padding-left: calc((102% - 720px) / 2); padding-right: calc((102% - 720px) / 2); } }
@media (min-width: 992px) { #breadcrumbs { padding-left: calc((102% - 960px) / 2); padding-right: calc((102% - 960px) / 2); } }
@media (min-width: 1200px) { #breadcrumbs { padding-left: calc((102% - 1140px) / 2); padding-right: calc((102% - 1140px) / 2); } }
@media (min-width: 1400px) { #breadcrumbs { padding-left: calc((102% - 1320px) / 2); padding-right: calc((102% - 1320px) / 2); } }

/* =============================================
            KONTAKT FORMULAR
============================================= */

.kontaktformular-block {
    background: linear-gradient(180deg, rgba(0, 48, 68, 1) 0%, rgba(0, 0, 0, 1) 50%);
}

.flow-form-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
    color: #E6F5FC;
    /* padding:0 25vw 40px 25vw; */
}

.flow-form-inner {
    padding: 40px;
    border:1px solid #66C5EE;
    border-radius: 12px;
}

.flow-form-inner p{
    font-size: 18px !important;
}

.flow-form-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px !important;
    color: #ffffff;
}

.required-star {
    color: #e53e3e;
}

.flow-field {
    margin-bottom: 20px;
}

.flow-field label {
    display: block;
    font-size: 18px !important;
    line-height: 1.4;
}

.flow-field label strong {
    display: block;
    margin-bottom: 6px;
}

.flow-form-container input[type="text"],
.flow-form-container input[type="email"],
.flow-form-container input[type="tel"],
.flow-form-container select,
.flow-form-container textarea {
    width: 100%;
    padding: 12px;
    font-size: 18px !important;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    background-color: #fff;
    color: #2d3748;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.flow-form-container input:focus,
.flow-form-container select:focus,
.flow-form-container textarea:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.25);
    outline: none;
}

.flow-form-container textarea {
    min-height: 100px;
    resize: vertical;
}

.info-text {
    margin-top: 10px;
    line-height: 1.4;
    color: #a0aec0;
}

.flow-divider {
    border: 0;
    height: 2px !important;
    background: #009FE3;
    margin: 20px 0;
    opacity: 1;
}

.acceptance-wrapper span.wpcf7-list-item {
    margin: 0;
}

.acceptance-wrapper input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.15);
    vertical-align: middle;
}

.acceptance-wrapper a {
    color: #3182ce;
    text-decoration: underline;
}

.submit-wrapper{
    text-align: center;

}

.submit-wrapper input[type="submit"] {
    border:none;
    font-weight: 700;
    font-size: 20px;
}


@media (max-width: 991.98px) {
    .submit-wrapper input[type="submit"]{
        text-align: center;
        margin-left: 85px;
    }
}

@media (max-width: 575.98px) {
    .flow-form-inner{
        padding:0;
        border:none;
    }
    
    .flow-form-container h3 {
        font-size: 18px !important;
    }

}


    /* ==========================================================================
   4. TABLET & MOBILE OVERRIDES (Screen widths < 1200px)
   ========================================================================== */

@media (max-width: 1199.98px) {
    /* Hide Slogan on Tablet and Mobile viewports */
    .header-slogan {
        display: none;
    }
}


/* ==========================================================================
   5. MOBILE ROOT OVERRIDES (Screen widths < 992px)
   ========================================================================== */

@media (max-width: 991.98px) {
    .navbar > .container {
        height: 9vh !important;
    }

    .mm-ocd__content {
        top: 9vh !important;
    }

    /* Target brand image limits on Mobile layout */
    .navbar-brand-desktop img,
    .navbar-brand-mobile img {
        max-height: 50px;
    }

    /* Padding scale-down inside the Navigation drawer */
    #menu-hauptmenue li a,
    .mm-menu li a {
        padding: 18px 0 18px 30px !important;
    }

    /* Hide standard header action button in base view on Mobile */
    .header-right .header-request-btn {
        display: none !important;
    }

    /* Reduce default button padding on Mobile */
    .header-request-btn {
        padding: 10px 10px !important;
    }

    /* Adjust Hero Layout for Mobile */
    /* #hero-slider-container .hero-slider-inner {
        width: 85vw !important;
    } */

    .hero-slider-title,
    .hero-slider-subtitle {
        font-size: 1.9em !important;
        line-height: 1em !important;
    }

    .hero-slider-text {
        font-size: 18px !important;
        line-height: inherit;
    }

    #hero-image img {
        margin-top: 0 !important;
    }
}


/* ==========================================================================
   6. SMALL MOBILE DEVICES OVERRIDES (Screen widths < 576px)
   ========================================================================== */

@media (max-width: 575.98px) {
    .mm-ocd--right .mm-ocd__content {
        width: 95vw !important;
    }

    .hero-slider-title,
    .hero-slider-subtitle {
        font-size: 1.5em !important;
    }

    #hero-slider-container {
        height: 500px !important;
    }

    .hero-slider-links {
        text-align: center !important;
    }

    #hero-slider-container .hero-slider-links .hero-link-second {
        margin-left: 0;
    }

    .hero-slider-links a {
        padding: 10px 17px !important;
    }

    .header-request-btn .btn-text {
        font-size: 15px !important;
    }
    
}







/* ===========================================================
                      ÜBERGANG BILDER HERO
=========================================================== */

/* Container für die Kacheln absolut unten im Slider positionieren */
#hero-slider-container {
    position: relative;
}

.transition-col{
    padding:0;
}

.hero-transition-container {
    width: 100%;
    max-width: 67vw;
    margin-top: -125px;
    position: relative;
    z-index: 2;
}

/* Grid-Layout für die Kacheln */
.transition-row {
    display: grid;
    grid-template-columns: 1fr; /* Standardmäßig 1 Spalte (Mobil & Tablet) */
    gap: 30px;
}

/* Kachel Styling */
.transition-card {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Dunkles Standard-Overlay für alle Kacheln */
.transition-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
    transition: background-color 0.4s ease; /* Übergang zum Orangebraun */
}

/* --- HOVER EFFEKTE --- */

.transition-card-link-wrapper:hover .transition-card {
    /* transform: translateY(-5px); */
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* Das Overlay blendet auf Hover weich ins Orangebraun über */
.transition-card-link-wrapper:hover .transition-card-overlay {
    background-color: rgba(199, 128, 54, 0.95);
}

/* Kachel Inhalt */
.transition-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
}

.transition-card-content h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    margin: 0;
    text-transform: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

/* "Mehr erfahren" Link - Startet unsichtbar und schiebt sich hoch */
.transition-more-link {
    display: inline-block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 14px;
    text-decoration: underline;
    font-weight: 500;
    text-underline-offset: 4px;
    
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Aktivierung der Effekte beim Hover über den Link-Wrapper */
.transition-card-link-wrapper:hover .transition-more-link {
    opacity: 1;
    transform: translateY(0);
    color: #f1f1f1;
}

.transition-card-link-wrapper:hover .transition-card-content h3 {
    transform: translateY(-5px);
}

.transition-card-link-wrapper {
    text-decoration: none;
    display: block;
}

.platz-fur-header-cards {
    margin-top: -200px;
    padding-top: 300px;
}


/* --- RESPONSIVE DESIGNS --- */

@media screen and (min-width: 992px) {
    .transition-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1300px) {
    .hero-transition-container {
        max-width: 90vw;
    } 
    
    .transition-card-content h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 992px) {
    .platz-fur-header-cards {
        margin-top: -600px;
        padding-top: 650px;
    }
}

@media screen and (max-width: 575px) {
    .hero-transition-container {
        margin-top: -40px;
    }
    .platz-fur-header-cards {
        margin-top: -700px;
        padding-top: 750px;
    }
}



/* ============================================
            BLOGPOST EINZELN
============================================ */
.blog-einzeln-wrapper {
    background: linear-gradient(180deg, rgba(0, 48, 68, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 48, 68, 1) 100%);
}

body.single-news .hero-slider-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.5em;
    line-height: 1em;
    padding: 20px 0 40px 0;
    font-style: initial;
    font-weight: normal;
    max-width: 70%;
} 

.blog-einzeln-wrapper.container {
    max-width: unset !important;
    color: #E6F5FC;
}

.kommentare-wrapper {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 48, 68, 1) 100%);
    color: #E6F5FC;
}

.blog-einzeln-content {
    background-color: #0c0d0e; 
    border: 1px solid #66C5EE;
    border-radius: 12px;
    padding: 30px;
    margin:0 auto;
}

.blog-einzeln-content h1 {
    font-style: italic;
    font-weight: 700;
    margin-bottom: 25px;
}

/* ============================================
            KOMMENTARE FORM STYLING
============================================ */

#reply-title.comment-reply-title {
    color: #E6F5FC;
    font-size: 2.5em;
    font-weight: 700;
    font-style: italic;
    margin: 100px 0 10px 0;
    line-height: 1.3;
}

.comment-notes {
    color: #E6F5FC;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

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

.form-feld-wrapper p {
    margin: 0;
    position: relative;
}

.comment-form input[type="text"],
.comment-form textarea {
    width: 100%;
    background-color: #0c0d0e;
    border: 1px solid #66C5EE;
    border-radius: 12px;
    color: #E6F5FC;
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    padding: 32px 20px 12px 20px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    outline: none;
}

.comment-form textarea {
    min-height: 200px;
    resize: vertical;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus,
.comment-form input[type="text"]:hover,
.comment-form textarea:hover {
    border-color: #b07530;
}

.comment-form label {
    position: absolute;
    top: 10px;
    left: 20px;
    color: #E6F5FC;
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    pointer-events: none;
    z-index: 2;
}

/* ============================================
            SUBMIT BUTTON STYLING
============================================ */

.button-aussen-wrapper {
    margin-top: 10px;
}

/* Outer skewed wrapper (matches .header-request-btn) */
.button-innen-wrapper {
    display: inline-block;
    margin-right: 15px; 
    background-color: #C8873A !important;
    border-radius: 12px; 
    transform: skewX(-25deg) !important;
    z-index: 4 !important; 
    transition: background-color 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.button-innen-wrapper:hover {
    background-color: #b07530 !important;
    transform: skewX(-25deg) scale(1.03) !important;
}

/* Inner submit input text deskewed (matches .btn-text) */
.comment-form #submit.submit {
    background: transparent !important;
    border: none !important;
    color: #E6F5FC !important;
    padding: 10px 30px !important;
    font-weight: 700;
    font-style: italic;
    font-size: 18px !important;
    transform: skewX(25deg) !important;
    cursor: pointer;
}

.comment-form input[type="hidden"] {
    display: none !important;
}



.blog-einzeln-wrapper.container,
.kommentare-wrapper {
    width: 100vw;
}

.kommentare-wrapper {
    padding:100px 0 50px 0;
}

.kommentare-content,
.blog-einzeln-content {
    margin:0 auto;
}

/* =====================================================
                ARCHIVE NEWS
===================================================== */

/* Outer Wrapper */
.flow-archive-wrapper {
    background: linear-gradient(180deg, rgba(0, 48, 68, 1) 0%, rgba(0, 0, 0, 1) 50%);
    display: flex;
    padding-bottom: 50px;
    justify-content: center;
    margin: 0 auto;
}

/* Flexbox Container (Replaces Grid) */
.archive-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px; /* row-gap: 40px, column-gap: 30px */
    width: 90%; 
}

/* Individual Post Card (Mobile Default: 1 Column) */
.archive-card {
    position: relative;
    background-color: #0c0d0e;
    border: 1px solid #66C5EE;
    border-radius: 12px;
    padding: 35px 40px 25px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease;
    
    /* Flex width calculation for 1 column */
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.archive-card:hover {
    border-color: #b07530;
}

/* Typography & Content */
.archive-card .card-title {
    color: #E6F5FC;
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    margin: 0 0 20px 0;
    line-height: 1.25;
}

.archive-card .card-text {
    color: #E6F5FC;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes the button to the bottom right */
}

/* Bottom Right "Mehr lesen" Link */
.archive-card .card-link {
    color: #E6F5FC;
    font-size: 18px;
    text-decoration: underline;
    text-align: right;
    align-self: flex-end;
    transition: color 0.2s ease;
}

.archive-card .card-link:hover {
    color: #66C5EE;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet (2 Columns) */
@media (min-width: 768px) {
    .archive-container {
        max-width: 720px;
    }
    .archive-card {
        padding: 25px 20px;

        /* Flex calculation accounting for 30px gap: (100% - 30px) / 2 */
        flex: 0 0 calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }

    .archive-card .card-title {
        font-size: 20px;
    }
}

@media (min-width: 992px) {
    .archive-container {
        max-width: 960px;
    }
}

/* Desktop (3 Columns) */
@media (min-width: 1200px) {
    .archive-container {
        max-width: 1140px;
    }
    .archive-card {
        /* Flex calculation accounting for two 30px gaps (60px total): (100% - 60px) / 3 */
        flex: 0 0 calc((100% - 60px) / 3);
        max-width: calc((100% - 60px) / 3);
    }
}

@media (min-width: 1400px) {
    .archive-container {
        max-width: 1320px;
    }
}



/* ==========================================================================
   COMMENT DISPLAY LIST STYLES ONLY
   ========================================================================== */

/* Outer comment list container */
ol.commentlist {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

/* Individual comment item */
ol.commentlist li.comment {
  margin-bottom: 1.25rem;
}

/* Comment card wrapper */
ol.commentlist .comment-body {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Header container (Author info on left, Date on right) */
ol.commentlist .comment-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

/* Author avatar + name area */
ol.commentlist .comment-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

ol.commentlist .comment-author img.avatar {
  border-radius: 50%;
  display: block;
}

ol.commentlist .comment-author .fn {
  font-style: normal;
  font-weight: 600;
}

ol.commentlist .comment-author .fn a {
  color: #0f172a;
  text-decoration: none;
}

ol.commentlist .comment-author .fn a:hover {
  color: #2563eb;
}

ol.commentlist .comment-author .says {
  color: #64748b;
  font-size: 0.875rem;
}

ol.commentlist .comment-author img.avatar {
    display: none;
}

/* Date / Time link */
ol.commentlist .comment-meta a {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-decoration: none;
}

ol.commentlist .comment-meta a:hover {
  color: #64748b;
  text-decoration: underline;
}

/* Comment text body */
ol.commentlist .comment-text-content p,
ol.commentlist .comment-body > p {
  margin: 0;
  color: #334155;
  line-height: 1.6;
  font-size: 0.95rem;
}


.row > :is(h1, h2, h3, h4, h5, h6):nth-of-type(2) {
    margin-bottom: 30px;
}



.row > *:not(.block-html,.transition-col,.block-logos) {
  padding-right: calc(var(--bs-gutter-x)) !important;
  padding-left: calc(var(--bs-gutter-x)) !important;
}