/* ===========================
   1. THEME INFORMATION
   =========================== */
/*
Theme Name: Michaela Müller - Begleitung
Theme URI: 
Author: Mario Blum
Author URI: 
Description: Ein individuelles WordPress Theme für Michaela Müller - Sterben und Trauern. Design von Anuschka Fink
Version: 1.0
License: Proprietär - Alle Rechte vorbehalten
License URI: 
Text Domain: michaela-mueller
*/

/* ===========================
   2. FONTS
   =========================== */
@font-face {
    font-family: 'NN Nouvelle Grotesk';
    src: url('./assets/fonts/NNNouvelleGrotesk-Normal.woff2') format('woff2'),
        url('./assets/fonts/NNNouvelleGrotesk-Normal.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NN Nouvelle Grotesk';
    src: url('./assets/fonts/NNNouvelleGrotesk-Bold.woff2') format('woff2'),
        url('./assets/fonts/NNNouvelleGrotesk-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ===========================
   3. RESET & BASE STYLES
   =========================== */
html, body {
    line-height: normal;
    font-size: 16px;
    margin: 0;
    padding: 0;
    font-family: var(--wp--preset--font-primary);
    color: var(--wp--preset--color-secondary);
    background-color: var(--wp--preset--color-white);
    font-style: normal;
    font-weight: normal;
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "clig" 0;
    font-variant-numeric: slashed-zero;
    font-feature-settings: 'ss02', 'zero' on;
    -moz-font-feature-settings: 'ss02=1', 'zero' on;
    -ms-font-feature-settings: 'ss02', 'zero' on;
    -webkit-font-feature-settings: 'ss02', 'zero' on;
    -o-font-feature-settings: 'ss02', 'zero' on;
    /* Scrollbalken ausblenden */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
   
}

/* Scrollbalken für Webkit-Browser ausblenden */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

html {
    height: 100%
  }

/* Base Typography */
h1 {
    font-size: inherit;
    margin: 1em 0;
}

h2 {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    font-size: inherit;
}

h3 {
    font-size: inherit;
    margin-block-start: 1em;
    margin-block-end: 0em;
}

p {
 
    margin-bottom: var(--wp--custom--spacing--small);
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
}


/* Seiten- und Beitragstitel */
.entry-title {
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--preset--line-height--small);
    margin: 0rem;
    color: var(--wp--preset--color-secondary);
    font-weight: bold;
}

ul {
    padding: 0;
    list-style-type: none;
}

/* Base Elements */
button {
    background: transparent;
    border: none;
    cursor: pointer;
}

input,
button,
select,
textarea {
    font: inherit;
}

a {
    transition: color 0.3s ease;
    text-decoration: none;
    color: var(--wp--preset--color-secondary);
}

a:hover,
a:active {
    font-style: italic;
}

/* ===========================
   4. LAYOUT
   =========================== */
/* Container */
.site-container {
    width: 95.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3.125rem;
    box-sizing: border-box;
    display: flex;
    position: relative;
  
}

/* Columns */
.left-column {
    width: 24rem;
    min-width: 18.75rem;
    height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    padding-top: 3.375rem;
}

.right-content {
    margin-left: 23.25rem;
    width: calc(100% - 23.25rem);
    min-height: calc(100vH - 1.25rem);
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 1rem;
    padding-right: 2rem;
   
}

.main-content-wrapper {
    padding-top: 5.5rem;
    width: 100%;
 
}

.site-main {
    width: 100%;
    margin-top: 0;
    padding: 0;
  
}

.main-content-area {
    max-width: 100%;
}

.entry-content {
    margin-top: 4rem;
    padding-right: 4rem;
}

@media (max-width: 47.9375rem) {
    .entry-content {
        margin-top: 0rem;
        padding-right: 0rem;
      
    }
}

/* Custom Spalten Layout 
Seiten Wo ich wirke + Wen ich begleite */

.custom-spalten-layout {
    display: flex;
    align-items: flex-start; /* Spalten oben ausrichten */
    position: relative; /* Für absolute Positionierung der zweiten Spalte */
}

/* Erste Spalte mit 90% Breite */
.custom-spalten-layout > .wp-block-column:first-child {
    flex: 0 0 90%;
    padding-bottom: 190px;
}

/* Zweite Spalte mit fixer Höhe und überlappend */
.custom-spalten-layout > .wp-block-column:last-child {
    flex: 0 0 42%; /* Breite der zweiten Spalte */
    position: relative; /* Position innerhalb des Layouts */
    left: -57.5%; /* Überlappung nach links */
    height: 250px;
    display: flex;
    align-items: top; /* Optional: Zentrierung des Textes vertikal */
    top: 12px;
}

.starterbild {
    max-width: 749px;
    margin-top:-30px !important;
}

.starterbild img {
    max-width: 100%;
    height: auto;

}

@media (max-width: 1025px) {
    /* Erste Spalte mit 90% Breite */
    .custom-spalten-layout>.wp-block-column:first-child {
        flex: 0 0 80%;
        padding-bottom: 210px;
    }
    
    /* Zweite Spalte mit fixer Höhe und überlappend */
    .custom-spalten-layout>.wp-block-column:last-child {
        flex: 0 0 60%;
        position: relative;
        left: -35%;
        height: auto;
        display: flex;
        align-items: top;
        top: 30px;
    }
}

@media (max-width: 47.9375rem) {
    .custom-spalten-layout {
        flex-direction: column;
    }

    /* Erste Spalte mit 90% Breite */
    .custom-spalten-layout>.wp-block-column:first-child {
        flex: 0 0 100%;
        padding-bottom: 0px;
    }

    /* Zweite Spalte mit fixer Höhe und überlappend */
    .custom-spalten-layout>.wp-block-column:last-child {
        flex: 0 0 100%;
        position: relative;
        left: 0;
        height: 250px;
        display: flex;
        align-items: top;
        top: 14px;
    }
}



/* ===========================
   7. HEADER
   =========================== */
.site-header {
    display: flex;
    width: 100%;
}

.site-header,
.site-header a,
.site-title,
.site-description,
.desktop-navigation a,
.top-right-contact,
.top-right-contact a,
.logo-description {
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--preset--line-height--small);
    letter-spacing: 0%;
}

.top-right-contact {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 20em);
    /* volle Breite minus vertical-header */
    background-color: var(--wp--preset--color-white);
}

