@charset "UTF-8";


    
html {
    min-height: 100%;
    background-color: #1D2339; /* Fallback-Farbe für ganz unten */
}

body {
    background: linear-gradient(to bottom, #16192A, #1D2339) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important; /* Optional: Verlauf bleibt beim Scrollen stehen */
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
    	.impDialog
    	{
    		background-color:#16192A !important;
    		background:#16192A;
    	}
    	
    	.impDialog .ui-dialog-titlebar-icon .pi 
    	{
			  font-size: 0.3rem;        /* Größe des Icons */
			  color: #16192A;           /* Text/Icon-Farbe */
			}
    	
    	.impDialog .ui-dialog-titlebar 
    	{
  			display:none;
		}
   		
   		.impresDiv
   		{
   			position: absolute;
    		margin: 0px;
    		padding: 5px;
   			border: 0px solid red;
   			z-index:10;
   			width: 100%;
    		text-align:center;
    		background: #F8951D !important;
   		}
   		
   		.headerDivSprache
    	{
    		position: absolute;
    		display: flex;
    		align-items: center;
    		gap:10px;
    		z-index: 11;
    		width: fit-content;
    		top: 13px;
    		right: 20px;
    		border:0px solid blue;
    	}
    	
    	.headerDiv
    	{
    		position: relative;
    		border: 0px solid red;
    		width: 100%;
    		display: inline-block;
    	}   	 
    	
    	.headerDivText
    	{    		
    		z-index:10;
    		width:50%;
    		margin-top: clamp(20px, 6vw, 90px);
    		margin-bottom: auto;
    		margin-left: 3vw;    		
    		text-align:center;
    		border:0px solid green;    		
    	}   

.headerDiv img 
{
    filter: drop-shadow(0 3px 6px rgba(16, 18, 31, 0.45));
}
    	
.footerDiv
{
   	position: relative;
    margin: 0px;
    padding: 0px;
   	border: 0px solid red;
   	width: 100%;
}	

.impresDiv {
    background-color: #10121F !important;
    padding: 15px 0 25px 0 !important;
    text-align: center !important;
    font-family: Garamond, Swiss, serif !important;
    font-size: clamp(1rem, 1.3vw, 1.2rem) !important;
}

.impresDiv .ui-commandlink,
.impresDiv a {
    color: #F8951D !important;
    text-decoration: none !important;
    transition: color 0.2s ease, text-shadow 0.2s ease !important;
}

.impresDiv .ui-commandlink:hover,
.impresDiv a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(248, 149, 29, 0.7) !important;
}

/* Dialog-Container selbst */
.impDialog.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-height: 85vh !important; /* Nie höher als 85% des Bildschirms */
    background-color: #16192A !important;
    border: 1px solid rgba(248, 149, 29, 0.4) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7) !important;
     z-index: 99999 !important; /* Zwingt den Dialog komplett nach vorne */
}

/* Der abgedunkelte Hintergrund hinter dem Dialog */
.ui-widget-overlay {
    z-index: 99998 !important; /* Liegt direkt unter dem Dialog, aber über allen Bildern */
    background-color: rgba(10, 12, 20, 0.8) !important; /* Schön passendes dunkles Overlay */
}

/* Links im Impressum & Datenschutz */
.impressum-content a {
    color: #F8951D !important;
    text-decoration: none !important;
    border-bottom: 1px dotted rgba(248, 149, 29, 0.6);
    font-weight: 500;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
    word-break: break-word; /* Verhindert, dass lange URLs auf dem Handy überstehen */
}

.impressum-content a:hover,
.impressum-content a:focus {
    color: #ffb357 !important;
    border-bottom: 1px solid #ffb357;
}

