:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #0d1117;
  --muted: #5f6368;
  --line: #e6e8eb;
  --accent: #0f172a;
  --shadow: 0 12px 30px rgba(10, 20, 40, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 0%, #ffffff 0%, #f6f7f9 42%),
    radial-gradient(circle at 88% 16%, #ffffff 0%, #f6f7f9 38%);
  color: var(--text);
  line-height: 1.58;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 249, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

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

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 680;
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

nav a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: #5b6270;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 620;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.3rem 0.52rem;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: #111827;
  color: #ffffff;
}

.hero-wrap {
  padding: 2.8rem 0 1.6rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  background: linear-gradient(145deg, #ffffff 12%, #f8f9fb 88%);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #7e8289;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.9vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero-copy p {
  max-width: 640px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.18rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 560;
  font-size: 0.93rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}

.cta {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.ghost-btn {
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff;
}

.cta:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.logo {
  width: min(300px, 80%);
  height: auto;
  border-radius: 20px;
  border: 1px solid #eff0f2;
  box-shadow: 0 16px 38px rgba(18, 26, 41, 0.08);
}

.section {
  padding: 3.3rem 0;
}

.section-head h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-grid,
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.feature-card,
.card,
.event-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card,
.card {
  padding: 1.15rem;
}

.feature-card h3,
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.03rem;
}

.feature-card p,
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.team-cards .card {
  min-height: 108px;
}

.event-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.event-item {
  overflow: hidden;
}

.event-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
}

.event-item summary::-webkit-details-marker {
  display: none;
}

.event-item summary strong {
  display: block;
  font-size: 1rem;
}

.event-item summary small {
  display: block;
  margin-top: 0.18rem;
  color: #81858d;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-item summary em {
  font-style: normal;
  color: #444b57;
  font-size: 0.88rem;
}

.event-content {
  border-top: 1px solid var(--line);
  padding: 0.9rem 1.1rem 1.05rem;
}

.event-content p {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.past-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.past-event-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.past-event-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.past-event-content {
  padding: 0.95rem 1rem 1.05rem;
}

.past-event-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.past-event-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.contact-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
}

.update-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
}

.whatsapp-link,
.insta-dm-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  min-height: 46px;
  color: #8a2b83;
  font-weight: 560;
  border: 1px solid #efc8ea;
  background: #fff6fd;
  border-radius: 999px;
  padding: 0.55rem 0.88rem;
}

.insta-dm-link:hover {
  background: #fceffd;
}

.newsletter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  min-height: 46px;
  color: #0f8f57;
  font-weight: 560;
  border: 1px solid #b7e6cf;
  background: #f4fdf8;
  border-radius: 999px;
  padding: 0.55rem 0.88rem;
}

.newsletter-link:hover {
  background: #e9f9f1;
}

.linkedin-update-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  min-height: 46px;
  color: #1d4fa3;
  font-weight: 560;
  border: 1px solid #c5d4f9;
  background: #f4f7ff;
  border-radius: 999px;
  padding: 0.55rem 0.88rem;
}

.linkedin-update-link:hover {
  background: #e9efff;
}

.whatsapp-link {
  color: #0f8f57;
  border-color: #b7e6cf;
  background: #f4fdf8;
}

.whatsapp-link:hover {
  background: #e9f9f1;
}

.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  min-height: 46px;
  color: #1f3d8a;
  font-weight: 560;
  border: 1px solid #c5d4f9;
  background: #f4f7ff;
  border-radius: 999px;
  padding: 0.55rem 0.88rem;
}

.email-link:hover {
  background: #e9efff;
}

.impressum-section {
  padding-top: 2.4rem;
}

.impressum-card {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
}

.impressum-card p {
  margin: 0.3rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2.4rem;
}

.site-footer p {
  margin: 0;
  color: #838891;
  text-align: left;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1.2rem 0 1.75rem;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #4a5060;
  font-size: 0.9rem;
  font-weight: 540;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.48rem 0.78rem;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover {
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
}

.linkedin-link {
  color: #1d4fa3;
}

.impressum-link {
  text-decoration: none;
  color: #5a6070;
  font-size: 0.89rem;
  font-weight: 560;
  padding: 0.3rem 0.45rem;
  border-radius: 8px;
}

.impressum-link:hover {
  background: rgba(15, 23, 42, 0.05);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .nav {
    flex-direction: row;
    min-height: 64px;
    padding: 0.4rem 0;
    gap: 0.5rem;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.3rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  .brand {
    white-space: nowrap;
    font-size: 0.86rem;
  }

  nav a {
    white-space: nowrap;
    padding: 0.3rem 0.5rem;
    font-size: 0.82rem;
  }

  nav a:not([href="#contact"]) {
    display: none;
  }

  nav a[href="#contact"] {
    padding: 0.36rem 0.62rem;
    background: #111827;
    color: #ffffff;
  }

  .lang-switch {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .lang-switch button {
    padding: 0.25rem 0.42rem;
    font-size: 0.72rem;
  }

  .hero-wrap {
    padding-top: 2.1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1.45rem;
  }

  .footer-actions {
    width: 100%;
  }
}
