:root {
  --color-primary: #0f6e6a;
  --color-primary-dark: #0a4f4c;
  --color-primary-light: #e6f2f1;
  --color-text: #24313a;
  --color-text-muted: #5b6b73;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f9f9;
  --color-border: #e1e8e7;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.25;
  margin-top: 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
}

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

a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 1.2rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.lang-switcher {
  display: flex;
  gap: 0.4rem;
}

.lang-btn {
  padding: 0.2rem 0.6rem;
  border: 1.5px solid var(--color-primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary) !important;
}

.lang-btn:hover {
  background: var(--color-primary-light);
}

.lang-btn.active {
  background: var(--color-primary);
  color: #fff !important;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

.btn-secondary {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary-light);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, #ffffff 100%);
}

.hero-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.hero-text h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.about-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
  background: var(--color-primary-light);
  border: 1px solid var(--color-border);
  position: sticky;
  top: 6rem;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.1rem;
}

.about-text h3 {
  margin-top: 2rem;
}

/* Timeline (Werdegang) */
.lehre-inner {
  max-width: 720px;
}

.lehre-inner p {
  color: var(--color-text-muted);
  margin-bottom: 1.1rem;
}

.lehre-inner h3 {
  margin-top: 2rem;
}

.timeline {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 720px;
  border-left: 2px solid var(--color-primary-light);
}

.timeline li {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #fff;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline h3 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.timeline p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.timeline-tags {
  color: var(--color-primary-dark);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -12px rgba(15, 110, 106, 0.25);
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Hours */
.hours-table {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.hours-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.hours-note {
  margin-top: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Disclaimer page */
.disclaimer-inner {
  max-width: 720px;
}

.disclaimer-lead {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.disclaimer-inner li {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: #e6f2f1;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-inner a {
  color: #e6f2f1;
}

.disclaimer-link {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #f5a623;
  color: #24313a;
  font-weight: 700;
}

.disclaimer-link:hover {
  background: #ffb84d;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 860px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-inner {
    text-align: left;
  }

  .about-image {
    order: -1;
    max-width: 320px;
    position: static;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 300px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
  }

  .main-nav li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 500px) {
  .hero-text h1 {
    font-size: 2.1rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
