@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');
:root {
  --bg: #f7f7fa;
  --bg-card: #fff;
  --bg-nav: #fff;
  --accent: #22223b;
  --accent-light: #4a4e69;
  --text: #22223b;
  --text-muted: #888;
  --shadow: 0 4px 24px 0 rgba(34,34,59,0.08);
  --radius: 22px;
  --danger: #ef4444;
  --success: #22c55e;
  --btn-bg: #22223b;
  --btn-bg-hover: #4a4e69;
  --btn-text: #fff;
}
html, body { height: 100%; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
  min-height: 100vh;
}
header {
  background: var(--bg-nav);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 18px 0 rgba(34,34,59,0.08);
  border-bottom: 1.5px solid #ececf0;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.7em 1.5em 1.3em 1.5em;
  border-radius: 0 0 18px 18px;
  background: var(--bg-nav);
  box-shadow: 0 2px 8px 0 rgba(34,34,59,0.04);
}
.nav-brand {
  display: flex;
  align-items: center;
  font-size: 1.35em;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  text-decoration: none;
  margin-right: 2em;
}
.nav-brand img {
  height: 36px;
  width: 36px;
  margin-right: 0.7em;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(34,34,59,0.08);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5em;
}
nav a {
  color: var(--accent);
  margin-right: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.13em;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  border-radius: 8px;
  padding: 0.4em 1.1em;
  background: transparent;
  box-shadow: none;
  display: inline-block;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(34,34,59,0.10);
}
nav span {
  margin-left: 1.5em;
  color: var(--text-muted);
  font-size: 1.05em;
}
.container {
  max-width: 900px;
  margin: 3.5em auto 2em auto;
  padding: 2.5em 1.5em;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
h1 {
  margin-top: 0;
  font-size: 2.6em;
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
}
h2 {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.7em;
}
label {
  display: block;
  margin-top: 1.5em;
  font-weight: 500;
  font-size: 1.08em;
}
input, textarea {
  width: 100%;
  padding: 1em;
  background: #f3f3f7;
  color: var(--text);
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  margin-top: 0.4em;
  font-size: 1.08em;
  font-family: inherit;
  box-sizing: border-box;
  transition: border 0.2s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--accent);
  outline: none;
}
button, .btn {
  margin-top: 2em;
  padding: 1em 2.5em;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.12em;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(34,34,59,0.08);
  text-decoration: none;
  display: inline-block;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--btn-bg-hover);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(34,34,59,0.10);
}
.error {
  color: var(--danger);
  background: #fff0f0;
  padding: 1em 1.2em;
  border-radius: 10px;
  margin-bottom: 1.5em;
  text-align: center;
  font-weight: 600;
}
.success {
  color: var(--success);
  background: #f0fff0;
  padding: 1em 1.2em;
  border-radius: 10px;
  margin-bottom: 1.5em;
  text-align: center;
  font-weight: 600;
}
.events {
  display: flex;
  gap: 2em;
  margin-bottom: 2.5em;
  flex-wrap: wrap;
  justify-content: center;
}
.event-block {
  background: linear-gradient(120deg, #f3f3f7 0%, #e9e9f3 100%);
  color: var(--accent);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(34,34,59,0.06);
  padding: 1.5em 2em;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 0.5em;
  text-align: center;
}
.event-block h2 {
  margin: 0 0 0.7em 0;
  font-size: 1.18em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.event-block ul {
  margin: 0.5em 0 0 0;
  padding-left: 1.2em;
  text-align: left;
}
.event-block p {
  margin: 0.5em 0 0 0;
}
.beitrag-list {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
}
.beitrag {
  display: flex;
  background: #f3f3f7;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(34,34,59,0.06);
  overflow: hidden;
  transition: box-shadow 0.2s;
  align-items: stretch;
}
.beitrag:hover {
  box-shadow: 0 8px 32px 0 rgba(34,34,59,0.10);
}
.beitrag-bild {
  flex: 0 0 200px;
  background: #e9e9f3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.beitrag-bild img {
  width: 120px;
  height: 120px;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 14px;
  margin: 18px;
  box-shadow: 0 2px 8px 0 rgba(34,34,59,0.10);
  transition: none;
}
.beitrag:hover .beitrag-bild img {
  transform: none;
}
.beitrag-inhalt {
  flex: 1;
  padding: 2em 2em 2em 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.beitrag-titel {
  font-size: 1.35em;
  font-weight: 700;
  margin-bottom: 0.4em;
  letter-spacing: -0.5px;
}
.beitrag-meta {
  font-size: 1.02em;
  color: var(--text-muted);
  margin-bottom: 1em;
}
.beitrag-text {
  margin-bottom: 1em;
  font-size: 1.12em;
  line-height: 1.7;
}
.attachments {
  margin-top: 0.7em;
}
.attachments a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.5em 1.3em;
  border-radius: 8px;
  margin-right: 0.7em;
  margin-bottom: 0.3em;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02em;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px 0 rgba(34,34,59,0.08);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.attachments a:hover, .attachments a:focus {
  background: var(--accent-light);
  color: #fff;
}
@media (max-width: 800px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2em 1em 1em 1em;
    border-radius: 0 0 14px 14px;
  }
  .nav-brand {
    font-size: 1.1em;
    margin-bottom: 0.7em;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7em;
    width: 100%;
  }
  nav a {
    width: 100%;
    margin: 0;
    padding: 0.7em 1em;
    font-size: 1.08em;
  }
  nav span {
    margin-left: 0;
    margin-top: 0.5em;
  }
  .container { padding: 1em; }
  .beitrag-inhalt { padding: 1.2em; }
}
@media (max-width: 400px) {
  .container { padding: 0.5em; }
  .events { flex-direction: column; gap: 0.7em; }
  .beitrag { flex-direction: column; }
  .beitrag-bild { min-height: 100px; justify-content: flex-start; }
  .beitrag-inhalt { padding: 1em; }
  .event-block {
    min-height: unset !important;
    min-width: unset !important;
    padding: 0.5em 0.7em !important;
    border-radius: 12px !important;
  }
  .event-block h2 {
    font-size: 1.1em !important;
    margin-bottom: 0.3em;
  }
  .event-block ul, .event-block p {
    font-size: 1em !important;
    margin: 0.2em 0 0 0;
  }
} 