/* Header / Titelleiste */
.impDialog .ui-dialog-titlebar {
    background: #10121f !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px 12px 0 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Verhindert, dass der Titel nach rechts verschoben wird */
.impDialog .ui-dialog-titlebar::before,
.impDialog .ui-dialog-titlebar::after {
    display: none !important;
}

.impDialog .ui-dialog-titlebar-close {
    position: static !important;
    color: #a4acc4 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.impDialog .ui-dialog-titlebar-close:hover {
    color: #F8951D !important;
    background: rgba(248, 149, 29, 0.15) !important;
}

.impDialog .ui-dialog-title {
     margin: 0 !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    color: #F8951D !important;
    font-family: Garamond;
}

/* Das kleine 'X' oben rechts */
.impDialog .ui-dialog-titlebar-close {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(248, 149, 29, 0.3) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #a4acc4 !important;
    text-decoration: none !important; /* Entfernt den Strich unter dem X */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}
.impDialog .ui-dialog-titlebar-close:hover {
    color: #16192A !important;
    background: #F8951D !important;
    border-color: #F8951D !important;
    text-decoration: none !important;
}

/* Scrollbarer Inhaltsbereich */
.impDialog .ui-dialog-content {
    background-color: #16192A !important;
    color: #d0d6e8 !important;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem !important; /* Extra Platz unten */
    line-height: 1.6;
    overflow-y: auto !important;
    max-height: calc(85vh - 170px) !important;
    box-sizing: border-box !important;
}

/* Überschriften & Links innerhalb der impressum.html */
.impressum-content h1, 
.impressum-content h2, 
.impressum-content h3 {
    color: #ffffff;
    margin-top: 1.2rem;
}
.impressum-content a {
    color: #F8951D;
    text-decoration: underline;
}

/* Schließen-Button unten */
.imp-close-btn.ui-button {
    width: 100%;
    margin-top: 1.5rem;
    background: #F8951D !important;
    border: none !important;
    color: #16192A !important;
    font-weight: 700 !important;
    padding: 0.75rem !important;
    border-radius: 50px !important; /* Passend zu deinem Pill-Stil */
    transition: transform 0.15s ease, background-color 0.2s ease;
}

.imp-close-btn.ui-button:hover {
    background: #ffa73b !important;
    transform: translateY(-1px);
}   

/* Hauptüberschrift im Impressum */
.ueberschrift {
    font-family: Garamond, Swiss; 
    font-size: 2em;
    margin-top: 2vh;
    display: block;
    color: #F8951D;
}	

.inhaltDiv
{
    position:relative;    		
    margin-left: 10%;
    margin-right: 10%;
    border:0px solid blue;
    display:block;
}
    	
h3
{
    position: relative;
    font-size:clamp(1.2rem, 2vw, 2rem);
    margin-right:auto;
    margin-bottom: 10px;
    color: #F8951D !important;
    margin-left: 0; 
    text-align: left;
    font-family: Garamond, Swiss, sans-serif;
    		
   }
    	
    	/* unvisited link */
		a:link {
		  color: #1e1e1e;
		}
		
		/* visited link */
		a:visited {
		  color: hotpink;
		}
		
		/* mouse over link */
		a:hover {
		  color: hotpink;
		}
		
		/* selected link */
		a:active {
		  font-size:1.2em;
		  font-weight:bold;
		}
    	
    	.ui-panelgrid 
    	{
            padding: 20px;
            margin-left: auto;
    		margin-right: auto;
        }
        
        .ui-panelgrid-cell 
        {
		    display: flex;
		    justify-content: center;  
		    align-items: stretch;     
		    padding: 10px;
		    border: 0px solid #ddd !important;  
		    background-color: rgba(221, 221, 221, 0) !important;   
		}
		
		
		
		.ui-card 
		{
		    border: 0px solid #3A8B92; /* Orange Border #FFA500*/
		    border-radius: 8px; /* Abgerundete Ecken */
		    background-color: #F8951D !important; 
		    padding: 20px; /* Innenabstand */
		    box-shadow: 0 4px 10px rgba(155,255,255, 0.5); /* Schatteneffekt */
		    transition: transform 0.3s ease-in-out; /* Smooth Hover-Effekt */
		    width:100%;
		}
		
		/* Stil für die Title-Facette der Karte */
		.ui-card .ui-card-title 
		{
		    font-size: 1.2em; /* Etwas größere Schrift */
		    font-weight: bold; /* Fetter Text */
		    color: #1e1e1e; /* Dunklere Schriftfarbe */
		}
		
		.ui-card .ui-card-subtitle {
		    font-size: 1em; /* Kleinere Schrift als der Titel */
		    font-style: italic; /* Kursiv */
		    color: gray; /* Helle Schriftfarbe */
		}
		
		/* Stil für die Footer-Facette der Karte */
		.ui-card .ui-card-footer 
		{
		    background-color: rgba(248, 149, 29, 0.35); /* Heller Hintergrund */
		    text-align: center; /* Zentrierter Text */
		    padding: 10px;
		    font-size: 0.9em;
		    color: #555; /* Dunkelgraue Farbe */
		}
		
		/* Stil für den Inhalt der Karte */
		.ui-card-content 
		{
		    font-size: 1em; /* Normale Schriftgröße */
		    color: #1e1e1e; /* Dunklere Textfarbe */
		    line-height: 1.6; /* Bessere Lesbarkeit durch größere Zeilenhöhe */
		    margin-bottom: 20px; /* Abstand nach unten */
		}
		
		.CenterAligned 
		{
    		vertical-align: center;
    	} 	
    	
		.inhaltsgrid
		{
			background-color:transparent;
			width:50vw; 
			border:0px solid red;
		}
		
		
	@keyframes background-pan {
	  from {
	    background-position: 0% center;
	  }
	  
	  to {
	    background-position: -200% center;
	  }
	}
	
	
	
	@keyframes scale {
	  from, to {
	    transform: scale(0);
	  }
	  
	  50% {
	    transform: scale(1);
	  }
	}
	
	@keyframes rotate {
	  from {
	    transform: rotate(0deg);
	  }
	  
	  to {
	    transform: rotate(180deg);
	  }
	}
	

	.magic {
	    position: relative;
	    display: inline-block;
	}
	
	/* Die Sterne holen sich die Breite/Höhe aus dem XHTML und blinken (skalieren) unendlich */
	.magic-star {
	    position: absolute;
	    display: block;
	    animation: scale infinite ease-in-out; 
	}
	
	/* Die SVGs im Inneren rotieren unendlich */
	.magic-star svg {
	    display: block;
	    width: 100%;
	    height: 100%;
	    fill: #F9F5F1;
	    transform-origin: center;
	    transform-box: fill-box;
	    animation: rotate infinite linear;
	}
	
	.magic-text {
	    /*animation: background-pan 4s linear infinite;*/
	    /*background: linear-gradient(to right, #F9F5F1, #F8951D, #F9F5F1);*/
	    background-size: 250% auto;
	    -webkit-background-clip: text;
	    background-clip: text;
	    -webkit-text-fill-color: transparent;
	    color: transparent;
	    white-space: nowrap;
	}
	
	/* Stern 1 (Basis: 18px) */
.magic-star:nth-child(1) 
{
    width: clamp(10px, 1.3vw, 22px) !important;
    height: clamp(10px, 1.3vw, 22px) !important;
}

/* Stern 2 (Basis: 24px - größter Stern) */
.magic-star:nth-child(2) 
{
    width: clamp(13px, 1.7vw, 28px) !important;
    height: clamp(13px, 1.7vw, 28px) !important;
}

/* Stern 3 (Basis: 12px - kleinster Stern) */
.magic-star:nth-child(3) 
{
    width: clamp(7px, 0.9vw, 15px) !important;
    height: clamp(7px, 0.9vw, 15px) !important;
}

/* Stern 4 (Basis: 16px) */
.magic-star:nth-child(4) 
{
    width: clamp(9px, 1.15vw, 19px) !important;
    height: clamp(9px, 1.15vw, 19px) !important;
}

/* Stern 5 (Basis: 22px - zweitgrößter Stern) */
.magic-star:nth-child(5) 
{
    width: clamp(12px, 1.55vw, 26px) !important;
    height: clamp(12px, 1.55vw, 26px) !important;
}

/* Stern 6 (Basis: 14px) */
.magic-star:nth-child(6) 
{
    width: clamp(8px, 1.0vw, 17px) !important;
    height: clamp(8px, 1.0vw, 17px) !important;
}

/* Stern 7 (Basis: 20px) */
.magic-star:nth-child(7) {
    width: clamp(11px, 1.4vw, 24px) !important;
    height: clamp(11px, 1.4vw, 24px) !important;
}
	


/** Cookie-Banner **/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(16, 18, 31, 0.96);
    border-top: 1px solid rgba(248, 149, 29, 0.55);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
    z-index: 9999;
    padding: 16px 20px;
    box-sizing: border-box;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    backdrop-filter: blur(6px);
}

