#begriff_close,
.bgw{
	background:#fff;
}

.sslicon,
.back-to-top .path{
	fill:#fff;
}

#begriffbox,
#footer_end,
#footer_end a{
	color:#fff;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: white;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: white !important;
}

.slick-dots li button:before {
    color: white !important;
	opacity: 1 !important;
}

.startimg img{
	width: auto !important;
}

#menu .on, #menu ul li a:hover {
    color: #ffffff;
    background-color: #e2091c;
}

.bluebox {
    color: white;
    background-color: #1e509e;
    padding: 20px;
}

.bluebox h2{
	color: white;
}

  .tab button.active, .tab button:hover {
	background-color: #e2091c;
	color: white;
  }
	.tab button {
    display: block;
    padding: 23px 20px;
    width: 100%;
    border: none;
    color: #ffffff;
    outline: none;
    background: #1e509e;
    text-align: left;
    cursor: pointer;
    transition: 0.1s;
    font-size: 16px;
    border-bottom: 1px solid #ffffff;
    text-transform: uppercase;
}
  
  
  .tabl {
	font-size: 18px;
  }

  .tabr ul{
	list-style-type: none;
  }

#kontaktboxheader, #kontaktboxheader a, #menu a{
	font-weight: 600;
}


	.container {
		max-width: 800px;
		margin: auto;
		padding: 20px;
	}

	#status {
		text-align: center;
		margin-bottom: 20px;
	}

	#status-dot {
		height: 15px;
		width: 15px;
		border-radius: 50%;
		display: inline-block;
		margin-right: 5px;
	}
	
	.opening-hours {
		display: flex;
		justify-content: space-around; /* Verbessert die Anordnung */
		flex-wrap: wrap;
	}

	.day {
		flex-basis: calc(50% - 10px); /* Grundlayout für kleine Bildschirme */
		margin: 5px;
		padding: 10px;
		background-color: #d5d5d5;
		text-align: center;
		border-radius: 5px;
	}

	.today {
		background-color: #e2091c;
		color: white;
	}

.arrow::after{
	border-left: 10px solid #666;
}

#teamicon {
	background:url(../bilder/team.svg) no-repeat center top;
}	

#linksicon {
	background:url(../bilder/links.svg) no-repeat center top;
}

.mittig{
	margin: 0 auto 40px auto;
	float: none;
	clear: both;
}

.verticalcenter {
	display: flex;
	align-items: center;
  }

.kachel-highlight {
	display: flex;
	align-items: center;
	gap: .6em;
	margin: .25em 0 1em;
	padding: .65em .85em;
	border-radius: 8px;
	background: #ffcc00;
	color: #1a1a1a;
	font-size: .95em;
	line-height: 1.3;
}
.kachel-highlight svg {
	flex: 0 0 1.4em;
	width: 1.4em;
	height: 1.4em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.kachel-highlight strong { letter-spacing: .02em; }
@media (max-width: 1360px) and (min-width: 1201px){
	
	

}

@media (max-width: 1360px) and (min-width: 981px){
	
	

}

@media (max-width: 1200px) and (min-width: 981px){
	
	

}

@media (max-width: 980px) and (min-width: 781px){
	
	

}

@media (max-width: 780px) and (min-width: 481px){
	
	

}


@media (min-width: 780px) {

	

}

@media (max-width: 1680px) {
	
	

}

@media (max-width: 1360px) {
	
	

}


@media (max-width: 1200px) {

	/*Nur Design neu*/
	
}

@media (max-width: 980px) {
	
	.verticalcenter {
		display: block;
	}
	
}

@media (max-width: 780px) {

	#menu ul ul li{
		border-left:1px solid #fff;
		border-right:none;
	}
	
		  .tab button {
		display: block;
		padding: 14px 20px;
	  }
	
	/*#teaser:not(.liquid-slider) {
		margin-top: 150px;
		height: 300px !important;
	}
	
	#inhalt_teaser {
		margin-top: 250px;
	}*/


}

