:root {
  --brand-red: #ff3b30;
  --crimson: #c93820;
  --brand-yellow: #f9c21c;
  --brand-yellow-light: #fdd566;
  --bordeaux: #734359;
  --bordeaux-dark: #5f364a;
  --ink: #2f3037;
  --muted: #70727a;
  --page: #fbfaf7;
  --surface: #ffffff;
  --surface-warm: #fffdf5;
  --border: rgba(47, 48, 55, 0.12);
  --shadow-soft: 0 10px 28px rgba(47, 48, 55, 0.08);
  --shadow-card: 0 16px 36px rgba(47, 48, 55, 0.13);
  --radius: 0.55rem;
  --transition: all 200ms ease;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0;
  color: var(--muted);
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(249, 194, 28, 0.08),
      transparent 28rem
    ),
    var(--page);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

main {
  flex-grow: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--ink);
}

.ml-auto {
  margin-left: auto;
}

.btn-awo {
  color: #fff;
  background: var(--brand-red);
}

header {
  position: relative;
  /* z-index: 5; */
  flex-shrink: 0;
  /* position: sticky; */
  /* top: 0;
  z-index: 999; */
}

#headerBar {
  padding: 0.42rem 0;
  color: #fafafa;
  background: #2f3037;
  font-size: 0.92rem;
}

#headerBar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#headerBar a {
  display: block;
  color: #fafafa;
  transition: var(--transition);
}

#headerBar a:hover,
#headerBar a:focus {
  color: var(--brand-yellow-light);
}

#headerBar .header-bar-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

#navigation {
  /* background: linear-gradient(135deg, #c93820, var(--brand-yellow-light)); */
  /* background: linear-gradient(
    135deg,
    var(--brand-yellow),
    var(--brand-yellow-light)
  ); */
  /* background: var(--brand-yellow); */
  background: #fff;
  border-bottom: 1px solid rgba(47, 48, 55, 0.08);
  box-shadow: 0 8px 22px rgba(201, 56, 32, 0.3);
}

#navigation .navbar {
  padding: 0.8rem 0;
}

#navigation .navbar-brand {
  display: inline-flex;
  align-items: center;
}

#navigation .navbar-brand img {
  display: block;
  width: auto;
  max-height: 64px;
}

#navigation .navbar-nav {
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

#navigation .nav-link {
  color: var(--ink);
  font-weight: 800;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  transition: var(--transition);
}

#navigation .nav-link:hover,
#navigation .nav-link:focus {
  color: var(--brand-red);
  background: rgba(255, 255, 255, 0.48);
}

#navigation .nav-link.active {
  color: #fff;
  background: var(--brand-red);
  box-shadow: 0 7px 18px rgba(115, 67, 89, 0.28);
}

#navigation .navbar-toggler {
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(47, 48, 55, 0.16);
  border-radius: 999px;
}

#navigation .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(115, 67, 89, 0.18);
}

header .shape {
  position: absolute;
  display: none;
  top: 100%;
  z-index: -1;
  width: 100%;
  height: 100px;
  /* background: var(--brand-red); */
  /* background: linear-gradient(135deg, #c93820, var(--brand-yellow-light)); */
}

header .shape .shape-cut {
  width: 100%;
  display: none;
  padding-bottom: 100px;
  background: var(--page);
  clip-path: ellipse(100% 100% at 100% 100%);
}

header.aida-form-wrapper {
  z-index: 9999;
}

header.aida-form-wrapper .shape .shape-cut {
  background: #fff;
}

/* Allgemeine Karten */
.card {
  overflow: hidden;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(47, 48, 55, 0.04);
  transition: var(--transition);
}

.card:hover,
.card:focus-within {
  color: inherit;
  transform: translateY(-3px);
  border-color: rgba(115, 67, 89, 0.26);
  box-shadow: var(--shadow-card);
}

.card-title,
.card h4,
.card h5 {
  color: var(--ink);
  font-weight: 800;
}

.card-text,
.card p {
  line-height: 1.62;
}

/* Startseite */
.claim,
.leisure-intro .container,
.about-intro .container,
.about-action {
  position: relative;
  isolation: isolate;
  /* margin-top: 3.5rem; */
  margin-bottom: 1.5rem;
  padding: 1.45rem 2.5rem;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.claim::before,
.leisure-intro .container::before,
.about-intro .container::before,
.about-action::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--bs-gutter-x) * 0.5);
  z-index: -1;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.claim h1,
.leisure-intro h1,
.about-intro h1 {
  margin-bottom: 0.45rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.claim h4 {
  margin-bottom: 0.7rem;
  font-weight: 800;
}

.claim p,
.leisure-intro p,
.about-intro p,
.about-action > p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.7;
}

