/* =====================================================================
   Modernisierte Startseite euroluftbild.de (11/2026) - nach dem Vorbild
   der Startseite von www.luftbildsuche.de (dort layout/css/elb-startseite.css).
   Eingebunden ueber includes/elb-startseite-cache.php (elb_startseite_profile:
   'design'), direkt vor </head> - also nach style.css, damit es ergaenzt.
   Grundaufteilung, Texte, IDs und Klassen fuer js/elb.js bleiben unveraendert,
   es werden nur Optik und Abstaende verfeinert. Nur die deutsche Startseite.
   ===================================================================== */

:root {
	--elb-blue: #0494dc;
	--elb-blue-dark: #0377b2;
	--elb-blue-soft: #e8f5fc;
	--elb-ink: #26313b;
	--elb-muted: #66737f;
	--elb-line: #dde4ea;
	--elb-bg-soft: #f3f6f8;
	--elb-radius: 10px;
	--elb-radius-lg: 14px;
	--elb-shadow: 0 2px 10px rgba(20, 40, 60, .08);
	--elb-shadow-hover: 0 10px 26px rgba(20, 40, 60, .18);
}

body {
	color: var(--elb-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

a {
	transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, opacity .2s;
}

a:focus-visible, button:focus-visible, input:focus-visible, label:focus-visible {
	outline: 2px solid var(--elb-blue);
	outline-offset: 2px;
	border-radius: 4px;
}

h1, h2 {
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--elb-ink);
}

h1 {
	font-size: 165%;
	line-height: 1.35em;
	margin-bottom: .6em;
}

h3 {
	font-weight: 600;
	color: var(--elb-ink);
}

section p, .section p {
	line-height: 1.6em;
}

section a:hover, .section a:hover {
	color: var(--elb-blue-dark);
}


/*** Header *************************************************************/

header {
	margin: 0;
	padding-top: 1em;
	padding-bottom: .6em;
}

header a:hover .img-logo {
	opacity: .85;
}

.img-logo {
	transition: opacity .2s;
}

#navLanguage a {
	font-size: .85em;
	color: var(--elb-muted);
	padding: .2em .55em;
	border-radius: 6px;
}

#navLanguage a:hover {
	color: var(--elb-blue);
	background: var(--elb-blue-soft);
}

/* mobiles Menue als abgerundete Liste */
@media only screen and (max-width: 699px) {
	header .navMain > ul {
		margin-top: .5em;
		background: #fff;
		border: 1px solid var(--elb-line);
		border-radius: var(--elb-radius);
		box-shadow: var(--elb-shadow);
		overflow: hidden;
	}
	header .navMain li {
		border-top-color: var(--elb-line);
	}
	header .navMain > ul > li:first-child {
		border-top: 0;
	}
	header .navMain a:hover {
		background: var(--elb-blue-soft);
		color: var(--elb-blue-dark);
	}
}

@media only screen and (min-width: 700px) {
	header .navMain ul.top-nav > li > a {
		display: inline-block;
		padding: .45em .8em;
		border-radius: 8px;
	}
	header .navMain ul.top-nav > li > a:hover,
	header .navMain ul.top-nav > li:hover > a {
		background: var(--elb-blue-soft);
		color: var(--elb-blue-dark);
	}
	/* "Anfrage" als umrandete Schaltflaeche - wie "Anmelden" auf luftbildsuche.de */
	#mainNavTopRequest > a {
		border: 1px solid var(--elb-blue);
	}
	#mainNavTopRequest > a:hover {
		background: var(--elb-blue);
		color: #fff;
	}

	/* Untermenues (Ueber uns, Service) als abgerundete Karte, sanft eingeblendet */
	header .navMain ul.sub-nav {
		top: calc(100% + 4px);
		left: -.2em;
		padding: .45em;
		border: 1px solid var(--elb-line);
		border-radius: var(--elb-radius);
		background: #fff;
		box-shadow: 0 10px 26px rgba(20, 40, 60, .16);
		z-index: 1100;		/* ueber dem Suchfeld im Slider */
		transform: translateY(4px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	/* unsichtbare Bruecke, damit das Menue beim Hinbewegen offen bleibt */
	header .navMain ul.sub-nav::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -8px;
		height: 8px;
	}
	header .navMain ul li:hover > ul.sub-nav {
		transform: translateY(0);
	}
	header .navMain ul.sub-nav > li {
		line-height: 1.5em;
	}
	header .navMain ul.sub-nav > li a {
		display: block;
		padding: .45em 2.2em .45em .8em;
		border-radius: 6px;
	}
	header .navMain ul.sub-nav > li a:hover {
		background: var(--elb-blue-soft);
		color: var(--elb-blue-dark);
	}
}