@media (max-width: 480px) {
	
	/*#teaser:not(.liquid-slider) {
		height: 200px !important;
	}
	
	#inhalt_teaser {
		margin-top: 200px;
	}*/
	
}


	@media (min-width: 600px) and (max-width: 979px) {
		.day {
			flex-basis: calc(33.3333% - 10px); /* Anpassung für mittlere Bildschirme (3x2 Layout) */
		}
	}

	@media (min-width: 980px) {
		.container {
			max-width: 100%; /* Erlaubt volle Breite für große Bildschirme */
		}
		.day {
			flex-basis: calc(100% / 6 - 10px); /* Anpassung für große Bildschirme (alle Tage in einer Zeile) */
		}
	}

	@media (max-width: 599px) {
		.opening-hours {
			flex-direction: row;
			flex-wrap: wrap;
		}

		.day {
			/* Behält die 2x3 Anordnung bei kleineren Bildschirmen */
		}
	}


	.sortiment {
	--akzent: #1e509e;
	--akzent-hell: #eef3fb;
	--rot: #e2091c;
	--linie: #e3e6eb;
	--grau: #f5f6f8;
	--text: #1f2937;
	color: var(--text);
}

/* ---------- Tab-Navigation (Desktop: Liste) ---------- */

.sortiment .tab {
	background: #fff;
	border: 1px solid var(--linie);
	border-radius: 12px;
	overflow: hidden;
	position: sticky;
	top: 20px;
}

.sortiment .tab button {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 18px 20px;
	border: none;
	border-left: 3px solid transparent;
	border-bottom: 1px solid var(--linie);
	background: #fff;
	color: var(--text);
	font-size: 16px;
	font-weight: 500;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}

.sortiment .tab button:last-child {
	border-bottom: none;
}

.sortiment .tab svg {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	fill: none;
	stroke: var(--akzent);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sortiment .tab button:hover {
	background: var(--grau);
}

.sortiment .tab button.active {
	background: var(--akzent-hell);
	border-left-color: var(--akzent);
	color: var(--akzent);
	font-weight: 600;
}

/* ---------- Inhalte ---------- */

.sortiment .tabcontent {
	display: none;
	scroll-margin-top: 20px;
}

.sortiment .tabcontent.active {
	display: block;
	animation: sortFade .3s ease;
}

@keyframes sortFade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

.sortiment .tabcontent h2 {
	margin-bottom: 15px;
}

.sortiment .tabcontent h3 {
	margin: 30px 0 10px;
	font-size: 18px;
	color: var(--akzent);
}

.sortiment .tabcontent p {
	margin-bottom: 20px;
}

.rubrikbild {
	margin: 0 0 30px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--grau, #f5f6f8);
	line-height: 0;
}

.rubrikbild img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Liste mit Häkchen-Icon */
.iconliste {
	list-style: none;
	padding: 0;
	margin: 0 0 25px;
}

.iconliste li {
	position: relative;
	padding: 10px 0 10px 38px;
	border-bottom: 1px solid var(--linie);
	line-height: 1.6em;
}

.iconliste li:last-child {
	border-bottom: none;
}

.iconliste li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--akzent-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e509e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") no-repeat center / 14px;
}

/* Schlagwort-Chips */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 25px;
}

.chips span {
	padding: 4px 14px;
	border: 1px solid var(--akzent);
	border-radius: 10px;
	color: var(--akzent);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.8em;
}

