/*
 * Leo der Löwe – Gestaltung für Cassiopeia Extended
 * Version 1.0.0
 * Datei: media/templates/site/cassiopeia_extended/css/user.css
 */

:root {
  --leo-primary: #168c95;
  --leo-primary-dark: #0f6870;
  --leo-accent: #d6a62e;
  --leo-accent-dark: #ad811b;
  --leo-brown: #3e2b22;
  --leo-sand: #f3e8d1;
  --leo-cream: #fffdf8;
  --leo-white: #ffffff;
  --leo-text: #2f2925;
  --leo-muted: #6f665f;
  --leo-border: rgba(62, 43, 34, 0.14);
  --leo-shadow: 0 0.75rem 2rem rgba(62, 43, 34, 0.10);
  --leo-radius: 1.1rem;
  --leo-radius-small: 0.7rem;
  --leo-content-width: 1240px;
}

/* Grundlayout */
html {
  scroll-behavior: smooth;
}

body {
  color: var(--leo-text);
  background: var(--leo-cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

.container-header .container-nav,
.container-header .container-below-top,
.site-grid,
.grid-child,
.container-footer .grid-child {
  max-width: var(--leo-content-width);
  margin-inline: auto;
}

/* Kopfbereich */
.container-header {
  color: var(--leo-white);
  background: linear-gradient(135deg, var(--leo-primary-dark), var(--leo-primary));
  box-shadow: 0 0.35rem 1.3rem rgba(22, 140, 149, 0.18);
}

.container-header .navbar-brand,
.container-header .site-description {
  color: var(--leo-white);
}

.container-header .navbar-brand {
  font-weight: 800;
  letter-spacing: 0.015em;
}

.container-header .site-description {
  opacity: 0.9;
}

/* Navigation */
.container-header .mod-menu {
  gap: 0.25rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: var(--leo-white);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 650;
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: var(--leo-brown);
  background: var(--leo-accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.metismenu.mod-menu .metismenu-item > ul {
  border: 1px solid var(--leo-border);
  border-radius: var(--leo-radius-small);
  box-shadow: var(--leo-shadow);
  overflow: hidden;
}

.metismenu.mod-menu .metismenu-item > ul a {
  color: var(--leo-text);
  background: var(--leo-white);
}

.metismenu.mod-menu .metismenu-item > ul a:hover,
.metismenu.mod-menu .metismenu-item > ul a:focus {
  color: var(--leo-primary-dark);
  background: var(--leo-sand);
}

/* Überschriften */
h1, h2, h3, h4, h5, h6,
.page-header,
.item-title {
  color: var(--leo-brown);
  font-weight: 800;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

a {
  color: var(--leo-primary-dark);
  text-underline-offset: 0.16em;
}

a:hover,
a:focus {
  color: var(--leo-accent-dark);
}

/* Schaltflächen */
.btn,
button,
input[type="submit"],
input[type="button"] {
  border-radius: 999px;
  font-weight: 750;
  padding: 0.7rem 1.15rem;
}

.btn-primary {
  color: var(--leo-white);
  background: var(--leo-primary);
  border-color: var(--leo-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  color: var(--leo-white);
  background: var(--leo-primary-dark);
  border-color: var(--leo-primary-dark);
}

.btn-secondary,
.btn-warning {
  color: var(--leo-brown);
  background: var(--leo-accent);
  border-color: var(--leo-accent);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-warning:hover,
.btn-warning:focus {
  color: var(--leo-white);
  background: var(--leo-accent-dark);
  border-color: var(--leo-accent-dark);
}

/* Beiträge, Karten und Module */
.card,
.blog-items .blog-item,
.com-content-article,
.sidebar-right .moduletable,
.sidebar-left .moduletable,
.moduletable.leo-card {
  background: var(--leo-white);
  border: 1px solid var(--leo-border);
  border-radius: var(--leo-radius);
  box-shadow: var(--leo-shadow);
}

.com-content-article {
  padding: clamp(1.25rem, 3vw, 2.4rem);
}

.blog-items .blog-item {
  overflow: hidden;
  padding: 1.25rem;
}

.blog-items .blog-item img,
.card img,
.com-content-article img {
  border-radius: calc(var(--leo-radius) - 0.25rem);
}

.article-info {
  color: var(--leo-muted);
}

/* Hero-Modul: dem Modul die CSS-Klasse "leo-hero" geben */
.leo-hero {
  position: relative;
  overflow: hidden;
  min-height: min(72vh, 760px);
  display: grid;
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
  color: var(--leo-white);
  border-radius: 0 0 2rem 2rem;
  background:
    linear-gradient(90deg, rgba(35, 24, 19, 0.78), rgba(35, 24, 19, 0.18)),
    var(--leo-primary);
  background-position: center;
  background-size: cover;
}

.leo-hero h1,
.leo-hero h2,
.leo-hero h3,
.leo-hero p {
  color: var(--leo-white);
}

.leo-hero .leo-hero-content {
  max-width: 720px;
}

.leo-hero .leo-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  color: var(--leo-brown);
  background: var(--leo-accent);
  border-radius: 999px;
  font-weight: 800;
}

.leo-hero .btn + .btn {
  margin-left: 0.55rem;
}

/* Inhaltsabschnitte */
.leo-section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.leo-section--sand {
  background: var(--leo-sand);
}

.leo-section--white {
  background: var(--leo-white);
}

.leo-section-title {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 2rem;
  text-align: center;
}

.leo-section-title p {
  color: var(--leo-muted);
}

/* Figurenkarten */
.leo-figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
}

.leo-figure-card {
  height: 100%;
  padding: 1rem;
  text-align: center;
  background: var(--leo-white);
  border: 1px solid var(--leo-border);
  border-radius: var(--leo-radius);
  box-shadow: var(--leo-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leo-figure-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.4rem rgba(62, 43, 34, 0.15);
}

.leo-figure-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: calc(var(--leo-radius) - 0.25rem);
  background: var(--leo-sand);
}

.leo-figure-card h3 {
  margin-top: 1rem;
}

/* Buchvorstellung */
.leo-book {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 1.28fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--leo-white);
  border: 1px solid var(--leo-border);
  border-radius: var(--leo-radius);
  box-shadow: var(--leo-shadow);
}

.leo-book img {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  border-radius: var(--leo-radius-small);
  box-shadow: 0 1rem 2.2rem rgba(62, 43, 34, 0.18);
}

/* Formulare */
.form-control,
.form-select,
input,
textarea,
select {
  border-radius: var(--leo-radius-small);
  border-color: var(--leo-border);
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--leo-primary);
  box-shadow: 0 0 0 0.2rem rgba(22, 140, 149, 0.16);
}

/* Footer */
.container-footer {
  margin-top: 4rem;
  color: var(--leo-white);
  background: var(--leo-brown);
}

.container-footer a {
  color: var(--leo-sand);
}

.container-footer a:hover,
.container-footer a:focus {
  color: var(--leo-accent);
}

/* Hilfsklassen */
.leo-text-center {
  text-align: center;
}

.leo-muted {
  color: var(--leo-muted);
}

.leo-rounded {
  border-radius: var(--leo-radius);
}

.leo-shadow {
  box-shadow: var(--leo-shadow);
}

/* Mobilgeräte */
@media (max-width: 767.98px) {
  body {
    font-size: 1rem;
  }

  .leo-hero {
    min-height: 560px;
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .leo-hero .btn {
    display: block;
    width: 100%;
    margin: 0.55rem 0 0;
  }

  .leo-hero .btn + .btn {
    margin-left: 0;
  }

  .leo-book {
    grid-template-columns: 1fr;
  }

  .com-content-article {
    padding: 1.1rem;
  }
}

/* Barrierefreiheit: Animationen reduzieren */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* JCM 0.7.1 Medien */
.leo-hero--image {
  background:
    linear-gradient(90deg, rgba(35,24,19,.82), rgba(35,24,19,.18)),
    url("/images/leo/hero/leo-startseite.webp") center/cover no-repeat;
}

.leo-book img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.leo-figure-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f3e8d1;
}


/* JCM 0.8 Showcase */
.container-header {
  padding-top: .45rem;
}

.container-header .navbar-brand img {
  width: min(340px, 70vw);
  height: auto;
  max-height: 92px;
  object-fit: contain;
}

.leo-showcase-hero {
  min-height: min(68vh, 720px);
  display: grid;
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 8vw, 7rem);
  background:
    linear-gradient(90deg, rgba(255,253,248,.93) 0%, rgba(255,253,248,.78) 40%, rgba(255,253,248,.18) 72%),
    url("/images/leo/hero/leo-ruhiger-golfplatz.webp") center/cover no-repeat;
}

.leo-showcase-hero__content {
  max-width: 680px;
}

.leo-showcase-hero h1 {
  color: var(--leo-primary-dark);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.leo-showcase-hero p {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.leo-showcase-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.leo-showcase-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-showcase-heading {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.leo-showcase-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.leo-showcase-feature {
  text-align: center;
  padding: 1.4rem;
  background: var(--leo-white);
  border: 1px solid var(--leo-border);
  border-radius: var(--leo-radius);
}

.leo-showcase-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: .9rem;
  background: var(--leo-sand);
}

.leo-showcase-feature a {
  font-weight: 750;
}

.leo-showcase-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-showcase-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.leo-showcase-gallery {
  background: var(--leo-sand);
}

.leo-showcase-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.leo-showcase-gallery-grid figure {
  margin: 0;
}

.leo-showcase-gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--leo-radius);
  box-shadow: var(--leo-shadow);
}

.leo-showcase-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  color: var(--leo-white);
}

.leo-showcase-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-showcase-footer__brand img {
  border-radius: 50%;
}

.leo-showcase-footer__brand strong,
.leo-showcase-footer__brand span {
  display: block;
}

@media (max-width: 900px) {
  .leo-showcase-features,
  .leo-showcase-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-showcase-feature img,
  .leo-showcase-gallery-grid img {
    height: auto;
  }
}

@media (max-width: 680px) {
  .leo-showcase-hero {
    min-height: 560px;
    background-position: 58% center;
  }

  .leo-showcase-actions .btn {
    width: 100%;
  }
}


/* JCM 0.8.1 Showcase */
/* JCM 0.8.1 – transparenter Header und ruhiger Hero */
body {
  background: var(--leo-cream);
}

.container-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  width: 100%;
  padding: .7rem clamp(1rem, 4vw, 3.5rem) .45rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 49, 45, .78), rgba(14, 49, 45, .28), transparent);
  box-shadow: none;
}