@media only screen and (min-width: 950px) {
	header .navMain ul.top-nav > li {
		margin-left: .35em;
	}
}


/*** Suchleiste *********************************************************/

/* Die Suche liegt oben im Slider: #sectionSearch nimmt keine Hoehe ein,
   das Formular schwebt ueber dem Sliderbild. Beim Scrollen setzt elb.js
   wie bisher die Klasse "fixed" - dann wird daraus die Leiste am oberen Rand. */
#sectionSearch {
	position: relative;
	height: 0;
	background: transparent;
	border: 0;
}

/* Das Kalender-Thema steht als Balken am oberen Sliderrand (h2 mit Inline-Style): Suchfeld immer darunter.
   --elb-kalender-hoehe misst js/elb-startseite.js, die Werte hier gelten bis dahin bzw. ohne JavaScript. */
:root {
	--elb-slider-abstand: .75em;
	--elb-kalender-hoehe: 29px;
}

@media only screen and (max-width: 699px) {
	:root {
		--elb-kalender-hoehe: 53px;
	}
}

@media only screen and (min-width: 950px) {
	:root {
		--elb-slider-abstand: 1.25em;
	}
}

#sectionSearch:not(.fixed) form {
	position: absolute;
	top: calc(var(--elb-slider-abstand) + var(--elb-kalender-hoehe) + 8px);
	left: 0;
	right: 0;
	margin: 0;
	z-index: 1001;
}

#sectionSearch:not(.fixed) #searchWrapLogo {
	display: none;
}

#sectionSearch:not(.fixed) #searchFields {
	background: rgba(255, 255, 255, .95);
	border-color: rgba(255, 255, 255, .7);
	box-shadow: 0 6px 22px rgba(0, 0, 0, .30);
}

#sectionSearch:not(.fixed) #searchButton {
	box-shadow: 0 6px 22px rgba(0, 0, 0, .30);
}

#sectionSearch.fixed {
	height: auto;
	border-bottom: 1px solid var(--elb-line);
	background: rgba(243, 246, 248, .96);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 4px 16px rgba(20, 40, 60, .10);
}

#searchFields {
	border-color: #cbd5dd;
	border-radius: var(--elb-radius);
	box-shadow: var(--elb-shadow);
	box-sizing: border-box;
}

#searchFields:focus-within {
	border-color: var(--elb-blue);
	box-shadow: 0 0 0 3px rgba(4, 148, 220, .18);
}

#sectionSearch input[type=text] {
	background: transparent;
	font-size: .95em;
}

#searchButton {
	border-radius: var(--elb-radius);
	background-color: var(--elb-blue);
	transition: background-color .2s;
}

#searchButton:hover {
	background-color: var(--elb-blue-dark);
}

/* Filter "Volltext/Ort" ohne eigenen Kasten - Teil des Suchfelds */
#searchFilter {
	background-color: transparent;
	border-radius: 0;
	box-shadow: none;
	color: var(--elb-ink);
}

#searchFilter:hover {
	color: var(--elb-blue);
}

/* Loesch-Kreuz als Teil der Zeile direkt hinter dem Suchbegriff */
#searchFields #searchTerm ~ button {
	position: static;
	left: auto;
	flex: none;
	align-self: center;
	margin: 0 .6em 0 0;
}

