.klickbtn:focus-visible,
.klickbtn2:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
submit:focus-visible {
	outline: 3px solid #005fcc;
	outline-offset: 2px;
}

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

#popupnachricht{
		background: rgba(0, 0, 0, 0.7);
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		top: 0px;
		z-index: 999999999;
		overflow-y: scroll;
		padding-top: 80px;
		font-size: 18px;
	}
	
	#popupstelle{
		margin:0 auto;
		background:#fff;
		padding:20px;
		text-align:center;
		width: 700px;
		position: absolute;
		left: 0;
		right: 0;
	}
	
	#popupclose{
		font-size:40px;
		color:#9c9c9c;
		-moz-transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
		cursor: pointer;
		position: absolute;
		right: 20px;
	}

.readtxt {
	font-size: 18px;
}

img {
	border-radius: 10px;
}

#menu a {
	padding: 27px 35px;
	font-weight: 600;
}

#menu .on,
#menu ul li a:hover {
	color: #857d78;
	background: white;
}

#menu ul ul li a.on, #menu ul ul li a:hover {
    background-color: white;
    color: rgba(133, 125, 120, .9);
}

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

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

.pfeil::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;
}

#teaser .slick-slide, #teaser {
    height: 480px !important;
}

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

:root {
	--brand:     rgb(133, 125, 120);
	--brand-d:   rgb(100,  93,  89);
	--brand-l:   rgb(180, 173, 169);
	--brand-xl:  rgb(240, 237, 235);
	--brand-xxl: rgb(248, 246, 245);
	--text:      rgb( 45,  40,  38);
	--text-soft: rgb(100,  93,  89);
	--white:     #fff;
	--radius:    12px;
	--shadow:    0 2px 10px rgba(133,125,120,0.13);
	--shadow-h:  0 5px 20px rgba(133,125,120,0.22);
}

.layout {
	display: flex;
	gap: 1.25rem;
	max-width: 1080px;
	margin: 0 auto;
	align-items: flex-start;
}

.nav-col {
	flex: 0 0 260px;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1rem;
	background: var(--white);
	border: 1px solid rgb(220, 215, 212);
	border-radius: var(--radius);
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: background 0.18s, box-shadow 0.18s, border-color 0.18s;
	user-select: none;
	margin-bottom: 10px;
}

.nav-item:hover {
	background: var(--brand-xl);
	box-shadow: var(--shadow-h);
}

.nav-item.active {
	background: var(--brand);
	border-color: var(--brand-d);
	box-shadow: var(--shadow-h);
}

.nav-item.active .nav-label { color: var(--white); }
.nav-item.active .nav-pfeil { color: var(--white); opacity: 1; }

.nav-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--brand-xl);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
}

.nav-label {
	flex: 1;
	font-weight: 600;
}

.nav-pfeil {
	flex-shrink: 0;
	opacity: 0.35;
	color: var(--brand-d);
	transition: opacity 0.18s;
}

.nav-pfeil svg {
	width: 14px;
	height: 14px;
	display: block;
}

.content-col {
	flex: 1;
	min-width: 0;
}

.content-panel {
	background: var(--white);
	border: 1px solid rgb(220, 215, 212);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.6rem 1.8rem;
	display: none;
}

.content-panel.active {
	display: block;
}

.panel-header {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.2rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--brand-xl);
}

.panel-icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--brand-xl);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	flex-shrink: 0;
}

.panel-header h2 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--brand-d);
}

.intro-text {
	font-size: 0.87rem;
	color: var(--text-soft);
	font-style: italic;
	margin-bottom: 0.8rem;
}

ul.service-list {
	list-style: none;
	display: flex;
	flex-direction: column;
}

ul.service-list > li {
	padding: 0.6rem 0;
}

ul.service-list > li:last-child {
	border-bottom: none;
}

.item-row {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
}

.item-row::before {
	content: '';
	flex-shrink: 0;
	margin-top: 0.58em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--brand);
}