.container-header .grid-child,
.container-header .container-nav {
  max-width: 1500px;
  margin-inline: auto;
}

.container-header .navbar-brand {
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand img {
  display: block;
  width: min(420px, 60vw);
  height: auto;
  max-height: 92px;
  object-fit: contain;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: var(--leo-brown);
  background: var(--leo-accent);
  text-shadow: none;
}

.leo-showcase-hero-module {
  margin: 0;
  padding: 0;
}

.leo-showcase-hero {
  min-height: min(82vh, 820px);
  display: grid;
  align-items: center;
  padding: clamp(10rem, 18vw, 13rem) clamp(1.25rem, 8vw, 7rem) clamp(4rem, 8vw, 7rem);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.leo-showcase-hero__content {
  max-width: 720px;
  color: #fff;
}

.leo-showcase-hero h1 {
  max-width: 700px;
  margin: .55rem 0 1rem;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.06;
  text-shadow: 0 3px 18px rgba(0,0,0,.35);
}

.leo-showcase-hero p {
  max-width: 620px;
  color: #fff;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  text-shadow: 0 2px 12px rgba(0,0,0,.36);
}

.leo-showcase-hero .leo-kicker {
  color: var(--leo-brown);
  background: var(--leo-accent);
}

.leo-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.leo-showcase-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-showcase-heading {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.leo-showcase-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.leo-showcase-feature {
  padding: 1.4rem;
  text-align: center;
  background: var(--leo-white);
  border: 1px solid var(--leo-border);
  border-radius: var(--leo-radius);
  box-shadow: var(--leo-shadow);
}

.leo-showcase-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: .9rem;
  background: var(--leo-sand);
}

.leo-showcase-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-showcase-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.leo-showcase-gallery {
  background: var(--leo-sand);
}

.leo-showcase-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.leo-showcase-gallery-grid figure {
  margin: 0;
}

.leo-showcase-gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--leo-radius);
  box-shadow: var(--leo-shadow);
}

.leo-showcase-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  color: var(--leo-white);
}

.leo-showcase-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-showcase-footer__brand img {
  border-radius: 50%;
}

.leo-showcase-footer__brand strong,
.leo-showcase-footer__brand span {
  display: block;
}

@media (max-width: 980px) {
  .container-header {
    position: relative;
    background: linear-gradient(135deg, var(--leo-primary-dark), var(--leo-primary));
  }

  .leo-showcase-hero {
    min-height: 650px;
    padding-top: clamp(4rem, 8vw, 6rem);
  }

  .leo-showcase-features,
  .leo-showcase-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-showcase-feature img,
  .leo-showcase-gallery-grid img {
    height: auto;
  }
}

@media (max-width: 680px) {
  .container-header .navbar-brand img {
    width: min(310px, 78vw);
  }

  .leo-showcase-hero {
    min-height: 580px;
    background-position: 58% center;
  }

  .leo-showcase-actions .btn {
    width: 100%;
  }
}


/* JCM 0.8.1 Showcase */
/* JCM 0.9.0 – Design-Referenz 1.0 */

body {
  margin: 0;
  color: #28352f;
  background: #fffaf0;
}

.container-header {
  position: relative;
  z-index: 20;
  padding: .45rem clamp(1rem, 4vw, 3.5rem);
  color: #123f34;
  background: #fffdf7;
  box-shadow: 0 1px 0 rgba(20, 62, 52, .08);
}

.container-header .grid-child,
.container-header .container-nav {
  max-width: 1500px;
  margin-inline: auto;
}

.container-header .container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.container-header .navbar-brand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand img {
  display: block;
  width: min(330px, 42vw);
  height: auto;
  max-height: 94px;
  object-fit: contain;
}

.container-header .mod-menu {
  justify-content: flex-end;
  gap: .2rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #143f35;
  padding: .65rem .85rem;
  text-shadow: none;
  background: transparent;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: #b98200;
  background: transparent;
  border-bottom: 2px solid #d8a11f;
  border-radius: 0;
}

.leo-ref-hero-module {
  margin: 0;
  padding: 0;
}

.leo-ref-hero {
  min-height: min(72vh, 720px);
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(255, 249, 235, .92) 0%, rgba(255, 249, 235, .68) 39%, rgba(255, 249, 235, .08) 70%),
    url("/images/leo/hero/leo-ruhiger-golfplatz.webp") center/cover no-repeat;
}

.leo-ref-hero__content {
  max-width: 670px;
  text-align: center;
}

.leo-ref-hero h1 {
  margin: 0;
  color: #164d3f;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.leo-ref-hero h1 span {
  display: block;
  font-size: .72em;
}

.leo-ref-hero p {
  margin: 1.1rem 0 0;
  color: #28352f;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.leo-ref-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: 1.25rem 0;
  color: #d89d0b;
}

.leo-ref-divider span {
  width: 74px;
  height: 1px;
  background: #d89d0b;
}

.leo-ref-divider b {
  font-size: 1.3rem;
}

.leo-ref-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.leo-ref-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-ref-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.leo-ref-heading h2 {
  margin-bottom: .4rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.leo-ref-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.leo-ref-feature {
  min-height: 100%;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.2rem);
  text-align: center;
  border-right: 1px solid rgba(22,77,63,.14);
}

.leo-ref-feature:last-child {
  border-right: 0;
}

.leo-ref-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: 1.1rem;
}

.leo-ref-feature h3 {
  margin: 1rem 0 .45rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
}

.leo-ref-feature a {
  color: #c38b05;
  font-weight: 700;
  text-decoration: none;
}

.leo-ref-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-ref-values__shield {
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #d9a21f;
  font-size: 2.8rem;
  background: #164d3f;
  clip-path: polygon(50% 0, 100% 12%, 90% 76%, 50% 100%, 10% 76%, 0 12%);
}

.leo-ref-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: .8rem;
  font-size: 2.3rem;
}

.leo-ref-gallery {
  background: linear-gradient(180deg, #f7f6ec, #fffdf7);
}

.leo-ref-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.leo-ref-gallery-grid figure {
  margin: 0;
}

.leo-ref-gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.1rem;
}

.container-footer {
  margin-top: 0;
  color: #fff;
  background: #124b3c;
}

.leo-ref-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.leo-ref-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-ref-footer__brand img {
  border-radius: 50%;
}

.leo-ref-footer__brand strong,
.leo-ref-footer__brand span {
  display: block;
}

.leo-ref-footer__brand strong {
  font-size: 1.35rem;
}

.leo-ref-footer__links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: .5rem 1.2rem;
}

.leo-ref-footer__links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .container-header .container-nav {
    flex-wrap: wrap;
  }

  .container-header .navbar-brand img {
    width: min(300px, 70vw);
  }

  .leo-ref-features,
  .leo-ref-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-ref-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(22,77,63,.14);
  }

  .leo-ref-feature:last-child {
    border-bottom: 0;
  }

  .leo-ref-feature img,
  .leo-ref-gallery-grid img {
    height: auto;
  }

  .leo-ref-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container-header {
    padding-inline: 1rem;
  }

  .container-header .container-nav {
    justify-content: center;
  }

  .container-header .mod-menu {
    justify-content: center;
  }

  .leo-ref-hero {
    min-height: 580px;
    background-position: 60% center;
    padding-top: 3.5rem;
  }

  .leo-ref-hero__content {
    max-width: 100%;
  }

  .leo-ref-actions .btn {
    width: 100%;
  }
}


/* JCM 0.8.1 Showcase */
/* JCM 0.9.0 – Design-Referenz 1.0 */

body {
  margin: 0;
  color: #28352f;
  background: #fffaf0;
}

.container-header {
  position: relative;
  z-index: 20;
  padding: .45rem clamp(1rem, 4vw, 3.5rem);
  color: #123f34;
  background: #fffdf7;
  box-shadow: 0 1px 0 rgba(20, 62, 52, .08);
}