.jugendschutz { padding: 10px 14px; border-left: 3px solid #999; background: rgba(0,0,0,.04); font-size: .92em; }

/* Button */
.sortbtn {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 8px;
	background: var(--akzent);
	color: #fff !important;
	font-weight: 600;
	transition: opacity .2s;
}

.sortbtn:hover {
	opacity: .85;
}

/* Hinweis-Box (DHL-Link, Bargeldlos) */
.hinweisbox {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 25px 0;
	padding: 20px;
	background: var(--grau);
	border-left: 3px solid var(--akzent);
	border-radius: 8px;
	line-height: 1.6em;
}

.hinweisbox > svg {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	fill: none;
	stroke: var(--akzent);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hinweisbox a {
	text-decoration: underline;
}

.zahlarten {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.zahlarten span {
	padding: 2px 12px;
	background: #fff;
	border: 1px solid var(--linie);
	border-radius: 6px;
	font-weight: 600;
}

/* E-Zigaretten-Highlight */
.highlightbox {
	position: relative;
	margin: 0 0 20px;
	padding: 25px;
	border: 2px solid var(--akzent);
	border-radius: 12px;
	background: var(--akzent-hell);
}

.highlightbox h3 {
	margin: 5px 0 10px !important;
	font-size: 22px !important;
}

.highlightbox p {
	margin: 0 !important;
}

.badge {
	display: inline-block;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--akzent);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
}

/* Aktions-Hinweis (Rot nur als Akzent) */
.aktionsbox {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 0 0 20px;
	padding: 18px 20px;
	border: 1px solid var(--rot);
	border-left-width: 4px;
	border-radius: 8px;
	background: #fff;
}

.aktionsicon {
	font-size: 26px;
	line-height: 1;
}

/* ---------- Mobil: Kacheloptik ---------- */

@media (max-width: 780px) {

	.sortiment .tabl {
		margin-bottom: 25px;
	}

	.sortiment .tab {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		border: none;
		border-radius: 0;
		overflow: visible;
		background: none;
	}

	.sortiment .tab button,
	.sortiment .tab button:last-child {
		flex-direction: column;
		justify-content: center;
		gap: 8px;
		padding: 18px 10px;
		border: 1px solid var(--linie);
		border-radius: 12px;
		font-size: 15px;
		text-align: center;
		box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
	}

	/* ungerade Anzahl: letzte Kachel volle Breite */
	.sortiment .tab button:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.sortiment .tab svg {
		flex-basis: auto;
		width: 30px;
		height: 30px;
	}

	.sortiment .tab button.active {
		border-color: var(--akzent);
		border-left-color: var(--akzent);
	}

	.rubrikbild img {
		aspect-ratio: 4 / 3;
	}

	.highlightbox {
		padding: 20px;
	}
}


/* =========================================================
   STARTSEITE – an main.css anhängen (nach dem Sortiment-Block)
   Ersetzt in main.css: .day und .today (Zeilen 95–107)
   ========================================================= */

/* Farbvariablen global statt nur für .sortiment */
:root {
	--akzent: #1e509e;
	--akzent-hell: #eef3fb;
	--rot: #e2091c;
	--linie: #e3e6eb;
	--grau: #f5f6f8;
	--text: #1f2937;
}

.startseite {
	color: var(--text);
}

.startseite .lead {
	max-width: 760px;
	margin: 0 auto 50px;
	font-size: 18px;
	line-height: 1.7em;
}

/* ---------- Kernbereiche (Kacheln) ---------- */

.kernbereiche {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0 2% 70px;
}

.kachel {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 24px;
	background: #fff;
	border: 1px solid var(--linie);
	border-radius: 14px;
	color: var(--text) !important;
	font-weight: 400;
	transition: box-shadow .25s, transform .25s, border-color .25s;
}

.kachel:hover {
	border-color: var(--akzent);
	box-shadow: 0 10px 28px rgba(30, 80, 158, .12);
	transform: translateY(-3px);
}

.kachel-top {
	border: 2px solid var(--akzent);
}

.kachel .badge {
	position: absolute;
	top: 18px;
	right: 18px;
}

.kachelicon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--akzent-hell);
}

.kachelicon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: var(--akzent);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kachel h3 {
	margin-bottom: 8px;
	font-size: 19px;
	color: var(--akzent);
}

.kachel p {
	flex: 1;
	margin-bottom: 16px;
	font-size: 15px;
	line-height: 1.6em;
}

.kachel .mehr {
	color: var(--akzent);
	font-size: 14px;
	font-weight: 600;
}

.kachel .mehr::after {
	content: " →";
	transition: margin .2s;
}

.kachel:hover .mehr::after {
	margin-left: 4px;
}

/* ---------- Öffnungszeiten ---------- */

.zeitenbereich {
	margin-bottom: 70px;
	padding: 40px 20px;
	background: var(--grau);
	border-radius: 14px;
}

.zeitenbereich h2 {
	margin-bottom: 15px;
}

.day {
	background-color: #fff;
	border: 1px solid var(--linie);
	border-radius: 10px;
	padding: 14px 10px;
}

.today {
	background-color: var(--akzent-hell);
	border-color: var(--akzent);
	color: var(--akzent);
	font-weight: 600;
}

.ausnahmen {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 30px;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid var(--linie);
	font-size: 15px;
}

.ausnahmen div {
	display: flex;
	gap: 8px;
}

.ausnahmen span {
	color: #555;
}