a.content-link {
  color: var(--brand-red);
  transition: var(--transition);
}
a.content-link:hover {
  color: var(--brand-red);
  text-decoration: underline;
}

#teaser .card {
  height: 100%;
  text-align: center;
}

#teaser .card-img-top {
  height: 170px;
  object-fit: cover;
}

#teaser .card-body {
  padding: 1.25rem 1.2rem 1.35rem;
}

#teaser .card-title {
  margin-bottom: 0.55rem;
}

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 3.5rem;
  box-shadow: var(--shadow-soft);
}

.highlight-header {
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.25px;
  background: #2f3037;
  padding: 1.15rem 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.highlight-header span {
  margin: 0 0.35rem;
  font-weight: 700;
  opacity: 0.78;
}

.highlight-image {
  position: relative;
  height: 285px;
  overflow: hidden;
}

.highlight-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Freizeiten-Übersicht */
.leisure-intro-card {
  /* margin-top: 3.5rem; */
  margin-bottom: 1rem;
}

.leisure-intro-card .container {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  text-align: left;
  margin-top: 0;
}

.leisure-intro-card .container::before {
  display: none;
  content: none;
}

.leisure-intro-card-inner {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.leisure-intro-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.45rem 1.5rem;
  text-align: center;
  background: #2f3037;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.leisure-intro-card-head h1 {
  margin: 0;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.leisure-intro-subline {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  line-height: 1.25;
  text-align: center;
}

.leisure-intro-subline strong {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 850;
}

.leisure-intro-subline span {
  color: rgba(255, 255, 255, 0.84);
}

.leisure-intro-card-body {
  padding: 1.5rem;
  text-align: center;
}

.leisure-intro-card-body p {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

.leisure-wrapper {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .leisure-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.leisure-wrapper .leisure {
  min-height: 100%;
}

.leisure-wrapper .leisure-date {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  line-height: 1;
  /* color: var(--ink); */
  color: #fff;
  background: linear-gradient(135deg, var(--crimson), var(--brand-red));
  border-bottom: 1px solid rgba(47, 48, 55, 0.08);
}

.leisure-wrapper .leisure-date .leisure-date-icon {
  font-size: 2rem;
}

.leisure-wrapper .leisure-date .year {
  font-size: 2rem;
  font-weight: 900;
}

.leisure-wrapper .card-body {
  padding: 1.15rem;
}

.leisure-wrapper .leisure-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.leisure-wrapper .leisure-foot p {
  margin: 0;
}

.leisure-wrapper .leisure-foot .leisure-foot-item {
  width: 50%;
}

.leisure-wrapper .leisure-foot .lowlight {
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.leisure-wrapper .leisure-foot .highlight {
  color: var(--ink);
}

/* Einzelne Freizeit-Seiten */
.leisure-detail-layout {
  /* margin-top: 3.5rem; */
  margin-bottom: 1.5rem;
}

.leisure-detail-layout > .col-lg-8 {
  position: relative;
  isolation: isolate;
  padding: 2rem;
}

.leisure-detail-layout > .col-lg-8::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--bs-gutter-x) * 0.5);
  z-index: -1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.side-content.link:hover {
  background: #722f37;
}

.leisure-detail-title {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(47, 48, 55, 0.1);
}

.leisure-detail-title h1 {
  margin-bottom: 0.5rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.leisure-detail-title p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.leisure-detail-layout > .col-lg-8 > p {
  margin-bottom: 1.25rem;
  line-height: 1.82;
}

.leisure-detail-layout > .col-lg-8 small {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.leisure-detail-layout > .col-lg-4 h4 {
  margin-bottom: 1.25rem;
  font-weight: 900;
}

.side-content {
  padding: 2rem;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
}

.side-content.link {
  display: block;
  background: #ff2c2c;
  transition: var(--transition);
}
.side-content.link h4 {
  color: #fff;
  line-height: 1;
  margin: 0;
}

.data-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.data-wrap .icon {
  color: var(--brand-yellow);
}

.leisure-detail-layout .data-wrap {
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(47, 48, 55, 0.08);
}

.leisure-detail-layout .data-wrap:last-child {
  border-bottom: 0;
}

.leisure-detail-layout .data-wrap .icon {
  width: 1.4rem;
  flex: 0 0 1.4rem;
  color: var(--brand-yellow);
  line-height: 1.4;
}

.leisure-detail-layout .data-wrap .data {
  color: var(--muted);
  line-height: 1.55;
}

.order-area .container .content-wrapper {
  padding: 3rem;
  color: #fff;
  text-align: center;
  background: #2f3037;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.order-area .container .content-wrapper h2 {
  color: #fff;
  font-weight: 900;
}

.order-area .container .content-wrapper a {
  display: inline-block;
  padding: 0.58rem 1.05rem;
  color: var(--brand-yellow-light);
  border: 1px solid var(--brand-yellow-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.order-area .container .content-wrapper a:hover,
.order-area .container .content-wrapper a:focus,
.order-area .container .content-wrapper a:active {
  color: var(--brand-red);
  background: var(--brand-yellow-light);
}

/* Über Uns */
/* .about-intro {
  margin-top: 3.5rem;
} */

.about-action h2 {
  /* margin-bottom: 0.75rem; */
  font-weight: 900;
  letter-spacing: -0.025em;
}

.about-action > p {
  margin-bottom: 1.5rem;
}

.about-action .row {
  gap: 1rem;
}

/* .about-action .col {
  padding: 0;
} */

.about-action .form {
  height: 100%;
  background: linear-gradient(135deg, #fff8dc, #ffffff);
}

.about-action .card-body {
  padding: 1.35rem;
}

.about-action .card-title {
  margin-bottom: 0.5rem;
}

.about-action .card-text {
  margin-bottom: 0;
}

/* Footer */
footer {
  position: relative;
  flex-shrink: 0;
  padding: 1rem 0;
  background: linear-gradient(135deg, var(--crimson), var(--brand-red));
  /* background: var(--brand-yellow); */
  box-shadow: 0 -6px 18px rgba(47, 48, 55, 0.1);
}

footer.aida-form-footer {
  z-index: 9999;
  box-shadow: none;
  margin-top: -15px;
}

footer .footer-shape {
  position: absolute;
  display: none;
  bottom: 100%;
  z-index: -1;
  width: 100%;
  height: 100px;
  background: var(--brand-red);
  /* background: linear-gradient(135deg, var(--brand-yellow-light), #c93820); */
  /* background: #c93820; */
}

footer .footer-shape .footer-shape-cut {
  width: 100%;
  display: none;
  padding-bottom: 100px;
  background: var(--page);
  clip-path: ellipse(100% 100% at 0% 0%);
}

footer.aida-form-footer .footer-shape .footer-shape-cut {
  background: #fff;
}

footer img {
  width: auto;
  max-height: 74px;
}

footer .nav-link {
  color: #fff;
  font-weight: 500;
  transition: var(--transition);
}

footer .nav-link:hover,
footer .nav-link:focus {
  /* color: var(--brand-yellow); */
  color: var(--ink);
}

/* Mobile */
@media (max-width: 991.98px) {
  footer .footer-shape .footer-shape-cut,
  header .shape .shape-cut {
    padding-bottom: 50px;
  }
  header .shape,
  footer .footer-shape {
    height: 50px;
  }

  #navigation .navbar-nav {
    align-items: stretch;
    gap: 0.45rem;
    padding-top: 0.75rem;
  }

  #navigation .nav-link {
    text-align: center;
    background: rgba(255, 255, 255, 0.32);
  }

  #navigation .nav-link.active {
    background: var(--brand-red);
  }

  .leisure-detail-layout {
    margin-top: 2rem;
  }

  .leisure-detail-layout > .col-lg-8,
  .leisure-detail-layout > .col-lg-4 {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  body {
    gap: 1.5rem;
  }

  #teaser .row {
    row-gap: 1.5rem;
  }

  #headerBar .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ml-auto {
    margin-left: 0;
  }

  .claim,
  .leisure-intro .container,
  .about-intro .container,
  .about-action {
    margin-top: 1.5rem;
    /* padding: 1.35rem; */
  }

  .leisure-wrapper {
    grid-template-columns: 1fr;
  }

  /* .leisure-intro-card {
    margin-top: 2rem;
  } */

  .leisure-intro-card-head {
    gap: 0.75rem;
    padding: 1.25rem;
  }

  .leisure-intro-card-head h1 {
    font-size: 1.9rem;
  }

  .leisure-intro-subline strong {
    font-size: 1.15rem;
  }

  .leisure-intro-card-body {
    padding: 1.25rem;
    text-align: left;
  }

  .highlight-header {
    font-size: 1rem;
    padding: 1rem 1.1rem;
  }

  .highlight-image {
    height: 220px;
  }

  .about-action .row {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .leisure-detail-title h1 {
    font-size: 1.8rem;
  }

  .leisure-detail-layout > .col-lg-8,
  .leisure-detail-layout > .col-lg-4 {
    padding: 1.25rem;
  }

  .order-area .container .content-wrapper {
    padding: 2rem 1.25rem;
  }

  .order-area .container .content-wrapper p br {
    display: none;
  }

  footer .d-flex {
    gap: 1rem;
  }
}
