@charset "utf-8";
/* ----------------------------- Reset default browser CSS --- */

html, body, main, header, footer, div, span, applet, object, iframe, figure, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, 
cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, 
sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td {
	position: relative;
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

/* ::marker {
	content: "";
} */

*, *:before, *:after {
	box-sizing: border-box;
}

html {
	overflow-y: scroll;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section {
	display: block;
}

figure {
	line-height: 0;
}

ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	font-weight: normal;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}
:focus {
	outline: transparent;
}
a {
	background-color: transparent;
}
a:hover, a:active {
	outline: 0;
}
a img {
	border: 0;
}

/* Global
-------------------------------------------------------------- */

html {
	font-size: 62.5%;
	-webkit-tap-highlight-color: transparent;
	scroll-behavior: smooth;
	overflow-x: hidden;
	/* background-color:#a2cdf4; */
}

body{
	background-attachment: fixed;
	background: rgb(26,58,129);
	background: linear-gradient(0deg, rgba(26,58,129,1) 0%, rgba(162,205,244,1) 100%);
	background-size: cover;
	background-repeat: no-repeat;
	min-height: 100svh
}

figure {
	margin: 0;
	line-height: 0;
}

img {
	height: auto;
	width: 100%;
}

a.home-link {
  width: 445px;
  height: 300px;
  display: block;
  position: absolute;
  z-index: 1;
}

/* Typography
-------------------------------------------------------------- */

/* noto-sans-regular - latin */
/* @font-face {
	font-family: 'Noto Sans';
	font-style: normal;
	font-weight: 400;
	src: local(''),
		 url('../fonts/noto-sans-v27-latin-regular.woff2') format('woff2'),
		 url('../fonts/noto-sans-v27-latin-regular.woff') format('woff');
} */

/* noto-sans-700 - latin */
/* @font-face {
	font-family: 'Noto Sans';
	font-style: normal;
	font-weight: 700;
	src: local(''),
		 url('../fonts/noto-sans-v27-latin-700.woff2') format('woff2'),
		 url('../fonts/noto-sans-v27-latin-700.woff') format('woff');
} */

/* noto-sans-italic - latin */
@font-face {
	font-display: swap;
	font-family: 'Noto Sans';
	font-style: italic;
	font-weight: 400;
	src: url('../fonts/noto-sans-v27-latin-italic.woff2') format('woff2');
}

/* noto-sans-700italic - latin */
@font-face {
	font-display: swap;
	font-family: 'Noto Sans bold';
	font-style: italic;
	font-weight: 700;
	src: url('../fonts/noto-sans-v27-latin-700italic.woff2') format('woff2');
}

:root {
	--clr-yellow: 		#f7c200;
	--clr-typo-yellow:	#FFCE3C;
	--typo-regular:		'Noto Sans', sans-serif;
	--typo-bold:		'Noto Sans bold', sans-serif;
}

body,
button,
input,
select,
textarea {
    color: #FEE9EA;
	font-family: var(--typo-regular);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.6;
	letter-spacing: 0.06rem;
}

.yellow {
	color: var(--clr-typo-yellow);
}

h1, h2, h3, h4, h5 {
	font-family: var(--typo-bold);
	font-style: italic;
	font-weight: 700;
	line-height: 1.4;
	color: #FFF;
	padding-bottom: 10px;
}

h1, .Teaser.blue h2 {
	font-size: 2.2rem;
}

h2, .Teaser.blue h3 {
	font-size: 1.9rem;
}

h3 {
	font-size: 1.7rem;
}

h4 {
	font-size: 1.6rem;
	color: #FFF;
}

p, .subhead {
	color: #FEE9EA;
	padding-bottom: 10px;
}
b, strong {
	font-family: 'Noto Sans bold', sans-serif;
}

a {
	font-family: var(--typo-bold);
	text-decoration:none;
	color:#C1E7FF;
	font-style: italic;
	font-weight: 700;
}

a.link1 {
	font-family: var(--typo-bold);
	border: none;
	text-decoration:none;
	color:#C1E7FF;
	font-size: 1.6rem;
	font-style: italic;
	line-height: 2.5;
	font-weight: 700;
}

a.link1:hover, a:hover {
	color: var(--clr-yellow);
}

/* Layout
-------------------------------------------------------------- */

.go-top {
	position: relative;
	padding-left: 30px;
	margin-top: 10px;
}

.go-top::before {
	content: "";
	position: absolute;
	top: 6px;
	display: block;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid rgb(255, 255, 255);
}

#Centerdiv {
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	max-width: 960px;
	position: relative;
}

#Navicontainer {
	position: relative;
	display: flex;
	justify-content: center;
	background-color: #1A3A81;
	background-image: url(../images/fahrschule-fahr-werk-logo.jpg);
	background-repeat: no-repeat;
	background-position: center 0;
	border-right-width: 6px;
	border-right-style: solid;
	border-color: #F00;
	padding-bottom: 40px;
	box-shadow: 10px 10px 20px hsl(0deg 0% 0% / 30%);
}

