:root {
  --paper: #fef7f2;
  --paper-deep: #dfd9d2;
  --ink: #2d1d1a;
  --blue: #062877;
  --red: #9b2544;
  --red-soft: #bb2a35;
  --green: #559b92;
  --green-deep: #286863;
  --green-pale: #edffdd;
  --gold: #f5a623;
  --clay: #e75021;
  --shadow: rgba(67, 52, 48, 0.15);
  --max: 1160px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  background:
    radial-gradient(circle at 15% 8%, rgba(245, 166, 35, 0.09), transparent 26rem),
    radial-gradient(circle at 85% 25%, rgba(85, 155, 146, 0.08), transparent 25rem),
    linear-gradient(135deg, rgba(223, 217, 210, 0.22) 0 1px, transparent 1px 9px),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.43;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(67, 52, 48, 0.04) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 45%, rgba(67, 52, 48, 0.035) 0 1px, transparent 1px);
  background-size: 22px 22px, 31px 31px;
  mix-blend-mode: multiply;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(155, 37, 68, 0.45);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  isolation: isolate;
  background: rgba(254, 247, 242, 0.96);
  border-bottom: 1px solid rgba(155, 37, 68, 0.16);
  box-shadow: 0 5px 20px rgba(67, 52, 48, 0.045);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 28px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-nav__brand img {
  width: 154px;
  max-height: 58px;
  object-fit: contain;
}

.site-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: clamp(18px, 2.8vw, 38px);
}

.site-nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--green-deep);
  padding: 9px;
  cursor: pointer;
}

.site-nav__toggle span {
  display: block;
  width: 27px;
  height: 3px;
  margin: 5px 0;
  border-radius: 3px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav__links a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 7px 0 5px;
  color: var(--green-deep);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--gold);
}

#start,
#angebot,
#ueber-mich,
#aktuelles,
#kontakt {
  scroll-margin-top: 88px;
}

main,
footer {
  position: relative;
  z-index: 1;
}

section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 88vh;
  padding: 70px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.logo {
  width: min(390px, 82vw);
  margin: 0 0 38px;
}

.intro {
  margin: 0;
  max-width: 620px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.12rem, 1.9vw, 1.78rem);
  line-height: 1.48;
  color: var(--red);
  letter-spacing: -0.025em;
}

.frame {
  position: relative;
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(254, 247, 242, 0.72);
  box-shadow: 0 22px 55px var(--shadow);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: calc(var(--radius) + 12px);
  transform: rotate(-1.4deg);
  opacity: 0.7;
}

.frame--warm::before {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.7), rgba(231, 80, 33, 0.22));
}

.frame--green::before {
  background: linear-gradient(135deg, rgba(189, 232, 206, 0.9), rgba(85, 155, 146, 0.28));
}

.frame img {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius) - 8px);
  object-fit: cover;
}

.hero__image {
  height: min(650px, 72vh);
  min-height: 450px;
}

.offer {
  padding: 54px 0 84px;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  line-height: 1.16;
  margin: 0;
}

.offer > h1,
.about h1 {
  color: var(--blue);
  font-size: clamp(1.95rem, 3.8vw, 3.6rem);
  letter-spacing: 0.015em;
}

.offer > h1 {
  text-align: center;
  margin-bottom: 34px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(85, 155, 146, 0.38);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(237, 255, 221, 0.24)),
    rgba(254, 247, 242, 0.68);
  box-shadow: 0 15px 38px rgba(67, 52, 48, 0.08);
}

.card h2 {
  color: var(--red);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  margin-bottom: 10px;
}

.card__subtitle {
  color: var(--green-deep);
  font-size: 1.16rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.card p:last-child {
  margin-bottom: 0;
}

.dates {
  width: min(100%, 860px);
  margin: 68px auto 0;
}

.dates h2 {
  color: var(--green-deep);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  margin-bottom: 22px;
}

.dates__table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(85, 155, 146, 0.34);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 12px 30px rgba(67, 52, 48, 0.06);
}

.dates__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  line-height: 1.45;
}

.dates__table tr + tr {
  border-top: 1px solid rgba(85, 155, 146, 0.18);
}

.dates__table tr:nth-child(even) {
  background: rgba(189, 232, 206, 0.16);
}

.dates__table th,
.dates__table td {
  padding: 12px 18px;
  vertical-align: top;
}

