/* === reset.css === */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* === grund.css (clean) === */

body {
	font-family: Arial, sans-serif;
	font-size: 0.9em;
	font-weight:bolder;
	color:#000099;
}

h1  		{
		margin:0.1em;
		padding:0.15em;
		color:#fffffe;
		background-color:#A4A4A4;
		font-family:Arial, sans-serif;
		font-size:1.1em;
		letter-spacing:0.1em;
		background-image: linear-gradient(#6E6E6E, #D8D8D8);
		text-align:center;
		}
		




.button {																				/* Hamburgmenü */
	display: block;
	width:50%;
	background-color: #000099;
	color: white;
	margin-left:10px;
	padding:1em;
	text-align:left;
	text-decoration: none;
	font-size: 1.2em;
	cursor: pointer;
	transition-duration: 0.4s;
	border:1px solid black;
	margin: 0.1em;
}

.button:hover {
	background-color:#2ECCFA;
}

.button:active {
	background-color: #2ECCFA;
}

.button:visited {
	background-color:#000099;
}

.button:focus {																	/* Hamburgmenü Ende*/
	background-color:#2ECCFA;
}

.button1 {																			/* kleiner Viewport 2. Menü (agb, impressum...) */
	display: block;
	width:100%;
	background-color: #000099;
	color: white;
	margin:0.1em 0.5em 0.1em 0.5em;							/* oben, rechts, unten, links */
	padding:0.3em;
	text-align:center;
	text-decoration: none;
	font-size: 1.2em;
	cursor: pointer;
	transition-duration: 0.4s;
	border:1px solid black;
	}

.button1:hover {
	background-color:#2ECCFA;
}

.button1:active {
	background-color: #2ECCFA;
}

.button1:visited {
	background-color:#000099;
}

.button1:focus {															/* kleiner Viewport 2. Menü Ende */
	background-color:#2ECCFA;
}

.button2 {																	/* normale Menü bei großem Viewport */
  display:inline-block;
  padding-top:0.25em;
 	width:100%;
	color: #0000ff;
	text-decoration: none;
	font-size: 1.05em;
	cursor: pointer;
	transition-duration: 0.4s;
  padding-left:0.2em;
	

}

.button2:hover {														/* Seitenmenü */
 	padding-left: 1em;
 	color:white;
	transition-duration: 0.4s;
	background-image: linear-gradient(#086A87, #2ECCFA);

	


}

.button2:active {
	background-color: #000099;
	
	

}

.button2:visited {
	background-color:#000099;
	


}

.button2:focus {													/* Seitenmenü Ende */
	
}

.button3 {																	/* Menüleiste oben */
  display:inline-block;
	width:100%;
	color: #ffffff;
	text-decoration: none;
	font-size: 1.3em;
	cursor: pointer;
	transition-duration: 0.4s;
 padding-left:0.1em;
 padding-right:0.1em;

}

.button3:hover {														/* Menüleiste oben */
 	color:white;
	transition-duration: 0.4s;
	background-image: linear-gradient(#086A87, #2ECCFA);

}

.button3:active {
	background-color: #000099;
}

.button3:visited {
	background-color:#000099;
}

.button3:focus {													/* Menüleiste Ende */
}

.button4 {																	/* Menüleistefooter */
 	color: #D8D8D8;
	font-size: 1.2em;
	cursor: pointer;
 	margin:0.5em;
  text-decoration:none;

}

.button4:hover {														/* Menüleiste footer */
 	color:#848484;
		text-decoration:none;

}

.button4:active {
	text-decoration:none;

}

.button4:visited {
	text-decoration:none;
}

.button4:focus {													/* Menüleiste footer Ende */
	text-decoration:none;
}

.hamburghinweis {
	text-decoration:underline;
	margin-left:15px;
}

.toplink {																/* 2. Menü oben Disclaimer, impressu, agbs */
	width:7em;
	text-align:center;
	display:inline-block;
	margin:1px;
	}

.rot {																		/* Farbe rot einstellen */
	color:red;
}

.grun {																		/* Farbe rot einstellen */
	color:white;
	background-color:green;
}

.wichtig {																/* Schrift größer zentriert, unterstrich */
	font-size:1em;
	text-decoration:underline;
	text-align:center;
}

.wichtig1 {																/* Schrift größer ohne unterstrich */
	font-size:0.9em;
	text-align:center;
}


.titlerecht{													/* Style für Agbs, Datenschut, Disclaimer */
	font-size:1em;
	text-decoration:underline;
	text-align:center;
}

.rechtpunkt{													/* Unterstrichene Überschrieft bei Disclaimer, Datenschut und Agbs */
	font-size:0.9em;
	font-weight:bold;
	text-decoration:underline;
	color:#424242;
	padding: 0.2em 0.5em 0.2em 0.5em;
}

.recht{																/* Text bei Disclaimer, Datenschutz und Agbs */
	font-size:0.9em;
	font-weight:normal;
	text-align:justify;
	padding: 0.2em 0.5em 0.2em 0.5em;
}																		/* Style für Impressum, Agbs, Datenschut, Disclaimer */


.rahmenrot {
	border: 2px solid red;
	margin: 0.2em;
	padding: 0.2em;
}

.rechnung {												/* Link bei den Agbs für die Rechnungsanforderung */
	color:red;
	font-size:1.1em;
	text-align:center;
}

.contimp {												/* Container für das Impressum um es responsiv zu machen */
	display: flex;
	flex-wrap: wrap;
	width:100%;
	justify-content: center;
}

.artimp {													/* einzelnen Elemente vom Elterncontainer contimp */
	width: 20em;
	padding:0.25em;
	margin:0.25em;
	border: 1px solid #000;

}

.contnav {												/* Container für das Impressum um es responsiv zu machen */
	display: flex;
	flex-wrap: wrap;
	width:100%;
	justify-content: space-between;
}

.navart  {													/* einzelnen Elemente vom Elterncontainer contimp */
	width: 10em;												/* Baldkenbreite im nav-Menü */
	text-align:center;
	margin: 0.3em 0 0.3em 0;

}



.menub{														/* Überschrift der Menüs im Seitenmenü links */
	background: #000099;
	color:#ffffff;
	font-size: 1em;
	text-align:center;
	background-image: linear-gradient(#0404B4, #819FF7);
	padding:0.2em;
	margin-top:1em;
	margin-bottom:0.2em;
	width:100%;
	letter-spacing:0.2em;
}

.continfo {												/* Container für die Texte rechts im aside */
	display: flex;
	flex-wrap: wrap;
	text-align:center;
  font-size: 0.9em;
	justify-content:center;
	margin-top:0.5em;
}

.artinfo {													/* einzelnen Elemente vom Elterncontainer continfo */
	padding: 0 0.25em 0.25em 0.25em;
	margin: 0.25em;
	text-align:center;
	border: 1px solid #000;
 	width:100%;

}

.contfooter {												/* Container für die Texte im footer zu positionieren */
	display: flex;
	flex-wrap: wrap;
  font-size: 0.9em;
	margin-top:1em;
	justify-content:center;
	width:100%;
	margin:2em;

}

.footerinfo {													/* einzelnen Elemente vom Elterncontainer footer */
	padding: 0 0.25em 0.25em 0.25em;
	margin: 0.25em;
	text-align:left;
 	width:150px;


}

.footer {
	color:white;
}



/* Preisrechner */

/* Container für den ganzen Preisrechner */
.contpreis {
	display:block;
	width:99%;
	margin:0.5em auto 0.5em auto;
	background-color:#F2F2F2;

	}

/* Container für die Segmente der Filiale und Auswahl der Klassen */
 .continfo1infofil {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	
} 

/* Segment für die Auswahl der Interesse */
.info1 {	
	border: 1px solid #000;
  font-size:1.2em;
  text-align:left;
  line-height:120%;
  margin:1em;
  padding:5px;
  width:auto;
}

/* Segment für die Filiale */
.infofil {
	border: 1px solid #000;
  font-size:0.9em;
  text-align:left;
  margin:1em;
  padding:5px;
 }

/* Überschrift für die Ausbildungsklasse, Zweiradklasse, Aufstie, Erweiterung Kurse */
.ubpr {
	font-size:1.2em;
	text-decoration:underline;
	margin: 0.2em auto 0.2em 0.2em;
	padding:5px;
	
}

/* Container für die Segmente Ausbildungsklasse, Zweiradklasse, Aufstieg Erweiterung Kurs */
.continfo2 {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	
}

/* Segmente der einzelnen Rubriken - Ausbildungsklasse, Zweiradklasse, Aufstieg Erweiterung Kurse */
.info2 {
	width:200px;
	border: 1px solid #000;
  font-size:0.9em;
  margin: 2em 0em 0.5em 2em;
  text-align:left;
	padding:5px;
 }
 
 /* Container für die Ausgabe der Auswahl sowohl beim Preisrechner als auch bei der Onlineanmeldung */
 .contausgabe {
 	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}

/* Segmente der Ausgaben der Auswahl sowohl beim Preisrechner als auch bei der Onlineanmeldung  */
.ausgabe {
  font-size:0.9em;
  text-align:left;
 }
 
 /* Container für die Buttons unten - anmelden, evtl. abbrechen */
 .contanmelden {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	margin-top:1em;
	margin-top:1em
 	
 }
 
 /* button anmelden i*/
 .anmelden {
 	font-weight:bold;
 	color:black;
 	width:100px;
 	height:40px;
 	border:none;
 	background-color:lightgrey;
	margin: 1em;
 }
 
 /* hover Effekt für den Button anmelden */
 .anmelden:hover {
 	background-color:darkgrey;
 	text-decoration:none;
 	border:none;
 }
 

/* Beginn Onlineanmeldung */
/* Container für die Aufnahme der Elemente für die Onlineanmeldung */
.contonline {
	display:block; 
	width:99%;
	margin:0.5em auto 0.5em auto;
	background-color:#F2F2F2;
}

 .conteing {
 	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	}

.eingitem {
	width:155px;
	line-height:125%;
	border: 1px solid #000;
  font-size:1em;
  margin: 2em 0em 0.5em 1em;
  padding:5px;
  text-align:left;
 }
 
.textfeld {
	margin-bottom:5px;
	color:black;
}

input {
	width:145px;
}

input[required] { 
  background-color: #F2F2F2;
}

input:valid {
	background-color:lightgreen;
}

input:invalid {
	background-color: #F5D0A9;
}

.ckbox {
	width:20px;
	height:20px;
  cursor: pointer;
}

.ck {
	width:15px;
	height:15px;
}
/* Beginn Theorieplan */
/* Container für den Theorieplan */
.conttplan {
	display:flex;
	flex-wrap:wrap;
	width:99%;
	margin:0.5em auto 0.5em auto;
	background-color:#F2F2F2;
	justify-content:center;
}

/* Segmente für den Theorieplan */
.tplanseg {							
	line-height:125%;
	border: 1px solid #000;
  font-size:1em;
  margin: 1em 1em 1em 1em;
  padding:5px;
  text-align:left;

}

.tabelletplan {
	display:table;
	border-collapse:collapse;
}

.zeiletplan {
	display:table-row;
	font-size:1.2em;
}



.zelletplan {
	display:table-cell;
	vertical-align:middle;
	padding: 10px;
	width:110px;
}

.zeiletplan:nth-child(even) .zelletplan {
	background-color: #E6E6E6;
	color:black;
} 

.figtplan {
	color:black;
	text-align:center;
	color:white;
	background-color:#000099;
	padding:0.3em;
	margin: 0.3em 0em 0.3em 0em;
	font-size: 1.1em;
	letter-spacing:0.1em;
}

/* Beginn Kontaktformular (mit ein und ausblenden) */
.contkont {																								/* Hauptcontainer */
	display:block;
	width:99%;
	margin:0.5em auto 0.5em auto;
	background-color:#F2F2F2;
	
}

.contitem {																								/* Container für die Items */
		display:flex;
		flex-wrap:wrap;

}

.kontitem  {																							/* einzelne Items */
  line-height:125%;
	border: 1px solid #000;
  font-size:1em;
  margin: 1em 1em 1em 1em;
  padding:5px;
  text-align:left;
  width:auto;

}


 .klein {																									/* Button klein */
 	font-weight:bold;
 	color:black;
 	width:140px;
 	height:30px;
 	border:none;
 	background-color:lightgrey;
	margin: 0.5em auto 0.5em auto;
	 }
 
 /* hover Effekt für den Button anmelden */
 .klein:hover {
 	background-color:darkgrey;
 	text-decoration:none;
 	border:none;
 }


.anfrage {
	text-align:center;
	font-size:1.2em;
	font-weight:bolder;
}


/* Style vom Rest */
.contrest {																							/* Container alles das nur Text ist */
	margin:0.5em;
	background-color: #F2F2F2;
}


.contrestitem {																						/* Container für für Texte standard */
	display:flex;
	flex-wrap:wrap;	
	justify-content:center;

}


.contrestitem1 {																						/* Container für für Texte standard */
	display:block;
	flex-wrap:wrap;	
	justify-content:center;

}

.restitem  {																							/* Die einzelnen Items */
  line-height:125%;
  font-size:1em;
  margin: 0.5em 0.5em 0.5em 0.5em;
  padding:5px;
  text-align:left;
  width:205px;
	border: 1px solid #000;
  text-align:justify;
}

.frei {
	width:auto;
}

.spaltefs {
	width:145px;
}

.ubrest {																								/* einfache Überschrift, bissal bold und unterstrichen */
	font-size:1.1em;
	font-weight:bold;
	text-decoration:underline;
	margin: 0.2em 0.2em 0.5em 0em;
}

.ubrest1 {																							/* Spektakuläre Unterschrift */
	background: #000099;
	color:#ffffff;
	font-size:0.9em;
	text-align:center;
	background-image: linear-gradient(#0404B4, #819FF7);
	padding:0.2em;
	margin-top:0.1em;
	margin-bottom:0.1em;
	width:100%;
	letter-spacing:0.2em;
}

.restitembreit  {																							/* Die einzelnen Items */
  line-height:125%;
  font-size:1em;
  margin: 0.5em 0.5em 0.5em 0.5em;
  padding:5px;
  text-align:left;
  width:310px;
	border: 1px solid #000;
	text-align:justify;
}

.restitembreito  {																							/* Die einzelnen Items */
  line-height:125%;
  font-size:1em;
  margin: 0.5em 0.5em 0.5em 0.5em;
  padding:5px;
  text-align:left;
  width:320px;
	text-align:justify;
}

.pmittig {
	text-align:center;
}

.fl {																												/* Bildbreite Fahrlehrer */
	width:450px;
}

.fs {																												/* Bildbreite Führerscheine */
	width:400px;
}

.fz {																												/* BildbreiteFahrzeuge */
	width:400px;
}



.tabell {
	display:table;
	border-collapse:collapse;
}

.thd {
	display:table-header-group;
	font-size:1.1em;
}



.zeil {
	display:table-row;
	font-size:1em;
}

.zeil2 {
	display:table-row;
	font-size:0.9em;
}


.zell {
	display:table-cell;
	vertical-align:middle;
	padding: 5px;
	width:100px;

}

.zellt {
	vertical-align:top;
}
.w1 {
	width:120px;
}

.zeil:nth-child(even) .zell {
	background-color: #E6E6E6;
	color:black;
} 

.zeil2:nth-child(even) .zell {
	background-color: #E6E6E6;
	color:black;
} 

.punkt {																		/* Für listen also ul */
	list-style-type: square;
	margin-left:1.2em;
}

.zahl {																		/* Für listen also ul */
	list-style-type:decimal;
	margin-left:1.6em;
	list-style-position: outside;
}

.bordunt {
	border-bottom: 1px solid #000000;
}



.platz {
	margin:0.3em 0 0.3em 0;
}

.fzg {																			/* table für die Textdateien für die Führerscheinklassen */
	
}

.reihefs {
	border-top:1px solid #000000;
}

.zellefs {
	width:110px;
	padding:0.2em;
}

.zellefs1 {
	padding-right:0.5em;
}

.hoch1 {
	height:190px;
	}
	
.hoch2 {
	height:310px;
}





















/* === bilder.css === */

.mittig {
	display:block;
	margin: 0.2em auto 0.2em auto;	
	width:100%
}

.mittig1 {
	display:block;
	margin: 0.2em auto 0.2em auto;	
	width:450px;
}

.gruppe {
	display:block;
	margin:2em auto 1em auto;
	
	width:80%;
}

.vkz {
	vertical-align:top;
}

.lincp7 {
	width:7%;
	
}

.lincp20 {
	width:20%;
}

/* === nav.css === */

div.topmenu { 
	
    height: auto; 
    max-height:0; 
    overflow: hidden; 
    transition: all 0.5s;
  }

label.hamburg { 
   display: block;
   background: #000099; width: 50px; height: 50px; 
   position: relative; 
   margin-left:10px; 
   margin-right: auto;
   margin-top:5px;
   margin-bottom:5px;
   border-radius: 4px; 
}

input#hamburg {display:none;}

.line { 
   position: absolute; 
   left:5px;
   height: 4px; width: 40px; 
   background: white; border-radius: 2px;
   display: block; 
   transition: 0.3s; 
   transform-origin: center; 
}

.line:nth-child(1) { top: 12px; }
.line:nth-child(2) { top: 24px; }
.line:nth-child(3) { top: 36px; }

#hamburg:checked + .hamburg .line:nth-child(1){
   transform: translateY(12px) rotate(-45deg);
}

#hamburg:checked + .hamburg .line:nth-child(2){
   opacity:0;
}

#hamburg:checked + .hamburg .line:nth-child(3){
   transform: translateY(-12px) rotate(45deg);
}

/* max Hhe des Mens */
#hamburg:checked + .hamburg  + div.topmenu { 
    max-height: 1500px; 															
}

.navleiste {
	display:none;
}

.navbalken {
	display:none;
}

  



/* === query.css === */

.grid {
		display: grid;
		grid-template-rows: auto auto auto auto  auto auto auto;
		grid-template-columns: 115px repeat(8,4.1%) 110px ;
  	justify-content:center;
  	grid-gap: 0.05em 0.05em;
  }

/* Header ist immer aktiv bei kleinster Auflsung eine Zeile */
.header {
		grid-column: 	1/11;			/* Spalte 1-11 weil es 10 Felder sind */
		grid-row:    	1/2;			/* Reihe 1, ist 150px hoch */
	}

/* Men bei kleinster Auflsung, der Hamburger, eine Zeile */
.navhamburg {
		grid-column: 	1/11;			/* Spalte 1-11 weil es 10 Felder sind */
		grid-row:    	2/3;			/* Reihe  2 wird automatisch festgelegt */
		background:#F2F2F2;
		margin-left:0px;
  }


/* Main Bereich, hier werden die berschssigen Zeilen ausgeglichen, stehen auf auto */
.main {
		grid-column: 	1/11;			/* Spalte 1-11 weil es 10 Felder sind */
		grid-row:			3/5;			/* Reihe 4 wird automatisch festgelegt */
		background: #F2F2F2;;
		margin-bottom: 0.01em;
	}

/* aside, der ist zwei Zeilen um berschuss auszugleichen, steht auf auto */
.aside {
		grid-column: 	1/11;			/* Spalte 1-11 weil es 10 Felder sind */
		grid-row:			5/7;			/* Reihe 4 wird automatisch festgelegt */
		background: #E6E6E6;
	}

/* footer, der ist wieder normal mit einer Zeile */
.footer {
		grid-column:	1/11;			/* Spalte 1-11 weil es 10 Felder sind */
		grid-row:			7/8;			/* Reihe 5 ist 100px hoch */
		background: #424242;
	}

.navleiste {
		display:none;
	}

.navbalken {
		display:none;
	}


.gross{
	width:25px;
	height:25px;
	margin:3px;
	margin-right:5px;
}

input.gross:valid {
	background-color:#F2F2F2;
}






/* ab 800 Pixel wird das normale Layout dargestellt */

@media only screen and (min-width:639px) {																						
.grid {
		grid-template-columns: 115px repeat(8,8.1%) 110px ;
	}

/* ab einer Bildschirmgre @media wird der Hamburger ausgeblendet und das normale Men eingeblendet */
.navhamburg {
		display:none;
	}


/* nderung der Aufteilung des Main-Feldes */
.main {
		grid-column: 	2/10;			/* Spalte 1-11 weil es 10 Felder sind */
		grid-row:			3/6;			/* Reihe 4 wird automatisch festgelegt */
	}

/* nderung der Aufteilung des Aside Feldes */
.aside {
		grid-column: 	10/11;			/* Spalte 1-11 weil es 10 Felder sind */
		grid-row:			3/6;			/* Reihe 4 wird automatisch festgelegt */
	}

/* Definition vom nav Baldken */
.navbalken {
		display:block;
		grid-column: 	1/11;			/* Spalte 1-11 weil es 10 Felder sind */
		grid-row:    	2/3;			/* Reihe  2 wird automatisch festgelegt */
		background-image: linear-gradient(#0404B4, #819FF7);
		color:white;
	}

/* Definition vom Men links */
.navleiste {
		display:block;
		grid-column: 	1/2;			/* Spalte 1-11 weil es 10 Felder sind */
		grid-row:    	3/6;			/* Reihe  2 wird automatisch festgelegt */
		background: #E6E6E6;
		text-align:left;
 	}
 	
 	.gross {
	width:15px;
	height:15px;
	border:none;

}



}


@media only screen and (min-width: 1024px) {
.grid {
		grid-template-columns: 125px repeat(8,9.3%) 125px ;
	}
}




@media only screen and (min-width: 1440px) {
.grid {
		grid-template-columns: 140px repeat(8,10%)150px ;
			}

	}

/* ===== MODERN FOOTER OVERRIDES (re-added) ===== */

/* Footer-Grundstil: Position im Grid, Hintergrund, Textfarbe, Gradient-Linie */
.footer {
    grid-column: 1/11;
    grid-row: 7/8;
    background: #1f1f1f;      /* dunkler Balken über die ganze Breite */
    color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/* Dünne, gut sichtbare Farbverlauf-Linie oben im Footer */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6f6f, #ffd86b, #7ab7ff);
    opacity: 1;
}


/* =========================================
   STARTSEITE – HERO UND SEKTIONS-LAYOUT
   ========================================= */

.hero {
    margin-top: 0.5em;																			/* Abstand nach oben */
    background: linear-gradient(135deg, #004a8f, #0077c8);
    color: #ffffff;
    padding: 3.0em 1.5em;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    margin-bottom: 2.5em;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2em;
}

.hero-text {
    flex: 1 1 280px;
}

/* kleines Badge oben */
.hero-badge {
    display: inline-block;
    font-size: 0.9em;
    padding: 0.3em 0.8em;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    margin-bottom: 0.8em;
}

/* Titel im Hero */



.hero-title {
    font-size: 2em;
    margin: 0 0 0.4em 0;
    letter-spacing: 0.04em;
    
}

/* Standard-h1/h2/h3 in diesen Bereichen NICHT mit grauem Balken */
.hero h1,
.hero h2,
.hero h3,
.home-section h2,
.home-section h3 {
    background: none;
    padding: 0;
    margin: 0;
    color: inherit;
}

.hero-content {
    text-align: center;      /* Text mittig */
    display: flex;
    flex-direction: column;
    align-items: center;     /* sorgt dafür, dass auch Elemente wie Buttons mittig stehen */
    
}

.hero-subtitle {
    font-size: 1.05em;
    line-height: 1.5;
    margin-bottom: 1.4em;
    max-width: 32em;
    justify content: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em;
    margin-bottom: 1em;
}

.hero-primary,
.hero-secondary {
    display: inline-block;
    border-radius: 999px;
    padding: 0.5em 1.4em;
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
    border: none;
}

.hero-primary {
    background: #ffd600;
    color: #000000;
}

.hero-primary:hover {
    background: #ffe466;
}

.hero-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero-note {
    margin-top: 0.5em;
    font-size: 0.95em;
}

.hero-note-link {
    color: #ffffff;
    text-decoration: underline;
}

.hero-note-link:hover {
    text-decoration: none;
}

/* Bildbereich rechts im Hero */
.hero-image {
    flex: 0 1 320px;
    text-align: center;
}

.hero-car {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}




/* =========================================================
   Abschnitt-Boxen mit schlankem, kürzerem Seitenbalken
   ========================================================= */
.home-section {
    background: linear-gradient(to bottom, #ff9900, #ffb84d);
    border-radius: 12px;
    padding: 1.4em 1.8em;
    margin: 2em auto;
    max-width: 1200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

    /* Balken deutlich dünner */
    border-left: 5px solid #004a8f;

    /* Balken kürzer: nur oberer Teil */
    position: relative;
}

/* Eigener Balken-Effekt: kürzer als der Block */
.home-section::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 1.2em;          /* Abstand von oben → steuert die Länge */
    height: 15%;         /* 45% der Blockhöhe → kürzer - der dicke balken*/
    width: 5px;          /* gleiche Breite wie border-left */
    border-radius: 4px;
}

/* Farben pro Block */
.home-section--why {
    border-left-color: #0077c8;
}
.home-section--why::before {
    background-color: #0077c8;
}

.home-section--locations {
    border-left-color: #0077c8;
}
.home-section--locations::before {
    background-color: #0077c8;
}


/* Titel mit Icon links – saubere, neue Version */
.home-section-title {
    position: relative;
    padding-left: 1.5em  !important;   /* Text vom Icon wegrücken */
    font-size: 1.55em;
    font-weight: bold;
    color: #003366;
}

/* Grundposition des Icons */
.home-section-title::before {
    content: "";
    position: absolute;
    left: 0.4em;           /* Icon weiter links/rechts */
    top: 0.15em;           /* Icon höher/tiefer */
    font-size: 1.3em;      /* Icon-Größe */
}

/* 🔶 Warum Fahrschule */
.home-section--why .home-section-title::before {
    content: "❓";
    left: -0.2em;
    top:  -0.2em;
    font-size: 1.1em;
    color: #ff8800;
}

/* 🔵 Unsere Standorte */
.home-section--locations .home-section-title::before {
    content: "📍";
    left: -0.2em;
    top:  -0.2em;
    font-size: 1.1em;color: #0077c8;
}

/* 🚀 So startest du mit uns */
.home-section--start .home-section-title::before {
    content: "🚀";
    left: -0.2em;
    top:  -0.2em;
    font-size: 1.1em;
    color: #003366;
}





.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2em;
}

.usp-card,
.branch-card {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 1em 1.2em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.usp-title,
.branch-title {
    font-size: 1.1em;
    margin-bottom: 0.4em;
    background: none;
    padding: 0;
}

.usp-text,
.branch-meta {
    font-size: 0.95em;
    line-height: 1.5;
}

.branch-link {
    display: inline-block;
    margin-top: 0.6em;
    font-size: 0.95em;
    color: #004a8f;
    text-decoration: none;
}

.branch-link:hover {
    text-decoration: underline;
}

/* Schritte-Liste unten */
.start-steps {
    list-style: decimal;
    margin-left: 1.4em;
    line-height: 1.6;
}

.start-steps a {
    color: #004a8f;
    text-decoration: none;
}

.start-steps a:hover {
    text-decoration: underline;
}


/* =========================================
   STARTSEITE – RESPONSIVE ANPASSUNGEN
   ========================================= */

@media (max-width: 768px) {
    .hero {
        padding: 2.4em 1.1em;
        border-radius: 0.7em;
    }

    .hero-title {
        font-size: 1.6em;
    }

    .hero-inner {
        gap: 1.5em;
    }

    .hero-image {
        flex: 1 1 100%;
    }

    .hero-car {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;   /* untereinander */
        align-items: center;      /* mittig zentriert */
    }

    .hero-primary,
    .hero-secondary {
        width: auto;              /* nicht mehr 100% Breite */
        min-width: 180px;         /* angenehme Mindestbreite */
        text-align: center;
    }
}

/* =========================================
   MAIN-BEREICH – MEHR ABSTAND ZU SEITENMENÜS
   ========================================= */

.main {
    padding: 0 1.8em;      /* links/rechts mehr Innenabstand */
    box-sizing: border-box;
}



/* =========================================
   Responsive Footer
   ========================================= */
   
.contfooter {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2em 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75em 1.5em;
    font-size: 0.9em;
}

/* Einzelne Link-Blöcke im Footer */
.footerinfo {
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Hellere vertikale Trennlinien zwischen den Links */
.footerinfo:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 1.2em;
    background-color: #bfbfbf;
    opacity: 0.9;
    margin-left: 1em;
    vertical-align: middle;
}

/* Moderner Footer-Link */
.button4 {
    color: #e0e0e0;
    font-size: 1.1em;
    cursor: pointer;
    margin: 0.4em 0.6em;
    text-decoration: none;
    opacity: 0.9;
    transition: color 0.25s ease, opacity 0.25s ease;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
}

/* dezente Unterstreichungs-Linie beim Hover */
.button4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15em;
    width: 0;
    height: 1px;
    background-color: #f39c12;
    transition: width 0.25s ease-out;
}

.button4:hover::after {
    width: 100%;
}

/* Hover-/Fokus-Effekt für Links */
.button4:hover {
    color: #ffffff;
    opacity: 1;
}

.button4:active,
.button4:visited,
.button4:focus {
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

/* Kleine Icons vor den Links im Footer */
.footer .button4::before {
    display: inline-block;
    margin-right: 0.35em;
    font-size: 0.95em;
    vertical-align: middle;
}

/* Spezifische Icons pro Link anhand der URL */
.footer a[href*="impressum"]::before {
    content: "⚖";
}

.footer a[href*="agbs"]::before {
    content: "📄";
}

.footer a[href*="disclaimer"]::before {
    content: "⚠";
}

.footer a[href*="datenschutz"]::before {
    content: "🔒";
}

.footer a[href*="kontakt"]::before {
    content: "✉";
}

/* Mobile Optimierung nur für den Footer */
@media (max-width: 480px) {
    .contfooter {
        padding: 1.4em 0.7em;
        gap: 0.5em 1em;
    }
    .button4 {
        font-size: 1em;
    }
    
  

}
