@charset "utf-8";

@font-face { 
	font-family: 'sonfon'; 
	src: url('../media/fonts/sonfon.ttf');
}


a.mnav {
	text-decoration: none;
	color: var(--vc2);
	border: 0 solid transparent;
	background-color: var(transparent);
	font-weight: 400;
	font-size: 1rem;
	line-height: 12pt;
	margin: 0;
	padding: 12pt 12pt;	
	border-radius: 0;	
}
a.mnav:hover {
	text-decoration: none;
	color: var(--vci1);
	border: 0 solid var(--red);
	background-color: var(--bci1);
}

label.mnav {
	text-decoration: none;
	color: var(--vc2);
	border: 0 solid transparent;
	background-color: var(transparent);
	font-weight: 400;
	font-size: 1rem;
	line-height: 12pt;
	margin: 0;
	padding: 12pt 12pt;	
	border-radius: 0;	
}
label.mnav:hover {
	text-decoration: none;
	color: var(--vci1);
	border: 0 solid var(--red);
	background-color: var(--bci1);
}

a.mnav.pointernav {
	text-decoration: none;
	color: var(--vci1);
	border: 0 solid var(--red);
	background-color: var(--bci1);
}
a.mnav.pointernav:hover {
	text-decoration: none;
	color: var(--vc2);
	border: 0 solid var(--orange);
	background-color: var(--bc2);
}

a.msnav {
	text-decoration: none;
	color: var(--vc2);
	border: 0 solid transparent;
	background-color: var(--bc1);
	width: 100%;
	font-weight: 400;
	font-size: 1rem;
	line-height: 16pt;
	margin: 0;
	padding: 12pt 12pt;	
	border-radius: 0;	
}
a.msnav:hover {
	text-decoration: none;
	color: var(--vci1);
	border: 0 solid var(--red);
	background-color: var(--bci1);
}

a.msnav.pointernav {
	text-decoration: none;
	color: var(--vci1);
	border: 0 solid var(--red);
	background-color: var(--bci1);
}
a.msnav.pointernav:hover {
	text-decoration: none;
	color: var(--vc2);
	border: 0 solid var(--orange);
	background-color: var(--bc2);
    font-weight: 600;
    font-size: 1rem;
}

a.lexi {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--bci1);
    padding: 4px;
    margin: 4px 4px 4px 0;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    font-weight: 500;
    overflow: hidden;
    border: 1px dotted var(--bci1);
}
a.lexi:hover {
    font-weight: 600;
    font-size: 1.1rem;
}

a.lexilist {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--bci1);
    padding: 4px;
    margin: 4px 4px 4px 0;
    font-size: 1rem;
    font-weight: 500;
    overflow: hidden;
    border: 1px dotted var(--bci1);
}
a.lexilist:hover {
    font-weight: 600;
}

.subsearch {
	padding: 16px;
	background: var(--bc1);
}

.tlogo {
	width: 300px;
}

.topnavline {
	color: var(--vc1);
	background: var(--bc2);
}

.mnavline, .botnavline {
	color: var(--vc1);
	background: var(--bc3);
}

.cutline {
	border: 1px solid var(--bci1);
	margin: 24px 0;
}
.miniline {
	border: 1px dotted var(--bc2);
    height: 1px;
    width: calc(100% - 32px);
	margin: 12px 0;
}

address {
    font-style: italic;
}

.is-sticky {
    background-color: var(--bc1) !important;
    
}


.slidebar {
    position: absolute;
    bottom: 20%;
    left: 0;
}

.sbubblepos {
    position: absolute;
    top: 20%;
    left: 10%;
}

.slogo1pos {
    position: absolute;
    top: 0;
    right: 0;
}

.slogo2pos {
    position: absolute;
    top: 0;
    right: 0;
    width: 30vw;
}

.slogo3pos {
    position: absolute;
    top: 0;
    right: 32vw;
    width: 35vw;
}

@media (min-width: 992px) {
    .slidebar {
        position: absolute;
        bottom: 20%;
        left: 0;
    }

    .sbubblepos {
        position: absolute;
        top: 20%;
        left: 10%;
    }

    .slogo1pos {
        position: absolute;
        top: 0;
        right: 0;
    }

    .slogo2pos {
        position: absolute;
        top: 0;
        right: 0;
        width: 15vw;
    }

    .slogo3pos {
        position: absolute;
        top: 0;
        right: 20vw;
        width: 25vw;
    }
}