.container-header .grid-child,
.container-header .container-nav {
  max-width: 1500px;
  margin-inline: auto;
}

.container-header .container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.container-header .navbar-brand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand img {
  display: block;
  width: min(330px, 42vw);
  height: auto;
  max-height: 94px;
  object-fit: contain;
}

.container-header .mod-menu {
  justify-content: flex-end;
  gap: .2rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #143f35;
  padding: .65rem .85rem;
  text-shadow: none;
  background: transparent;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: #b98200;
  background: transparent;
  border-bottom: 2px solid #d8a11f;
  border-radius: 0;
}

.leo-ref-hero-module {
  margin: 0;
  padding: 0;
}

.leo-ref-hero {
  min-height: min(72vh, 720px);
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(255, 249, 235, .90) 0%, rgba(255, 249, 235, .62) 39%, rgba(255, 249, 235, .05) 70%),
    url("/images/leo/hero/home-hero-fairway.webp") center/cover no-repeat;
}

.leo-ref-hero__content {
  max-width: 670px;
  text-align: center;
}

.leo-ref-hero h1 {
  margin: 0;
  color: #164d3f;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.leo-ref-hero h1 span {
  display: block;
  font-size: .72em;
}

.leo-ref-hero p {
  margin: 1.1rem 0 0;
  color: #28352f;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.leo-ref-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: 1.25rem 0;
  color: #d89d0b;
}

.leo-ref-divider span {
  width: 74px;
  height: 1px;
  background: #d89d0b;
}

.leo-ref-divider b {
  font-size: 1.3rem;
}

.leo-ref-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.leo-ref-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-ref-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.leo-ref-heading h2 {
  margin-bottom: .4rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.leo-ref-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.leo-ref-feature {
  min-height: 100%;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.2rem);
  text-align: center;
  border-right: 1px solid rgba(22,77,63,.14);
}

.leo-ref-feature:last-child {
  border-right: 0;
}

.leo-ref-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: 1.1rem;
}

.leo-ref-feature h3 {
  margin: 1rem 0 .45rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
}

.leo-ref-feature a {
  color: #c38b05;
  font-weight: 700;
  text-decoration: none;
}

.leo-ref-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-ref-values__shield {
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #d9a21f;
  font-size: 2.8rem;
  background: #164d3f;
  clip-path: polygon(50% 0, 100% 12%, 90% 76%, 50% 100%, 10% 76%, 0 12%);
}

.leo-ref-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: .8rem;
  font-size: 2.3rem;
}

.leo-ref-gallery {
  background: linear-gradient(180deg, #f7f6ec, #fffdf7);
}

.leo-ref-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.leo-ref-gallery-grid figure {
  margin: 0;
}

.leo-ref-gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.1rem;
}

.container-footer {
  margin-top: 0;
  color: #fff;
  background: #124b3c;
}

.leo-ref-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.leo-ref-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-ref-footer__brand img {
  border-radius: 50%;
}

.leo-ref-footer__brand strong,
.leo-ref-footer__brand span {
  display: block;
}

.leo-ref-footer__brand strong {
  font-size: 1.35rem;
}

.leo-ref-footer__links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: .5rem 1.2rem;
}

.leo-ref-footer__links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .container-header .container-nav {
    flex-wrap: wrap;
  }

  .container-header .navbar-brand img {
    width: min(300px, 70vw);
  }

  .leo-ref-features,
  .leo-ref-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-ref-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(22,77,63,.14);
  }

  .leo-ref-feature:last-child {
    border-bottom: 0;
  }

  .leo-ref-feature img,
  .leo-ref-gallery-grid img {
    height: auto;
  }

  .leo-ref-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container-header {
    padding-inline: 1rem;
  }

  .container-header .container-nav {
    justify-content: center;
  }

  .container-header .mod-menu {
    justify-content: center;
  }

  .leo-ref-hero {
    min-height: 580px;
    background-position: 60% center;
    padding-top: 3.5rem;
  }

  .leo-ref-hero__content {
    max-width: 100%;
  }

  .leo-ref-actions .btn {
    width: 100%;
  }
}


/* JCM 0.8.1 Showcase */
/* JCM 0.9.0 – Design-Referenz 1.0 */

body {
  margin: 0;
  color: #28352f;
  background: #fffaf0;
}

.container-header {
  position: relative;
  z-index: 20;
  padding: .45rem clamp(1rem, 4vw, 3.5rem);
  color: #123f34;
  background: #fffdf7;
  box-shadow: 0 1px 0 rgba(20, 62, 52, .08);
}

.container-header .grid-child,
.container-header .container-nav {
  max-width: 1500px;
  margin-inline: auto;
}

.container-header .container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.container-header .navbar-brand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand img {
  display: block;
  width: min(330px, 42vw);
  height: auto;
  max-height: 94px;
  object-fit: contain;
}

.container-header .mod-menu {
  justify-content: flex-end;
  gap: .2rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #143f35;
  padding: .65rem .85rem;
  text-shadow: none;
  background: transparent;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: #b98200;
  background: transparent;
  border-bottom: 2px solid #d8a11f;
  border-radius: 0;
}

.leo-ref-hero-module {
  margin: 0;
  padding: 0;
}

.leo-ref-hero {
  min-height: min(72vh, 720px);
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(255, 249, 235, .90) 0%, rgba(255, 249, 235, .62) 39%, rgba(255, 249, 235, .05) 70%),
    url("/images/leo/hero/home-hero-fairway.webp") center/cover no-repeat;
}

.leo-ref-hero__content {
  max-width: 670px;
  text-align: center;
}

.leo-ref-hero h1 {
  margin: 0;
  color: #164d3f;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.leo-ref-hero h1 span {
  display: block;
  font-size: .72em;
}

.leo-ref-hero p {
  margin: 1.1rem 0 0;
  color: #28352f;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.leo-ref-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: 1.25rem 0;
  color: #d89d0b;
}

.leo-ref-divider span {
  width: 74px;
  height: 1px;
  background: #d89d0b;
}

.leo-ref-divider b {
  font-size: 1.3rem;
}

.leo-ref-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.leo-ref-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-ref-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.leo-ref-heading h2 {
  margin-bottom: .4rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.leo-ref-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.leo-ref-feature {
  min-height: 100%;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.2rem);
  text-align: center;
  border-right: 1px solid rgba(22,77,63,.14);
}

.leo-ref-feature:last-child {
  border-right: 0;
}

.leo-ref-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: 1.1rem;
}

.leo-ref-feature h3 {
  margin: 1rem 0 .45rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
}

.leo-ref-feature a {
  color: #c38b05;
  font-weight: 700;
  text-decoration: none;
}

.leo-ref-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-ref-values__shield {
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #d9a21f;
  font-size: 2.8rem;
  background: #164d3f;
  clip-path: polygon(50% 0, 100% 12%, 90% 76%, 50% 100%, 10% 76%, 0 12%);
}

.leo-ref-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: .8rem;
  font-size: 2.3rem;
}

.leo-ref-gallery {
  background: linear-gradient(180deg, #f7f6ec, #fffdf7);
}

.leo-ref-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.leo-ref-gallery-grid figure {
  margin: 0;
}

.leo-ref-gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.1rem;
}

.container-footer {
  margin-top: 0;
  color: #fff;
  background: #124b3c;
}

.leo-ref-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.leo-ref-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-ref-footer__brand img {
  border-radius: 50%;
}

.leo-ref-footer__brand strong,
.leo-ref-footer__brand span {
  display: block;
}

.leo-ref-footer__brand strong {
  font-size: 1.35rem;
}

.leo-ref-footer__links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: .5rem 1.2rem;
}

.leo-ref-footer__links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .container-header .container-nav {
    flex-wrap: wrap;
  }

  .container-header .navbar-brand img {
    width: min(300px, 70vw);
  }

  .leo-ref-features,
  .leo-ref-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-ref-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(22,77,63,.14);
  }

  .leo-ref-feature:last-child {
    border-bottom: 0;
  }

  .leo-ref-feature img,
  .leo-ref-gallery-grid img {
    height: auto;
  }

  .leo-ref-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container-header {
    padding-inline: 1rem;
  }

  .container-header .container-nav {
    justify-content: center;
  }

  .container-header .mod-menu {
    justify-content: center;
  }

  .leo-ref-hero {
    min-height: 580px;
    background-position: 60% center;
    padding-top: 3.5rem;
  }

  .leo-ref-hero__content {
    max-width: 100%;
  }

  .leo-ref-actions .btn {
    width: 100%;
  }
}

/* JCM 1.0.0 – Figurenwelt */
.leo-character-intro,
.leo-character-heading,
.leo-character-closing {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.leo-character-world {
  padding-block: 1rem 3rem;
}

.leo-character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 1180px;
  margin: 2.4rem auto 3rem;
}

.leo-character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .13);
  border-radius: 1.2rem;
  box-shadow: 0 .75rem 2rem rgba(62, 43, 34, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.leo-character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.4rem rgba(62, 43, 34, .14);
}