.top-right-contact .container {
    display: flex;
    justify-content: flex-end;
    gap: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
}

.top-right-contact p {
    margin: 0;
}

.top-right-contact a {
    text-decoration: none;
    color: var(--wp--preset--color-secondary);
}

/* Kontaktinformationen */
.desktop-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    padding: 0rem 0rem 0 0;
    position: sticky;
    top: 3rem;
    align-self: flex-start;
    margin-left: auto;
    /* Ausrichtung rechts */
    z-index: 100;
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--preset--line-height--small);
}

.admin-bar .desktop-contact-info {
    top: calc(3rem + 32px);
}

.desktop-contact-info sup, sup {
    font-size: 0.6em;
    vertical-align: super;
    margin-right: 0.31em;
    top: 0em;
}

.desktop-contact-info a {
    text-decoration: none;
    /* Entfernt die Unterstreichung */
    color: var(--wp--preset--color-secondary);
    /* Behält die Textfarbe bei */
}

/* Optional: Styling für Hover-Zustand */
.desktop-contact-info a:hover {
    color: var(--wp--preset--color-primary);
    /* Farbänderung beim Überfahren mit der Maus */
}

/* Farbanpassungen für unterschiedliche Hintergründe */
.bg-primary .desktop-contact-info a {
    color: var(--wp--preset--color-secondary);
}