#searchFilterSelection {
	border-color: var(--elb-line);
	border-radius: 0 0 var(--elb-radius) var(--elb-radius);
	box-shadow: 0 8px 18px rgba(20, 40, 60, .12);
	z-index: 1001;
}

#searchFilterSelection li:hover {
	color: var(--elb-blue);
}

/* Suchfeld und Lupe ab Tablet zu einer Einheit verbinden */
@media only screen and (min-width: 700px) {
	#searchFields {
		border-radius: var(--elb-radius) 0 0 var(--elb-radius);
		border-right: 0;
	}
	#searchButton {
		border-radius: 0 var(--elb-radius) var(--elb-radius) 0;
	}
	#searchFilter {
		border-left: 1px solid var(--elb-line);
	}

	/* Suchfeld, Filter und Lupe als eine Einheit (Flex statt Floats) */
	#searchArea {
		display: flex;
		align-items: stretch;
		margin-top: 0;
	}
	#searchFields {
		display: flex;
		align-items: stretch;
		flex: 1;
		width: auto;
		min-height: 50px;
		padding: 0;
	}
	#searchFields #searchTerm {
		flex: 1;
		width: auto;
		min-width: 0;
		padding: 0 1em;
		font-size: 1em;
	}
	#searchFilter {
		display: flex;
		align-items: center;
		flex: none;
		float: none;
		margin: 0;
		padding: 0 2.6em 0 1.1em;
		background-position: right 1em center;
	}
	#searchFilterSelection {
		top: 100%;
		left: -1px;
		margin-top: 0;
	}
	#searchButton {
		flex: none;
		width: 60px;
		padding: 0;
	}

	/* Suche im Slider: links oben, etwas groesser */
	#sectionSearch:not(.fixed) form,
	#sectionSearch:not(.fixed) form.col-1 {
		padding-left: 1.75em;
		padding-right: 1.75em;
	}
	#sectionSearch:not(.fixed) #searchArea {
		width: 760px;
		max-width: 100%;
		margin: 0;
	}
	#sectionSearch:not(.fixed) #searchFields {
		min-height: 56px;
		font-size: 1.05em;
	}
	#sectionSearch:not(.fixed) #searchButton {
		width: 66px;
	}
}

@media only screen and (min-width: 950px) {
	#sectionSearch:not(.fixed) form,
	#sectionSearch:not(.fixed) form.col-1 {
		padding-left: 2.25em;
		padding-right: 2.25em;
	}
}

/* Handy: Suchfeld, Filter und Lupe in einer Zeile, damit das Bild sichtbar bleibt */
@media only screen and (max-width: 699px) {
	#sectionSearch:not(.fixed) form {
		top: calc(var(--elb-slider-abstand) + 8px);
		padding-left: 1.4em;
		padding-right: 1.4em;
	}
	#sectionSearch.fixed form {
		margin: .6em 0;
	}
	#searchArea {
		display: flex;
		float: none;
		width: 100%;
		padding: 0;
	}
	#searchFields {
		display: flex;
		align-items: center;
		flex: 1;
		float: none;
		width: auto;
		min-width: 0;
		margin-right: .5em;
		padding: 0;
	}
	#searchFields #searchTerm {
		flex: 1;
		width: auto;
		min-width: 0;
	}
	#searchFilter {
		flex: none;
		margin: 0;
		padding: .55em 2em .55em .7em;
		border-top: 0;
		border-left: 1px solid var(--elb-line);
		border-radius: 0;
		background-position: 88% 50%;
		font-size: .85em;
		white-space: nowrap;
	}
	#searchFilterSelection {
		left: auto;
		right: -1px;
		margin-top: .55em;
	}
	#searchButton {
		flex: none;
		padding: 0 1.3em;
	}
}


/*** Slider *************************************************************/

#sectionSlider.w-100 {
	background: transparent;
	padding: .75em .75em 0;
	box-sizing: border-box;
}

.flexslider {
	border-radius: var(--elb-radius);
	box-shadow: var(--elb-shadow);
	background: #dfe5ea;
	overflow: hidden;
}