.leo-character-card__symbol {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 4.3rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-card h3 {
  margin: 0;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.leo-character-card h4 {
  min-height: 2.7rem;
  margin: .35rem 0 .8rem;
  color: #b98200;
  font-size: 1rem;
}

.leo-character-card p {
  flex: 1 1 auto;
}

.leo-character-profile {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: #fffdf7;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.3rem;
}

.leo-character-symbol {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  font-size: 5rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-profile h2,
.leo-character-profile h3 {
  text-align: center;
}

.leo-character-profile blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  color: #164d3f;
  background: #f3e8d1;
  border-left: .35rem solid #d6a62e;
  border-radius: .6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-align: center;
}

.leo-character-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.leo-character-facts p {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border-radius: .8rem;
}

@media (max-width: 900px) {
  .leo-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-character-grid,
  .leo-character-facts {
    grid-template-columns: 1fr;
  }
}



/* JCM 0.8.1 Showcase */
/* JCM 0.9.0 – Design-Referenz 1.0 */

body {
  margin: 0;
  color: #28352f;
  background: #fffaf0;
}

.container-header {
  position: relative;
  z-index: 20;
  padding: .45rem clamp(1rem, 4vw, 3.5rem);
  color: #123f34;
  background: #fffdf7;
  box-shadow: 0 1px 0 rgba(20, 62, 52, .08);
}

.container-header .grid-child,
.container-header .container-nav {
  max-width: 1500px;
  margin-inline: auto;
}

.container-header .container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.container-header .navbar-brand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand img {
  display: block;
  width: min(330px, 42vw);
  height: auto;
  max-height: 94px;
  object-fit: contain;
}

.container-header .mod-menu {
  justify-content: flex-end;
  gap: .2rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #143f35;
  padding: .65rem .85rem;
  text-shadow: none;
  background: transparent;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: #b98200;
  background: transparent;
  border-bottom: 2px solid #d8a11f;
  border-radius: 0;
}

.leo-ref-hero-module {
  margin: 0;
  padding: 0;
}

.leo-ref-hero {
  min-height: min(72vh, 720px);
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(255, 249, 235, .90) 0%, rgba(255, 249, 235, .62) 39%, rgba(255, 249, 235, .05) 70%),
    url("/images/leo/hero/home-hero-fairway.webp") center/cover no-repeat;
}

.leo-ref-hero__content {
  max-width: 670px;
  text-align: center;
}

.leo-ref-hero h1 {
  margin: 0;
  color: #164d3f;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.leo-ref-hero h1 span {
  display: block;
  font-size: .72em;
}

.leo-ref-hero p {
  margin: 1.1rem 0 0;
  color: #28352f;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.leo-ref-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: 1.25rem 0;
  color: #d89d0b;
}

.leo-ref-divider span {
  width: 74px;
  height: 1px;
  background: #d89d0b;
}

.leo-ref-divider b {
  font-size: 1.3rem;
}

.leo-ref-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.leo-ref-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-ref-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.leo-ref-heading h2 {
  margin-bottom: .4rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.leo-ref-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.leo-ref-feature {
  min-height: 100%;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.2rem);
  text-align: center;
  border-right: 1px solid rgba(22,77,63,.14);
}

.leo-ref-feature:last-child {
  border-right: 0;
}

.leo-ref-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: 1.1rem;
}

.leo-ref-feature h3 {
  margin: 1rem 0 .45rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
}

.leo-ref-feature a {
  color: #c38b05;
  font-weight: 700;
  text-decoration: none;
}

.leo-ref-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-ref-values__shield {
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #d9a21f;
  font-size: 2.8rem;
  background: #164d3f;
  clip-path: polygon(50% 0, 100% 12%, 90% 76%, 50% 100%, 10% 76%, 0 12%);
}

.leo-ref-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: .8rem;
  font-size: 2.3rem;
}

.leo-ref-gallery {
  background: linear-gradient(180deg, #f7f6ec, #fffdf7);
}

.leo-ref-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.leo-ref-gallery-grid figure {
  margin: 0;
}

.leo-ref-gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.1rem;
}

.container-footer {
  margin-top: 0;
  color: #fff;
  background: #124b3c;
}

.leo-ref-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.leo-ref-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-ref-footer__brand img {
  border-radius: 50%;
}

.leo-ref-footer__brand strong,
.leo-ref-footer__brand span {
  display: block;
}

.leo-ref-footer__brand strong {
  font-size: 1.35rem;
}

.leo-ref-footer__links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: .5rem 1.2rem;
}

.leo-ref-footer__links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .container-header .container-nav {
    flex-wrap: wrap;
  }

  .container-header .navbar-brand img {
    width: min(300px, 70vw);
  }

  .leo-ref-features,
  .leo-ref-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-ref-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(22,77,63,.14);
  }

  .leo-ref-feature:last-child {
    border-bottom: 0;
  }

  .leo-ref-feature img,
  .leo-ref-gallery-grid img {
    height: auto;
  }

  .leo-ref-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container-header {
    padding-inline: 1rem;
  }

  .container-header .container-nav {
    justify-content: center;
  }

  .container-header .mod-menu {
    justify-content: center;
  }

  .leo-ref-hero {
    min-height: 580px;
    background-position: 60% center;
    padding-top: 3.5rem;
  }

  .leo-ref-hero__content {
    max-width: 100%;
  }

  .leo-ref-actions .btn {
    width: 100%;
  }
}

/* JCM 1.0.0 – Figurenwelt */
.leo-character-intro,
.leo-character-heading,
.leo-character-closing {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.leo-character-world {
  padding-block: 1rem 3rem;
}

.leo-character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 1180px;
  margin: 2.4rem auto 3rem;
}

.leo-character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .13);
  border-radius: 1.2rem;
  box-shadow: 0 .75rem 2rem rgba(62, 43, 34, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.leo-character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.4rem rgba(62, 43, 34, .14);
}

.leo-character-card__symbol {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 4.3rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-card h3 {
  margin: 0;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.leo-character-card h4 {
  min-height: 2.7rem;
  margin: .35rem 0 .8rem;
  color: #b98200;
  font-size: 1rem;
}

.leo-character-card p {
  flex: 1 1 auto;
}

.leo-character-profile {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: #fffdf7;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.3rem;
}

.leo-character-symbol {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  font-size: 5rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-profile h2,
.leo-character-profile h3 {
  text-align: center;
}

.leo-character-profile blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  color: #164d3f;
  background: #f3e8d1;
  border-left: .35rem solid #d6a62e;
  border-radius: .6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-align: center;
}

.leo-character-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.leo-character-facts p {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border-radius: .8rem;
}

@media (max-width: 900px) {
  .leo-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-character-grid,
  .leo-character-facts {
    grid-template-columns: 1fr;
  }
}


/* JCM 1.0.2 – offizielle Figurenporträts */
.leo-character-card__symbol {
  display: none;
}

.leo-character-card__image {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.2rem;
  object-fit: cover;
  object-position: center;
  background: #eef6ff;
  border: .28rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .75rem 1.7rem rgba(35, 54, 47, .14);
}

.leo-character-card:hover .leo-character-card__image {
  transform: scale(1.025);
}

.leo-character-card__image {
  transition: transform .2s ease;
}

.com-content-article .leo-character-profile > img,
.com-content-article > img[itemprop="image"] {
  display: block;
  width: min(430px, 100%);
  height: auto;
  margin: 0 auto 2rem;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 .85rem 2rem rgba(35, 54, 47, .13);
}


/* homepage-friend-portraits-103 */
.leo-figure-card img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: .25rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .7rem 1.5rem rgba(35, 54, 47, .13);
}



/* JCM 0.8.1 Showcase */
/* JCM 0.9.0 – Design-Referenz 1.0 */

body {
  margin: 0;
  color: #28352f;
  background: #fffaf0;
}

.container-header {
  position: relative;
  z-index: 20;
  padding: .45rem clamp(1rem, 4vw, 3.5rem);
  color: #123f34;
  background: #fffdf7;
  box-shadow: 0 1px 0 rgba(20, 62, 52, .08);
}

.container-header .grid-child,
.container-header .container-nav {
  max-width: 1500px;
  margin-inline: auto;
}

.container-header .container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.container-header .navbar-brand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand img {
  display: block;
  width: min(330px, 42vw);
  height: auto;
  max-height: 94px;
  object-fit: contain;
}

.container-header .mod-menu {
  justify-content: flex-end;
  gap: .2rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #143f35;
  padding: .65rem .85rem;
  text-shadow: none;
  background: transparent;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: #b98200;
  background: transparent;
  border-bottom: 2px solid #d8a11f;
  border-radius: 0;
}

.leo-ref-hero-module {
  margin: 0;
  padding: 0;
}

.leo-ref-hero {
  min-height: min(72vh, 720px);
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(255, 249, 235, .90) 0%, rgba(255, 249, 235, .62) 39%, rgba(255, 249, 235, .05) 70%),
    url("/images/leo/hero/home-hero-fairway.webp") center/cover no-repeat;
}

.leo-ref-hero__content {
  max-width: 670px;
  text-align: center;
}

.leo-ref-hero h1 {
  margin: 0;
  color: #164d3f;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.leo-ref-hero h1 span {
  display: block;
  font-size: .72em;
}

