:root {
  /* Primäre Markenfarben */
  --color-primary: #2F2FAE;     /* Lungen-Blau */
  --color-secondary: #4CD964;   /* Gesundheits-Grün */
  --color-sec-soft: #c2f7cb; /*sanftes Grün*/

  /* Hintergründe */
  --color-bg: #ffffff;
  --color-bg-soft: #EAF2FF;     /* Logo-Hintergrundton */

  /* Text */
  --color-text: #1F2933;
  --color-text-muted: #475569;

  /* Linien & Akzente */
  --color-border: #E5E7EB;

  --font-main: 'Inter', system-ui, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: #1f2933;
}

h1, h2 {
  font-weight: 600;
}

h3 {
  font-weight: 500;
  margin-bottom: 0.2rem;
}

h4{
  font-weight: 400;
  font-style: oblique;
}

section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.hero {
  background: linear-gradient(
    to top,
    var(--color-bg-soft),
    var(--color-bg)
  );
  padding: 1.5rem 1.5rem 1rem;
  position: relative;
  text-align: center;
  z-index: 100;
  background-color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 0rem;
}

.hero img {
  max-height: 150px;
  width: auto;
}

.main-nav{
  background: var(--color-bg-soft);
  position: sticky;
  top: 0;
  text-align: center;
  padding-top: 15px;
  padding-bottom: 15px;
  z-index: 1000;
}

.about-content {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.profile-photo {
  width: 180px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.main-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(to right,transparent,var(--color-secondary),transparent);
}

.main-nav a{
  display: inline-block;
  padding: 0.4rem 0.6rem;
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
}

.main-nav a:hover{
  background-color: #26268f; /* leicht dunkler */
}

.main-nav .cta{
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 19px;
}

.main-nav .cta:hover{
  background-color: var(--color-secondary);
}

/* Burger Navigation */

.burger-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(to right,transparent,var(--color-secondary),transparent);
}

.burger-nav .cta{
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 19px;
}

.burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links {
  display: inline-flex;
  gap: 0.75rem;
}


.highlight {
  color: var(--color-secondary);
}

.services ul {
  list-style: none;
  padding: 0;
}

.services li {
  padding: 0.5rem 0;
}

.contact iframe {
  width: 100%;
  height: 300px;
  border: none;
  margin-top: 1rem;
}

/* UI Für Patienten Info Seite */

.info-accordion details {
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
}

.info-accordion summary {
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
  scroll-margin-top: 90px;
}

.info-accordion summary::marker {
  display: none;
}

.info-accordion summary::after {
  content: "▾";
  position: absolute;
  right: 0;
  transition: transform 0.2s ease;
}

.info-accordion details[open] summary::after {
  transform: rotate(180deg);
}

.info-content {
  margin-top: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Video Bereich */

.video-container-shorts {
  position: relative;
  height: 640px;
  max-width: 360px;       /* optional, wirkt sehr gut */
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
}

.video-container-shorts iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

footer {
  background-color: #f1f5f9;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  position: relative;
  padding-top: 2rem;
  margin-top: 4rem;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(to right,transparent,var(--color-secondary),transparent);
}

@media (min-width: 769px)
{
  .burger-nav {
    display: none;
  }
}

@media (max-width: 768px) {

  .hero h1 {
    font-size: 2rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    flex-direction: column !important;
  }

  .main-nav {
    display: none;
  }

  /* Burger Navigation Mobile */

  .burger-nav{
    background: var(--color-bg-soft);
    position: sticky;
    top: 0;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    z-index: 1000;
  }

  .burger-nav a{
    padding: 0.6rem 0.3rem;
    background-color: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
  }

  .burger {
    display: inline-block;
    color: var(--color-primary);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 0.5rem;
  }

  .nav-links.open {
    display: flex;
  }
}

/* Cookie-Banner */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  padding: 1rem 1.5rem;
  display: none;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
}

.btn-primary {
  background: var(--color-bg-soft);
  color: var(--text-main);
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-secondary {
  background: var(--color-bg-soft);
  color: var(--text-main);
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
}