.flexslider .slides figcaption {
	padding: 2.4em 1em .6em;
	font-size: .85em;
	line-height: 1.45em;
	background: linear-gradient(to top, rgba(12, 22, 32, .78), rgba(12, 22, 32, 0));
}

.flexslider .slides figcaption a {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.flexslider .slides figcaption a,
.flexslider .slides figcaption a:hover,
.flexslider .slides figcaption a:hover span {
	text-decoration: none;
}

.slider-figcaption-author {
	opacity: .85;
}

/* Kalender-Thema am oberen Sliderrand: weisse Schrift auf dunklem Verlauf statt grauem Streifen
   (Inline-Style des Templates, daher !important). Leere Balken blendet js/elb-startseite.js aus. */
.flexslider .slides > li > h2 {
	box-sizing: border-box;
	padding: .55em 1em 1em !important;
	font-size: .85em !important;
	line-height: 1.45em;
	letter-spacing: 0;
	text-align: center;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
	background: linear-gradient(to bottom, rgba(12, 22, 32, .78), rgba(12, 22, 32, 0)) !important;
}

.flexslider .slides > li > h2.elb-kalender-leer {
	display: none;
}

@media only screen and (max-width: 699px) {
	/* Handy: Kalendertext unter dem Suchfeld */
	.flexslider .slides > li > h2 {
		padding-top: 49px !important;
	}
}

@media only screen and (min-width: 950px) {
	.flexslider .slides > li > h2 {
		padding: .7em 1.5em 1.2em !important;
		font-size: .9em !important;
	}
}

.flex-direction-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	font-size: 0;
}

.flexslider:hover .flex-direction-nav a {
	opacity: .9;
}

.flexslider:hover .flex-direction-nav a:hover {
	opacity: 1;
	background: #fff;
}

/* Pfeile per CSS gezeichnet (unabhaengig von der Icon-Schrift) */
.flex-direction-nav a::before,
.flex-direction-nav a.flex-next::before {
	content: "";
	display: block;
	width: 9px;
	height: 9px;
	margin: 0 0 0 4px;
	font-size: 0;
	border-left: 3px solid var(--elb-blue);
	border-bottom: 3px solid var(--elb-blue);
	border-radius: 1px;
	transform: rotate(45deg);
	text-shadow: none;
}

.flex-direction-nav a.flex-next::before {
	margin: 0 4px 0 0;
	transform: rotate(-135deg);
}

@media only screen and (min-width: 950px) {
	#sectionSlider.w-100 {
		padding: 1.25em 1em 0;
	}
	.flexslider {
		border-radius: var(--elb-radius-lg);
	}
	.flex-direction-nav a {
		width: 46px;
		height: 46px;
		margin-top: -23px;
	}
	.flex-direction-nav a::before,
	.flex-direction-nav a.flex-next::before {
		width: 12px;
		height: 12px;
	}
	.flexslider .slides figcaption {
		padding: 3em 1.5em .8em;
		font-size: .9em;
	}
}


/*** Einleitung *********************************************************/

#sectionSearch + main > section:first-of-type h1 {
	margin-top: 2.5em;
}

main > section:first-of-type p {
	color: var(--elb-muted);
	font-size: 105%;
	max-width: 62em;
	margin-left: auto;
	margin-right: auto;
}

/* Frage zum Schluss etwas kraeftiger */
main > section:first-of-type p:last-child {
	color: var(--elb-ink);
	font-weight: 600;
}


/*** "Online Luftbild-Archiv mit ... Luftaufnahmen" *********************/

/* Zwischenueberschrift mit feiner blauer Linie darunter (Bildanzahl als GIF) */
main > section.col-1:nth-of-type(2) > h2 {
	font-size: 140%;
	margin-bottom: 0;
}

main > section.col-1:nth-of-type(2) > h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin: .5em auto 0;
	border-radius: 3px;
	background: var(--elb-blue);
}


/*** Anfrage-Box ********************************************************/

#sectionRequest,
#sectionRequest.highlighted {
	position: relative;
	overflow: hidden;
	margin-left: 1em;
	margin-right: 1em;
	padding: 1.25em 1.25em 1.1em;
	background: #fff;
	border: 1px solid var(--elb-line);
	border-radius: var(--elb-radius-lg);
	box-shadow: var(--elb-shadow);
}

