@font-face {
    font-family: 'Poppins';
    src: url('schriftart/Poppins-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
	--hausfarbe: #e54a39;
	--komplementaer: #49c063;
	--hintergrund: #fff;
	--bubble: #9b2b3f13;
}

*,
*::after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	width: 100%;
	min-height: 100vh;
	margin: 0;
	color: #717171;
	font-size: clamp(1rem, 2vw, 1.2rem); /* flexible Schriftgröße */
	line-height: 1.4;
	min-height: 100vh;
}

a {
	text-decoration: none;
	color: var(--hausfarbe);
}

p {
	margin: 1em 0;
}

.bold {
	font-weight: bold;
}

h2 {
	width: 100%;
	border-bottom: 2px solid var(--hausfarbe);
	position: relative;
}

table {
	border-spacing: 0;
}

table.konditionen {
	color: #fe6f61;
	border-radius: 0.3em;
	border: 5px solid #fe6f61;
	border-width: 0.3em 0;
	box-shadow: 5px 10px 20px #999;
	margin-bottom: 1.3em;
}

table.konditionen .caption {
	font-size: 1.1em;
	font-weight: 600;
	text-align: center;
}

table.konditionen td {
	padding: 0.7em 0.8em;
}

table.kontakt td {
	display: table-cell;
	padding: 0.7em 0.5em;
    white-space: normal;
	word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Jede zweite Zeile markieren */
table tr:nth-of-type(2n+1) {
	background: #f1f1f1;
}

.logo {
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-text {
	display: flex;
	flex-direction: column;
}
.logo-subtext {
	font-size: 0.85em;
}

.logo img {
	height: 2.5em;
}

.telefon {
	display: flex;
	align-items: center;
	gap: 5px;
}

.telefon img {
	height: 1.68em;
}

/* ----- Feststehenden Header --------------------------------------- */
.fixed-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0.7rem 13vw 0.7rem 10%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
	z-index:100;
}

.fixed-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #eee;
	backdrop-filter: blur(70px);
	z-index: -1;
}


/* ----- Showcase --------------------------------------------------- */
.container {
    padding: 5rem 13vw 5rem 10%;
	min-height: 100vh;
	scroll-snap-align: start;
	position: relative;
}

.showcase {
	background-size: cover; /* Größe des Hintergrundbilds anpassen */
    background-repeat: no-repeat; /* Wiederholung des Hintergrundbilds verhindern */
    background-position: center; /* Position des Hintergrundbilds zentrieren */
	background-color: var(--hintergrund);
	background-image: linear-gradient(to bottom, #fff, #f7f7f7);
	display: flex;
	gap: 3vw;
	align-items: stretch;
	justify-content: space-between;
	flex-grow: 1;
    min-height:100vh;
 }
 
.showcase1,
.showcase2,
.showcase3,
.showcase4 {
	display: flex;
	flex-direction: column;
	align-items: start;
	background-blend-mode: multiply;
	place-content: center;
}

.showcase2 {
	background-image: url('img/startbild.jpg');
}

ul {
	padding: 0.5em 1em;
}
 .sub {
	 text-transform: uppercase;
	 font-weight: normal;
 }

.btn {
	margin: 1rem 2rem;
	padding: 0.75rem 1.5rem 0.75rem 3.7rem;
	border-radius: 0.5rem;
	background: var(--hausfarbe);
	box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.2);
	font-size: 0.8em;
	font-weight: bold;
	color: #fff;
	position: relative;
}

/* Buttons */
a.mail::before {
	content: " ";
	background-image: url('img/mail.svg');
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	background-size: contain;
	background-repeat: no-repeat;
	width: 30px;
	height: 20px;
}

/* Textbereich mit Überschrift und Button */
.showcase .call-to-action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: center;
	z-index: 10;
	min-width: 50%;
}

#start {
	background: #c09853;
	background-image: url('img/hintergrund.jpg');
	background-size: cover;
	backdrop-filter: blur(10px);
	background-position: center center;
	color: #fff;
}

#start .call-to-action {
	position: absolute;
	right: 0;
	max-width: 90%;
#	padding-right: 2em;
	display: flex;
	align-items: center;
#	margin-right: 50px;
}

h1, h2 {
	margin-bottom: 1rem;
}

h3 {
	margin: 2rem 0 0 0;
}

h3.zeiten {
#	padding: 1em 0 0.7em 0;
}

.title {
	font-weight: 600;
	font-size: 1.8em;
	letter-spacing: 5px;
	
}