.bg-secondary .desktop-contact-info a {
    color: var(--wp--preset--color-primary);
}

.bg-secondary .desktop-contact-info a:hover {
    color: var(--wp--preset--color-primary);
}

/* Impressum/Datenschutz-Links */
.desktop-impressum-datenschutz {
    font-size: var(--wp--preset--font-size--small);
    white-space: nowrap;
    position: sticky;
    top: calc(100vh - 24rem);
    margin-left: auto;
    transform: rotate(-90deg);
    transform-origin: right bottom;
    z-index: 100;
    margin-right: -2rem;
    text-align: right;
}

.desktop-impressum-datenschutz a {
    text-decoration: none;
    /* Entfernt die Unterstreichung */
}

/* ===========================
   8. NAVIGATION
   =========================== */
/* --------------------------------
   Hauptnavigation - Desktop
-------------------------------- */

.desktop-navigation {
    margin-top: 4rem;
    margin-left: 0.8em;
}

.desktop-navigation ul,
.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.desktop-navigation li {
    margin-bottom: 0;
}

.main-menu li {
    position: relative;
    padding-left: 0;
}

.main-menu li:nth-child(5) {
    padding-bottom: var(--wp--custom--spacing--small);
}

.main-menu a {
    text-decoration: none;
    font-size: var(--wp--preset--font-size--small);
    transition: color 0.3s ease, font-style 0.3s ease;
    display: inline-block;
}

/* Kursiv-Stil für aktuelle Menüpunkte und Hover */
.main-menu li.current-menu-item>a,
.main-menu li.current-page-ancestor>a,
.main-menu a:hover {
    font-style: italic;
}

/* Menü-Farbanpassungen */
.bg-primary .main-menu a {
    color: var(--wp--preset--color-secondary);
}

.bg-secondary .main-menu a {
    color: var(--wp--preset--color-primary);
}

/* Überschreibe Farben für das mobile Menü */
.mobile-menu-overlay .main-menu a {
    color: inherit;
    /* Verwendet die Standardfarbe des Textes */
    font-size: var(--wp--preset--font-size--medium);
}

.mobile-menu-overlay .adresse {
    margin: 0rem 0 1rem 0;
}

/* --------------------------------
   Mobile Menü
-------------------------------- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    position: fixed;
    right: 2.5rem;
    top: 1rem;
    z-index: 100;
    width: 30px;
    height: 30px;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background: var(--wp--preset--color-secondary);
    margin: 4px 0;
    transition: 1.0s;
}

.bg-secondary .hamburger-menu span {
    background: var(--wp--preset--color-primary);
}

/* Mobile Menu Overlay mit konsistentem Padding zum site-container */
.mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--wp--preset--color-primary);
    z-index: 10000;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    color: var(--wp--preset--color-secondary);
    padding: 0;
    box-sizing: border-box;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s ease-in-out, visibility 0s;
}

/* Spezifische Transition für das Ausfahren */
.mobile-menu-overlay:not(.active) {
    transition: transform 0.3s ease-in-out, visibility 0s 0.3s;
}

.admin-bar .mobile-menu-overlay {
    top: 46px;
}

/* Angepasstes Padding für Overlay-Elemente, um zum site-container zu passen */
.overlay-header {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 3rem 3.375rem;
    box-sizing: border-box;
}

.overlay-logo {
    margin-left: 1rem;
}

.close-menu {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1rem;
    top: 1.25rem;
    padding: 0;
    z-index: 1001;

}

.close-menu span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--wp--preset--color-secondary);
}

.close-menu span:first-child {
    transform: rotate(45deg);
}

.close-menu span:last-child {
    transform: rotate(-45deg);
}

.mobile-navigation {
    width: 100%;
    padding: 0rem 3.125rem;
    margin-top: 10rem !important;
    box-sizing: border-box;
   
}

.mobile-navigation .main-menu {
    font-size: var(--wp--preset--font-size--small);
}