.speech-bubble {
    position: relative;
    
    /* Farben & Design */
    background-color: var(--bci2); /* Dein Türkis (#699b8d) */
    color: var(--white);           /* Text Weiß */
    
    /* Abstände & Rahmen */
    padding: 32px 32px 32px 48px; /* Links mehr Platz für das Icon */
    border-radius: 0px;           /* Eckig wie im Bild, oder 4px wenn gewünscht */
    
    /* Typografie (aus deinem Bild) */
    font-family: 'stdfon', sans-serif;
    font-style: italic;           /* Kursiv wie im Screenshot */
    font-size: 1.2rem;
    line-height: 1.4;
    
    /* Schatten für Tiefe (optional) */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    
    /* Damit der Nippel nicht abgeschnitten wird */
    margin-bottom: 24px; 
}

/* Der "Nippel" (Pfeil) unten */
.speech-bubble::after {
    content: '';
    position: absolute;
    
    /* Positionierung unten */
    bottom: -20px; /* Muss genau so groß sein wie border-top-width */
    left: 80%;     /* Position auf der X-Achse */
    
    /* Der Dreieck-Trick */
    width: 0; 
    height: 0; 
    border-style: solid;
    
    /* Form des Dreiecks: Zeigt nach unten rechts */
    /* Syntax: Oben | Rechts | Unten | Links */
    border-width: 20px 0 0 20px; 
    border-color: var(--bci2) transparent transparent transparent;
}

/* Das große Anführungszeichen (Quote Icon) */
.speech-bubble::before {
    content: '“';        /* Oder '\201C' für typografische Quotes */
    position: absolute;
    
    /* Position oben links */
    top: -10px;
    left: 16px;
    
    /* Design */
    font-family: serif;   /* Serif-Schrift für schöne Quotes */
    font-size: 120px;     /* Riesig */
    line-height: 1;
    font-style: normal;
    color: rgba(255, 255, 255, 0.3); /* Weiß, aber transparent */
    
    pointer-events: none; /* Klicks gehen durch */
}

/* Optional: Überschrift im Bubble stylen */
.speech-bubble h3, .speech-bubble h2 {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--white);
    font-style: normal; /* Überschrift vielleicht nicht kursiv? */
    position: relative;
    z-index: 1; /* Über das Anführungszeichen legen */
}

.speech-bubble p {
    position: relative;
    z-index: 1;
}

/* 1. Alle Listen-Punkte (<li>) werden zu identischen Flex-Boxen */
.navlist > li {
    display: flex !important;  /* Zwingt ALLE ins gleiche Raster */
    align-items: center !important; /* Zentriert den Inhalt vertikal */
    justify-content: center;
    height: 100%; /* Nutzen die volle Höhe der Leiste */
}

/* 2. Die Links (<a>) selbst werden auch stabilisiert */
/* Damit ignorieren sie line-height Probleme und zentrieren sich mathematisch */
a.mnav {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    /* Wir nehmen die Höhe aus dem Padding/Font statt line-height */
    /* Das ist robuster gegen Verrutschen */
    line-height: 1.2 !important; 
    
    /* Optional: Fixe Mindesthöhe, damit alle Buttons gleich fett sind */
    /* 32px Font + 8px Padding oben + 8px unten + Border = ca. 50-60px */
    min-height: 56px; 
}

/* 3. Korrektur für den Dropdown-Pfeil */
/* Damit er schön mittig neben dem Text sitzt */
.caret {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 12px;
    padding-top: 4px; /* Kleine optische Korrektur */
}


/* ============================================================
   INFO-SQUARE (IE11 Kompatibel / Padding Hack)
   ============================================================ */

/* 1. Der Quadrat-Erzwinger (Der Container) */
.info-square {
    position: relative;
    width: 100%;
    height: 0; /* Wichtig! Höhe kommt durch Padding */
    padding-bottom: 100%; /* Das erzwingt 1:1 Verhältnis (Breite = Höhe) */
    
    background-color: var(--bc3); /* Standard Hintergrund */

    margin-top: 16%; /* Platz oben für den "Raus-Hänger" */
    
    border: 8px solid var(--bc1);
    color: var(--vc2);

    transition: background-color 0.3s ease;
}