.cookie-banner.versteckt {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cookie-kurz-zeile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-kurz-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e6f3;
    font-family: Garamond, Swiss, serif;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    line-height: 1.4;
    text-align: left;
}

.cookie-stern {
    color: #F8951D;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-details-btn {
    background: transparent;
    border: 1px solid rgba(248, 149, 29, 0.45);
    color: #F8951D;
    border-radius: 50px;
    padding: 8px 18px;
    font-family: Garamond, Swiss, sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-details-btn:hover {
    background: rgba(248, 149, 29, 0.12);
    border-color: #F8951D;
}

.cookie-accept-btn {
    background: radial-gradient(ellipse at top, #282d4a 0%, #10121f 75%);
    border: 1px solid #F8951D;
    color: #ffffff;
    border-radius: 50px;
    padding: 8px 24px;
    font-family: Garamond, Swiss, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(248, 149, 29, 0.25);
    transition: all 0.2s ease;
}

.cookie-accept-btn:hover {
    background: #F8951D;
    color: #10121F;
}

/* Ausklappbarer Detail-Bereich */
.cookie-details-box {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(248, 149, 29, 0.2);
    max-height: 55vh;
    overflow-y: auto;
}

.cookie-detail-inhalt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    text-align: left;
    color: #d0d5e6;
    font-family: Garamond, Swiss, serif;
    font-size: 1rem;
    line-height: 1.5;
}

.cookie-detail-inhalt h4 {
    color: #F8951D;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.cookie-detail-inhalt p {
    margin: 0 0 10px 0;
}

.cookie-bild-spalte {
    flex-shrink: 0;
    width: 110px;
    text-align: center;
}

.cookie-bild-spalte img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.gridProblem {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.gridProblem-text {
    width: 50% !important;
    padding-right: 30px;
    text-align: left;
    font-family: Garamond, Swiss, serif;
    font-size: clamp(0.95rem, 1.5vw, 1.4rem);
    color: white;
    box-sizing: border-box;
}

.gridProblem-text p {
    margin: 0 0 14px 0;
}

.gridProblem-text .gridProblem-highlight 
{
    margin: 0;
    color: #F8951D;
    font-weight: bold;
}

.gridProblem-bild 
{
    width: 50% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.gridProblem-bild img 
{
    width: 60% !important;
    height: auto !important;
    display: block !important;
}

.gridOhneRand.ui-panelgrid,
.gridOhneRand .ui-panelgrid-content,
.gridOhneRand .ui-panelgrid-cell 
{
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Container für den gesamten Zeitstrahl */
.teleskop-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 80%;                /* Gibt links und rechts je 10% Luft zum Rand */
    max-width: 1000px;         /* Wird auf sehr großen Monitoren nicht zu weit auseinandergezogen */
    margin: 35px auto 45px auto; /* Zentriert die Grafik exakt in der Mitte */
    padding: 15px 0;
    box-sizing: border-box;
}

/* Einzelner Schritt (wächst responsiv mit) */
.timeline-step 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: clamp(64px, 6.5vw, 96px);
    z-index: 2;
}

/* Der runde Planeten-Kreis (passt sich zwischen 64px und 96px an) */
.step-circle 
{
    width: clamp(64px, 6.5vw, 96px);
    height: clamp(64px, 6.5vw, 96px);
    border-radius: 50%;
    background-color: #16192A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

/* Icons im Inneren wachsen proportional mit */
.step-circle svg 
{
    width: 45%;
    height: 45%;
}

/* Text unter den Kreisen passt sich ebenfalls leicht an */
.step-text 
{
    font-size: clamp(0.9rem, 1.1vw, 1.15rem);
    line-height: 1.3;
    font-weight: 500;
}

/* Verbindungslinie bleibt immer exakt auf der vertikalen Mitte der Kreise */
.timeline-connector 
{
    flex: 1;
    height: 2px;
    border-top: 2px dashed rgba(248, 149, 29, 0.35);
    margin-top: calc(clamp(64px, 6.5vw, 96px) / 2);
    position: relative;
    margin-left: 15px;
    margin-right: 15px;
}

/* Kleiner Pfeil am Ende der Linie */
.timeline-connector::after 
{
    content: '';
    position: absolute;
    right: 0;
    top: -6px; /* Exakt auf Mitte der 2px-Linie */
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(248, 149, 29, 0.75);
    border-right: 2px solid rgba(248, 149, 29, 0.75);
    transform: rotate(45deg);
}

/* --- Farbabstufung von strahlend (1) bis verstaubt (4) --- */

/* Schritt 1: Strahlendes Orange */
.step-1 .step-circle 
{
    border: 2px solid #F8951D;
    color: #F8951D;
    box-shadow: 0 0 15px rgba(248, 149, 29, 0.35);
}
.step-1 .step-text 
{
    color: #F8951D;
    font-family:Garamond, Swiss;
}

/* Schritt 2: Helles Weiß/Silber */
.step-2 .step-circle 
{
    border: 2px solid #E2E8F0;
    color: #E2E8F0;
    box-shadow: 0 0 10px rgba(226, 232, 240, 0.15);
}
.step-2 .step-text 
{
    color: #E2E8F0;
    font-family:Garamond, Swiss;
}

/* Schritt 3: Blasses Blaugrau */
.step-3 .step-circle 
{
    border: 2px solid #718096;
    color: #718096;
}
.step-3 .step-text 
{
    color: #A0AEC0;
    font-family:Garamond, Swiss;
}

/* Schritt 4: Dunkel & "eingestaubt" */
.step-4 .step-circle 
{
    border: 2px dashed #4A5568;
    color: #4A5568;
    opacity: 0.7;
}

.step-4 .step-text 
{
    color: #718096;
    opacity: 0.8;
    font-family:Garamond, Swiss;
}

#cover 
{
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: flow-root;
  position: relative;
  z-index: 5;
  padding: 25px 0;
}

#cover > img 
{
	position: relative;
    z-index: 6;
    float: left;
    width: 49%;
  	margin: 1% 0;
  	box-sizing: border-box;
    border-radius: 12px; 
  	border: 2px solid rgba(248, 149, 29, 0.35); 
  	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  	display: block;
  	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

#cover > img:nth-child(odd) {
    margin-right: 2%;
}

#cover > img:hover 
{
    transform: scale(1.03); /* Vergrößert das Bild sanft um 3 % */
    border-color: rgba(248, 149, 29, 0.9); /* Lässt den orangenen Rahmen kräftig aufleuchten */
    box-shadow: 0 12px 25px rgba(248, 149, 29, 0.35); /* Verleiht dem Bild ein warmes orangefarbenes Glühen */
}

/* Gesamt-Bereich für den Flyer */
.flyer-section 
{
    width: 100%;
    margin: 50px 0 30px 0;
    box-sizing: border-box;
}

.flyer-mobile-link {
        pointer-events: auto;
        cursor: pointer;
    }

.flyer-section h3 
{
    margin-bottom: 25px;
}

/* 2-Spalten-Layout */
.flyer-grid 
{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Linke Spalte: A5-Vorschau */
.flyer-bild 
{
    width: 40%;
    display: flex;
    justify-content: flex-start;
}

.flyer-karte 
{
    width: 80%;
    border-radius: 12px;
    border: 2px solid rgba(248, 149, 29, 0.45);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.flyer-karte a.flyer-mobile-link {
    pointer-events: none !important;
    cursor: default !important;
    display: block;
}

.flyer-karte:hover 
{
    transform: scale(1.03);
    border-color: #F8951D;
    box-shadow: 0 12px 30px rgba(248, 149, 29, 0.35);
}

.flyer-karte img 
{
    width: 100%;
    height: auto;
    display: block;
}

/* Rechte Spalte: Text & PrimeFaces Button */
.flyer-info 
{
    width: 60%;
    text-align: left;
    font-family: Garamond, Swiss, serif;
    font-size: clamp(0.95rem, 1.5vw, 1.4rem);
    color: white;
}

.flyer-info p 
{
    margin: 0 0 18px 0;
}

/* Edler dunkler Pill-Button mit innerem Lichtglanz (wie in deiner Vorlage) */
.flyer-download-btn.ui-button {
    position: relative !important;
    overflow: hidden !important; /* Hält den Lichtstreifen sauber im Button */
    background: radial-gradient(ellipse at top, #282d4a 0%, #10121f 75%) !important;
    border: 1px solid rgba(248, 149, 29, 0.45) !important;
    border-radius: 50px !important; /* Macht den Button zur runden Pill-Form */
    color: #ffffff !important;
    font-family: Garamond, Swiss, sans-serif !important;
    font-weight: bold !important;
    font-size: clamp(1.05rem, 1.3vw, 1.3rem) !important;
    padding: 8px 26px !important;
    /* Doppelter Schatten: Äußerer dunkler Ring + feiner Lichtglanz an der oberen Innenkante */
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.04),
        inset 0 2px 4px rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Hover-Zustand: Leuchtet in deinem Orange auf */
.flyer-download-btn.ui-button:hover {
    transform: translateY(-2px);
    border-color: #F8951D !important;
    box-shadow: 
        0 0 0 4px rgba(248, 149, 29, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.5),
        0 10px 25px rgba(248, 149, 29, 0.35) !important;
}

/* Der vorbeiziehende Lichtstreifen (Shimmer-Effekt) */
.flyer-download-btn.ui-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: lichtShimmer 4s infinite ease-in-out;
    pointer-events: none;
}

/* Animation: Licht gleitet alle 4 Sekunden sanft von links nach rechts über den Button */
@keyframes lichtShimmer {
    0% {
        left: -100%;
    }
    45% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

/* Gesamt-Container der Umfrage */
.umfrage-section {
    width: 100%;
    margin: 60px 0 40px 0;
    padding: 35px;
    background: rgba(22, 25, 42, 0.75);
    border: 1px solid rgba(248, 149, 29, 0.35);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

/* Header mit SVG-Grafik links und Intro-Text rechts */
.umfrage-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(248, 149, 29, 0.2);
}

.umfrage-grafik {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    filter: drop-shadow(0 0 15px rgba(248, 149, 29, 0.25));
}

.umfrage-intro h3 {
    margin: 0 0 12px 0;
    text-align: left;
}

.umfrage-intro p {
    margin: 0 0 10px 0;
    font-family: Garamond, Swiss, serif;
    font-size: clamp(0.95rem, 1.4vw, 1.3rem);
    color: #e2e6f3;
    line-height: 1.5;
}

.umfrage-subline {
    color: #F8951D !important;
    font-weight: bold;
    margin-bottom: 0 !important;
}

/* Einzelne Frage-Boxen */
.umfrage-frage-box {
    margin-bottom: 30px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.frage-titel {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-family: Garamond, Swiss, serif;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    color: #ffffff;
    line-height: 1.4;
}

.frage-nummer {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(248, 149, 29, 0.15);
    border: 1px solid #F8951D;
    color: #F8951D;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.frage-hinweis {
    display: block;
    font-size: 0.9em;
    color: #a4acc4;
    margin-top: 3px;
}

/* Grid für die 6 Preis-Buttons (3x2 auf Desktop) */
.preis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* Grid für JA/NEIN-Optionen (2 nebeneinander auf Desktop) */
.ja-nein-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Klickbare Auswahl-Karten */
.option-karte {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #121524;
    border: 1px solid rgba(248, 149, 29, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-family: Garamond, Swiss, serif;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.option-karte:hover {
    border-color: #F8951D;
    background: rgba(248, 149, 29, 0.08);
    transform: translateY(-2px);
}

/* Aktiver Zustand, wenn der PrimeFaces-RadioButton ausgewählt ist */
.option-karte:has(.ui-state-active) {
    border-color: #F8951D;
    background: rgba(248, 149, 29, 0.18);
    box-shadow: 0 0 15px rgba(248, 149, 29, 0.25);
}

.preis-karte {
    justify-content: center;
    font-weight: bold;
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
}

/* PrimeFaces Radio-Kreis in Orange einfärben */
.option-karte .ui-radiobutton-box.ui-state-active {
    border-color: #F8951D !important;
    background: #F8951D !important;
}

.umfrage-submit-wrapper {
    text-align: center;
    margin-top: 25px;
}

/* Dankes-Ansicht nach Absenden */
.umfrage-danke-box {
    text-align: center;
    padding: 40px 20px;
    background: rgba(248, 149, 29, 0.08);
    border: 1px solid #F8951D;
    border-radius: 12px;
    color: #ffffff;
    font-family: Garamond, Swiss, serif;
}

.danke-stern {
    font-size: 2.5rem;
    color: #F8951D;
    margin-bottom: 10px;
}

.umfrage-danke-box h4 {
    font-size: 1.6rem;
    color: #F8951D;
    margin: 0 0 10px 0;
}

/*Capture*/
.captcha-box 
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px auto 15px auto;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(248, 149, 29, 0.3);
    border-radius: 10px;
    max-width: 450px;
    color: #ffffff;
    font-family: Garamond, Swiss, serif;
    font-size: 1.15rem;
}

.captcha-input.ui-inputfield 
{
    width: 70px !important;
    text-align: center !important;
    background: #10121F !important;
    border: 1px solid #F8951D !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border-radius: 6px !important;
}


/* Container nimmt immer 100 % der verfügbaren Breite ein */
.video-section 
{
    width: 100%;
    max-width: none;
    margin: 40px 0;
    text-align: center;
    box-sizing: border-box;
}

.video-title 
{
    margin-bottom: 20px;
}

/* Video-Player füllt den Container immer zu 100 % aus */
.meinVideo,
.meinVideo video 
{
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 12px;
    border: 2px solid rgba(248, 149, 29, 0.35);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
    outline: none;
}

.meinVideo:hover,
.meinVideo:focus-within,
.meinVideo video:hover,
.meinVideo video:focus 
{
    border-color: rgba(248, 149, 29, 0.9);
    box-shadow: 0 12px 25px rgba(248, 149, 29, 0.35);
}

.header-cta-btn.ui-button 
{
    position: relative !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 90% !important;
    background: radial-gradient(ellipse at top, #282d4a 0%, #10121f 75%) !important;
    border: 1px solid rgba(248, 149, 29, 0.55) !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    font-family: Garamond, Swiss, sans-serif !important;
    font-weight: bold !important;
    font-size: clamp(0.7rem, 1.2vw, 1.2rem) !important;
    padding: clamp(2px, 0.4vw, 6px) clamp(12px, 2vw, 26px) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04), inset 0 2px 4px rgba(255, 255, 255, 0.35), 0 6px 15px rgba(0, 0, 0, 0.6) !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.header-cta-btn.ui-button:hover 
{
    transform: translateY(-2px);
    border-color: #F8951D !important;
}

.header-cta-btn.ui-button::after 
{
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    animation: lichtShimmer 4s infinite ease-in-out;
    pointer-events: none;
}

.header-cta-btn .ui-button-text 
{
    padding: clamp(3px, 0.5vw, 8px) 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

/**Kontakt**/
.kontakt-feld-gruppe {
    margin-bottom: 20px;
    text-align: left;
}

.kontakt-feld-gruppe label {
    display: block;
    margin-bottom: 8px;
    font-family: Garamond, Swiss, serif;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: #ffffff;
    font-weight: bold;
}

.pflicht {
    color: #F8951D;
}

.kontakt-input.ui-inputfield,
.kontakt-textarea.ui-inputfield {
    width: 100% !important;
    background: #10121F !important;
    border: 1px solid rgba(248, 149, 29, 0.4) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-family: Garamond, Swiss, sans-serif !important;
    font-size: 1.1rem !important;
    padding: 12px 15px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.kontakt-input.ui-inputfield:focus,
.kontakt-textarea.ui-inputfield:focus {
    border-color: #F8951D !important;
    box-shadow: 0 0 12px rgba(248, 149, 29, 0.25) !important;
    outline: none !important;
}

.kontakt-datenschutz {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-align: left;
}

.kontakt-datenschutz label {
    font-family: Garamond, Swiss, serif;
    font-size: 0.98rem;
    color: #d0d5e6;
    line-height: 1.45;
    cursor: pointer;
}

.dsgvo-link.ui-commandlink {
    color: #F8951D !important;
    text-decoration: underline !important;
}



/* Gesamt-Container Kontakt */
.zeichen-info {
    text-align: right;
    font-size: 0.9rem;
    color: #a4acc4;
    margin-top: 6px;
    font-family: Garamond, Swiss, sans-serif;
}

h1 
{
    	
	letter-spacing: 1.5px;
	font-weight: normal !important;
	transition: 700ms ease;
	font-variation-settings: "wght" 311;
	outline: none;
	text-align: center;
	font-size: clamp(2.3rem, 4.5vw, 5.5rem);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	font-family: Impact, "Helvetica Neue", "Arial Narrow", "Roboto Condensed", sans-serif;
	margin-bottom: 5%;
	margin-top:5vh;
	color: white;
}		

h1:hover {
	font-variation-settings: "wght" 582; 
	letter-spacing: 4px;
}
			
			.headerspan
			{
				font-size:1.3em;
				display: inline;
				margin-top:2vh;	
				color: white;			
			}
			
			.bodyspan
			{
				display:none;
			}

		
@media (max-width: 600px)  
{
	.headerDivText 
	{
        margin-top: 15px !important;
    }
	.ui-panelgrid 
	{
	    padding: 5px;
	}
	        
	.ui-card 
	{
		padding: 5px; /* Innenabstand */
		width:100%;
	}
	        
	.inhaltsgrid
	{
				
		width:85vw; 
		border:0px solid blue;
	}
			


			
	.headerDivText 
	{
        width: 55% !important;
        margin-top: 8px !important;
    }
    
    h1
    {
    	font-size: 5.5vw !important;
        margin-top: 3.5vh !important;
        margin-bottom: 2% !important;
        letter-spacing: 1px !important;
    }

	.headerspan,
	.headerspan span
	{
		font-size: 4vw !important;
		line-height: 1.25 !important;
		display: block !important;
	}
			
	.bodyspan
	{
		display: none !important;
	}
	
	.video-section 
    {
        margin-top: 15px;
    }		
			
	.teleskop-timeline 
	{
        flex-direction: column;
        align-items: center;
        max-width: 100%; 
        margin: 25px auto;
        padding: 15px 0;
	}
	
	.timeline-step 
	{
        width: 100%;
        max-width: 220px;
    }
	
	/* Macht die Kreise auf dem Handy angenehm griffig */
    .step-circle 
    {
        width: 68px;
        height: 68px;
        margin: 0 auto 10px auti;
    }

    /* Senkrechte Verbindungslinie */
    .timeline-connector     
    {
        flex: none;
        width: 2px;
        height: 32px;
        border-top: none;
        border-left: 2px dashed rgba(248, 149, 29, 0.35);
        margin: 10px 0;
    }

    /* Pfeilspitze exakt mittig auf der 2px-Linie */
    .timeline-connector::after 
    {
        right: auto;
        left: -4px;
        top: auto;
        bottom: 1px;
        transform: rotate(135deg);
    }
    

	.gridProblem 
	{
        flex-direction: column !important;
        
    }

    
    .gridProblem-bild 
    {
        width: 100% !important;
        padding-bottom: 35px;
        
    }

    .gridProblem-text 
    {
        padding-right: 0;
        margin-bottom: 25px;
        width: 100% !important;
    }

    .gridProblem-bild 
    {
        justify-content: center !important;
    }

    .gridProblem-bild img 
    {
        width: 60% !important;
    }
    
	#cover 
	{
        width: 100%;
        padding: 5px 0 0 0;
    }
    
     #cover > img:last-child 
    {
        margin-bottom: 0;
    }
    

    #cover > img 
    {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }

    /* Verhindert das Abschneiden am Bildschirmrand und das Hängenbleiben auf dem Handy */
    #cover > img:hover 
    {
        transform: none;
    }

    /* Optional: Kurzes Aufleuchten beim Antippen mit dem Finger */
    #cover > img:active 
    {
        border-color: rgba(248, 149, 29, 0.9);
        box-shadow: 0 8px 25px rgba(248, 149, 29, 0.4);
    }
    
   .flyer-mobile-link {
        pointer-events: auto;
        cursor: pointer;
    }
    
    .flyer-karte a.flyer-mobile-link {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    .flyer-grid 
    {
        flex-direction: column !important;
        gap: 25px;
    }

    .flyer-bild,
    .flyer-info 
    {
        width: 100%;
    }

    .flyer-bild 
    {
        justify-content: center;
    }

    .flyer-karte 
    {
        width: 65%;
    }

    .flyer-info 
    {
        text-align: center;
    }

    .flyer-download-btn.ui-button 
    {
        width: 100% !important;
        padding: 10px 14px !important; /* Etwas kompakterer Seitenabstand für schmale Displays */
        font-size: 1rem !important;
    }
    
     .umfrage-section 
     {
        padding: 20px 15px;
    }

    .umfrage-header 
    {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .umfrage-intro h3 
    {
        text-align: center;
    }

    .preis-grid 
    {
        grid-template-columns: repeat(2, 1fr); /* 2x3 auf dem Handy */
    }

    .ja-nein-grid 
    {
        grid-template-columns: 1fr; /* Untereinander auf dem Handy */
    }
    
        .kontakt-datenschutz {
        padding: 12px;
        gap: 10px;
    }

    .captcha-box {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
	   .cookie-kurz-zeile {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 12px;
    }

    .cookie-buttons {
        justify-content: space-between;
    }

    .cookie-details-btn,
    .cookie-accept-btn {
        flex: 1;
        text-align: center;
    }

    .cookie-detail-inhalt {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-bild-spalte {
        width: 80px;
    }
    
     .ueberschrift {
        font-family: Garamond, Swiss; 
        font-size: 1.5em;
    }
   
}