.leo-ref-hero p {
  margin: 1.1rem 0 0;
  color: #28352f;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.leo-ref-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: 1.25rem 0;
  color: #d89d0b;
}

.leo-ref-divider span {
  width: 74px;
  height: 1px;
  background: #d89d0b;
}

.leo-ref-divider b {
  font-size: 1.3rem;
}

.leo-ref-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.leo-ref-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-ref-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.leo-ref-heading h2 {
  margin-bottom: .4rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.leo-ref-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.leo-ref-feature {
  min-height: 100%;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.2rem);
  text-align: center;
  border-right: 1px solid rgba(22,77,63,.14);
}

.leo-ref-feature:last-child {
  border-right: 0;
}

.leo-ref-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: 1.1rem;
}

.leo-ref-feature h3 {
  margin: 1rem 0 .45rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
}

.leo-ref-feature a {
  color: #c38b05;
  font-weight: 700;
  text-decoration: none;
}

.leo-ref-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-ref-values__shield {
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #d9a21f;
  font-size: 2.8rem;
  background: #164d3f;
  clip-path: polygon(50% 0, 100% 12%, 90% 76%, 50% 100%, 10% 76%, 0 12%);
}

.leo-ref-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: .8rem;
  font-size: 2.3rem;
}

.leo-ref-gallery {
  background: linear-gradient(180deg, #f7f6ec, #fffdf7);
}

.leo-ref-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.leo-ref-gallery-grid figure {
  margin: 0;
}

.leo-ref-gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.1rem;
}

.container-footer {
  margin-top: 0;
  color: #fff;
  background: #124b3c;
}

.leo-ref-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.leo-ref-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-ref-footer__brand img {
  border-radius: 50%;
}

.leo-ref-footer__brand strong,
.leo-ref-footer__brand span {
  display: block;
}

.leo-ref-footer__brand strong {
  font-size: 1.35rem;
}

.leo-ref-footer__links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: .5rem 1.2rem;
}

.leo-ref-footer__links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .container-header .container-nav {
    flex-wrap: wrap;
  }

  .container-header .navbar-brand img {
    width: min(300px, 70vw);
  }

  .leo-ref-features,
  .leo-ref-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-ref-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(22,77,63,.14);
  }

  .leo-ref-feature:last-child {
    border-bottom: 0;
  }

  .leo-ref-feature img,
  .leo-ref-gallery-grid img {
    height: auto;
  }

  .leo-ref-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container-header {
    padding-inline: 1rem;
  }

  .container-header .container-nav {
    justify-content: center;
  }

  .container-header .mod-menu {
    justify-content: center;
  }

  .leo-ref-hero {
    min-height: 580px;
    background-position: 60% center;
    padding-top: 3.5rem;
  }

  .leo-ref-hero__content {
    max-width: 100%;
  }

  .leo-ref-actions .btn {
    width: 100%;
  }
}

/* JCM 1.0.0 – Figurenwelt */
.leo-character-intro,
.leo-character-heading,
.leo-character-closing {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.leo-character-world {
  padding-block: 1rem 3rem;
}

.leo-character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 1180px;
  margin: 2.4rem auto 3rem;
}

.leo-character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .13);
  border-radius: 1.2rem;
  box-shadow: 0 .75rem 2rem rgba(62, 43, 34, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.leo-character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.4rem rgba(62, 43, 34, .14);
}

.leo-character-card__symbol {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 4.3rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-card h3 {
  margin: 0;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.leo-character-card h4 {
  min-height: 2.7rem;
  margin: .35rem 0 .8rem;
  color: #b98200;
  font-size: 1rem;
}

.leo-character-card p {
  flex: 1 1 auto;
}

.leo-character-profile {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: #fffdf7;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.3rem;
}

.leo-character-symbol {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  font-size: 5rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-profile h2,
.leo-character-profile h3 {
  text-align: center;
}

.leo-character-profile blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  color: #164d3f;
  background: #f3e8d1;
  border-left: .35rem solid #d6a62e;
  border-radius: .6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-align: center;
}

.leo-character-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.leo-character-facts p {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border-radius: .8rem;
}

@media (max-width: 900px) {
  .leo-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-character-grid,
  .leo-character-facts {
    grid-template-columns: 1fr;
  }
}


/* JCM 1.0.2 – offizielle Figurenporträts */
.leo-character-card__symbol {
  display: none;
}

.leo-character-card__image {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.2rem;
  object-fit: cover;
  object-position: center;
  background: #eef6ff;
  border: .28rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .75rem 1.7rem rgba(35, 54, 47, .14);
}

.leo-character-card:hover .leo-character-card__image {
  transform: scale(1.025);
}

.leo-character-card__image {
  transition: transform .2s ease;
}

.com-content-article .leo-character-profile > img,
.com-content-article > img[itemprop="image"] {
  display: block;
  width: min(430px, 100%);
  height: auto;
  margin: 0 auto 2rem;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 .85rem 2rem rgba(35, 54, 47, .13);
}


/* homepage-friend-portraits-103 */
.leo-figure-card img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: .25rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .7rem 1.5rem rgba(35, 54, 47, .13);
}


/* leo-preview-grid-104 */
.leo-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 1240px;
  margin: 0 auto 2rem;
}

.leo-preview-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.1rem;
  box-shadow: 0 .65rem 1.7rem rgba(35, 54, 47, .09);
}

.leo-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.leo-preview-card__body {
  padding: 1rem 1.05rem 1.15rem;
}

.leo-preview-card h3 {
  margin: 0 0 .5rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.leo-preview-card p {
  margin: 0;
  color: #4f5d56;
  font-size: .98rem;
}

@media (max-width: 1050px) {
  .leo-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-preview-grid {
    grid-template-columns: 1fr;
  }
}



/* JCM 0.8.1 Showcase */
/* JCM 0.9.0 – Design-Referenz 1.0 */

body {
  margin: 0;
  color: #28352f;
  background: #fffaf0;
}

.container-header {
  position: relative;
  z-index: 20;
  padding: .45rem clamp(1rem, 4vw, 3.5rem);
  color: #123f34;
  background: #fffdf7;
  box-shadow: 0 1px 0 rgba(20, 62, 52, .08);
}

.container-header .grid-child,
.container-header .container-nav {
  max-width: 1500px;
  margin-inline: auto;
}

.container-header .container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.container-header .navbar-brand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand img {
  display: block;
  width: min(330px, 42vw);
  height: auto;
  max-height: 94px;
  object-fit: contain;
}

.container-header .mod-menu {
  justify-content: flex-end;
  gap: .2rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #143f35;
  padding: .65rem .85rem;
  text-shadow: none;
  background: transparent;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: #b98200;
  background: transparent;
  border-bottom: 2px solid #d8a11f;
  border-radius: 0;
}

.leo-ref-hero-module {
  margin: 0;
  padding: 0;
}

.leo-ref-hero {
  min-height: min(72vh, 720px);
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(255, 249, 235, .90) 0%, rgba(255, 249, 235, .62) 39%, rgba(255, 249, 235, .05) 70%),
    url("/images/leo/hero/home-hero-fairway.webp") center/cover no-repeat;
}

.leo-ref-hero__content {
  max-width: 670px;
  text-align: center;
}

.leo-ref-hero h1 {
  margin: 0;
  color: #164d3f;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.leo-ref-hero h1 span {
  display: block;
  font-size: .72em;
}

.leo-ref-hero p {
  margin: 1.1rem 0 0;
  color: #28352f;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.leo-ref-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: 1.25rem 0;
  color: #d89d0b;
}

.leo-ref-divider span {
  width: 74px;
  height: 1px;
  background: #d89d0b;
}

.leo-ref-divider b {
  font-size: 1.3rem;
}

.leo-ref-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.leo-ref-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-ref-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.leo-ref-heading h2 {
  margin-bottom: .4rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.leo-ref-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.leo-ref-feature {
  min-height: 100%;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.2rem);
  text-align: center;
  border-right: 1px solid rgba(22,77,63,.14);
}

.leo-ref-feature:last-child {
  border-right: 0;
}

.leo-ref-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: 1.1rem;
}

.leo-ref-feature h3 {
  margin: 1rem 0 .45rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
}

.leo-ref-feature a {
  color: #c38b05;
  font-weight: 700;
  text-decoration: none;
}

.leo-ref-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-ref-values__shield {
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #d9a21f;
  font-size: 2.8rem;
  background: #164d3f;
  clip-path: polygon(50% 0, 100% 12%, 90% 76%, 50% 100%, 10% 76%, 0 12%);
}

.leo-ref-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: .8rem;
  font-size: 2.3rem;
}

.leo-ref-gallery {
  background: linear-gradient(180deg, #f7f6ec, #fffdf7);
}

.leo-ref-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.leo-ref-gallery-grid figure {
  margin: 0;
}

.leo-ref-gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.1rem;
}

.container-footer {
  margin-top: 0;
  color: #fff;
  background: #124b3c;
}

.leo-ref-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.leo-ref-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-ref-footer__brand img {
  border-radius: 50%;
}

.leo-ref-footer__brand strong,
.leo-ref-footer__brand span {
  display: block;
}

.leo-ref-footer__brand strong {
  font-size: 1.35rem;
}

.leo-ref-footer__links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: .5rem 1.2rem;
}