.mobile-navigation .main-menu li {
    margin-bottom: 0rem;
}

.mobile-contact-info,
.mobile-impressum-datenschutz {
    width: 100%;
    padding: 1rem 3.125rem;
    text-align: left;
    margin-top: 2rem;
    box-sizing: border-box;
}

.mobile-impressum-datenschutz .footer-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

/* --------------------------------
   Responsive
-------------------------------- */

@media (max-width: 64rem) {
    .site-logo {
        max-width: 159px;
    }
    .site-logo img {
        width: 100%;
    }
}



@media (max-width: 47.9375rem) and (orientation: portrait) {
    .hamburger-menu {
        display: flex;
        top: 2.25rem;
    }
    .site-logo {
        display: block;
        margin: auto auto;
        width: 100%;
        box-sizing: border-box;
        max-width: 149px;
    }
    .site-logo img {
        width: 100%;
    }
    .left-column {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        width: 100%;
        padding-top: 3rem;
    }
    .desktop-navigation,
    .desktop-contact-info,
    .desktop-impressum-datenschutz {
        display: none;
    }
}



@media (min-width: 769px) {
    .mobile-menu-overlay,
    .hamburger-menu {
        display: none;
    }
}

/* --------------------------------
   Hauptnavigation - Desktop
-------------------------------- */
/* Zusätzliche Farbdefinitionen für das Footer-Menü */
.bg-primary .footer-menu a {
    color: var(--wp--preset--color-secondary);
}

.bg-secondary .footer-menu a {
    color: var(--wp--preset--color-primary); 
}

/* Kursiv-Stil für Footer-Menü bei Hover und aktiven Elementen */
.footer-menu li.current-menu-item>a,
.footer-menu li.current-page-ancestor>a,
.footer-menu a:hover {
    font-style: italic;
}

/* ===========================
   9. FOOTER
   =========================== */
.site-footer {
    margin-top: auto;
    /* Schiebt den Footer ans Ende wenn genug Platz ist */
    padding: 2em 0;
    margin-left: -20rem;
  
}

.footer-logo {
    margin-bottom: 0.5rem;
    position: relative;
    display: block;
    width: fit-content;
}

.footer-logo a {
    position: relative;
    display: block;
    text-decoration: none !important;
}

.footer-logo a:hover {
    font-style: normal !important;
    text-decoration: none !important;
}

.footer-logo img {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    transition: opacity 0.3s ease;
}

.footer-logo .icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-logo .icon-normal {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer-logo:hover .icon-normal {
    opacity: 0;
}

.footer-logo:hover .icon-hover {
    opacity: 1;
}

/* Header Instagram Icon Styles */
.insta-icon {
    position: relative;
    display: block;
    width: fit-content;
}

.insta-icon a {
    position: relative;
    display: block;
    text-decoration: none !important;
}

.insta-icon a:hover {
    font-style: normal !important;
    text-decoration: none !important;
}

.insta-icon img {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    transition: opacity 0.3s ease;
}

.insta-icon .icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-icon .icon-normal {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.insta-icon:hover .icon-normal {
    opacity: 0;
}

.insta-icon:hover .icon-hover {
    opacity: 1;
}
@media (max-width: 1480px) {
  
	.footer-navigation {
    	margin-bottom: 0.8em !important;
	}
}
@media (max-width: 1466px) {
    .site-footer {
        padding: 2em 0 0 0;
    }
	
}

@media (max-width: 64rem) {
    .site-footer {
        margin-top: auto;
        margin-left: -20rem;
    }
}

@media (max-width: 47.9375rem) {
    .site-footer {
       margin-left: 0rem;
    }

.footer-navigation {
    margin-left: 4rem;
    }
}

.footer-navigation {
    margin-top: auto;
    /* Behält den automatischen oberen Rand bei */
    list-style: none;
    padding: 0;
    margin-left: -3.5rem;
    margin-bottom: 2.8em;
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--preset--line-height--small);
}

.footer-navigation a {
    text-decoration: none;
}

/* Footer-Farbanpassung basierend auf Seitentyp */
.bg-primary .site-footer {
    color: var(--wp--preset--color-secondary);
}

.bg-secondary .site-footer {
    color: var(--wp--preset--color-primary);
}

/* ===========================
   10. FLEX-LAYOUT & GRID
   =========================== */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* Statt space-between */
    align-items: flex-start;
    gap: 2.5rem;
}