.dates__table th {
  width: 112px;
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}

.dates__note,
.dates__signup {
  margin: 22px 0 0;
}

.dates__signup {
  color: var(--green-deep);
  font-weight: 700;
}

.about {
  padding: 48px 0 96px;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.about__image {
  position: sticky;
  top: 28px;
}

.about__image img {
  aspect-ratio: 4 / 5;
}

.about h1 {
  margin-bottom: 28px;
}

.about__text p {
  margin: 0 0 1.05em;
}

.about__text p:first-of-type,
.about__text p:nth-of-type(2) {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--red);
  font-size: clamp(1.26rem, 2vw, 1.62rem);
  line-height: 1.45;
}

footer {
  border-top: 1px solid rgba(155, 37, 68, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(223, 217, 210, 0.4)),
    rgba(254, 247, 242, 0.75);
}

.footer__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 44px 0 50px;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr auto auto;
  gap: 18px 28px;
  align-items: end;
}

.footer__inner h2 {
  color: var(--blue);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.footer__inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero__image {
    height: auto;
    min-height: 0;
  }

  .hero__image img {
    aspect-ratio: 16 / 11;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .about__image {
    position: relative;
    top: auto;
    max-width: 520px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (max-width: 480px) {
  .site-nav {
    min-height: 64px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
  }

  .site-nav__brand img {
    width: 112px;
    max-height: 46px;
  }

  .site-nav__toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav__links {
    display: none;
    position: static;
    transform: none;
    flex: 0 0 100%;
    width: 100%;
    padding: 8px 0 16px;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .site-nav--open .site-nav__links {
    display: flex;
  }

  .site-nav__links a {
    display: block;
    padding: 8px 4px;
    font-size: 1.05rem;
  }

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

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

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

@media (max-width: 620px) {
  .site-nav {
    width: min(calc(100% - 28px), var(--max));
    min-height: 60px;
    gap: 16px;
  }

  .site-nav__brand img {
    width: 112px;
    max-height: 44px;
  }

  .site-nav__links {
    gap: 14px;
  }

  .site-nav__links a {
    font-size: 0.98rem;
  }

  #start,
  #angebot,
  #ueber-mich,
  #kontakt {
    scroll-margin-top: 72px;
  }

  body {
    font-size: 17px;
  }

  section {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    padding-top: 30px;
  }

  .logo {
    margin-bottom: 26px;
  }

  .intro {
    font-size: clamp(1.06rem, 5.2vw, 1.38rem);
    line-height: 1.55;
  }

  .offer,
  .about {
    padding-top: 34px;
    padding-bottom: 58px;
  }

  .dates {
    margin-top: 48px;
  }

  .dates__table th,
  .dates__table td {
    padding: 10px 12px;
  }

  .dates__table th {
    width: 78px;
  }

  .dates__note,
  .dates__signup {
    margin-top: 18px;
  }

  .card {
    border-radius: 22px;
  }

  .footer__inner {
    width: min(calc(100% - 28px), var(--max));
    grid-template-columns: 1fr;
    padding: 34px 0 38px;
  }
}


/* Aktuelles */
.current {
  padding: 54px 0 84px;
}

.current > h1 {
  color: var(--blue);
  font-size: clamp(1.95rem, 3.8vw, 3.6rem);
  letter-spacing: 0.015em;
  text-align: center;
  margin-bottom: 34px;
}

.event-highlight {
  width: min(100%, 860px);
  margin: 0 auto 54px;
  padding: clamp(24px, 4vw, 38px);
  border: 2px solid rgba(245, 166, 35, 0.75);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(245, 166, 35, 0.16), rgba(231, 80, 33, 0.07) 55%, rgba(237, 255, 221, 0.45)),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 38px rgba(67, 52, 48, 0.1);
}

.event-highlight__date {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 1.15rem;
  font-weight: 700;
}

.event-highlight h2 {
  color: var(--blue);
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  margin-bottom: 14px;
}

.event-highlight p {
  margin-top: 0;
}

.event-highlight__link {
  margin-bottom: 0;
  font-weight: 700;
}

.current .dates {
  margin-top: 0;
}

@media (max-width: 620px) {
  .current {
    padding-top: 34px;
    padding-bottom: 58px;
  }

  .event-highlight {
    margin-bottom: 42px;
    border-radius: 20px;
  }
}
