@charset "utf-8";

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

.sectionhero {
    position: relative;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: var(--height, 100vh) !important;
    margin: 0 !important;
    margin-bottom: var(--mb, 0) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    
    /* Hintergrund-Handling */
    background-image: var(--bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.heroctn {
    position: absolute;
    bottom: 2vh;
}

.heroape {
    position: absolute;
    bottom: 35vh;
    right: 0vw;
    width: 60vw;
    height: auto;
    z-index: 10;
}

.heroara {
    position: absolute;
    top: 20vh;
    left: -2vw;
    width: auto;
    height: 50vh;
    z-index: 10;
}

a.mnav {
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'sonfon';
	color: var(--vc1);
	border: 0;
	font-weight: 500;
	margin: 0.5vw;
	text-shadow: -2px -2px 3px var(--bcdk75), 2px 2px 3px var(--bcdk75), -2px 2px 5px var(--bcdk75), 2px -2px 5px var(--bcdk75);
}

a.mnav.miet {
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'sonfon';
	color: var(--vc2);
	border: 0;
	font-weight: 500;
	margin: 0.5vw;
	text-shadow: -2px -2px 3px var(--bcdk75), 2px 2px 3px var(--bcdk75), -2px 2px 5px var(--bcdk75), 2px -2px 5px var(--bcdk75);
}

a.mnav.miet:hover {
	text-decoration: none;
	color: var(--vc3);
	border: 0;
}

a.mnav:hover {
	text-decoration: none;
	color: var(--vc1);
	border: 0;
}

a.mnav.pointernav {
	text-decoration: none;
	color: var(--white);
	border: 0;
}
a.mnav.pointernav.miet {
	text-decoration: none;
	color: var(--white);
	border: 0;
}
a.mnav.pointernav:hover, a.mnav.pointernav.miet:hover {
	text-decoration: none;
	color: var(--vc2);
	border: 0;
}

.shadow {
	text-shadow: -2px -2px 5px var(--bcdk75), 2px 2px 5px var(--bcdk75), -2px 2px 8px var(--bcdk75), 2px -2px 8px var(--bcdk75);
}

.titsmall {
    font-size: 6vw;
}

.titbig {
    font-size: 14vw;
}

.tlogo {
	width: 14vw;
	margin: 2vw;
}

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

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

.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: 20vw;
}

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

/* Container der gesamten Card */
.nina-card {
    width: calc(100% - 48px); /* Nutzt die volle Breite des übergeordneten Containers */
    margin: 0 24px 48px 24px; /* Zentriert die Card horizontal (auto) und hält den Abstand nach unten */
    
    height: 100%;
    background-color: var(--white);
    border: 2px solid var(--white);
    border-radius: 24px;
    box-shadow: 0 8px 24px var(--bcdk75);
    position: relative;
    font-family: sans-serif;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

/* Bildbereich */
.nina-card-image {
    width: 100%;
    height: 200px;
}

/* Inhalts-Box unter dem Bild */
.nina-card-content {
    padding: 35px 24px 24px 24px; /* Mehr Padding oben wegen dem überlappenden Icon */
    position: relative;

    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nina-card-content > a {
    margin-top: auto; /* Saugt den freien Raum über dem Link auf */
    display: block;   /* Wichtig für die korrekte Margin-Berechnung */
    text-decoration: none;
}

/* Das runde, überlappende Icon-DIV */
.nina-card-icon {
    position: absolute;
    top: -40px; /* Schiebt das DIV exakt zur Hälfte über das Bild */
    left: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid #fcfaf2; /* Weißer Konturring, identisch mit Card-Background */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Titel (All Caps & Dunkelgrün) */
.nina-card-title {
    color: var(--ct, var(--bc2));
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

/* Beschreibungstext */
.nina-card-text {
    color: #4a554a;
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0 0 20px 0;
}

/* ============================================================
   KISTEN-STYLING (Cards für den Inhalt)
   ============================================================ */
.kalekiste {
    text-align: center;
    font-size: 1.6rem;
    background-color: var(--bcdk75); /* Leicht transparenter weißer Hintergrund */
    border: 1px solid var(--white); /* Dezente Umrandung */
    border-radius: 8px; /* Schöne abgerundete Ecken */
    color: var(--white); /* Weiße Schrift für den Kontrast auf Grün */
    padding: 8px;
    width: 100%;
    height: 100%; /* Zwingt alle Kisten in einer Reihe auf exakt dieselbe Höhe */
}


/* ============================================================
   DER "NAV-STABILISATOR" (Fix für hüpfende Menüs)
   ============================================================ */

/* 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 */
}

/* 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 */
}



.nlogo {
	width: 200px;
}

a.mnav, a.mnav.miet {
	font-size: 32px;
	line-height: 1.5vw;
	margin: 0.5vw;
}


/* --------------------------------------------------------
   >= 576px — mobiles Hochformat / kleine Tablets
--------------------------------------------------------- */
@media (min-width: 576px) {
a.mnav, a.mnav.miet {
	font-size: 48px;
	line-height: 1.5vw;
	margin: 0.5vw;
}

.tlogo {
	width: 14vw;
	margin: 2vw;
}

.nlogo {
	width: 350px;
}

}

/* --------------------------------------------------------
   >= 768px — Tablet
--------------------------------------------------------- */
@media (min-width: 768px) {
a.mnav, a.mnav.miet {
	margin: 16px;
}

.tlogo {
	width: 96px;
	margin: 8px;
}

.heroape {
    position: absolute;
    bottom: 35vh;
    right: 0vw;
    width: 40vw;
    height: auto;
    z-index: 10;
}

}

/* --------------------------------------------------------
   >= 992px — Tablet breit / Laptop klein (Port)
--------------------------------------------------------- */
@media (min-width: 992px) {
.heroape {
    position: absolute;
    bottom: 30vh;
    right: 0vw;
    width: 30vw;
    height: auto;
    z-index: 10;
}

.titsmall {
    font-size: 5vw;
}

.titbig {
    font-size: 12vw;
}

}

/* --------------------------------------------------------
   >= 1200px — Desktop
--------------------------------------------------------- */
@media (min-width: 1200px) {
a.mnav, a.mnav.miet {
	font-size: 24px;
	margin: 16px;
}
}

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

   .heroape {
    position: absolute;
    bottom: 30vh;
    right: 0vw;
    width: 450px;
    height: auto;
    z-index: 10;
}

.titsmall {
    font-size: 74px;
}

.titbig {
    font-size: 190px;
}
}