.leo-ref-footer__links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .container-header .container-nav {
    flex-wrap: wrap;
  }

  .container-header .navbar-brand img {
    width: min(300px, 70vw);
  }

  .leo-ref-features,
  .leo-ref-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-ref-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(22,77,63,.14);
  }

  .leo-ref-feature:last-child {
    border-bottom: 0;
  }

  .leo-ref-feature img,
  .leo-ref-gallery-grid img {
    height: auto;
  }

  .leo-ref-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container-header {
    padding-inline: 1rem;
  }

  .container-header .container-nav {
    justify-content: center;
  }

  .container-header .mod-menu {
    justify-content: center;
  }

  .leo-ref-hero {
    min-height: 580px;
    background-position: 60% center;
    padding-top: 3.5rem;
  }

  .leo-ref-hero__content {
    max-width: 100%;
  }

  .leo-ref-actions .btn {
    width: 100%;
  }
}

/* JCM 1.0.0 – Figurenwelt */
.leo-character-intro,
.leo-character-heading,
.leo-character-closing {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.leo-character-world {
  padding-block: 1rem 3rem;
}

.leo-character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 1180px;
  margin: 2.4rem auto 3rem;
}

.leo-character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .13);
  border-radius: 1.2rem;
  box-shadow: 0 .75rem 2rem rgba(62, 43, 34, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.leo-character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.4rem rgba(62, 43, 34, .14);
}

.leo-character-card__symbol {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 4.3rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-card h3 {
  margin: 0;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.leo-character-card h4 {
  min-height: 2.7rem;
  margin: .35rem 0 .8rem;
  color: #b98200;
  font-size: 1rem;
}

.leo-character-card p {
  flex: 1 1 auto;
}

.leo-character-profile {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: #fffdf7;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.3rem;
}

.leo-character-symbol {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  font-size: 5rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-profile h2,
.leo-character-profile h3 {
  text-align: center;
}

.leo-character-profile blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  color: #164d3f;
  background: #f3e8d1;
  border-left: .35rem solid #d6a62e;
  border-radius: .6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-align: center;
}

.leo-character-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.leo-character-facts p {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border-radius: .8rem;
}

@media (max-width: 900px) {
  .leo-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-character-grid,
  .leo-character-facts {
    grid-template-columns: 1fr;
  }
}


/* JCM 1.0.2 – offizielle Figurenporträts */
.leo-character-card__symbol {
  display: none;
}

.leo-character-card__image {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.2rem;
  object-fit: cover;
  object-position: center;
  background: #eef6ff;
  border: .28rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .75rem 1.7rem rgba(35, 54, 47, .14);
}

.leo-character-card:hover .leo-character-card__image {
  transform: scale(1.025);
}

.leo-character-card__image {
  transition: transform .2s ease;
}

.com-content-article .leo-character-profile > img,
.com-content-article > img[itemprop="image"] {
  display: block;
  width: min(430px, 100%);
  height: auto;
  margin: 0 auto 2rem;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 .85rem 2rem rgba(35, 54, 47, .13);
}


/* homepage-friend-portraits-103 */
.leo-figure-card img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: .25rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .7rem 1.5rem rgba(35, 54, 47, .13);
}


/* leo-preview-grid-104 */
.leo-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 1240px;
  margin: 0 auto 2rem;
}

.leo-preview-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.1rem;
  box-shadow: 0 .65rem 1.7rem rgba(35, 54, 47, .09);
}

.leo-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.leo-preview-card__body {
  padding: 1rem 1.05rem 1.15rem;
}

.leo-preview-card h3 {
  margin: 0 0 .5rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.leo-preview-card p {
  margin: 0;
  color: #4f5d56;
  font-size: .98rem;
}

@media (max-width: 1050px) {
  .leo-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-preview-grid {
    grid-template-columns: 1fr;
  }
}


/* leo-legal-footer-105 */
.leo-legal {
  max-width: 940px;
  margin-inline: auto;
}

.leo-legal h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.leo-legal code {
  padding: .1rem .35rem;
  background: #f3e8d1;
  border-radius: .35rem;
}

.leo-legal-version {
  margin-top: 2.5rem;
  color: #6f665f;
  font-size: .95rem;
}

.leo-legal-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr 1.1fr;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  width: 100%;
  padding-block: 1rem;
}

.leo-legal-footer h3 {
  margin: 0 0 .65rem;
  color: #f3e8d1;
  font-size: 1.05rem;
}

.leo-legal-footer nav {
  display: grid;
  gap: .32rem;
}

.leo-legal-footer a {
  color: #fff;
  text-decoration: none;
}

.leo-legal-footer a:hover,
.leo-legal-footer a:focus {
  color: #d6a62e;
}

.leo-legal-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-legal-footer__brand img {
  border-radius: 50%;
}

.leo-legal-footer__brand strong,
.leo-legal-footer__brand span {
  display: block;
}

.leo-legal-footer__brand strong {
  font-size: 1.35rem;
}

.leo-legal-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: .9rem;
  color: rgba(255,255,255,.84);
}

.leo-cookie-module {
  margin: 0 !important;
  padding: 0 !important;
}

.leo-cookie-notice {
  position: fixed;
  z-index: 10000;
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 980px;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  color: #2f2925;
  background: rgba(255,253,248,.98);
  border: 1px solid rgba(22,77,63,.18);
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(20,46,39,.22);
  backdrop-filter: blur(8px);
}

.leo-cookie-notice[hidden] {
  display: none !important;
}

.leo-cookie-notice__text strong {
  color: #164d3f;
}

.leo-cookie-notice__text p {
  margin: .2rem 0 0;
  font-size: .96rem;
}

.leo-cookie-notice__text a {
  font-weight: 700;
}

@media (max-width: 850px) {
  .leo-legal-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .leo-legal-footer {
    grid-template-columns: 1fr;
  }

  .leo-cookie-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .leo-cookie-notice .btn {
    width: 100%;
  }
}



/* JCM 0.8.1 Showcase */
/* JCM 0.9.0 – Design-Referenz 1.0 */

body {
  margin: 0;
  color: #28352f;
  background: #fffaf0;
}

.container-header {
  position: relative;
  z-index: 20;
  padding: .45rem clamp(1rem, 4vw, 3.5rem);
  color: #123f34;
  background: #fffdf7;
  box-shadow: 0 1px 0 rgba(20, 62, 52, .08);
}

.container-header .grid-child,
.container-header .container-nav {
  max-width: 1500px;
  margin-inline: auto;
}

.container-header .container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.container-header .navbar-brand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand img {
  display: block;
  width: min(330px, 42vw);
  height: auto;
  max-height: 94px;
  object-fit: contain;
}

.container-header .mod-menu {
  justify-content: flex-end;
  gap: .2rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #143f35;
  padding: .65rem .85rem;
  text-shadow: none;
  background: transparent;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: #b98200;
  background: transparent;
  border-bottom: 2px solid #d8a11f;
  border-radius: 0;
}

.leo-ref-hero-module {
  margin: 0;
  padding: 0;
}

.leo-ref-hero {
  min-height: min(72vh, 720px);
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(255, 249, 235, .90) 0%, rgba(255, 249, 235, .62) 39%, rgba(255, 249, 235, .05) 70%),
    url("/images/leo/hero/home-hero-fairway.webp") center/cover no-repeat;
}

.leo-ref-hero__content {
  max-width: 670px;
  text-align: center;
}

.leo-ref-hero h1 {
  margin: 0;
  color: #164d3f;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.leo-ref-hero h1 span {
  display: block;
  font-size: .72em;
}

.leo-ref-hero p {
  margin: 1.1rem 0 0;
  color: #28352f;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.leo-ref-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: 1.25rem 0;
  color: #d89d0b;
}

.leo-ref-divider span {
  width: 74px;
  height: 1px;
  background: #d89d0b;
}

.leo-ref-divider b {
  font-size: 1.3rem;
}

.leo-ref-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.leo-ref-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-ref-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.leo-ref-heading h2 {
  margin-bottom: .4rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.leo-ref-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.leo-ref-feature {
  min-height: 100%;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.2rem);
  text-align: center;
  border-right: 1px solid rgba(22,77,63,.14);
}

.leo-ref-feature:last-child {
  border-right: 0;
}

.leo-ref-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: 1.1rem;
}

.leo-ref-feature h3 {
  margin: 1rem 0 .45rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
}

.leo-ref-feature a {
  color: #c38b05;
  font-weight: 700;
  text-decoration: none;
}

.leo-ref-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-ref-values__shield {
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #d9a21f;
  font-size: 2.8rem;
  background: #164d3f;
  clip-path: polygon(50% 0, 100% 12%, 90% 76%, 50% 100%, 10% 76%, 0 12%);
}

.leo-ref-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: .8rem;
  font-size: 2.3rem;
}

.leo-ref-gallery {
  background: linear-gradient(180deg, #f7f6ec, #fffdf7);
}

.leo-ref-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.leo-ref-gallery-grid figure {
  margin: 0;
}

.leo-ref-gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.1rem;
}

.container-footer {
  margin-top: 0;
  color: #fff;
  background: #124b3c;
}

