/* ==================================================================
   Landgasthaus "Zur Linde", Windeck-Altwindeck
   Erscheinungsbild, Fassung 3 (11.11.2026) - nach dem bisherigen
   Auftritt: weisses Blatt (1000 px) auf Himmelblau-Verlauf, Kopfbild
   mit Schriftzug, rote Menuepunkte in Grossbuchstaben, rote
   Ueberschriften, blaue Trebuchet-Schrift, heller Fuss.
   Werte aus dem alten Template "lind_altwindeck" uebernommen.
   Diese Datei ueberlebt Joomla-Aktualisierungen.
   ================================================================== */

:root,
:root[data-bs-theme="dark"],
html[data-bs-theme="dark"] {
  color-scheme: light only;

  --l-rot:      #c62c1c;   /* Menue, Beitragstitel, Links */
  --l-rosa:     #e792ba;   /* Menue bei Mauszeiger */
  --l-hellblau: #7fccf0;   /* Links bei Mauszeiger */
  --l-text:     #126d97;   /* Fliesstext */
  --l-kopfblau: #2e628a;   /* Blocktitel der Seitenleiste */
  --l-h:        #4088bf;   /* Ueberschriften im Text */
  --l-dunkel:   #2d4453;   /* aktiver Menuepunkt */
  --l-rand:     #8dd2f2;   /* Blattrand */
  --l-fuss:     #2d5f86;
  --l-blatt:    1000px;
  --l-schrift:  "Trebuchet MS", Arial, Helvetica, sans-serif;
  --l-zier:     "Maiandra GD", "Trebuchet MS", Arial, Helvetica, sans-serif;

  /* Cassiopeia-/Bootstrap-Variablen mitziehen, damit nichts dunkel wird */
  --cassiopeia-color-primary: #4088bf;
  --cassiopeia-color-link: #c62c1c;
  --cassiopeia-color-hover: #7fccf0;
  --body-bg: #abdef5;
  --body-color: #126d97;
  --bs-body-bg: #ffffff;
  --bs-body-color: #126d97;
  --bs-emphasis-color: #2e628a;
  --bs-secondary-color: #126d97;
  --bs-border-color: #8dd2f2;
  --bs-link-color: #c62c1c;
  --bs-link-hover-color: #7fccf0;
  --bs-card-bg: transparent;
}

html { color-scheme: light only; background: #2dace6; }

body {
  font-family: var(--l-schrift);
  font-size: 15px;
  line-height: 1.5;
  color: var(--l-text);
  background: #abdef5 linear-gradient(to bottom, #ffffff 0, #2dace6 1050px) no-repeat;
  background-color: #2dace6;
  min-height: 100vh;
}

a { color: var(--l-rot); text-decoration: none; }
a:hover { color: var(--l-hellblau); text-decoration: none; }
:focus-visible { outline: 2px solid var(--l-h); outline-offset: 2px; }

/* ============================================================ Blatt */
.container-header,
.site-grid,
.container-footer {
  max-width: var(--l-blatt);
  margin-inline: auto;
  box-sizing: border-box;
  background: #fff;
  border-left: 1px solid var(--l-rand);
  border-right: 1px solid var(--l-rand);
}

/* ============================================================= Kopf */
.container-header {
  background-image: none;
  box-shadow: none;
  padding: 0;
  position: relative;
  z-index: 20;
}
.container-header .grid-child { max-width: none; margin: 0; padding: 0 !important; }
.container-header .container-below-top { display: block !important; }
.container-below-top .mod-custom { display: block; width: 100%; }

.linde-kopf { display: block; line-height: 0; height: 150px; overflow: hidden; background: #cdebf9; }
.linde-kopf img { display: block; width: 998px; max-width: none; height: 150px; }

/* ------------------------------------------------------ Navigation */
.container-header .container-nav {
  display: block;
  background: #abdef5 linear-gradient(to bottom, #acdef5 0, #c8e9f8 50%, #f1f9fc 100%);
  min-height: 34px;
  margin: 0;
}
.container-nav ul.mod-menu {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  margin: 0 0 0 29px;
  padding: 0;
  list-style: none;
}
.container-nav ul.mod-menu > li { position: relative; margin: 0; padding: 0; }
.container-nav ul.mod-menu > li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 1px; height: 14px;
  background: #265273;
}
.container-nav ul.mod-menu > li > a {
  display: block;
  height: 33px;
  line-height: 33px;
  padding: 0 22px;
  font-family: var(--l-zier);
  font-size: 16px;
  font-weight: normal;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--l-rot);
}
.container-nav ul.mod-menu > li > a:hover,
.container-nav ul.mod-menu > li:hover > a { color: var(--l-rosa); }
.container-nav ul.mod-menu > li.current > a,
.container-nav ul.mod-menu > li.active > a { color: var(--l-dunkel); }