#Container {
	background-color: #c00015;
	box-shadow: 10px 10px 20px hsl(0deg 0% 0% / 30%);
}

.ContainerInner {
	padding: 25px;
}

#header {
  margin: 20px 0;
}

#Navi {
	margin-top: 320px;
	text-align: center;
}

#gallery .gallery {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ContainerInner li {
	list-style: square;
	margin-left: 20px;
}

.ContainerInner ul {
	color: #FEE9EA;
	margin-bottom: 8px;
}

.TeaserContent h2 {
	padding: 5px 0 10px 0;
}

.headline {
	font-family: var(--typo-bold);
	font-size: 3rem;
	color: var(--clr-typo-yellow);
	font-weight: 700;
	padding-bottom: 0;
	line-height: 1;
}

.subline {
	font-family: var(--typo-bold);
	font-weight: 700;
	font-size: 2rem;
}

.HeadlineGelbBT {
	color: #EC9603;
	font-weight: normal;
	border-bottom: 2px dotted #F00;
	padding-bottom: 20px;
}

#logoani {
    width: fit-content;
}

.copytext {
    margin: 40px 0 0 0;
}
.copytext h1, .copytext h2 {
    font-size: 1.8rem;
    margin-top: 20px;
}
.CopyPreiseText {
    line-height: 1.8;
    margin-bottom: 8px;
    margin-right: 20px;
}

.CopyPreise {
	text-align: right;
}

.CopyGelbFett {
	font-family: var(--typo-bold);
	color: var(--clr-yellow);
	margin-bottom: 8px;
	font-weight: 700;
}
.Navitxt {
	margin-bottom: 0px;
}

.Naviadr {
	font-family: var(--typo-bold);
	margin-block: 20px;
	font-size: 1.8rem;
	font-style: italic;
	line-height: 30px;
	font-weight: 700;
	color: var(--clr-yellow);
}

.impressum {
  color: #FFF;
}

.Linie, .line {
	border-bottom-width: 2px;
	border-color: #F00;
	border-bottom-style: dotted;
}

.line {
	padding-bottom: 10px;
	margin-bottom: 10px;
	padding-top: 10px;
}

.Linie {
	font-size: 0;
	line-height: 0;
	margin-top: 10px;
	margin-bottom: 10px;
}


.Teaser {
	position: relative;
	margin-block: 20px;
	background-color: #e52e00;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: 4px solid var(--clr-yellow);
}

.Teaser.blue {
	background-color: #283a82;
}

.Teaser.only-image {
	padding: 0;
	overflow: hidden;
}

.TeaserButton {
	position: absolute;
	top: -50px;
	right: -40px;
	width: 180px;
	height: 180px;
	background-repeat: no-repeat;
	display: none;
}

.TeaserContent {
	padding: 10px 20px 5px 20px;
}

.TeaserBild {
	background-image: url(/images/teaser/b_fuehrerschein_in_den_ferien.jpg);
	background-repeat: no-repeat;
}

.Teaser li {
    padding-bottom: 5px;
}

.info-block {
    padding: 10px;
    background-color: #1d3b84;
    border-radius: 10px;
    margin: 15px 0 10px 0;
}
/* .TeaserHead {
	font-family: var(--typo-bold);
	font-size: 2.2rem;
	font-style: italic;
	font-weight: 700;
	color: #FFF;
	text-decoration: none;
	margin-bottom: 8px;
	line-height: 1.3;
	max-width: 300px;
}
.TeaserHead2 {
	font-family: var(--typo-bold);
	font-size: 1.6rem;
	font-style: italic;
	line-height: 22px;
	font-weight: 700;
	color: #FFF;
	text-decoration: none;
	margin-bottom: 8px;
}
.TeaserTopline {
	font-family: var(--typo-bold);
	font-weight: 700;
	font-style: italic;
	color: var(--clr-yellow);
	margin-bottom: 5px;
} */

#Formular {
	margin-block: 20px;
}

#Formular fieldset {
	border: 0;
}

#Formular label {
	display: block;
}
#Formular input, #Formular textarea {
	line-height: 13px;
	background-color: #FF6600;
	padding: 5px;
	border: 0;
	color: #FFFFFF;
	width: 100%;
}

#Formular textarea {
	height:240px;
}

#Formular .button  {
	font-family: var(--typo-bold);
	border:1px solid #F8BD00;
	margin-top:12px;
	background-color: #FF6600;
	color: #FFF;
	width: 100px;
	font-weight: 700;
}

#Formular .button:hover{
	background-color: var(--clr-typo-yellow);
	color: #F00;
}

#Formular .fehler {
	border:1px solid #FBBE04;
}

#Formular label {
	line-height: 18px;
	color: #FDC8C9;
	margin-top: 10px;
	margin-bottom: 5px;
	display: block;
}

#Formular .ftext {
	font-family: var(--typo-bold);
	color: #FBBE04;
	font-weight: 700;
	line-height: 18px;
}