.leo-ref-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.leo-ref-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-ref-footer__brand img {
  border-radius: 50%;
}

.leo-ref-footer__brand strong,
.leo-ref-footer__brand span {
  display: block;
}

.leo-ref-footer__brand strong {
  font-size: 1.35rem;
}

.leo-ref-footer__links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: .5rem 1.2rem;
}

.leo-ref-footer__links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .container-header .container-nav {
    flex-wrap: wrap;
  }

  .container-header .navbar-brand img {
    width: min(300px, 70vw);
  }

  .leo-ref-features,
  .leo-ref-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-ref-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(22,77,63,.14);
  }

  .leo-ref-feature:last-child {
    border-bottom: 0;
  }

  .leo-ref-feature img,
  .leo-ref-gallery-grid img {
    height: auto;
  }

  .leo-ref-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container-header {
    padding-inline: 1rem;
  }

  .container-header .container-nav {
    justify-content: center;
  }

  .container-header .mod-menu {
    justify-content: center;
  }

  .leo-ref-hero {
    min-height: 580px;
    background-position: 60% center;
    padding-top: 3.5rem;
  }

  .leo-ref-hero__content {
    max-width: 100%;
  }

  .leo-ref-actions .btn {
    width: 100%;
  }
}

/* JCM 1.0.0 – Figurenwelt */
.leo-character-intro,
.leo-character-heading,
.leo-character-closing {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.leo-character-world {
  padding-block: 1rem 3rem;
}

.leo-character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 1180px;
  margin: 2.4rem auto 3rem;
}

.leo-character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .13);
  border-radius: 1.2rem;
  box-shadow: 0 .75rem 2rem rgba(62, 43, 34, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.leo-character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.4rem rgba(62, 43, 34, .14);
}

.leo-character-card__symbol {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 4.3rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-card h3 {
  margin: 0;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.leo-character-card h4 {
  min-height: 2.7rem;
  margin: .35rem 0 .8rem;
  color: #b98200;
  font-size: 1rem;
}

.leo-character-card p {
  flex: 1 1 auto;
}

.leo-character-profile {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: #fffdf7;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.3rem;
}

.leo-character-symbol {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  font-size: 5rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-profile h2,
.leo-character-profile h3 {
  text-align: center;
}

.leo-character-profile blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  color: #164d3f;
  background: #f3e8d1;
  border-left: .35rem solid #d6a62e;
  border-radius: .6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-align: center;
}

.leo-character-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.leo-character-facts p {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border-radius: .8rem;
}

@media (max-width: 900px) {
  .leo-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-character-grid,
  .leo-character-facts {
    grid-template-columns: 1fr;
  }
}


/* JCM 1.0.2 – offizielle Figurenporträts */
.leo-character-card__symbol {
  display: none;
}

.leo-character-card__image {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.2rem;
  object-fit: cover;
  object-position: center;
  background: #eef6ff;
  border: .28rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .75rem 1.7rem rgba(35, 54, 47, .14);
}

.leo-character-card:hover .leo-character-card__image {
  transform: scale(1.025);
}

.leo-character-card__image {
  transition: transform .2s ease;
}

.com-content-article .leo-character-profile > img,
.com-content-article > img[itemprop="image"] {
  display: block;
  width: min(430px, 100%);
  height: auto;
  margin: 0 auto 2rem;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 .85rem 2rem rgba(35, 54, 47, .13);
}


/* homepage-friend-portraits-103 */
.leo-figure-card img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: .25rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .7rem 1.5rem rgba(35, 54, 47, .13);
}


/* leo-preview-grid-104 */
.leo-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 1240px;
  margin: 0 auto 2rem;
}

.leo-preview-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.1rem;
  box-shadow: 0 .65rem 1.7rem rgba(35, 54, 47, .09);
}

.leo-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.leo-preview-card__body {
  padding: 1rem 1.05rem 1.15rem;
}

.leo-preview-card h3 {
  margin: 0 0 .5rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.leo-preview-card p {
  margin: 0;
  color: #4f5d56;
  font-size: .98rem;
}

@media (max-width: 1050px) {
  .leo-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-preview-grid {
    grid-template-columns: 1fr;
  }
}


/* leo-legal-footer-105 */
.leo-legal {
  max-width: 940px;
  margin-inline: auto;
}

.leo-legal h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.leo-legal code {
  padding: .1rem .35rem;
  background: #f3e8d1;
  border-radius: .35rem;
}

.leo-legal-version {
  margin-top: 2.5rem;
  color: #6f665f;
  font-size: .95rem;
}

.leo-legal-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr 1.1fr;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  width: 100%;
  padding-block: 1rem;
}

.leo-legal-footer h3 {
  margin: 0 0 .65rem;
  color: #f3e8d1;
  font-size: 1.05rem;
}

.leo-legal-footer nav {
  display: grid;
  gap: .32rem;
}

.leo-legal-footer a {
  color: #fff;
  text-decoration: none;
}

.leo-legal-footer a:hover,
.leo-legal-footer a:focus {
  color: #d6a62e;
}

.leo-legal-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-legal-footer__brand img {
  border-radius: 50%;
}

.leo-legal-footer__brand strong,
.leo-legal-footer__brand span {
  display: block;
}

.leo-legal-footer__brand strong {
  font-size: 1.35rem;
}

.leo-legal-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: .9rem;
  color: rgba(255,255,255,.84);
}

.leo-cookie-module {
  margin: 0 !important;
  padding: 0 !important;
}

.leo-cookie-notice {
  position: fixed;
  z-index: 10000;
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 980px;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  color: #2f2925;
  background: rgba(255,253,248,.98);
  border: 1px solid rgba(22,77,63,.18);
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(20,46,39,.22);
  backdrop-filter: blur(8px);
}

.leo-cookie-notice[hidden] {
  display: none !important;
}

.leo-cookie-notice__text strong {
  color: #164d3f;
}

.leo-cookie-notice__text p {
  margin: .2rem 0 0;
  font-size: .96rem;
}

.leo-cookie-notice__text a {
  font-weight: 700;
}

@media (max-width: 850px) {
  .leo-legal-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .leo-legal-footer {
    grid-template-columns: 1fr;
  }

  .leo-cookie-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .leo-cookie-notice .btn {
    width: 100%;
  }
}


/* leo-preview-images-106: dedicated 4:3 preview artwork */



/* JCM 0.8.1 Showcase */
/* JCM 0.9.0 – Design-Referenz 1.0 */

body {
  margin: 0;
  color: #28352f;
  background: #fffaf0;
}

.container-header {
  position: relative;
  z-index: 20;
  padding: .45rem clamp(1rem, 4vw, 3.5rem);
  color: #123f34;
  background: #fffdf7;
  box-shadow: 0 1px 0 rgba(20, 62, 52, .08);
}

.container-header .grid-child,
.container-header .container-nav {
  max-width: 1500px;
  margin-inline: auto;
}

.container-header .container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.container-header .navbar-brand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.container-header .navbar-brand img {
  display: block;
  width: min(330px, 42vw);
  height: auto;
  max-height: 94px;
  object-fit: contain;
}

.container-header .mod-menu {
  justify-content: flex-end;
  gap: .2rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #143f35;
  padding: .65rem .85rem;
  text-shadow: none;
  background: transparent;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a {
  color: #b98200;
  background: transparent;
  border-bottom: 2px solid #d8a11f;
  border-radius: 0;
}

.leo-ref-hero-module {
  margin: 0;
  padding: 0;
}

.leo-ref-hero {
  min-height: min(72vh, 720px);
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(255, 249, 235, .90) 0%, rgba(255, 249, 235, .62) 39%, rgba(255, 249, 235, .05) 70%),
    url("/images/leo/hero/home-hero-fairway.webp") center/cover no-repeat;
}

.leo-ref-hero__content {
  max-width: 670px;
  text-align: center;
}

.leo-ref-hero h1 {
  margin: 0;
  color: #164d3f;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.leo-ref-hero h1 span {
  display: block;
  font-size: .72em;
}

.leo-ref-hero p {
  margin: 1.1rem 0 0;
  color: #28352f;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.leo-ref-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: 1.25rem 0;
  color: #d89d0b;
}

.leo-ref-divider span {
  width: 74px;
  height: 1px;
  background: #d89d0b;
}

.leo-ref-divider b {
  font-size: 1.3rem;
}

.leo-ref-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.leo-ref-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.leo-ref-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.leo-ref-heading h2 {
  margin-bottom: .4rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.leo-ref-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.leo-ref-feature {
  min-height: 100%;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.2rem);
  text-align: center;
  border-right: 1px solid rgba(22,77,63,.14);
}

.leo-ref-feature:last-child {
  border-right: 0;
}

.leo-ref-feature img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  border-radius: 1.1rem;
}

.leo-ref-feature h3 {
  margin: 1rem 0 .45rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
}

.leo-ref-feature a {
  color: #c38b05;
  font-weight: 700;
  text-decoration: none;
}

.leo-ref-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leo-ref-values__shield {
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #d9a21f;
  font-size: 2.8rem;
  background: #164d3f;
  clip-path: polygon(50% 0, 100% 12%, 90% 76%, 50% 100%, 10% 76%, 0 12%);
}