/* ---------- Text + Bild ---------- */

.startseite .spaltenbox h2 {
	margin-bottom: 15px;
}

.startseite .spaltenbox p {
	margin-bottom: 20px;
}

.startseite .rubrikbild img {
	aspect-ratio: 4 / 3;
}

.sortbtn {
	margin: 0 10px 10px 0;
}

.sortbtn-outline {
	background: #fff;
	color: var(--akzent) !important;
	border: 1px solid var(--akzent);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
	.kernbereiche {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 780px) {
	.startseite .lead {
		font-size: 17px;
		margin-bottom: 35px;
		padding: 0 4%;
	}

	.kernbereiche {
		margin-bottom: 50px;
	}

	.kachel {
		padding: 20px 16px;
	}

	.kachel .badge {
		position: static;
		align-self: flex-start;
		margin-bottom: 12px;
	}

	.kachelicon {
		width: 46px;
		height: 46px;
		margin-bottom: 12px;
	}

	.kachel h3 {
		font-size: 17px;
	}

	.zeitenbereich {
		border-radius: 0;
		padding: 30px 15px;
		margin-bottom: 50px;
	}

	.ausnahmen {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 480px) {
	.kernbereiche {
		grid-template-columns: 1fr;
	}

	.kachel p {
		font-size: 14px;
	}
}


/* Seiten ohne Headerbereich */
.keinheader #teaser,
.keinheader #teaser-wrapper {
	display: none !important;
}

.keinheader #inhalt_teaser {
	margin-top: 0 !important;
	padding-top: 20px;
}

.keinheader #header {
	height: auto !important;
	min-height: 0 !important;
}

.kontaktbox {
	--kb-blau: #1f4e9c; /* an Seitenblau anpassen */
	background: #fff;
	border: 1px solid var(--kb-blau);
	border-radius: 6px;
	padding: 30px;
	margin-bottom: 40px;
	color: var(--kb-blau);
}

.kontaktbox .kb-titel {
	display: block;
	font-size: 1.25em;
	margin-bottom: 20px;
}

.kontaktbox .kb-zeile {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
}

.kontaktbox .kb-zeile:last-child {
	margin-bottom: 0;
}

.kontaktbox svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 3px;
	fill: none;
	stroke: var(--kb-blau);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kontaktbox a {
	color: var(--kb-blau);
	text-decoration: none;
}

.kontaktbox a:hover {
	text-decoration: underline;
}

