:root {
  --bg: #f7f3eb;
  --text: #3a2e2a;
  --accent: #f5c77b;
  --accent-dark: #e2b568;
  --card-bg: #fffaf3;
  --border: #e3cfa6;
  --overlay: rgba(0, 0, 0, 0.4);
  --focus: #8aa140;
  --success: #8aa140;
  --font-base: system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-base);
  line-height: 1.6;
}

/* === Header & Navigation === */

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #e3cfa6;
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 40px;
  height: auto;
}

.logo-text {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--text);
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 2rem;
  color: var(--text);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:focus-visible,
.menu-icon:focus-visible {
  outline: 2px dashed var(--focus);
  outline-offset: 4px;
}

/* === Hero-Bereich mit Hintergrundbild === */

.hero-image {
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 6rem;
  overflow: hidden;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  color:#f7f3eb ;
}

.hero-content p {
  font-size: 1.2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  color:#f7f3eb ;
}

/* === Inhaltsbereich === */

.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: -60px auto 0 auto;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.card-image {
  width: 100%;
  height: auto;
  display: block;                 /* Entfernt Lücken unterhalb von img */
}
section.section {
  padding: 4rem 1rem;
  margin-top: 4rem;
  background-color: var(--background);
  border-top: 1px solid var(--border);
}
.card-full {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  width: 100%;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-list .icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.contact-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}
.person-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  color: var(--text);
  font-family: var(--font-base);
}
.person-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.profile-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  flex-shrink: 0;
}
.person-name {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--text);
}
.person-biography,
.person-qualifications {
  margin-bottom: 2.5rem;
}
.person-biography h3,
.person-qualifications h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
}
.person-qualifications ul {
  padding-left: 1.2rem;
  line-height: 1.6;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  word-break: break-word;
}

.price-table th {
  font-weight: bold;
}

.price-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

/* Mobile Scroll-Lösung */
@media (max-width: 600px) {
  .price-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* === Footer === */

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  border-top: 1px solid var(--border);
  background: #e3cfa6;
}

.sig {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--text);
}

.footer-nav {
  margin-top: 0.5rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-nav span {
  color: var(--text);
}

/* === Mobile Navigation === */

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background: #e3cfa6;
    padding: 1rem 2rem;
    border: 1px solid var(--border);
  }

  .nav-links a {
    margin: 0.5rem 0;
  }

 .menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