.container-nav ul.mod-menu ul {
  display: none;
  position: absolute;
  left: 0; top: 100%;
  z-index: 40;
  min-width: 15em;
  margin: 0; padding: 2px 0;
  list-style: none;
  background: #eff2f5;
  border: 1px solid #cfd8e2;
  font-size: 13px;
}
.container-nav ul.mod-menu li:hover > ul,
.container-nav ul.mod-menu li:focus-within > ul { display: block; }
.container-nav ul.mod-menu ul li { margin: 0; padding: 0; }
.container-nav ul.mod-menu ul a {
  display: block;
  white-space: nowrap;
  padding: 0 14px;
  line-height: 26px;
  font-family: var(--l-schrift);
  color: #306791;
  text-decoration: none;
}
.container-nav ul.mod-menu ul a:hover { background: #7aa0b8; color: #000; }

/* =========================================================== Raster */
.site-grid { gap: 0; }
.site-grid > .grid-child { max-width: none; box-sizing: border-box; min-width: 0; }

@media (min-width: 992px) {
  .site-grid {
    grid-template-columns: [full-start main-start] minmax(0, 65fr) minmax(0, 35fr) [main-end full-end];
    grid-template-areas:
      "banner banner"
      "top-a  top-a"
      "top-b  top-b"
      "comp   side-r"
      "bot-a  bot-a"
      "bot-b  bot-b";
  }
  .site-grid > .container-banner        { grid-area: banner !important; }
  .site-grid > .container-top-a         { grid-area: top-a  !important; }
  .site-grid > .container-top-b         { grid-area: top-b  !important; }
  .site-grid > .container-component     { grid-area: comp   !important; }
  .site-grid > .container-sidebar-right { grid-area: side-r !important; }
  .site-grid > .container-bottom-a      { grid-area: bot-a  !important; }
  .site-grid > .container-bottom-b      { grid-area: bot-b  !important; }
}

/* Modulrahmen des Templates neutralisieren */
.site-grid .card { background: transparent; border: 0; border-radius: 0; box-shadow: none; margin: 0; }
.site-grid .card-body { padding: 0; }

/* ========================================================== Inhalt */
.container-component {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 22px 30px 20px 47px;
  text-align: left;
}

/* Bildwechsel auf der Startseite (wie bisher der Bilderwechsler) */
.linde-bilder {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 0 22px;
  background-color: #cdebf9;
  background-size: cover;
  background-position: center;
}
.linde-bilder img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  margin: 0;
  opacity: 0;
  animation: linde-wechsel 65s infinite both;
  animation-delay: calc(var(--i) * 5s);
}
@keyframes linde-wechsel {
  0%    { opacity: 0; }
  1.6%  { opacity: 1; }
  7.7%  { opacity: 1; }
  9.3%  { opacity: 0; }
  100%  { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .linde-bilder img { animation: none; }
  .linde-bilder img:first-child { opacity: 1; }
}

/* Ueberschriften */
h1, h2, h3, h4 { font-family: var(--l-zier); font-weight: bold; text-align: left; line-height: 1.25; }
.page-header { margin: 0; padding: 0; border: 0; }
.page-header h1 { color: #204460; font-size: 24px; margin: 5px 0 14px; }
.page-header h2, .item-title { color: var(--l-rot); font-size: 22px; margin: 5px 0 12px; }
.page-header h2 a, .item-title a { color: var(--l-rot); text-decoration: none !important; }
.page-header h2 a:hover, .item-title a:hover { color: var(--l-hellblau); }
main .item-content h1, main .com-content-article__body h1 { color: var(--l-h); font-size: 28px; margin: 21px 0; }
main .item-content h2, main .com-content-article__body h2 { color: var(--l-h); font-size: 22px; margin: 19px 0; }
main h3 { color: var(--l-h); font-size: 18px; margin: 16px 0 8px; }

main p { margin: 0 0 11px; }
main ul, main ol { margin: 1em 0 1em 24px; padding: 0; }
main li { color: #041a25; }
main table { border-collapse: collapse; margin: 1px 0 12px; max-width: 100%; }
main td, main th { padding: 2px 6px 2px 2px; border: 1px dotted #608da9; vertical-align: top; text-align: left; }
main hr { border: 0; border-top: 1px solid #c8e2f2; margin: 16px 0; opacity: 1; }
main img { max-width: 100%; height: auto; margin: 5px 0; border-radius: 0; box-shadow: none; }
main p:empty { display: none; }

/* Altbestand: Reste von Schriftvorgaben aus der alten Seite einfangen */
main [style], main font { font-family: inherit !important; line-height: inherit !important; }
main p[style], main span[style] { font-size: inherit !important; }

/* Listen von Beitraegen (Events, Speisekarten ...) */
.blog-items { display: block; }
.blog-item, .com-content-category-blog__item { padding: 0 0 14px; margin: 0 0 18px; border-bottom: 1px solid #d5ebf7; }
.blog-items .blog-item:last-child { border-bottom: 0; margin-bottom: 0; }
.article-info { color: var(--l-text); font-size: 12px; margin: 0 0 8px; }
.items-more ol, .items-more ul { margin-left: 24px; }
.com-content-category-blog__navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; }
.page-link { color: var(--l-kopfblau); border-color: #c8e2f2; background: #fff; padding: 3px 9px; }
.active > .page-link, .page-link.active { background: #4088bf; border-color: #4088bf; color: #fff; }

/* Schaltflaechen wie bisher: blauer Verlauf */
.readmore .btn, a.btn, .btn-primary, .btn-secondary {
  display: inline-block;
  padding: 3px 14px;
  border: 0;
  border-radius: 3px;
  background: #abcbe3 linear-gradient(to bottom, #c9deed 0, #8cb8d9 100%);
  color: #1b3b54 !important;
  font-family: var(--l-schrift);
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}
.readmore .btn:hover, a.btn:hover, .btn-primary:hover, .btn-secondary:hover {
  background: #4f92c4 linear-gradient(to bottom, #6aa2cd 0, #4088bf 79%, #3c80b4 100%);
  color: #eef3f6 !important;
}

/* ==================================================== Seitenleiste */
.container-sidebar-right { padding: 25px 27px 20px 17px; font-size: 14px; }
.container-sidebar-right .card { margin: 0 0 18px; }
.container-sidebar-right .card-header,
.container-sidebar-right h3 {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 8px 0;
  font-family: var(--l-zier);
  font-size: 20px;
  font-weight: bold;
  color: var(--l-kopfblau);
}
.container-sidebar-right p { margin: 0 0 7px; }

.linde-oeffnung .zeile {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 3px 0;
  border-bottom: 1px dotted #a9cfe6;
}
.linde-oeffnung .zeile span { padding: 0 !important; margin: 0; background: none; }
.linde-oeffnung .zeile .tag { font-weight: bold; color: var(--l-kopfblau); }
.linde-oeffnung .zeile .zeit { white-space: nowrap; }
.linde-oeffnung .ruhetag { border-bottom: 0; }
.linde-oeffnung .ruhetag .tag { font-weight: normal; color: var(--l-text); }
.linde-oeffnung .hinweis { margin-top: 9px; font-size: 13px; line-height: 1.45; }
.linde-oeffnung .hinweis strong { color: var(--l-rot); }
.linde-oeffnung .stand { font-size: 11px; margin-top: 8px; }

.linde-kontakt .haus strong { color: var(--l-kopfblau); }
.linde-kontakt .tel a { font-weight: bold; font-size: 16px; }
.linde-kontakt .klein { font-size: 12px; }
.linde-kontakt .hinweis { margin-top: 8px; font-size: 13px; }

.container-sidebar-right .mod-articleslatest { list-style: none; margin: 0; padding: 0; }
.container-sidebar-right .mod-articleslatest li { margin: 0; padding: 4px 0; border-bottom: 1px dotted #a9cfe6; }
.container-sidebar-right .mod-articleslatest li:last-child { border-bottom: 0; }
.container-sidebar-right .mod-articleslatest a { display: block; color: var(--l-rot); line-height: 1.35; }
.container-sidebar-right .mod-articleslatest a:hover { color: var(--l-hellblau); }

/* ======================================================== Fusszeile */
.container-footer {
  margin-top: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--l-rand);
  background: #afc6d4 linear-gradient(to bottom, #ffffff 0, #d2eefa 32%, #c4e8f8 70%, #c9eaf9 100%);
  color: #224967;
  font-size: 12px;
  text-align: center;
}
.container-footer .grid-child {
  display: block;
  max-width: none;
  margin: 0;
  padding: 30px 23px 12px;
  position: relative;
}
.container-footer a { color: var(--l-fuss); text-decoration: none; }
.container-footer a:hover { color: #397aac; text-decoration: none; }
.container-footer ul.mod-menu {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px;
  margin: 0; padding: 0;
  list-style: none;
}
.container-footer ul.mod-menu li { margin: 0; padding: 0; }
.container-footer ul.mod-menu li a { padding: 0; display: inline; }
.linde-fuss p { margin: 0; text-align: center; }
.linde-fuss .fb { position: absolute; left: 40px; bottom: 6px; line-height: 0; }
.linde-fuss .fb img { width: 25px; height: 25px; opacity: .75; }
.linde-fuss .fb:hover img { opacity: 1; }
.back-to-top-link { background: #4088bf; border-color: #4088bf; color: #fff; }

/* Abstand unter dem Blatt, wie bisher */
body::after { content: ""; display: block; height: 44px; }

/* ================================================ kleine Bildschirme */
@media (max-width: 1001px) {
  .container-header, .site-grid, .container-footer { border-left: 0; border-right: 0; }
}
@media (max-width: 991.98px) {
  .site-grid > .grid-child { grid-column: full-start / full-end !important; }
  .container-component { padding: 16px 18px 10px; overflow-x: hidden; }
  .container-sidebar-right { padding: 6px 18px 18px; }
  .linde-kopf { height: 118px; }
  .linde-kopf img { width: 785px; height: 118px; }
  .container-header .container-nav { padding: 3px 0 !important; }
  .container-nav ul.mod-menu { margin-left: 4px; }
  .container-nav ul.mod-menu > li.parent { display: contents !important; }
  .container-nav ul.mod-menu ul,
  .container-nav ul.mod-menu ul.mod-menu__sub { display: contents !important; position: static; }
  .container-nav ul.mod-menu ul li { display: block !important; }
  .container-nav ul.mod-menu > li > a { padding: 0 14px; height: 30px; line-height: 30px; font-size: 15px; }
  .container-nav ul.mod-menu ul a { padding: 0 14px; line-height: 30px; font-size: 14px; background: transparent; }
  .container-nav ul.mod-menu > li + li::before { display: none; }
  main table, main div, main p, main span { max-width: 100% !important; }
  main { overflow-wrap: anywhere; }
  .linde-fuss .fb { position: static; display: inline-block; margin-top: 8px; }
}

/* ------------------------------------------------ Nachschliff Fassung 3 */
.container-header, .site-grid, .container-footer { width: 100%; }
.container-footer { display: block; }
.container-footer .grid-child { width: 100%; box-sizing: border-box; min-height: 78px; }
/* Beitragstitel rot wie bisher - auch auf der Startseite */
main .page-header h2, main .item-content .page-header h2 { color: var(--l-rot); font-size: 22px; margin: 5px 0 12px; }
/* Links ohne Unterstreichung, wie bisher */
main a, .container-sidebar-right a, .container-footer a { text-decoration: none !important; }
main a[href]:hover, .container-sidebar-right a:hover { color: var(--l-hellblau); }
/* unterstrichen + fett war auf der alten Seite der rote Hinweis */
main [style*="underline"] strong, main strong [style*="underline"], main u strong, main strong u { color: #e8231a; }

/* Einzelbeitrag: Seitenueberschrift nicht doppelt zum Beitragstitel zeigen */
.item-page > .page-header:has(h1) { display: none; }

/* ==================================================================
   ENTWURF B - "etwas moderner"
   Gleiche Seite, gleiche Farben, gleiches Kopfbild. Geaendert sind nur
   Schrift, Abstaende und ein paar Flaechen. Alles oberhalb dieser
   Zeile ist unveraendert die Fassung 3.
   ================================================================== */
:root {
  --l-text:   #2a5670;                      /* etwas dunkler, besser lesbar */
  --l-serif:  "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", Georgia, serif;
  --l-sans:   "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --l-schrift: var(--l-sans);
  --l-zier:    var(--l-serif);
  --bs-body-color: #2a5670;
  --body-color: #2a5670;
}

body { font-size: 16px; line-height: 1.65; color: var(--l-text); }

/* Blatt: weicher Schatten statt harter Linie, unten abgerundet */
.container-header, .site-grid, .container-footer { border-left: 0; border-right: 0; }
.container-header { box-shadow: 0 0 40px rgba(20, 90, 130, .18); }
.site-grid       { box-shadow: 0 30px 40px rgba(20, 90, 130, .18); clip-path: inset(0 -60px 0 -60px); }
.container-footer { border-bottom: 0; border-radius: 0 0 10px 10px; box-shadow: 0 24px 40px rgba(20, 90, 130, .22); clip-path: inset(0 -60px -60px -60px); }

/* Menue: gleiche Farben, ruhigere Schrift, mehr Luft, Strich statt Trennern */
.container-header .container-nav { min-height: 46px; border-bottom: 1px solid #d9eef9; }
.container-nav ul.mod-menu { margin-left: 27px; }
.container-nav ul.mod-menu > li + li::before { display: none; }
.container-nav ul.mod-menu > li > a {
  height: 46px;
  line-height: 46px;
  padding: 0 20px;
  font-family: var(--l-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .09em;
  position: relative;
}
.container-nav ul.mod-menu > li > a::after {
  content: "";
  position: absolute;
  left: 20px; right: 20px; bottom: 9px;
  height: 2px;
  background: var(--l-rot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.container-nav ul.mod-menu > li > a:hover { color: var(--l-rot); }
.container-nav ul.mod-menu > li > a:hover::after,
.container-nav ul.mod-menu > li:hover > a::after { transform: scaleX(1); }
.container-nav ul.mod-menu > li.current > a::after,
.container-nav ul.mod-menu > li.active > a::after { transform: scaleX(1); background: var(--l-dunkel); }
.container-nav ul.mod-menu ul {
  background: #fff;
  border: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 26px rgba(20, 90, 130, .2);
  padding: 6px 0;
  font-size: 14.5px;
}
.container-nav ul.mod-menu ul a { padding: 0 18px; line-height: 34px; font-family: var(--l-sans); color: var(--l-kopfblau); }
.container-nav ul.mod-menu ul a:hover { background: #eaf6fc; color: var(--l-rot); }

/* Inhalt: mehr Rand, Serifen-Ueberschriften */
.container-component { padding: 34px 34px 34px 48px; }
.container-sidebar-right { padding: 34px 40px 30px 14px; font-size: 15px; }

h1, h2, h3, h4 { font-family: var(--l-serif); font-weight: 600; letter-spacing: -.005em; }
.page-header h1 { font-size: 32px; color: var(--l-kopfblau); margin: 0 0 18px; }
main .page-header h2, main .item-content .page-header h2, .item-title {
  font-size: 27px;
  line-height: 1.2;
  margin: 0 0 14px;
}
body.itemid-102 main .page-header h2 { font-size: 32px; margin-bottom: 18px; }
main .item-content h1, main .com-content-article__body h1 { font-size: 28px; }
main .item-content h2, main .com-content-article__body h2 { font-size: 23px; }
main h3 { font-size: 19px; }
main p { margin: 0 0 13px; }
main li { color: var(--l-text); }
main td, main th { border: 0; border-bottom: 1px solid #d5ebf7; padding: 6px 10px 6px 0; }

.linde-bilder { margin-bottom: 30px; border-radius: 8px; box-shadow: 0 8px 22px rgba(20, 90, 130, .18); }
main img { border-radius: 8px; }
.blog-item, .com-content-category-blog__item { padding-bottom: 22px; margin-bottom: 26px; }

.readmore .btn, a.btn, .btn-primary, .btn-secondary {
  background: #fff;
  border: 1px solid var(--l-rot);
  border-radius: 999px;
  color: var(--l-rot) !important;
  padding: 4px 16px;
  font-size: 14px;
}
.readmore .btn:hover, a.btn:hover, .btn-primary:hover, .btn-secondary:hover {
  background: var(--l-rot);
  color: #fff !important;
}

/* Seitenleiste: zart hinterlegte Felder */
.container-sidebar-right .card {
  background: #f1f9fd;
  border-radius: 10px;
  padding: 16px 20px 18px;
  margin-bottom: 18px;
}
.container-sidebar-right .card-header,
.container-sidebar-right h3 { font-family: var(--l-serif); font-size: 22px; font-weight: 600; padding: 0 0 8px; }
.linde-oeffnung .zeile { padding: 6px 0; border-bottom: 1px solid #d5ebf7; }
.linde-oeffnung .zeile .zeit { font-variant-numeric: tabular-nums; }
.linde-oeffnung .hinweis { font-size: 14px; }
.linde-oeffnung .stand { font-size: 12px; opacity: .8; }
.linde-kontakt .tel a { font-family: var(--l-serif); font-size: 20px; font-weight: 600; }
.linde-kontakt .hinweis, .linde-kontakt .klein { font-size: 14px; }
.container-sidebar-right .mod-articleslatest li { padding: 7px 0; border-bottom: 1px solid #d5ebf7; }

/* Fuss: gleiche Flaeche, etwas mehr Luft */
.container-footer { font-size: 13.5px; }
.container-footer .grid-child { padding: 38px 23px 20px; }
.container-footer ul.mod-menu { gap: 0 20px; margin-bottom: 4px; }
.linde-fuss .fb { bottom: 16px; }

@media (max-width: 991.98px) {
  .container-component { padding: 20px 18px 10px; }
  .container-sidebar-right { padding: 8px 18px 20px; }
  .container-nav ul.mod-menu { margin-left: 4px; }
  .container-nav ul.mod-menu > li > a { height: 34px; line-height: 34px; padding: 0 14px; font-size: 13.5px; }
  .container-nav ul.mod-menu > li > a::after { display: none; }
  .container-nav ul.mod-menu ul a { line-height: 34px; padding: 0 14px; }
  .container-nav ul.mod-menu ul { box-shadow: none; }
  .site-grid, .container-footer, .container-header { clip-path: none; box-shadow: none; border-radius: 0; }
  body.itemid-102 main .page-header h2, .page-header h1 { font-size: 26px; }
}

/* Einzelbeitrag: Seitenueberschrift nicht doppelt zum Beitragstitel zeigen */
.item-page > .page-header:has(h1) { display: none; }

/* ==================================================================
   ENTWURF B, zweite Stufe (15:00) - noch einen Schritt moderner:
   breiteres Blatt mit runden Ecken, Bildwechsel ueber die volle
   Breite, ruhigeres Menue, mehr Weissraum. Farben und Kopfbild bleiben.
   ================================================================== */
:root { --l-blatt: 1120px; }

body { background: #bfe4f6 linear-gradient(to bottom, #ffffff 0, #bfe6f8 420px, #6cc3ee 1400px) no-repeat; background-color: #6cc3ee; }
html { background: #6cc3ee; }

/* Blatt schwebt mit Abstand und runden Ecken */
.container-header { margin-top: 26px; border-radius: 14px 14px 0 0; overflow: visible; }
.container-header .container-below-top { border-radius: 14px 14px 0 0; overflow: hidden; }
.container-footer { border-radius: 0 0 14px 14px; }

/* Kopf: Schriftzug links, Bild laeuft rechts weich in die Flaeche aus */
.linde-kopf { background: linear-gradient(to right, #cfecf9 0, #c4e7f7 60%, #b7e1f6 100%); height: 150px; }
.linde-kopf img {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 640px, transparent 990px);
          mask-image: linear-gradient(to right, #000 0, #000 640px, transparent 990px);
}

/* Menue: weisse Leiste, rote Punkte */
.container-header .container-nav {
  background: #fff;
  min-height: 56px;
  border-bottom: 1px solid #e3f1f9;
}
.container-nav ul.mod-menu { margin-left: 28px; }
.container-nav ul.mod-menu > li > a { height: 56px; line-height: 56px; font-size: 14.5px; }
.container-nav ul.mod-menu > li > a::after { bottom: 13px; }

@media (min-width: 992px) {
  .site-grid { grid-template-columns: [full-start main-start] minmax(0, 1fr) 372px [main-end full-end]; }

  /* Startseite: Bildwechsel ueber die ganze Blattbreite */
  body.itemid-102 .site-grid > .container-component { display: contents; }
  body.itemid-102 .container-component > .main-top { grid-area: banner; margin: 0; }
  body.itemid-102 .container-component > #system-message-container { grid-area: top-a; }
  body.itemid-102 .container-component > main { grid-area: comp; padding: 44px 40px 44px 56px; min-width: 0; }
  body.itemid-102 .linde-bilder {
    aspect-ratio: auto;
    height: 430px;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
  body.itemid-102 .linde-bilder::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 90px;
    background: linear-gradient(to top, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
    pointer-events: none;
  }
  .container-component { padding: 44px 40px 44px 56px; }
  .container-sidebar-right { padding: 44px 48px 40px 8px; }
}

/* Schrift: eine Stufe groesser, Titel mit feinem Strich */
body { font-size: 16.5px; line-height: 1.7; }
.page-header h1 { font-size: 38px; margin-bottom: 22px; }
main .page-header h2, main .item-content .page-header h2, .item-title { font-size: 29px; }
body.itemid-102 main .page-header h2 { font-size: 40px; line-height: 1.12; margin-bottom: 8px; }
body.itemid-102 main .page-header h2::after,
.page-header h1::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin-top: 16px;
  background: var(--l-hellblau);
  border-radius: 2px;
}
body.itemid-102 main .item-content > p:first-of-type { margin-top: 22px; }
main p { margin: 0 0 15px; }
main img { border-radius: 12px; box-shadow: 0 10px 26px rgba(20, 90, 130, .16); }
.linde-bilder img { border-radius: 0; box-shadow: none; }

/* Seitenleiste: weisse Karten mit feinem Rand, Oeffnungszeiten betont */
.container-sidebar-right .card {
  background: #fff;
  border: 1px solid #dcedf7;
  border-radius: 14px;
  padding: 20px 22px 22px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(20, 90, 130, .07);
}
.container-sidebar-right .card.linde-oeffnung {
  background: linear-gradient(to bottom, #e6f5fc 0, #f6fbfe 100%);
  border-color: #cbe7f6;
}
.container-sidebar-right .card-header,
.container-sidebar-right h3 { font-size: 23px; padding-bottom: 10px; }
.linde-oeffnung .zeile { padding: 7px 0; }

/* Fuss: etwas hoeher, klarer gegliedert */
.container-footer { font-size: 14px; background: linear-gradient(to bottom, #ffffff 0, #dff2fb 30%, #c9eaf9 100%); }
.container-footer .grid-child { padding: 46px 28px 26px; }
.container-footer ul.mod-menu { margin-bottom: 8px; font-weight: 600; letter-spacing: .03em; }
.linde-fuss .fb { left: 48px; bottom: 22px; }

@media (max-width: 1160px) {
  .container-header { margin-top: 0; border-radius: 0; }
  .container-header .container-below-top { border-radius: 0; }
  .container-footer { border-radius: 0; }
}
@media (max-width: 991.98px) {
  body { font-size: 16px; }
  .linde-kopf img { -webkit-mask-image: none; mask-image: none; }
  .container-header .container-nav { min-height: 0; }
  .container-nav ul.mod-menu > li > a { height: 36px; line-height: 36px; }
  body.itemid-102 main .page-header h2 { font-size: 28px; }
  .page-header h1 { font-size: 28px; }
  .container-footer .grid-child { padding: 30px 18px 20px; }
}

/* ==================================================================
   ENTWURF B - Dunkelmodus, automatisch nach Geraeteeinstellung
   (prefers-color-scheme). Gleicher Aufbau, Nachtblau statt Weiss.
   ================================================================== */
@media (prefers-color-scheme: dark) {
  :root,
  :root[data-bs-theme="dark"],
  html[data-bs-theme="dark"] {
    color-scheme: dark;
    --l-rot:      #ff8a76;
    --l-rosa:     #ffb3a6;
    --l-hellblau: #8fd4f5;
    --l-text:     #cfe1ec;
    --l-kopfblau: #a6d8f2;
    --l-h:        #8fd0f0;
    --l-dunkel:   #f2f9fd;
    --l-rand:     #24475f;
    --l-fuss:     #bfe4f6;
    --l-flaeche:  #13283a;
    --l-karte:    #183247;
    --l-linie:    #284b63;
    --cassiopeia-color-link: #ff8a76;
    --cassiopeia-color-hover: #8fd4f5;
    --body-bg: #0c1c29;
    --body-color: #cfe1ec;
    --bs-body-bg: #13283a;
    --bs-body-color: #cfe1ec;
    --bs-emphasis-color: #f2f9fd;
    --bs-secondary-color: #a9c6d8;
    --bs-border-color: #284b63;
    --bs-link-color: #ff8a76;
    --bs-link-hover-color: #8fd4f5;
  }
  html { color-scheme: dark; background: #0a1722; }
  body {
    background: #0c1c29 linear-gradient(to bottom, #173650 0, #10283a 420px, #0a1722 1400px) no-repeat;
    background-color: #0a1722;
    color: var(--l-text);
  }

  .container-header, .site-grid, .container-footer { background: var(--l-flaeche); }
  .container-header { box-shadow: 0 0 40px rgba(0, 0, 0, .45); }
  .site-grid        { box-shadow: 0 30px 40px rgba(0, 0, 0, .45); }
  .container-footer { box-shadow: 0 24px 40px rgba(0, 0, 0, .5); }

  /* Kopfbild umkehren: heller Schriftzug auf Nachtblau, das Blau bleibt Blau */
  .linde-kopf { background: linear-gradient(to right, #0d2b3b 0, #113244 60%, #143a4f 100%); }
  .linde-kopf img { filter: invert(1) hue-rotate(180deg) saturate(1.15) brightness(1.05); }

  .container-header .container-nav { background: var(--l-flaeche); border-bottom-color: var(--l-linie); }
  .container-nav ul.mod-menu > li > a:hover { color: #ffb3a6; }
  .container-nav ul.mod-menu ul { background: #1b3a52; box-shadow: 0 12px 26px rgba(0, 0, 0, .5); }
  .container-nav ul.mod-menu ul a { color: #cfe6f3; }
  .container-nav ul.mod-menu ul a:hover { background: #24506e; color: #fff; }

  .linde-bilder { background-color: #0d2231; }
  body.itemid-102 .linde-bilder::after { background: linear-gradient(to top, rgba(19, 40, 58, .96), rgba(19, 40, 58, 0)); }

  .page-header h1 { color: var(--l-kopfblau); }
  main li { color: var(--l-text); }
  main td, main th { border-bottom-color: var(--l-linie); }
  main hr { border-top-color: var(--l-linie); }
  main img { box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
  main [style*="underline"] strong, main strong [style*="underline"], main u strong, main strong u { color: #ff7767; }
  .blog-item, .com-content-category-blog__item { border-bottom-color: var(--l-linie); }
  .page-link { background: var(--l-karte); border-color: var(--l-linie); color: var(--l-kopfblau); }
  .active > .page-link, .page-link.active { background: #2f79ad; border-color: #2f79ad; color: #fff; }
  .readmore .btn, a.btn, .btn-primary, .btn-secondary { background: transparent; border-color: var(--l-rot); color: var(--l-rot) !important; }
  .readmore .btn:hover, a.btn:hover, .btn-primary:hover, .btn-secondary:hover { background: var(--l-rot); color: #10202c !important; }

  .container-sidebar-right .card { background: var(--l-karte); border-color: var(--l-linie); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
  .container-sidebar-right .card.linde-oeffnung { background: linear-gradient(to bottom, #1d4059 0, #183247 100%); border-color: #2f5a78; }
  .linde-oeffnung .zeile,
  .container-sidebar-right .mod-articleslatest li { border-bottom-color: var(--l-linie); }
  .linde-oeffnung .ruhetag .tag { color: var(--l-text); }

  .container-footer { background: linear-gradient(to bottom, #13283a 0, #102435 40%, #0e2030 100%); color: #a9c6d8; border-top: 1px solid var(--l-linie); }
  .container-footer a { color: #bfe4f6; }
  .container-footer a:hover { color: #fff; }
  .linde-fuss .fb img { filter: invert(1); opacity: .7; }
  .back-to-top-link { background: #2f79ad; border-color: #2f79ad; }
}
