:root {
  --inner-ivory: #f7f2e9;
  --inner-paper: #fbf7ef;
  --inner-ink: #30342f;
  --inner-muted: #72736c;
  --inner-olive: #6f745d;
  --inner-olive-dark: #5b604d;
  --inner-gold: #b49a63;
  --inner-line: rgba(151,129,88,.27);
  --inner-serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
}

body.inner-page {
  background:
    radial-gradient(circle at 48% 0%, rgba(255,255,255,.72), transparent 30%),
    linear-gradient(180deg, #faf6ef 0%, var(--inner-ivory) 100%);
  color: var(--inner-ink);
  font-family: var(--inner-serif);
}

body.inner-page::before,
body.inner-page::after {
  display: none;
}

.inner-page .site-header {
  min-height: 80px;
  padding: 0 clamp(28px, 6vw, 76px);
  background: rgba(250,247,240,.95);
  border-bottom: 1px solid rgba(80,78,69,.12);
  box-shadow: 0 2px 14px rgba(67,59,47,.035);
}

.inner-page .logo {
  min-width: 150px;
  font-family: var(--inner-serif);
  font-size: 1.65rem;
  font-style: italic;
  letter-spacing: .01em;
  color: var(--inner-ink);
}

.inner-page .main-navigation {
  flex: 1;
  justify-content: center;
  gap: clamp(24px, 3vw, 45px);
}

.inner-page .main-navigation a {
  padding: 29px 0 25px;
  font-family: var(--inner-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #4d4f48;
}

.inner-page .main-navigation a::after {
  bottom: 17px;
  background: #676b5d;
}

.inner-page main:not(.legal-page) {
  position: relative;
  overflow: hidden;
}

.inner-page main:not(.legal-page)::before,
.inner-page main:not(.legal-page)::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: url('/images/Home_leaves.png') no-repeat;
  background-size: contain;
  opacity: .32;
  mix-blend-mode: multiply;
}

.inner-page main:not(.legal-page)::before {
  top: -36px;
  left: -46px;
  width: 190px;
  height: 330px;
}

.inner-page main:not(.legal-page)::after {
  right: -80px;
  bottom: -120px;
  width: 250px;
  height: 300px;
  transform: rotate(188deg) scaleX(-1);
}

.inner-page main > * {
  position: relative;
  z-index: 1;
}

.inner-page .eyebrow,
.inner-page .registration-kicker,
.inner-page .location-card-number,
.inner-page .info-number,
.inner-page .registration-number,
.inner-page .timeline-audience,
.inner-page .timeline-date {
  color: var(--inner-olive);
}

.inner-page .eyebrow {
  font-family: var(--inner-serif);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.inner-page h1,
.inner-page h2,
.inner-page h3 {
  font-family: var(--inner-serif);
  color: var(--inner-ink);
  font-weight: 400;
}

.inner-page p {
  color: var(--inner-muted);
}

.inner-page .home-hero,
.inner-page .timeline-hero,
.inner-page .registration-hero,
.inner-page .info-heading {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  text-align: center;
}

.inner-page .home-hero {
  min-height: calc(100vh - 80px - 90px);
  justify-content: center;
}

.inner-page .timeline-hero,
.inner-page .registration-hero,
.inner-page .info-heading {
  padding-top: 76px;
  padding-bottom: 48px;
}

.inner-page .timeline-hero h1,
.inner-page .registration-hero h1,
.inner-page .info-heading h1,
.inner-page .location-hero h1 {
  margin-top: 0;
  font-size: clamp(3.6rem, 8vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.045em;
}

.inner-page .timeline-hero h1::after,
.inner-page .registration-hero h1::after,
.inner-page .info-heading h1::after {
  content: "♥";
  display: block;
  width: 240px;
  max-width: 70%;
  margin: 28px auto 0;
  padding: 0 18px;
  color: var(--inner-gold);
  font-size: .78rem;
  line-height: 1px;
  letter-spacing: 0;
  background:
    linear-gradient(var(--inner-gold),var(--inner-gold)) left center / 42% 1px no-repeat,
    linear-gradient(var(--inner-gold),var(--inner-gold)) right center / 42% 1px no-repeat;
}

.inner-page .timeline-intro,
.inner-page .registration-hero > p:last-child,
.inner-page .info-heading .home-intro {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
  line-height: 1.7;
}

.inner-page .info-page,
.inner-page .timeline-page,
.inner-page .registration-page,
.inner-page .location-page {
  padding-bottom: 80px;
}

.inner-page .info-list,
.inner-page .timeline-section,
.inner-page .registration-card,
.inner-page .location-details,
.inner-page .location-intro,
.inner-page .location-feature {
  width: min(100% - 48px, 1050px);
  margin-left: auto;
  margin-right: auto;
}

.inner-page .info-list {
  display: grid;
  gap: 20px;
}

.inner-page .info-card,
.inner-page .registration-card,
.inner-page .timeline-section,
.inner-page .location-card {
  border: 1px solid var(--inner-line);
  border-radius: 10px;
  background: rgba(251,247,239,.72);
  box-shadow: 0 18px 48px rgba(72,63,50,.055);
}

.inner-page .info-card {
  padding: 30px 34px;
}

.inner-page .info-card h2,
.inner-page .registration-card h2,
.inner-page .timeline-section h2,
.inner-page .location-card h2 {
  font-size: 1.75rem;
}

.inner-page .info-number,
.inner-page .registration-number,
.inner-page .location-card-number {
  font-family: var(--inner-serif);
  letter-spacing: .12em;
}

.inner-page .registration-card {
  max-width: 760px;
  padding: 38px 42px 42px;
}

.inner-page .registration-form label,
.inner-page .registration-form input,
.inner-page .registration-form button {
  font-family: var(--inner-serif);
}

.inner-page .registration-form input,
.inner-page .registration-form textarea,
.inner-page .registration-form select {
  border: 1px solid rgba(111,116,93,.28);
  border-radius: 7px;
  background: rgba(255,255,255,.65);
}

.inner-page .registration-form input:focus,
.inner-page .registration-form textarea:focus,
.inner-page .registration-form select:focus {
  border-color: var(--inner-olive);
  box-shadow: 0 0 0 3px rgba(111,116,93,.09);
}

.inner-page #registration-submit,
.inner-page .location-button,
.inner-page .secondary-button,
.inner-page .admin-login-form button,
.inner-page .admin-table button {
  border-radius: 999px;
  border: 1px solid var(--inner-olive);
  background: transparent;
  color: var(--inner-ink);
  font-family: var(--inner-serif);
  font-weight: 400;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.inner-page #registration-submit:hover,
.inner-page .location-button:hover,
.inner-page .secondary-button:hover,
.inner-page .admin-login-form button:hover,
.inner-page .admin-table button:hover {
  background: var(--inner-olive);
  color: white;
  transform: translateY(-1px);
}

.inner-page .timeline-section {
  padding: 38px 40px 44px;
}

.inner-page .timeline-list {
  --timeline-accent: var(--inner-olive);
}

.inner-page .timeline-list::before,
.inner-page .timeline-item::before {
  background: var(--inner-gold);
}

.inner-page .timeline-date,
.inner-page .timeline-audience {
  border-color: var(--inner-line);
  background: rgba(251,247,239,.58);
}

.inner-page .location-hero {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding-top: 68px;
  padding-bottom: 58px;
}

.inner-page .location-hero-copy {
  align-self: center;
}

.inner-page .location-lead,
.inner-page .location-intro-text p,
.inner-page .location-card p {
  line-height: 1.7;
}

.inner-page .location-hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(65,57,45,.12);
}

.inner-page .location-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-page .location-intro {
  border-top: 1px solid var(--inner-line);
  border-bottom: 1px solid var(--inner-line);
}

.inner-page .location-details {
  gap: 20px;
}

.inner-page .location-card {
  padding: 30px;
}

.inner-page .location-text-link {
  color: var(--inner-olive-dark);
}

.inner-page .site-footer {
  min-height: 86px;
  padding: 30px clamp(30px,6vw,80px);
  text-align: right;
  background: #eee7db;
  border-top: 1px solid rgba(122,108,83,.1);
  font-family: var(--inner-serif);
  font-size: .88rem;
}

.inner-page .site-footer::before {
  display: none;
}

.inner-page .site-footer a,
.inner-page .site-footer .footer-logout {
  color: #4c4e48;
  opacity: 1;
}

/* Impressum */
body.inner-page.legal-design {
  background: var(--inner-ivory);
}

.legal-design .legal-page {
  position: relative;
  width: min(100% - 44px, 820px);
  padding: 70px 0 68px;
}

.legal-design .legal-page::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -180px;
  width: 220px;
  height: 360px;
  background: url('/images/Home_leaves.png') left top / contain no-repeat;
  opacity: .28;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.legal-design .legal-page h1 {
  font-size: clamp(3.3rem,7vw,5.7rem);
  letter-spacing: -.04em;
}

.legal-design .legal-page h2 {
  padding-top: 10px;
  border-top: 1px solid var(--inner-line);
}

.legal-design .legal-page p {
  color: var(--inner-muted);
}

.legal-design .legal-page a {
  color: var(--inner-olive-dark);
}

.legal-design .legal-back {
  font-family: var(--inner-serif);
  letter-spacing: .08em;
  color: var(--inner-olive-dark);
}

/* Admin */
.inner-page.admin-design .admin-page {
  position: relative;
  min-height: 100vh;
  padding-top: 70px;
  padding-bottom: 70px;
}

.inner-page.admin-design .admin-login-card,
.inner-page.admin-design #admin-dashboard {
  border: 1px solid var(--inner-line);
  border-radius: 10px;
  background: rgba(251,247,239,.78);
  box-shadow: 0 18px 48px rgba(72,63,50,.06);
}

.inner-page.admin-design .admin-login-card h1,
.inner-page.admin-design .admin-header h1 {
  font-family: var(--inner-serif);
  color: var(--inner-ink);
}

.inner-page.admin-design .admin-table-wrap {
  border-color: var(--inner-line);
}

@media (max-width: 760px) {
  .inner-page .site-header {
    padding: 12px 18px;
  }

  .inner-page .logo {
    min-width: 0;
    font-size: 1.35rem;
  }

  .inner-page .main-navigation {
    justify-content: flex-start;
    gap: 0;
  }

  .inner-page .main-navigation a {
    padding: 14px 2px;
    font-size: .92rem;
  }

  .inner-page main:not(.legal-page)::before {
    width: 125px;
    height: 250px;
    opacity: .24;
  }

  .inner-page main:not(.legal-page)::after {
    width: 170px;
    height: 220px;
    opacity: .24;
  }

  .inner-page .timeline-hero,
  .inner-page .registration-hero,
  .inner-page .info-heading {
    padding-top: 56px;
    padding-bottom: 34px;
  }

  .inner-page .info-list,
  .inner-page .timeline-section,
  .inner-page .registration-card,
  .inner-page .location-details,
  .inner-page .location-intro,
  .inner-page .location-feature,
  .inner-page .location-hero {
    width: min(100% - 32px, 1050px);
  }

  .inner-page .registration-card,
  .inner-page .timeline-section {
    padding: 28px 22px 32px;
  }

  .inner-page .info-card {
    padding: 25px 22px;
  }

  .inner-page .site-footer {
    min-height: auto;
    padding: 24px 22px;
    text-align: center;
  }

  .legal-design .legal-page {
    width: min(100% - 32px, 820px);
    padding-top: 52px;
  }
}
