@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
  --bg-color: #4d4d4d;
  --text-color: #f3f4f6;
  --accent-color: #d9422f;
  /* Red accent */
  --accent-hover: #ef4444;
  --nav-hover: #ffffff;
  --header-padding: 2rem;
  --container-width: 1200px;
  /* Verbreitert für besseres Lesen auf breiteren Monitoren */
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container for centering content */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--accent-color);
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

p,
ul,
ol {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-hover);
}

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

/* Header */
.site-header {
  padding: var(--header-padding) 1.5rem;
  display: flex;
  justify-content: center;
  /* Center to match original somewhat, or space-between */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: var(--container-width);
}

.site-title-container {
  display: flex;
  flex-direction: column;
}

.title-link {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
}

.site-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0;
  line-height: 1.1;
}

.site-subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--nav-hover);
  line-height: 1.1;
}

/* Navigation */
.main-nav {
  display: flex;
  margin-top: 1rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: flex-end;
}

.nav-item {}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active::after {
  background-color: var(--text-color);
}

/* Hamburger Menu (Mobile) */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  margin-top: 0.5rem;
  z-index: 100;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* Main Content Area */
.site-main {
  padding: 3rem 0 5rem;
}

/* Practitioner Card (Home) */
.practitioner-block {
  margin-bottom: 3rem;
}

.practitioner-name {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.practitioner-title {
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0.2rem;
}

.practitioner-email {
  font-size: 1.1rem;
}

/* Contact Block */
.contact-info-block {
  margin-bottom: 3rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.contact-highlight {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  /* Alte Größe beibehalten */
}

/* Impressum & Datenschutz specifics */
.legal-content h1 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.legal-content h3,
.legal-content h5 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1rem 0;
  font-size: 0.75rem;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-main {
    padding: 1.5rem 0 3rem;
  }

  .header-container {
    flex-direction: column;
    position: relative;
  }

  .site-title-container {
    padding-right: 3rem; /* Damit der Titel nicht unter den Hamburger-Button rutscht */
  }

  .title-link {
    gap: 0.2rem;
  }

  .site-title,
  .site-subtitle {
    font-size: 1.5rem; /* Etwas kleiner für Smartphones */
  }

  .desktop-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem; /* Größere Touch-Fläche */
  }

  .mobile-menu-btn svg {
    width: 32px;
    height: 32px;
  }

  .main-nav {
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1.5rem;
    gap: 0.5rem;
    align-items: flex-start;
    white-space: normal; /* Hebt das Desktop-nowrap auf */
  }

  .nav-list.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
  }

  .nav-link {
    font-size: 1.25rem;
    display: block;
    width: 100%;
    padding: 0.75rem 0; /* Gute Touch-Target-Größe */
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}