#sectionRequest > * {
	position: relative;
	z-index: 1;
}

#sectionRequest h2 {
	font-size: 125%;
	margin-bottom: .5em;
}

#sectionRequest h2,
#sectionRequest p {
	text-align: center;
}

/* Ueberschrift nur so breit wie ihr Text - die Linie darunter ebenso, zentriert */
#sectionRequest h2 {
	width: fit-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* feine Linie unter der Ueberschrift mit wanderndem Glanzlicht */
#sectionRequest h2::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	margin: .5em 0 0;
	border-radius: 2px;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 238, 255, .95) 45%, #fff 50%, rgba(200, 238, 255, .95) 55%, rgba(255, 255, 255, 0) 100%) no-repeat,
		var(--elb-blue);
	background-size: 25% 100%, 100% 100%;
	background-position: -50% 0, 0 0;
	animation: elbLineShine 4s ease-in-out 1s infinite;
}

@keyframes elbLineShine {
	0% { background-position: -50% 0, 0 0; }
	50%, 100% { background-position: 150% 0, 0 0; }
}

#sectionRequest p {
	margin-bottom: .7em;
}

#sectionRequest p:last-of-type {
	margin-bottom: 0;
}

/* Schaltflaeche: weiss mit feinem blauen Rand, faerbt sich bei Mouse-Over langsam ein */
#sectionRequest a.button {
	background: #fff;
	color: var(--elb-blue-dark);
	border: 1px solid var(--elb-blue);
	box-shadow: none;
	position: relative;
	transition: background-color .7s ease, color .7s ease, box-shadow .7s ease;
}

/* Glanzlicht laeuft nur ueber den feinen Rand - direkt im Anschluss an die Linie */
#sectionRequest a.button::before {
	content: "";
	position: absolute;
	inset: -1px;
	padding: 1px;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 238, 255, .95) 45%, #fff 50%, rgba(200, 238, 255, .95) 55%, rgba(255, 255, 255, 0) 100%) no-repeat;
	background-size: 30% 100%;
	background-position: -50% 0;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	animation: elbRingShine 4s ease-in-out 1s infinite;
}

@keyframes elbRingShine {
	0%, 45% { background-position: -50% 0; }
	80%, 100% { background-position: 150% 0; }
}

#sectionRequest a.button:hover,
#sectionRequest a.button:focus-visible {
	background: var(--elb-blue);
	color: #fff;
	box-shadow: 0 6px 14px rgba(4, 148, 220, .25);
	transform: none;
}

/* ab Desktop: Text links, Schaltflaeche rechts - spart Hoehe */
@media only screen and (min-width: 950px) {
	#sectionRequest,
	#sectionRequest.highlighted {
		display: grid;
		grid-template-columns: 1fr auto;
		column-gap: 2.5em;
		align-items: center;
		padding: 1.4em 2em;
	}
	#sectionRequest h2 {
		grid-column: 1;
	}
	#sectionRequest p {
		grid-column: 1;
		margin-bottom: 0;
	}
	#sectionRequest p:last-of-type {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

@media only screen and (min-width: 1180px) {
	#sectionRequest,
	#sectionRequest.highlighted {
		margin-left: calc(50% - 540px);
		margin-right: calc(50% - 540px);
	}
}


/*** Schaltflaechen *****************************************************/

.button, .section .button {
	display: inline-block;
	padding: .65em 1.4em;
	border: 1px solid var(--elb-blue-dark);
	border-radius: 8px;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(4, 148, 220, .25);
	transition: background-color .2s, box-shadow .2s, transform .2s;
}

a.button:hover, section a.button:hover, .section a.button:hover {
	background: var(--elb-blue-dark);
	color: #fff;
	box-shadow: 0 6px 14px rgba(4, 148, 220, .32);
	transform: translateY(-1px);
}


/*** Neu bei uns verfuegbares Luftbildmaterial **************************/