/* Basisstil für alle Flex-Items */
.flex-item {
    flex-basis: 100%;
    max-width: 360px;
}

/* Breitere Variante für Flex-Items */
.flex-item-wide {
    flex-basis: 100%;
    max-width: 455px;
    /* Breitere Variante */
}

/* ===========================
   11. SPACING & OFFSETS
   =========================== */
/* Vertikale Offsets (Abstände von oben) basierend auf Zeilenhöhen */
.flex-container .offset-top-small {
    margin-top: calc(var(--wp--custom--spacing--small) * 2); /* 2 Zeilenhöhen */
}

.flex-container .offset-top-small-medium {
    margin-top: calc(var(--wp--custom--spacing--small) * 3); /* 4 Zeilenhöhen */
}


.flex-container .offset-top-medium {
    margin-top: calc(var(--wp--custom--spacing--small) * 4); /* 4 Zeilenhöhen */
}

.flex-container .offset-top-medium-large {
    margin-top: calc(var(--wp--custom--spacing--small) * 5); /* 6 Zeilenhöhen */
}

.flex-container .offset-top-large {
    margin-top: calc(var(--wp--custom--spacing--small) * 6); /* 6 Zeilenhöhen */
}

.flex-container .offset-top-wer-ich-bin {
    margin-top: calc(var(--wp--custom--spacing--small) * 23); /* 6 Zeilenhöhen */
}

/* Negative vertikale Offsets basierend auf Zeilenhöhen */
.flex-container .offset-top-negative-small {
    margin-top: calc(var(--wp--custom--spacing--small) * -2)t; /* -2 Zeilenhöhen */
}

.flex-container .offset-top-negative-small-medium {
    margin-top: calc(var(--wp--custom--spacing--small) * -3); /* -2 Zeilenhöhen */
}   

.flex-container .offset-top-negative-medium {
    margin-top: calc(var(--wp--custom--spacing--small) * -4); /* -4 Zeilenhöhen */
}

.flex-container .offset-top-negative-medium-large {
    margin-top: calc(var(--wp--custom--spacing--small) * -4.5); /* -4 Zeilenhöhen */
}
.flex-container .offset-top-negative-wer-ich-bin{
    margin-top: calc(var(--wp--preset--line-height--small) * -27.5);
    /* -6 Zeilenhöhen */
}
/* Horizontale Offsets (links) */
.flex-container .offset-left-small {
    margin-left: 20px;
}

.flex-container .offset-left-medium {
    margin-left: 40px;
}

.flex-container .offset-left-large {
    margin-left: 60px;
}

.flex-container .offset-left-x-large {
    margin-left: 120px;
}

/* Horizontale Offsets (rechts) */
.flex-container .offset-right-small {
    margin-right: 20px;
}

.flex-container .offset-right-medium {
    margin-right: 40px;
}

.flex-container .offset-right-large {
    margin-right: 60px;
}

.flex-container .offset-top-wie-ich-arbeite {
    margin-top: 60px;
}
/* ===========================
   12. FARBEN & HINTERGRUND
   =========================== */
/* Farbklassen */
.bg-primary {
    background-color: var(--wp--preset--color-primary);
}

.bg-secondary {
    background-color: var(--wp--preset--color-secondary);
}

.text-primary {
    color: var(--wp--preset--color-primary);
}