ul.sub-list {
	list-style: none;
	margin-top: 0.28rem;
	margin-left: 1.1rem;
	display: flex;
	flex-direction: column;
}

ul.sub-list li {
	display: flex;
	gap: 0.45rem;
	padding: 0.2rem 0;
}

ul.sub-list li::before {
	content: '\2013';
	flex-shrink: 0;
	color: var(--brand-l);
	font-size: 0.8rem;
}

select#terminwunsch_tag,
input#terminwunsch_uhrzeit {
	border: 1px solid rgb(133, 125, 120);
	width: 100%;
	padding: 10px;
	font-size: 100%;
}

.start-bild {
	line-height: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	margin-bottom: 25px;
}

.start-bild img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.start-box {
	margin-bottom: 40px;
}

.praxis-box {
	background: #847d78;
	color: #fff;
	padding: 30px;
	border-radius: 12px;
}

.praxis-box h3 {
	color: #fff;
	margin-bottom: 10px;
	font-size: 24px;
}

.praxis-box__divider {
	height: 2px;
	background: #fff;
	margin-bottom: 20px;
}

.praxis-box__address {
	margin: 0;
	line-height: 1.8;
	font-size: 18px;
	color: #ffffff;
}

.praxis-box a {
	color: #fff !important;
}

input[type="text"], input[type="email"], input[type="tel"], textarea, select#terminwunsch_tag, input#terminwunsch_uhrzeit {
	border: 1px solid rgb(220, 215, 212);
	border-radius: 10px;
}

#kontaktboxheader {
	color: #847d78;
	background-color: #f0edeb;
}

#kontaktboxheader a {
	color: #847d78;
}

#kontaktboxheader .icon {
	fill: #847d78;
}

#logo>a>img {
	margin-top: 20px;
}

#galerie-modern {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-flow: dense;
	gap: 20px;
	max-width: 1080px;
	margin: 0 auto 60px;
}

.galerie-item {
	margin: 0;
	line-height: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.galerie-item:hover {
	box-shadow: var(--shadow-h);
	transform: translateY(-3px);
}

.galerie-item--gross {
	grid-column: span 2;
	grid-row: span 2;
}

.galerie-item a {
	position: relative;
	display: block;
	height: 100%;
}

.galerie-item img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.galerie-item:hover img {
	transform: scale(1.06);
}

.galerie-item__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(45, 40, 38, 0.35);
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.galerie-item:hover .galerie-item__overlay,
.galerie-item a:focus-visible .galerie-item__overlay {
	opacity: 1;
}

.galerie-item__overlay svg {
	width: 42px;
	height: 42px;
	color: var(--white);
	background: var(--brand);
	border-radius: 50%;
	padding: 10px;
	box-shadow: var(--shadow-h);
}

.kontakt-card {
	background: var(--white);
	border: 1px solid rgb(220, 215, 212);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	line-height: 1.6;
}

.kontakt-card__header {
	background: var(--brand);
	color: var(--white);
	padding: 22px 28px;
}

.kontakt-card__header h2 {
	color: var(--white);
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 2px;
}

.kontakt-card__header p {
	margin: 0;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.85);
}

.kontakt-card__body {
	padding: 10px 28px 14px;
}

.kontakt-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--brand-xl);
}

.kontakt-row:last-child {
	border-bottom: none;
}

.kontakt-row__icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--brand-xl);
	color: var(--brand-d);
	display: flex;
	align-items: center;
	justify-content: center;
}

.kontakt-row__icon svg {
	width: 20px;
	height: 20px;
}

.kontakt-row__text {
	font-size: 18px;
	color: var(--text);
}

.kontakt-row__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-soft);
	margin-bottom: 2px;
}

.kontakt-row__text a {
	color: var(--brand-d);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid var(--brand-l);
	transition: color 0.18s, border-color 0.18s;
}