#start .title {
	font-size: 2em;
	padding: 0 1em 0.3em 1em;
	border-bottom: 1px solid #fff;
	text-align: center;
}

#start .subtitle {
#	padding-left: 2em;
	letter-spacing: 1px;
	text-align: center;
}

div.img-wrapper {
	flex-grow: 1;
	flex-direction: column;
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	min-width: 35vw;
}

div.img-wrapper div {
	flex-grow: 1;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center right;
    z-index: 10;
}

#preise .img-wrapper {
	align-items: center;
	margin: auto 0;
}

#preise .call-to-action {
	display: block;
}

div.jacqueline {
	background-image: url(img/jacqueline-sancho.jpg);
}

div.anfahrt {
	background-image: url(img/anfahrt.webp);
}

div.preise {
	background-image: url(img/preise.png);
}

div.physio {
	background-image: url(img/leistungen.jpg);
}

@media (max-width: 730px) {
	.showcase {
		flex-direction: column-reverse !important;
	}

	div.img-wrapper div {
		background-position: bottom center;
		min-height: 300px;
		max-width: 90%;
		background-size: contain;
		background-repeat: no-repeat;
	}
	
	.call-to-action {
		justify-content: center;
		min-height: 80vh;
	}

	.top-button {
		margin-right: 10px;
	}
}

/* ----- Hamburger Menu --------------------------------------------- */
.menu-icon {
	padding: 28px 20px;
	position: absolute;
	right: 0;
	cursor: pointer;
}

.menu-icon .nav-icon {
	background: var(--hausfarbe);
	display: block;
	height: 3px;
	width: 23px;
	position: relative;
	transition: background 0.2s ease-out;
	-webkit-transition: background 0.2s ease-out;
}

.menu-icon .nav-icon::before {
	content: "";
	background: var(--hausfarbe);
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	transition: all 0.2s ease-out;
	-webkit-transition: all 0.2s ease-out;
	top: 8px;
}

.menu-icon .nav-icon:after {
	content: "";
	background: var(--hausfarbe);
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	transition: all 0.2s ease-out;
	-webkit-transition: all 0.2s ease-out;
	top: -8px;
}

.menu-btn {
	display: none;
}

/* wenn Hamburger Icon angeklickt wurde, Menü anzeigen */
.menu-btn:checked ~ nav {
	height: 100vh;
}

.menu-btn:checked ~ nav,
.menu-btn:checked ~ nav .menu {
	list-style-type: none;
}

/* den mittleren Balken ausblenden */
.menu-btn:checked ~ .menu-icon .nav-icon {
	background: transparent
}

.menu-btn:checked ~ .menu-icon .nav-icon:before {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	top: 0;
}

.menu-btn:checked ~ .menu-icon .nav-icon:after {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	top: 0;
}

/* ----- Navigation ------------------------------------------------- */
nav {
	position: absolute;
	top: 100%;
	right: 0;
	width: 100%;
	height: 0;
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(10px);
	transition: 0.2s ease;
	overflow: hidden;
}

nav .menu li {
	margin: 0;
}

nav .menu a {
	display: block;
	padding: 0.7rem 0;
	text-align: center;
	font-weight: bold;
	transform: translateY(-50px);
	opacity: 0;
	transition: 0.1s ease;
}

nav .menu li:hover {
	background: rgba(155, 0, 0, 0.05);
}

.menu-btn:checked ~ nav a {
	transform: translateY(0);
	transition-delay: calc(0.15s * var(--i));
	opacity: 1;
}

/* Footer */
footer {
	padding: 0.8rem 10%;
	font-size: 0.9em;
	background: #ddd;
}

footer div {
	padding: 1em 0;
}

.split {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	align-items: center;
	flex-grow: 1;
	gap: 5px;
}

.rechtliches {
	text-align: center;
}

.webprojekt {
	opacity: 0.5;
}

.oeffnungszeiten td {
	padding: 0.5em 1em 0.5em 0.5em;
}

.neueroeffnung {
	border-radius: 20em;
	padding: 1.5em 1.5em 2.5em 1.5em;
	max-width: 15.4em;
	text-align: center;
	background: var(--hausfarbe);
	height: fit-content;
	display: block;
	position: absolute;
	bottom: 1.5vh;
}

.neueroeffnung .underline {
	text-decoration: underline;
}

/* ----- CMD ----- */
.cmd-hero-image {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Hintergrundbild hinter den Text legen */
}
.cmd-hero-overlay {
	padding-top: 45vh;
}