.text-secondary {
    color: var(--wp--preset--color-secondary);
}

/* ===========================
   13. RESPONSIVE DESIGN - OPTIMIERT
   =========================== */
/* Große Desktops (64rem bis 75rem / 1024px bis 1200px) */
@media (max-width: 75rem) {
    .site-container {
        padding: 0 3.25rem;
    }

    .right-content {
        margin-left: 18.5rem;
        width: calc(100% - 18.5rem);
    }

    .site-footer {
        margin-left: -15rem;
    }
    
    .overlay-header,
    .mobile-navigation,
    .mobile-contact-info,
    .mobile-impressum-datenschutz {
        padding-left: 3.25rem;
        padding-right: 3.25rem;
    }
}

/* Mittlere Desktops (64rem / 1024px) */
@media (max-width: 64rem) {

 

    .left-column {
        width: 16rem;
    
    }

    .right-content {
        margin-left: 16rem;
        width: calc(100% - 16rem);
     
    }
    
    .site-logo {
        max-width: 159px;
    }
    
    .flex-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .flex-item,
    .flex-item-wide,
    .flex-container .wp-block-column {
        flex-basis: 100%;
        max-width: 100%;
        width: 100%;
        margin-bottom: 0;
    }
    
    /* Entfernung der roten Umrandung und Korrektur der Offsets */
    .flex-container .offset-top-small,
    .flex-container .offset-top-small-medium,
    .flex-container .offset-top-medium,
    .flex-container .offset-top-large,
    .flex-container .offset-top-wer-ich-bin,
    .flex-container .offset-top-negative-small,
    .flex-container .offset-top-negative-small-medium,
    .flex-container .offset-top-negative-medium,
    .flex-container .offset-top-negative-medium-large,
    .flex-container .offset-top-negative-wer-ich-bin,
    .flex-container .offset-top-negative-large,
    .flex-container .offset-left-small,
    .flex-container .offset-left-medium,
    .flex-container .offset-left-medium-large,
    .flex-container .offset-left-large,
    .flex-container .offset-left-x-large,
    .flex-container .offset-right-small,
    .flex-container .offset-right-medium,
    .flex-container .offset-right-large,
    .flex-container .offset-top-wie-ich-arbeite {
        margin: inherit !important;

    }
    .flex-container .offset-mobile-top-medium {
        margin-top: calc(var(--wp--custom--spacing--small) * 3) !important; /* 4 Zeilenhöhen */
    }

    .mobile-hidden {
        display: none;
    }
    
    .site-footer {
        margin-left: -12rem;
    }
}

@media (max-width: 51.3125rem) and (orientation: portrait) {
    /* Columns */
    .left-column {
        width: 12rem;
        min-width: 12rem;
        height: 100vh;
        padding: 0;
        display: flex;
        flex-direction: column;
        position: fixed;
        padding-top: 3.375rem;

    }
    
    .right-content {
        margin-left: 12rem;
        width: calc(100% - 12rem);
        min-height: calc(100vH - 1.25rem);
        display: flex;
        flex-direction: column;
        position: relative;
        padding-left: 1rem;
        padding-right: 2rem;
       
    }

    .footer-navigation {
        margin-top: auto;
        list-style: none;
        padding: 0;
        margin-left: -1rem;
        margin-bottom: 0.8em;
        font-size: var(--wp--preset--font-size--small);
        line-height: var(--wp--preset--line-height--small);
    }
    
    }