/* Ueberschrift so gross wie die der Anfrage-Box */
#sectionRequest + section > h2 {
	font-size: 125%;
}

.wrap-preview-cols {
	background: var(--elb-bg-soft);
	padding-top: 1.25em;
	padding-bottom: 1.25em;
	border-top: 1px solid var(--elb-line);
	border-bottom: 1px solid var(--elb-line);
}

.content-preview-cols {
	margin-bottom: .6em;
}

.image-new-list-item figure > a {
	display: inline-block;
	max-width: 100%;
	vertical-align: bottom;
	border-radius: var(--elb-radius);
	overflow: hidden;
	box-shadow: var(--elb-shadow);
	transition: box-shadow .25s ease;
}

.image-new-list-item figure > a img {
	display: block;
	transition: transform .5s ease;
}

.image-new-list-item figure:hover > a {
	box-shadow: var(--elb-shadow-hover);
}

.image-new-list-item figure:hover > a img {
	transform: scale(1.03);
}

/* Infotext beim Mouse-over: transparent ueber dem Bild, weisse Schrift
   (Einblenden/Ausblenden wie bisher durch js/elb.js) */
.image-new-list-item figcaption {
	padding: 2em .7em .7em;
	font-size: 72%;
	line-height: 1.45em;
	text-align: center;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
	background: linear-gradient(to bottom, rgba(10, 20, 30, 0) 0, rgba(10, 20, 30, .5) 2em, rgba(10, 20, 30, .78) 100%);
	border-radius: 0 0 var(--elb-radius) var(--elb-radius);
	pointer-events: auto;
}

.image-new-list-item figcaption a:not(.show-preview) {
	color: #fff;
	text-decoration: none;
}

.image-new-list-item figcaption a:not(.show-preview):hover {
	color: #a8dcf6;
}

/* "(c) euroluftbild.de/Name" (aus "Foto: Name", js/elb-startseite.js) */
.image-new-list-item .elb-author {
	white-space: nowrap;
	opacity: .9;
}

.content-preview-cols figcaption a.show-preview {
	margin: .7em 1.5em .2em;
	padding: .5em .8em;
	border-radius: 8px;
	text-shadow: none;
}

/* Video-Symbol: rund, oben links im Vorschaubild */
.image-list-item > .video-icon {
	top: 8px;
	right: auto;
	left: calc(1em + 8px);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	opacity: .92;
	background-color: #fff;
	background-size: 60% auto;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
	z-index: 101;
	pointer-events: none;
}

@media only screen and (min-width: 700px) {
	.image-list-item > .video-icon {
		left: 8px;
	}
}

.image-new-list-item figure > a video {
	display: block;
	width: 100%;
	aspect-ratio: 500 / 322;
	height: auto;
	object-fit: cover;
	transition: transform .5s ease;
}

.image-new-list-item figure:hover > a video {
	transform: scale(1.03);
}


/*** Karten: Fotografen und Ansprechpartner ****************************/

.content-2-cols {
	box-sizing: border-box;
	padding: 1.25em;
	background: #fff;
	border: 1px solid var(--elb-line);
	border-radius: var(--elb-radius-lg);
	box-shadow: var(--elb-shadow);
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}

.content-2-cols:hover {
	box-shadow: var(--elb-shadow-hover);
	transform: translateY(-2px);
}

.content-2-cols .img-left {
	border-radius: var(--elb-radius);
	margin-bottom: .75em;
}

.content-2-cols p {
	margin-bottom: .5em;
}

.content-2-cols p:last-child {
	margin-bottom: 0;
}

/* "Mehr Informationen" als dezente Pfeil-Verknuepfung */
.content-2-cols p > a[href="luftbild-fotografen.php"] {
	font-weight: 600;
	text-decoration: none;
}

.content-2-cols p > a[href="luftbild-fotografen.php"]::after {
	content: "";
	display: inline-block;
	width: .45em;
	height: .45em;
	margin-left: .45em;
	vertical-align: .08em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}

.content-2-cols p > a[href="luftbild-fotografen.php"]:hover::after {
	transform: translateX(3px) rotate(45deg);
}

