:root {
  --ink: #2d2d2d;
  --ink-soft: #555b61;
  --charcoal: #24272b;
  --charcoal-soft: #34383d;
  --surface: #ffffff;
  --surface-soft: #f5f6f7;
  --surface-muted: #eceff1;
  --accent: #b52b32;
  --accent-dark: #8e1f25;
  --accent-soft: #f7e7e8;
  --line: #dfe2e5;
  --muted: #72777d;
  --shadow: 0 18px 45px rgba(24, 29, 34, 0.10);
  --shadow-small: 0 8px 24px rgba(24, 29, 34, 0.08);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Kopfbereich */
.site-header {
  min-height: 86px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 22px rgba(20, 25, 30, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(181, 43, 50, 0.2);
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.15;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}

.main-nav a {
  position: relative;
  padding: 0.8rem 0;
  color: #44484c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav .login-link {
  padding: 0.72rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent);
}

.main-nav .login-link::after {
  display: none;
}

.main-nav .login-link:hover {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  padding: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Startseiten-Bühne */
.hero {
  min-height: calc(82vh - 86px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 7vw;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 48%, rgba(245, 246, 247, 0.75) 100%),
    repeating-linear-gradient(135deg, #f7f8f9 0 18px, #f0f2f4 18px 36px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: var(--accent);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -24vw;
  width: min(54vw, 760px);
  aspect-ratio: 1;
  border: 90px solid rgba(181, 43, 50, 0.045);
  border-radius: 50%;
}

.hero-overlay {
  position: absolute;
  right: 7vw;
  top: 50%;
  width: min(34vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(181, 43, 50, 0.22);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  background: rgba(181, 43, 50, 0.18);
}

.hero-overlay::before {
  width: 1px;
  height: 128%;
  top: -14%;
  left: 50%;
}

.hero-overlay::after {
  width: 128%;
  height: 1px;
  top: 50%;
  left: -14%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero h1,
.page-hero h1 {
  margin: 0.45rem 0 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8.5vw, 8rem);
  line-height: 0.88;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero h1 {
  color: var(--charcoal);
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  min-height: 50px;
  padding: 0.84rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.085em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(181, 43, 50, 0.2);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-ghost {
  border-color: #aeb3b8;
  background: rgba(255, 255, 255, 0.75);
  color: var(--charcoal);
}

.button-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Allgemeine Inhaltsbereiche */
.section {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 6rem 5vw;
}

.section-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 7vw;
  align-items: start;
}

.section-heading h2,
.hours-section h2 {
  margin: 0.45rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.richtext {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.richtext h2,
.richtext h3,
.richtext h4 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
}

.richtext a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.richtext li + li {
  margin-top: 0.35rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 0;
}

.feature-card {
  min-height: 290px;
  padding: 2.7rem;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.feature-card:nth-child(2) {
  transform: translateY(18px);
}

.feature-number {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.feature-card h3 {
  margin: auto 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.feature-card p {
  color: var(--muted);
}

.feature-card a {
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}

.hours-section {
  width: 100%;
  max-width: none;
  margin-top: 4rem;
  padding-left: max(5vw, calc((100vw - 1240px) / 2 + 5vw));
  padding-right: max(5vw, calc((100vw - 1240px) / 2 + 5vw));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
  background: var(--charcoal);
  color: #fff;
}

.hours-section .eyebrow {
  color: #f08b90;
}

.hours-text {
  white-space: normal;
  color: #d9dde0;
  font-size: 1.18rem;
}

.location-card {
  padding: 3rem;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.location-card h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

/* Unterseiten */
.page-hero {
  min-height: 390px;
  padding: 5rem 5vw;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(35, 38, 42, 0.97), rgba(55, 59, 64, 0.94)),
    repeating-linear-gradient(135deg, #30343a 0 18px, #292d31 18px 36px);
  border-bottom: 6px solid var(--accent);
}

.page-hero .eyebrow {
  color: #f59aa0;
}

.compact-hero h1 {
  font-size: clamp(3.6rem, 7.5vw, 7rem);
}

.compact-hero > div {
  max-width: 900px;
}

.light-richtext {
  color: #e6e9eb;
}

.light-richtext h2,
.light-richtext h3 {
  color: #fff;
}

/* Getränkekarte */
.menu-section {
  max-width: 980px;
}

.menu-category {
  margin-bottom: 5rem;
}

.menu-category-title {
  margin-bottom: 2.3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.menu-category-title span {
  height: 1px;
  background: var(--line);
}

.menu-category-title h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 500;
  text-align: center;
}

.menu-list {
  display: grid;
  gap: 1.25rem;
}

.menu-item {
  padding: 0.35rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: end;
}

.menu-item h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 600;
}

.menu-item p {
  margin: 0.12rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.menu-dots {
  margin-bottom: 0.5rem;
  border-bottom: 2px dotted #c9cdd1;
}

.menu-item strong {
  color: var(--accent);
  font-size: 1.08rem;
}

.menu-note {
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

/* Kalender */
.events-section {
  max-width: 980px;
}

.event-list {
  display: grid;
  gap: 1.25rem;
}

.event-card {
  display: grid;
  grid-template-columns: 125px 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.event-date {
  padding: 1.4rem;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  border-left: 5px solid var(--accent);
}

.event-date span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 0.9;
}

.event-date strong {
  color: #f18e94;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.event-date small {
  color: #cdd1d4;
}

.event-info {
  padding: 2rem 2.4rem;
}

.event-info h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.event-meta {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.empty-state {
  padding: 3rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

/* Kontakt, Formulare und Login */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 5vw;
}

.contact-form,
.login-card {
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.45rem;
  color: #4d5257;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.065em;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid #cfd4d8;
  border-radius: 3px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(181, 43, 50, 0.11);
}

textarea {
  resize: vertical;
}

.form-row {
  margin-bottom: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form > label {
  margin-bottom: 1.2rem;
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.checkbox input {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.contact-details h2 {
  margin: 0.5rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 500;
}

.contact-details p {
  margin: 1.5rem 0;
}

.contact-details a {
  color: var(--accent);
}

.map-section {
  height: 460px;
  background: var(--surface-muted);
  filter: grayscale(0.15) contrast(0.98);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  height: 100%;
  padding: 2rem;
  display: grid;
  place-items: center;
  align-content: center;
  background:
    linear-gradient(rgba(38, 42, 46, 0.95), rgba(38, 42, 46, 0.95)),
    repeating-linear-gradient(135deg, #34393e 0 16px, #2d3135 16px 32px);
  color: #fff;
  text-align: center;
}

.map-placeholder .eyebrow {
  color: #f59aa0;
}

.map-placeholder h2 {
  margin: 0.4rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 500;
}

.map-placeholder p {
  max-width: 650px;
  color: #d9dde0;
}

.legal-page {
  max-width: 850px;
  min-height: 40vh;
}

.login-section {
  min-height: 65vh;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
}

.login-card {
  width: min(100%, 520px);
  display: grid;
  gap: 1.2rem;
}

.login-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 500;
}

.setup-note {
  color: var(--muted);
}

.setup-note a {
  color: var(--accent);
}

/* Systemmeldungen */
.alert {
  max-width: 1120px;
  margin: 1.2rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-success {
  background: #e6f4e9;
  border-color: #b9ddc0;
  color: #205a2d;
}

.alert-error {
  background: #f9e5e6;
  border-color: #edc0c3;
  color: #84262c;
}

.alert-warning {
  background: #fff4d9;
  border-color: #ead7a5;
  color: #705215;
}

/* Fußbereich */
.site-footer {
  padding: 3rem 5vw;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  background: #232629;
  border-top: 4px solid var(--accent);
  color: #d7dadd;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
}

.footer-links a {
  color: #d7dadd;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: #fff;
}

/* Tastaturbedienung */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(181, 43, 50, 0.35);
  outline-offset: 3px;
}

/* Tablet */
@media (max-width: 1000px) {
  .site-header {
    min-height: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    padding: 1.25rem 5vw 1.5rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(20, 25, 30, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 0.75rem 0;
  }

  .main-nav .login-link {
    width: auto;
    margin-top: 0.6rem;
    padding: 0.72rem 1rem;
  }

  .hero {
    min-height: calc(82vh - 76px);
  }

  .hero-overlay {
    right: -18vw;
    width: 65vw;
    opacity: 0.35;
  }

  .section-intro,
  .hours-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card:nth-child(2) {
    transform: none;
  }
}

/* Smartphone */
@media (max-width: 640px) {
  .site-header {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .hero {
    min-height: auto;
    padding: 7rem 8vw;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 5.1rem);
  }

  .hero-overlay {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 4.5rem 6vw;
  }

  .feature-card,
  .contact-form,
  .login-card,
  .location-card {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 90px 1fr;
  }

  .event-date {
    padding: 0.8rem;
  }

  .event-date span {
    font-size: 2.4rem;
  }

  .event-info {
    padding: 1.3rem;
  }

  .event-info h2 {
    font-size: 1.45rem;
  }

  .menu-item {
    grid-template-columns: 1fr auto;
  }

  .menu-dots {
    display: none;
  }

  .page-hero {
    min-height: 310px;
  }

  .compact-hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* Automatische Kalenderaktualisierung */
.calendar-auto-status {
  margin: 0 0 1.35rem;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.88rem;
}

.calendar-auto-dot {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 0.7rem;
  border-radius: 50%;
  background: #2d9f5b;
  box-shadow: 0 0 0 4px rgba(45, 159, 91, 0.13);
}

.event-description {
  white-space: pre-line;
}