.leo-ref-values__icons {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: .8rem;
  font-size: 2.3rem;
}

.leo-ref-gallery {
  background: linear-gradient(180deg, #f7f6ec, #fffdf7);
}

.leo-ref-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.leo-ref-gallery-grid figure {
  margin: 0;
}

.leo-ref-gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.1rem;
}

.container-footer {
  margin-top: 0;
  color: #fff;
  background: #124b3c;
}

.leo-ref-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.leo-ref-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-ref-footer__brand img {
  border-radius: 50%;
}

.leo-ref-footer__brand strong,
.leo-ref-footer__brand span {
  display: block;
}

.leo-ref-footer__brand strong {
  font-size: 1.35rem;
}

.leo-ref-footer__links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: .5rem 1.2rem;
}

.leo-ref-footer__links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .container-header .container-nav {
    flex-wrap: wrap;
  }

  .container-header .navbar-brand img {
    width: min(300px, 70vw);
  }

  .leo-ref-features,
  .leo-ref-gallery-grid {
    grid-template-columns: 1fr;
  }

  .leo-ref-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(22,77,63,.14);
  }

  .leo-ref-feature:last-child {
    border-bottom: 0;
  }

  .leo-ref-feature img,
  .leo-ref-gallery-grid img {
    height: auto;
  }

  .leo-ref-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container-header {
    padding-inline: 1rem;
  }

  .container-header .container-nav {
    justify-content: center;
  }

  .container-header .mod-menu {
    justify-content: center;
  }

  .leo-ref-hero {
    min-height: 580px;
    background-position: 60% center;
    padding-top: 3.5rem;
  }

  .leo-ref-hero__content {
    max-width: 100%;
  }

  .leo-ref-actions .btn {
    width: 100%;
  }
}

/* JCM 1.0.0 – Figurenwelt */
.leo-character-intro,
.leo-character-heading,
.leo-character-closing {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.leo-character-world {
  padding-block: 1rem 3rem;
}

.leo-character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 1180px;
  margin: 2.4rem auto 3rem;
}

.leo-character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .13);
  border-radius: 1.2rem;
  box-shadow: 0 .75rem 2rem rgba(62, 43, 34, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.leo-character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.4rem rgba(62, 43, 34, .14);
}

.leo-character-card__symbol {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 4.3rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-card h3 {
  margin: 0;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.leo-character-card h4 {
  min-height: 2.7rem;
  margin: .35rem 0 .8rem;
  color: #b98200;
  font-size: 1rem;
}

.leo-character-card p {
  flex: 1 1 auto;
}

.leo-character-profile {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: #fffdf7;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.3rem;
}

.leo-character-symbol {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  font-size: 5rem;
  background: #f3e8d1;
  border-radius: 50%;
}

.leo-character-profile h2,
.leo-character-profile h3 {
  text-align: center;
}

.leo-character-profile blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  color: #164d3f;
  background: #f3e8d1;
  border-left: .35rem solid #d6a62e;
  border-radius: .6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-align: center;
}

.leo-character-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.leo-character-facts p {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border-radius: .8rem;
}

@media (max-width: 900px) {
  .leo-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-character-grid,
  .leo-character-facts {
    grid-template-columns: 1fr;
  }
}


/* JCM 1.0.2 – offizielle Figurenporträts */
.leo-character-card__symbol {
  display: none;
}

.leo-character-card__image {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.2rem;
  object-fit: cover;
  object-position: center;
  background: #eef6ff;
  border: .28rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .75rem 1.7rem rgba(35, 54, 47, .14);
}

.leo-character-card:hover .leo-character-card__image {
  transform: scale(1.025);
}

.leo-character-card__image {
  transition: transform .2s ease;
}

.com-content-article .leo-character-profile > img,
.com-content-article > img[itemprop="image"] {
  display: block;
  width: min(430px, 100%);
  height: auto;
  margin: 0 auto 2rem;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 .85rem 2rem rgba(35, 54, 47, .13);
}


/* homepage-friend-portraits-103 */
.leo-figure-card img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: .25rem solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(214, 166, 46, .55),
    0 .7rem 1.5rem rgba(35, 54, 47, .13);
}


/* leo-preview-grid-104 */
.leo-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 1240px;
  margin: 0 auto 2rem;
}

.leo-preview-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 77, 63, .12);
  border-radius: 1.1rem;
  box-shadow: 0 .65rem 1.7rem rgba(35, 54, 47, .09);
}

.leo-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.leo-preview-card__body {
  padding: 1rem 1.05rem 1.15rem;
}

.leo-preview-card h3 {
  margin: 0 0 .5rem;
  color: #164d3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.leo-preview-card p {
  margin: 0;
  color: #4f5d56;
  font-size: .98rem;
}

@media (max-width: 1050px) {
  .leo-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .leo-preview-grid {
    grid-template-columns: 1fr;
  }
}


/* leo-legal-footer-105 */
.leo-legal {
  max-width: 940px;
  margin-inline: auto;
}

.leo-legal h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.leo-legal code {
  padding: .1rem .35rem;
  background: #f3e8d1;
  border-radius: .35rem;
}

.leo-legal-version {
  margin-top: 2.5rem;
  color: #6f665f;
  font-size: .95rem;
}

.leo-legal-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr 1.1fr;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  width: 100%;
  padding-block: 1rem;
}

.leo-legal-footer h3 {
  margin: 0 0 .65rem;
  color: #f3e8d1;
  font-size: 1.05rem;
}

.leo-legal-footer nav {
  display: grid;
  gap: .32rem;
}

.leo-legal-footer a {
  color: #fff;
  text-decoration: none;
}

.leo-legal-footer a:hover,
.leo-legal-footer a:focus {
  color: #d6a62e;
}

.leo-legal-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leo-legal-footer__brand img {
  border-radius: 50%;
}

.leo-legal-footer__brand strong,
.leo-legal-footer__brand span {
  display: block;
}

.leo-legal-footer__brand strong {
  font-size: 1.35rem;
}

.leo-legal-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: .9rem;
  color: rgba(255,255,255,.84);
}

.leo-cookie-module {
  margin: 0 !important;
  padding: 0 !important;
}

.leo-cookie-notice {
  position: fixed;
  z-index: 10000;
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 980px;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  color: #2f2925;
  background: rgba(255,253,248,.98);
  border: 1px solid rgba(22,77,63,.18);
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(20,46,39,.22);
  backdrop-filter: blur(8px);
}

.leo-cookie-notice[hidden] {
  display: none !important;
}

.leo-cookie-notice__text strong {
  color: #164d3f;
}

.leo-cookie-notice__text p {
  margin: .2rem 0 0;
  font-size: .96rem;
}

.leo-cookie-notice__text a {
  font-weight: 700;
}

@media (max-width: 850px) {
  .leo-legal-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .leo-legal-footer {
    grid-template-columns: 1fr;
  }

  .leo-cookie-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .leo-cookie-notice .btn {
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .container-header .navbar-toggler,
  .container-header .navbar-toggler .icon-menu,
  .container-header .navbar-toggler .icon-menu::before {
    color: #000000 !important;
    border-color: #ffffff !important;
  }
}

/* leo-preview-images-106: dedicated 4:3 preview artwork */


/* leo-author-story-107 */
.leo-author-story{max-width:980px;margin-inline:auto}
.leo-author-story__chapter{display:grid;grid-template-columns:90px 1fr;gap:1.4rem;align-items:start;margin:2rem 0;padding:clamp(1.25rem,3vw,2rem);background:#fffdf7;border:1px solid rgba(22,77,63,.12);border-radius:1.15rem}
.leo-author-story__icon{display:grid;place-items:center;width:78px;height:78px;font-size:2.65rem;background:#f3e8d1;border-radius:50%}
.leo-author-story__chapter h2,.leo-author-story__vision h2,.leo-author-story__about h2{margin-top:0;color:#164d3f;font-family:Georgia,"Times New Roman",serif}
.leo-author-story__highlight{background:linear-gradient(135deg,#fffdf7,#f6eedc);border-color:rgba(214,166,46,.45)}
.leo-author-story__vision{margin:2.5rem 0;padding:clamp(1.4rem,3vw,2.2rem);color:#fff;background:#164d3f;border-radius:1.15rem}
.leo-author-story__vision h2{color:#f3d17b}
.leo-author-story__about{margin:2.5rem 0;padding:clamp(1.4rem,3vw,2.2rem);background:#fff;border:1px solid rgba(22,77,63,.12);border-radius:1.15rem;box-shadow:0 .75rem 2rem rgba(35,54,47,.08)}
.leo-author-story__future-link{margin-top:1.1rem;color:#6b665f;font-size:.95rem}
.leo-author-story__quote{margin:3rem auto 1rem;padding:1.4rem 1.7rem;max-width:820px;color:#164d3f;background:#f3e8d1;border-left:.35rem solid #d6a62e;border-radius:.75rem;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.25rem,2.5vw,1.65rem);text-align:center}
.leo-author-story__ending{text-align:center;color:#6b665f}
@media(max-width:700px){.leo-author-story__chapter{grid-template-columns:1fr}.leo-author-story__icon{margin-inline:auto}.leo-author-story__chapter h2{text-align:center}}