@media only screen and (min-width: 950px) {
	.content-2-cols {
		padding: 1.5em;
	}
	/* Karten nebeneinander gleich hoch (style.css: float, je 46,3 % breit) */
	main section.col-1:has(> .content-2-cols) {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}
	main section.col-1:has(> .content-2-cols) > h2 {
		flex: 0 0 100%;
	}
	main section.col-1:has(> .content-2-cols) > .content-2-cols {
		float: none;
	}
}


/*** Telefon- und E-Mail-Links mit Symbol ******************************/

/* style.css macht .phone ab 500px zu normalem Text - hier wieder als Link */
a.phone, .section a.phone {
	cursor: pointer;
	color: var(--elb-blue);
	white-space: nowrap;
}

a.phone::before,
main a.email::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: .4em;
	vertical-align: -.15em;
	background-color: currentColor;
}

a.phone::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

main a.email::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1.4 2 7.6 5.6L19.6 7zM4 8.6V17h16V8.6l-8 5.9z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1.4 2 7.6 5.6L19.6 7zM4 8.6V17h16V8.6l-8 5.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

main a.email {
	white-space: nowrap;
	text-decoration: none;
}

a.phone:hover, .section a.phone:hover {
	color: var(--elb-blue-dark);
}

/* Handy: style.css gibt Telefon und E-Mail je 1em Innenabstand (Tippflaeche) - in den Karten
   kompakter, Tippflaeche bleibt ausreichend gross */
main .content-2-cols a.phone,
main .content-2-cols a.email {
	padding: .4em 0;
}

/* Telefonnummern und E-Mail in den Karten ohne Unterstreichung, tel:-Link bleibt */
main .content-2-cols a.phone,
main .content-2-cols a.phone:hover,
main .content-2-cols a.email:hover {
	text-decoration: none;
}


/*** Footer *************************************************************/

footer {
	background: #2f3a44;
	color: #e6ebef;
	border-top: 4px solid var(--elb-blue);
}

.footer {
	padding-top: 2.5em;
	padding-bottom: 2em;
}

footer a,
footer .navMain li a,
footer address a {
	color: #e6ebef;
}

footer .navMain li li a {
	color: #b8c3cc;
}

footer a:hover,
footer .navMain li a:hover {
	color: #8fd2f3;
	text-decoration: none;
}

footer nav.legal-nav a {
	color: #b8c3cc;
}

footer a.phone,
footer a.phone:hover {
	color: inherit;
	text-decoration: none;
}

footer a.phone:hover {
	color: #8fd2f3;
}

#social a {
	border-radius: 8px;
	background-color: rgba(255, 255, 255, .08);
	transition: background-color .2s;
}

#social a:hover {
	background-color: rgba(255, 255, 255, .16);
}


/*** Cookie-Hinweis *****************************************************/

#cookie {
	box-sizing: border-box;
	background: rgba(255, 255, 255, .98);
	border-top: 0;
	border-radius: var(--elb-radius-lg) var(--elb-radius-lg) 0 0;
	box-shadow: 0 -6px 24px rgba(20, 40, 60, .14);
	font-size: .92em;
	line-height: 1.5em;
}

#cookie button {
	padding: .6em 1.2em;
	border: 0;
	border-radius: 8px;
	transition: background-color .2s;
}

#cookie button:hover {
	background: var(--elb-blue-dark);
}

#cookie a#linkDenyCookie {
	display: inline-block;
	margin-left: 1em;
	padding: .55em 1.1em;
	border: 1px solid var(--elb-line);
	border-radius: 8px;
}

#cookie a#linkDenyCookie:hover {
	border-color: var(--elb-blue);
}


/*** Bewegung reduzieren ************************************************/

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition: none !important;
	}
	.image-new-list-item figure:hover > a img,
	.image-new-list-item figure:hover > a video,
	.content-2-cols:hover,
	a.button:hover {
		transform: none;
	}
	#sectionRequest a.button::before,
	#sectionRequest h2::after {
		animation: none;
	}
}