#Formular p.error {
	color: #FBBE04;
}

#apDiv1 {
	position:absolute;
	left:843px;
	top:211px;
	width:182px;
	height:181px;
	z-index:1;
}
#apDiv2 {
	position:absolute;
	left:449px;
	top:184px;
	width:513px;
	height:190px;
	z-index:2;
}

@media (min-width: 992px) {

	#Centerdiv {
		flex-direction: row;
	}

	#Navicontainer {
		border-bottom-left-radius: 40px;
		min-width: 430px;
		max-height: 800px;
	}

	#Container {
		z-index: 1;
		width: 60%;
		padding-bottom: 30px;
		border-bottom-left-radius: 40px;
		margin-bottom: 30px;
	}

	a.link1 {
		line-height: 2;
	}

	.TeaserButton {
		display: block;
	}
	
	#gallery .gallery .wiggle:last-of-type,
	#gallery .gallery .lightbox:last-of-type {
		display: none;
	}

}

/* -------------------------------------------------- Lightbox */

.wiggle {
	display:block;
	/* margin:0 auto; */
	/* width: 112px;
	height:112px; */
	max-width: 112px;
	max-height: 112px;
	line-height: 0;
	border: 4px solid #F00;
	
	/* box-shadow:8px 8px 1px 0 rgba(0,0,0,.15); */
  }
  
 .wiggle:hover {
	-webkit-animation:none;
	animation:none;
	border: 4px solid rgb(255, 174, 0);
 }
  
.short-animate {
	-webkit-transition:.5s ease-in-out;
	-moz-transition:.5s ease-in-out;
	-ms-transition:.5s ease-in-out;
	-o-transition:.5s ease-in-out;
	transition:.5s ease-in-out;
}
  
.long-animate {
	-webkit-transition: .5s .5s ease-in-out;
	-moz-transition: .5s .5s ease-in-out;
	-ms-transition: .5s .5s ease-in-out;
	-o-transition:.5s .5s ease-in-out;
	transition:.5s .5s ease-in-out;
}
  
.lightbox {
	position:fixed;
	top:-100%;
	bottom:100%;
	left:0;
	right:0;
	/* background-color: #a2cdf4; */
	background-color: hsl(209deg 100% 17% / 94%);
	z-index:501;
	opacity:0;
}
  
.lightbox img {
	position:absolute;
	margin:auto;
	top:0;
	left:0;
	right:0;
	bottom:0;
	max-width:0%;
	max-height:0%;
}
  
#lightbox-controls {
	position:fixed;
	height:70px;
	width:70px;
	top:-70px;
	right:0;
	z-index:502;
	background:rgba(0,0,0,.1);
}
  
#close-lightbox {
	display:block;
	position:absolute;
	overflow:hidden;
	height:50px;
	width:50px;
	text-indent:-5000px;
	right:10px;
	top:10px;
	-webkit-transform:rotate(45deg);
	-moz-transform:rotate(45deg);
	-ms-transform:rotate(45deg);
	-o-transform:rotate(45deg);
	transform:rotate(45deg);
}
  
  #close-lightbox:before {
	content:'';
	display:block;
	position:absolute;
	height:0px;
	width:3px;
	left:24px;
	top:0;
	background:white;
	border-radius:2px;
	-webkit-transition: .5s .5s ease-in-out;
	-moz-transition: .5s .5s ease-in-out;
	-ms-transition: .5s .5s ease-in-out;
	-o-transition:.5s .5s ease-in-out;
	transition:.5s .5s ease-in-out;
  }
  
  #close-lightbox:after {
	content:'';
	display:block;
	position:absolute;
	width:0px;
	height:3px;
	top:24px;
	left:0;
	background:white;
	border-radius:2px;
	-webkit-transition: .5s 1s ease-in-out;
	-moz-transition: .5s 1s ease-in-out;
	-ms-transition: .5s 1s ease-in-out;
	-o-transition:.5s 1s ease-in-out;
	transition:.5s 1s ease-in-out;
  }
  
  .lightbox:target {
	top:0%;
	bottom:0%;
	opacity:1;
  }
  
  .lightbox:target img {
	/* max-width: calc(100% - 60px);
	max-height: calc(100% - 60px); */
	/* max-width: 600px;
	max-height: 600px; */
	max-width: 800px;
	max-height: 600px;
  }
  
  .lightbox:target ~ #lightbox-controls {
	top:0px;
  }
  
  .lightbox:target ~ #lightbox-controls #close-lightbox:after {
	width:50px;
  }
  
  .lightbox:target ~ #lightbox-controls #close-lightbox:before {
	height:50px;
  }
  
@keyframes wiggle {
	  0% {transform:rotate(2deg);}
	 20% {transform:rotate(-2deg);}
	 40% {transform:rotate(2deg);}
	 60% {transform:rotate(-2deg);}
	 80% {transform:rotate(2deg);}
	100% {transform:rotate(-2deg);}
}