html {
	background: #eee9dd;
	color: #131313;
}

body {
	font-family: "Roboto";
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	font-variation-settings: "wdth" 100;
	font-style: normal;
}

header {
	position: fixed;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
}


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


.logo-image {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	transition: opacity 0.4s ease;
}

.logo-text {
	padding-top: 9px;
	transform: none;
	filter: blur(0);
	transition: all 0.4s ease;
	will-change: transform, filter;
}

.blur {
	transform: scale(0.9);
	filter: blur(5px);
}

.logo-title {
	margin: auto;
	font-weight: 500;
	font-size: 25px;
	line-height: 0.95em;
	transform: rotate(0deg) translate(0, 0);
	transform-origin: left top;
	transition: transform 0.4s ease;
}

.logo-subtitle,
.logo-address {
	margin: auto;
	font-size: 12px;
	line-height: 1.1em;
	transition: opacity 0.1s ease;
}

.logo-subtitle {
	font-weight: 700;
}

.logo-address {
	font-family: "Cormorant", serif;
}

/* Rotate the titles when shrunk */
.logo.aside .logo-image {
	opacity: 0.6;
}

.logo.aside .logo-title {
	transform: rotate(-90deg) translate(-240px, -62px) scale(0.9);
	opacity: 0.5;
}

@media screen and (min-width: 1200px) {
  .logo.aside .logo-title {
    transform: rotate(-90deg) translate(-240px, -50px) scale(0.9);
  }
}


/* Hide the subtitles completely */
.logo.aside .logo-subtitle {
	opacity: 0;
}


/* Smooth scrolling */
html, body {
  scroll-behavior: smooth;
}

section {
	scroll-margin-top: 60px;
}

main section + section {
  margin-top: 100px;
}

/* Grundstyles */
.burger-nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

/* Verstecke die Checkbox */
#menu-toggle {
  display: none;
}

/* Burger Icon */
.burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  position: relative; /* neu */
  z-index: 1001;      /* höher als das Menü */
}

.burger-icon span {
  display: block;
  height: 4px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menü verstecken außerhalb des Viewports */
.menu {
  font-family: "Cormorant", serif;
  font-size: clamp(1.3rem, 6vw, 2rem);
  font-weight: 700;
  position: fixed;
  top: 28px;
  right: -400px;
  width: 350px;
  height: auto;
  background: #fff;
  list-style: none;
  padding: 10px 20px;
  box-shadow: -4px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1000;
}

/* Menü-Links */
.menu li {
  margin: 20px 0;
}

.menu a {
  text-decoration: none;
  font-style: italic;
  color: #333;
}

/* Menü anzeigen, wenn Checkbox gecheckt ist */
#menu-toggle:checked ~ .menu {
  right: 0;
}

/* Optional: animiere Burger in X beim Öffnen */
#menu-toggle:checked + .burger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 5px);
}

#menu-toggle:checked + .burger-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .burger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -5px);
}


/**
 * Content
 */

main {
	padding: 100px 40px 0 40px;
	max-width: 1060px;
	margin: 0 auto;
}

section h1 {
	font-family: "Cormorant", serif;
	font-style: italic;
	font-size: clamp(3rem, 6vw, 6rem);
	font-weight: 600;
	margin: 0;
	line-height: 0.9;
}

section p {
	font-size: clamp(1.5rem, 6vw, 2.25rem);
	letter-spacing: -0.025em;
}

section address {
	font-size: clamp(1.5rem, 6vw, 2.25rem);
	letter-spacing: -0.025em;
}

section a {
	color: #131313;
	font-style: italic;
}

section ul {
	font-family: "Cormorant", serif;
	font-style: italic;
	font-size: clamp(1.3rem, 6vw, 2.25rem);
	letter-spacing: -0.025em;
	text-wrap: balance;
	font-weight: 600;
	list-style-type: '› ';
	padding-inline-start: 40px;
}

ul a {
  position: relative;
  color: inherit;
  text-decoration: none;
}

ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

ul a:hover::after {
  width: 100%;
}

section .portrait {
	display: block;
  margin: 0 auto;
	max-width: 500px;
	width: 100%;
}

section .praxisraum {
	display: block;
  margin: 0 auto;
	width: 100%;
}


.quote {
  max-width: 800px;
  margin: 5rem auto 3rem auto;
  font-family: "Cormorant", serif;
  font-style: italic;
  text-align: center;
}

.quote blockquote {
  margin: 0 0 1rem 0;
  font-size: clamp(1.3rem, 6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.4;
}

.quote cite {
  display: block;
  font-size: clamp(0.8rem, 6vw, 1.25rem);
  font-style: italic;
}


#map {
  width: 100%;      /* volle Breite */
  height: 400px;    /* Höhe kann angepasst werden */
}

#map iframe {
  width: 100%;      /* iframe passt sich Containerbreite an */
  height: 100%;     /* iframe passt sich Containerhöhe an */
  border: 0;        /* Rahmen entfernen */
}

footer {
	display: flex;
  justify-content: space-around;
  margin: 100px auto 70px auto;;
  max-width: 450px;
}

footer .emr-logo {
	display: block;
	width: 300px;
}

footer .ida-logo {
	max-height: 100px;
}