/* Adresskarte Filiale */
.adresskarte { margin: 30px 0; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; overflow: hidden; background: #fff; }
.adresskarte-kopf { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #ffcc00; color: #1a1a1a; line-height: 1.35; }
.adresskarte-kopf svg { flex: 0 0 28px; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.adresskarte-kopf b { display: block; font-size: 1.05em; margin-bottom: 2px; }
.adresskarte-kopf span { font-size: .9em; }
.adressfelder { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 18px 12px; }
.af { border: 1px solid rgba(0,0,0,.15); border-radius: 6px; padding: 6px 12px 8px; line-height: 1.3; }
.af small { display: block; font-size: .75em; opacity: .65; }
.af span { font-weight: 600; }
.af .platzhalter { font-weight: 400; font-style: italic; opacity: .6; }
.af-voll { grid-column: 1 / -1; }
.adresskarte-link { display: block; padding: 0 18px 18px; }

/* Unterbereiche im Tab */
.sortteil { margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(0,0,0,.1); }
.sortteil > h3:first-child { margin-top: 0; }

/* Bildraster */
.bildraster { display: grid; gap: 10px; margin: 20px 0 30px; }
.bildraster--2 { grid-template-columns: 1fr 1fr; }
.bildraster--3 { grid-template-columns: repeat(3, 1fr); }
.bildraster figure { margin: 0; }
.bildraster img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.bildraster figcaption { font-size: .85em; margin-top: 6px; opacity: .75; }

/* Bild + Text nebeneinander */
.medienblock { display: grid; grid-template-columns: 2fr 3fr; gap: 24px; align-items: center; margin: 20px 0 10px; }
.medienblock img { display: block; width: 100%; height: auto; border-radius: 8px; }
.medienblock p:first-child { margin-top: 0; }

@media (max-width: 780px) {
	.medienblock { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
	.bildraster--3 { grid-template-columns: 1fr 1fr; }
	.bildraster--3 figure:first-child { grid-column: 1 / -1; }
}

/* Zoom-Bilder */
a.zoom { display: block; position: relative; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
a.zoom img { transition: transform .3s; }
a.zoom:hover img { transform: scale(1.04); }
a.zoom::after {
	content: ""; position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px;
	border-radius: 50%; background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 18px no-repeat;
	opacity: .85; transition: opacity .2s;
}
a.zoom:hover::after { opacity: 1; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.88); padding: 20px; }
.lb.offen { display: flex; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
.lb img { max-width: min(1200px, 100%); max-height: calc(100vh - 100px); width: auto; height: auto; border-radius: 6px; }
.lb figcaption { color: #fff; font-size: .95em; margin-top: 10px; text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 30px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-einzel .lb-prev, .lb-einzel .lb-next { display: none; }

@media (max-width: 600px) {
	.lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}

/* Galerie "Unser Geschäft" – mobil zweispaltig */
@media (max-width: 780px) {

	#galerie {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	#galerie .galeriebild {
		display: block;
		float: none;
		width: auto;
		margin: 0 !important;
		opacity: 1;
		line-height: 0;
	}

	#galerie .galeriebild a {
		display: block;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 1 / 1;
		border-radius: 8px;
		overflow: hidden;
		background-size: cover !important;
		background-position: center center;
	}

	#galerie .galeriebild img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	/* Template setzt mobil cursor:default – Bilder sollen antippbar bleiben */
	#galerie a[data-title] {
		cursor: zoom-in;
	}
}

#footer_end { font-size: 18px; line-height: 1.7; }
.f_inner { max-width: 1600px; margin: 0 auto; padding: 70px 40px 0; }
#footer_end a { color: #fff; text-decoration: none; }

.f_grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 60px; padding-bottom: 60px; align-items: start; }


.f_claim { margin: 16px 0 0; color: #1e4f9c; font-size: 17px; font-weight: 600; }

.f_head { display: block; font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.f_head::after { content: ''; display: block; width: 40px; height: 3px; background: #fff; opacity: .6; margin-top: 10px; border-radius: 2px; }

#footer_end address { font-style: normal; font-size: 19px; line-height: 1.75; margin-bottom: 16px; }
#footer_end p { font-size: 19px; line-height: 1.75; margin: 0 0 10px; }
.f_small { font-size: 16px !important; opacity: .8; }

.f_link { display: inline-block; font-size: 18px; font-weight: 700; padding: 10px 22px; border: 2px solid rgba(255,255,255,.6); border-radius: 30px; transition: .2s; }
.f_link:hover { background: #fff; color: #1e4f9c !important; }

.f_bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.25); font-size: 16px; }
.f_bottom #online, .f_bottom #impressum { float: none; margin: 0; }
#impressum a { margin-left: 24px; opacity: .9; }
#impressum a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 1000px) {
	.f_grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.f_brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	#footer_end { font-size: 17px; }
	.f_inner { padding: 50px 20px 0; }
	.f_grid { grid-template-columns: 1fr; text-align: center; }
	.f_brand { margin: 0 auto; }
	.f_brand img { margin: 0 auto; }
	.f_head::after { margin: 10px auto 0; }
	.f_bottom { justify-content: center; text-align: center; }
	#impressum a { margin: 0 12px; }
}

/* Schließen-X für mobile Boxen */
.box-close,
.box-close-li {
	display: none;
}

@media (max-width: 780px) {
	#oeffnungszeitenbox > div,
	#menu > ul {
		position: relative;
	}

	#menu li.box-close-li {
		display: block;
		position: static;
		width: auto !important;
		height: 0;
		border: none;
	}

.box-close {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 5;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 2px solid #fff;
        border-radius: 50%;
        background: rgba(255, 255, 255, .0);
        cursor: pointer;
        transition: background .2s;
		touch-action: manipulation;
    }

	.box-close:hover,
	.box-close:focus-visible {
		background: rgba(255, 255, 255, .3);
	}

	.box-close::before,
	.box-close::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 22px;
		height: 3px;
		background: #fff;
		border-radius: 2px;
	}

	.box-close::before {
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.box-close::after {
		transform: translate(-50%, -50%) rotate(-45deg);
	}
}