.kontakt-row__text a:hover {
	color: var(--brand);
	border-color: var(--brand);
}

/* Teamseite: linke Spalte beim Scrollen fixieren */

/* Teamseite: linke Spalte beim Scrollen fixieren */

/* Teamseite: linke Spalte beim Scrollen fixieren */

@media (min-width: 781px) {

	#inhalt_teaser {
		overflow: visible !important;
		display: flow-root; /* cleart Floats, ersetzt overflow:hidden */
	}

	.team-sticky {
		display: flex !important;
		align-items: flex-start;
	}

	.team-sticky > .spalte3,
	.team-sticky > .spalte23 {
		float: none;
	}

	.team-sticky__foto {
		position: sticky !important;
		position: -webkit-sticky;
		top: 20px;
	}

}

@media (max-width: 1680px) {

	#teaser .slick-slide, #teaser {
    	height: 420px !important;
	}

}

@media (max-width: 1360px) {

	#menu ul li a {
		padding: 27px 14px;
	}

    #kontaktboxheader {
        font-size: 16px;
    }

	#teaser .slick-slide, #teaser {
    	height: 340px !important;
	}

}

@media (max-width: 980px) {

	.verticalcenter {
		display: block;
	}

	#galerie-modern {
		grid-template-columns: repeat(3, 1fr);
		gap: 15px;
	}

	.galerie-item--gross {
		grid-column: span 1;
		grid-row: span 1;
	}

    #kontaktboxheader {
        font-size: 16px;
    }

	#teaser .slick-slide, #teaser {
    	height: 250px !important;
	}

}

@media (max-width: 780px) {

	#menu ul ul li {
		border-left: none !important;
		border-right: none;
	}

    #menu ul li a {
        border-bottom: 1px solid #fff;
		padding: 16px 12px;
    }

    #logo>a>img {
        width: 60%;
		margin-top: 10px;
		padding: 0px;
		height: auto;
    }

	.start-box .spalte2 {
		width: 100%;
		margin-right: 0;
	}

	.start-bild {
		margin-bottom: 20px;
	}

	.praxis-box {
		padding: 22px;
	}

	#galerie-modern {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.galerie-item,
	.galerie-item--gross,
	.galerie-item:first-child {
		grid-column: auto;
		grid-row: auto;
	}

	#teaser .slick-slide, #teaser {
    	height: 210px !important;
	}

	#teaser{
		background: url(https://www.dga-vorschau.de/hausarzt-broll/bilder/header_resp.jpg) no-repeat center center !important;
		background-size: cover !important;
	}

}

@media (max-width: 680px) {

	.layout {
		flex-direction: column;
		gap: 0;
	}

	.nav-col {
		flex: none;
		width: 100%;
		gap: 0;
	}

	.nav-item {
		border-radius: 0;
		border-bottom: none;
	}

	.nav-item:first-child {
		border-radius: var(--radius) var(--radius) 0 0;
	}

	.nav-pfeil svg {
		transform: rotate(90deg);
	}

	.nav-item.active .nav-pfeil svg {
		transform: rotate(270deg);
	}

	.content-col {
		width: 100%;
	}

	.content-panel {
		border-radius: 0;
		border-top: none;
		margin-bottom: 0.5rem;
	}

	.content-panel.active {
		display: block;
	}

	.nav-item:last-child {
		border-radius: 0 0 var(--radius) var(--radius);
	}

	.nav-item:last-child.active {
		border-radius: 0;
	}

}

@media (max-width: 480px) {

	.praxis-box {
		padding: 18px;
	}

	.praxis-box h3 {
		font-size: 21px;
	}

	.praxis-box__address {
		font-size: 17px;
	}

	.kontakt-card__header {
		padding: 18px 20px;
	}

	.kontakt-card__body {
		padding: 6px 20px 10px;
	}

	.kontakt-row {
		gap: 12px;
	}

	.galerie-item:hover {
		transform: none;
	}

}