/* Hover: Hintergrund ändern */
.info-square:hover, .info-square:hover > .info-square-inner > p > a {
    background-color: var(--bci1);
    color: var(--vci1) !important;
}

/* 2. Der Inhalt (Muss absolut darüber liegen, weil Container Höhe 0 hat) */
.info-square-inner {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    
    /* Flexbox für Zentrierung (funktioniert auch in IE11) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    padding: 32px;
}

/* 3. Der Kreis-Container (Positionierung) */
.info-square-icon {
    position: absolute;
    top: 0;
    left: 50%;
    
    /* Dieser Transform zentriert den Kreis auf der Linie */
    /* -50% X = Zentriert horizontal */
    /* -50% Y = Zieht ihn zur Hälfte nach oben raus */
    transform: translate(-50%, -50%); 
    
    width: 32%;
    height: 32%;
    background-color: var(--bc1);
    border-radius: 50%;
    border: 8px solid var(--bc2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    
    /* Flexbox um das Bild im Kreis zu zentrieren */
    display: flex;
    align-items: center;
    justify-content: center;
    
    z-index: 10;
}

/* 4. Das Bild selbst (Drehung) */
.info-square-icon img {
    width: 60%;
    height: auto;
    display: block;
    
    /* Hardware-Beschleunigung für flüssige Animation */
    transition: transform 0.6s ease-in-out;
    transform-origin: center center;
}

/* HOVER EFFEKT: Nur das BILD dreht sich */
/* Wir drehen das Bild, nicht den Container, damit der Position-Transform nicht kaputt geht */
.info-square:hover .info-square-icon img {
    transform: rotate(360deg);
}


/* --- Typografie (Basierend auf deinem Screenshot) --- */

.info-square h4 {
    margin-top: 14%; /* Abstand zum Kreis, der reinhängt */
    margin-bottom: 7%;
    
    font-family: 'stdfon', sans-serif;
    font-size: 100%;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.2;
}

.info-square p {
    margin-bottom: 24px;
    font-style: italic;
    font-size: 0.95em;
    line-height: 1.4;
}

/* Der Button */
.info-square-btn {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--bc1);
    color: var(--vc2);
    font-style: italic;
    text-decoration: underline;
    font-size: 0.9em;
    border: 1px solid transparent;
    cursor: pointer;
}

.info-square-btn:hover {
    text-decoration: none;
    border-color: var(--vc2);
}

.oc-float-btn {
    display: none;
}


/* ============================================================
   FOTOBOX (Overlay mit "Click-Outside" Close)
   ============================================================ */
/* 1. Der Container */
.fotobox {
    position: relative;
    width: 100%;
    
    /* Quadrat-Zwang */
    height: 0;
    padding-bottom: 100%;
    
    background-size: cover;
    background-position: center;
    background-color: var(--bc3);
    
    overflow: visible; 
    
    /* Optik */
    border-left: 4px solid var(--bc1);
    border-right: 4px solid var(--bc1);
    margin-bottom: 50px; 
    
    /* WICHTIG: Kein Z-Index hier, damit die Kinder (Backdrop) ausbrechen können */
}

/* 2. Der Trigger (Button) - NORMALZUSTAND */
.fotobox-trigger {
    position: absolute;
    bottom: 0; 
    left: 50%;
    transform: translate(-50%, 50%);
    top: auto; 
    
    width: 64px; height: 64px;
    border-radius: 50%;
    background-color: var(--bc1);
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
    /* KORREKTUR: Muss NIEDRIGER sein als das Backdrop (11999)!
       50 reicht völlig, um über dem Bild zu liegen. */
    z-index: 50; 
    
    transition: transform 0.3s ease, background-color 0.3s;
}

.fotobox-trigger img {
    width: 24px;
    height: auto;
    transition: transform 0.3s;
}

/* 3. Das Overlay (Inhalt) */
.fotobox-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    
    background-color: var(--bc1);
    color: var(--vc1);
    padding: 24px;
    padding-bottom: 80px;
    
    /* Z-Index: Muss über dem normalen Trigger (50) liegen */
    z-index: 60;
    
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--vc1) transparent;
    
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 4. Backdrop (Abdunkelung) */
.fotobox-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.3);
    
    /* Z-Index: SEHR HOCH (um alles andere abzudecken) */
    z-index: 11999;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}