/* Tablets und kleinere Geräte (47.9375rem / 767px) */
@media (max-width: 47.9375rem) {
    .site-container {
        flex-direction: column;
        padding: 0 2rem; /* Reduziertes Padding für mobile Geräte */
    }
    
    .left-column {
        position: relative;
        width: 100%;
        height: auto;
        min-width: auto;
        padding-top: 2rem;
    }
    
    .right-content {
        margin-left: 0;
        width: 100%;
        padding: 0;
        margin-top: 2rem; /* Reduziert von 12rem auf 2rem da Logo nicht mehr fixed ist */
    }
    
    .site-logo {
        position: relative; /* Nicht mehr fixed */
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 102;
        width: 149px;
        margin-bottom: 2rem;
    }
    
    .entry-content {
        margin-top: 1rem;
        padding-right: 0;
    }
    
    .desktop-navigation,
    .desktop-contact-info,
    .desktop-impressum-datenschutz {
        display: none;
    }
    
    .site-footer {
        margin-left: 0;
        padding: 1.5em 0;
    }
    
    .footer-navigation {
        margin-left: 0;
    }
    
    .hamburger-menu {
        display: flex;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .mobile-menu-overlay {
        padding: 1rem;
    }
    
    .overlay-header,
    .mobile-navigation,
    .mobile-contact-info,
    .mobile-impressum-datenschutz {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .mobile-navigation {
        margin-top: 5rem;
    }
    
    .main-content-wrapper {
        padding-top: 13rem;
    }
}


/* Nur für Desktop sichtbare Elemente */
@media (min-width: 47.9375rem) {
    .desktop-hidden {
        display: none;
    }
}

/* Höhere Positionierung für Inhalte, die mit großer Schrift beginnen */
.large-font-start-content {
    margin-top: 2rem;
}

/* Optional: Zusätzliche Anpassung für Text mit großer Schrift im Inhalt */
.large-font-start-content .has-large-font-size:first-child {
    margin-top: -10px;
}

/* ===========================
   6. BILDER - Optimiert
   =========================== */
/* Portrait-Bildstil - linksbündig statt zentriert */
figure.image-portrait,
.image-portrait {
    width: 80% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    display: block;
    padding-bottom: 2.975rem;
}

@media (max-width: 47.9375rem) {
    figure.image-portrait,
    .image-portrait {
        width: 100% !important;
    }
}

/* ===========================
   FIXIERTE FRAGEZEICHEN - Optimiert
   =========================== */
.fixierte-elemente {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1340px;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.question-mark {
    font-size: clamp(120px, 30vw, 500px);
    line-height: 0.8;
    font-weight: normal;
    color: var(--wp--preset--color--secondary);
    opacity: 0.9;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: absolute;
    z-index: 0;
    font-family: 'NN Nouvelle Grotesk';
    font-feature-settings: "slashed" on;
}

.question-mark-1 {
    top: -80px;
    left: clamp(38%, 5vw, 40%);
}

.question-mark-2 {
    top: 18vh;
    right: 0vH;
}

.question-mark-3 {
    bottom: -13vh;
    left: 62%;
    transform: translateX(-50%);
}

@media screen and (max-width: 48em) {
    .question-mark-1 {
    display: none;
    }


.question-mark-2 {
    top: 40vh;
    right: -3%;
}
    
    .question-mark {
        font-size: clamp(200px, 20vw, 350px);
    }

    .question-mark-3 {
        bottom: -5vh;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===========================
   Smart Sticky Logo für Mobile -> Parallax Logo für Mobile
   =========================== */
@media (max-width: 47.9375rem) {
    .site-logo {
        position: fixed;
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 102;
        transition: transform 0.1s ease-out;
        width: 149px;
        margin-bottom: 2rem;
    }
}

/* ===========================
   14. VIDEO-GRÖSSE
   =========================== */
video, .wp-block-video video {
    max-width: 100% !important;
    height: auto;
    display: block;
border: 1px solid #777;
border-radius: 10px;
}
figure {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
unicode-bidi: isolate;
}


.hidden {
    display: none;
}

.mobile-contact-info,
.mobile-impressum-datenschutz {
    margin-top: 2rem;
    color: var(--wp--preset--color-secondary);
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--preset--line-height--small);
    text-align: left;
}

.mobile-impressum-datenschutz .footer-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
}