/* --- ZUSTANDS-LOGIK (Wenn AKTIV / Checked) --- */

/* A) Overlay hochfahren & sichtbar machen */
.fotobox-toggle:checked ~ .fotobox-overlay {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    /* Jetzt muss es über das Backdrop (11999) */
    z-index: 12000 !important; 
}

/* B) Backdrop einschalten */
.fotobox-toggle:checked ~ .fotobox-backdrop {
    opacity: 1;
    visibility: visible;
}

/* C) Button (Trigger) hervorheben */
.fotobox-toggle:checked ~ .fotobox-trigger {
    background-color: var(--vc1);
    border-color: var(--vc1);
    
    /* Jetzt muss DIESER EINE Button über allem stehen */
    z-index: 12001 !important; 
}

.fotobox-toggle:checked ~ .fotobox-trigger img {
    transform: rotate(135deg);
    filter: invert(1);
}

/* Checkbox verstecken */
.fotobox-toggle {
    display: none !important;
}


/* ============================================================
   NEWS BOX 2:1 (Kompatibel bis IE11)
   ============================================================ */

.news-box-2-1 {
    position: relative;
    width: calc(100% - 20px);
    
    /* DER TRICK FÜR 2:1 FORMAT */
    /* Höhe ist 0, Padding-Bottom ist 50% der Breite */
    /* 100% Breite / 50% Höhe = 2:1 */
    height: 0;
    padding-bottom: var(--heigth, 50%);
    margin: 10px;
    
    /* Hintergrundbild */
    background-size: cover;
    background-position: center center;
    background-color: var(--bc3); /* Fallback Farbe */
    
    /* Damit nichts rausragt (z.B. bei abgerundeten Ecken) */
    overflow: hidden;
    
    /* Optional: Rahmen oder Schatten */
    /* border: 1px solid var(--vc1); */
}

/* 1. DAS DATUM (Oben Links) */
.news-box-date {
    position: absolute;
    top: 0;
    left: 0;
    
    background-color: var(--bci1); /* Dunkelgrün */
    color: var(--vci1);            /* Neon */
    
    padding: 6px 12px;
    font-family: 'stdfon', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    
    /* Z-Index damit es über dem Bild liegt */
    z-index: 2;
}

/* 2. DER TITEL-BALKEN (Unten) */
.news-box-bar, .news-box-bar a, .news-box-bar a:hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    
    font-size: 1.5rem;
    color: var(--vci1);
    /* Halbtransparenter Hintergrund (nutzt deine Variable oder Fallback) */
    background-color: var(--bc1t75, rgba(0,0,0,0.7)); 
    
    padding: 12px 16px;
    z-index: 2;
}

/* 3. DER LINK (Titel) */
.news-box-link {
    text-decoration: none;
    color: var(--vc1); /* Neon */
    font-family: 'stdfon', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
    
    display: block; /* Nimmt die ganze Breite ein */
    transition: color 0.2s;
}

.news-box-link:hover {
    color: var(--vc2); /* Hover Farbe */
    text-decoration: none;
}

/* --------------------------------------------------------
   >= 576px — mobiles Hochformat / kleine Tablets
--------------------------------------------------------- 
@media (min-width: 576px) {
a.mnav {
	font-size: 6vw;
	line-height: 1.5vw;
	margin: 0.5vw;
	padding: 2vw 2vw;	
	border-radius: 50ex;	
}

.tlogo {
	width: 150px;
}

}*/

/* --------------------------------------------------------
   >= 768px — Tablet
--------------------------------------------------------- 
@media (min-width: 768px) {
a.mnav {
	font-size: 40px;
	line-height: 48px;
	margin: 16px;
	padding: 12px 24px;	
	border-radius: 50ex;	
}

.tlogo {
	width: 300px;
}
}*/

/* --------------------------------------------------------
   >= 992px — Tablet breit / Laptop klein (Port)
--------------------------------------------------------- */
@media (min-width: 992px) {
}

/* --------------------------------------------------------
   >= 1200px — Desktop
--------------------------------------------------------- */
@media (min-width: 1200px) {
}

/* --------------------------------------------------------
   >= 1600px — XXL Desktop
--------------------------------------------------------- */
@media (min-width: 1600px) {
}

