/* Ergänzungen zu main.css: Terminliste, FAQ, Karte, Gestaltung */

.naechste-spiele {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.naechste-spiele li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #e3e6e1;
}

.naechste-spiele .spiel-datum {
  display: block;
  font-size: 14px;
  color: #6c757d;
}

.naechste-spiele .spiel-gegner {
  display: block;
  font-size: 17px;
  color: #343a40;
  line-height: 1.3;
}

.naechste-spiele .spiel-wettbewerb {
  display: block;
  font-size: 13px;
  color: #6c757d;
}

.naechste-spiele .spiel-abreise {
  flex: none;
  margin-left: 16px;
  text-align: right;
  font-size: 13px;
  color: #6c757d;
}

.naechste-spiele .spiel-abreise strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: #841f28;
  white-space: nowrap;
}

.spieltage-regel {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.spieltage-regel[lang="en"] {
  margin-bottom: 0;
  font-size: 13px;
  color: #6c757d;
}

/* FAQ */
#faq {
  background: #f3f6f2;
}

.faq-seite h2 {
  font-size: 30px;
  line-height: 1.25;
  margin-bottom: 18px;
}

.faq-hinweis {
  margin: 26px 0 40px;
  padding: 22px 24px;
  border-radius: 4px;
  background: #841f28;
  color: #fff;
}

.faq-hinweis h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.faq-hinweis p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.faq-hinweis a {
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}

.faq-hinweis a:hover {
  color: #fff;
}

.faq-gruppe + .faq-gruppe {
  margin-top: 44px;
}

.faq-gruppe > h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 400;
  color: #4d6f49;
}

#faq details {
  border-bottom: 1px solid #d5dcd2;
}

#faq summary {
  position: relative;
  padding: 16px 40px 16px 0;
  font-size: 17px;
  color: #343a40;
  cursor: pointer;
  list-style: none;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 6px;
  margin-top: -16px;
  font-size: 26px;
  line-height: 32px;
  color: #841f28;
  transition: transform .2s ease;
}

#faq details[open] summary {
  color: #841f28;
}

#faq details[open] summary::after {
  transform: rotate(45deg);
}

#faq summary:focus-visible {
  outline: 2px solid #841f28;
  outline-offset: 2px;
}

#faq details > div {
  padding: 0 40px 18px 0;
  line-height: 1.7;
}

#faq details h4 {
  margin: 18px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

#faq details ul {
  padding-left: 20px;
}

@media (min-width: 992px) {
  .faq-seite {
    position: sticky;
    top: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #faq summary::after{
    transition: none;
  }
}

/* Kontakt: auf rotem Grund weiß statt grün */
#kontakt a {
  color: #fff;
  text-decoration: underline;
}

#kontakt a:hover {
  color: #fff;
}

/* Karte: wird erst nach Klick von Google geladen */
.karte {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 460px;
  margin-top: 30px;
  padding: 30px max(16px, calc((100vw - 1110px) / 2));
  background: #e8ede6 url('/img/karte-freiburg.jpg') center 40% / cover no-repeat;
}

.karte.geladen {
  display: block;
  min-height: 0;
  padding: 0;
  background: none;
}

.karte-quelle {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 1px 8px;
  background: rgba(255, 255, 255, .85);
  color: #495057;
  font-size: 11px;
}

#kontakt .karte-hinweis,
#kontakt .karte-hinweis h3,
#kontakt .karte-hinweis p {
  color: #495057;
}

#kontakt .karte-quelle a {
  color: #495057;
}

.karte iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.karte-hinweis {
  max-width: 400px;
  padding: 24px 26px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .22);
}

.karte-hinweis h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 400;
}

.karte-hinweis p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.55;
}

.karte-hinweis .btn {
  margin-right: 14px;
  color: #fff;
}

#kontakt .karte-hinweis a {
  color: #841f28;
  font-size: 15px;
}

/* Entsorgungsbilder unter dem Platzservice */
.entsorgung-bilder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  margin-top: 70px;
}

.entsorgung-bilder figure {
  margin: 0;
}

.entsorgung-bilder .kachel {
  height: 230px;
}

.entsorgung-bilder figcaption {
  margin-top: 8px;
  font-size: 15px;
}

/* Galerie */
#galerie {
  padding: 0 0 4px;
}

#galerie:before {
  display: none;
}

.galerie-kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 56px;
  padding-bottom: 56px;
}

#galerie h2.section-heading {
  margin: 0;
  font-size: 54px;
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-align: left;
  text-transform: none;
}

.galerie-kopf p {
  max-width: 400px;
  margin: 0 0 4px 40px;
  font-size: 17px;
  line-height: 1.5;
  color: #6c757d;
}

.galerie-raster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 16.5vw;
  grid-gap: 4px;
}

.kachel {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e8ede6;
  cursor: zoom-in;
}

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

.kachel:focus-visible {
  outline: 3px solid #841f28;
  outline-offset: -3px;
}

.kachel-gross {
  grid-column: span 2;
  grid-row: span 2;
}

.kachel-oben img {
  object-position: center 65%;
}

.kachel-alle span {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(132, 31, 40, .78);
  color: #fff;
  font-size: 20px;
  text-align: center;
  transition: background-color .2s ease;
}

.kachel-alle:hover span {
  background: rgba(101, 24, 31, .86);
}

@media (max-width: 767px) {
  .entsorgung-bilder {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .galerie-kopf {
    display: block;
    padding-top: 24px;
    padding-bottom: 36px;
  }

  #galerie h2.section-heading {
    font-size: 38px;
  }

  .galerie-kopf p {
    margin: 14px 0 0;
  }

  .galerie-raster {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 33vw;
  }

  .karte {
    align-items: flex-end;
    min-height: 540px;
    padding: 20px 16px 34px;
  }
}

@media (max-width: 576px) {
  

.naechste-spiele .spiel-abreise strong {
    font-size: 20px;
  }

  .faq-seite h2 {
    font-size: 25px;
  }
}

/* ===== Gestaltung: Schrift, Maße, Abschnitte =====
   Schriften selbst gehostet: Newsreader, Figtree (SIL Open Font License) */
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --titelschrift: 'Newsreader', Georgia, 'Times New Roman', serif;
  --textschrift: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --wein: #841f28;
  --gruen: #4d6f49;
  --text: #3a4249;
  --leise: #69727a;
  --linie: #dfe3dd;
}

body {
  font-family: var(--textschrift);
  font-size: 17px;
  color: var(--text);
}

p {
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.modal-title {
  font-family: var(--titelschrift);
}

.btn {
  font-family: var(--textschrift);
  font-weight: 600;
}

.titel {
  margin: 0 0 22px;
  font-family: var(--titelschrift);
  font-size: clamp(34px, 4.1vw, 48px) !important;
  font-weight: 500 !important;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-align: left !important;
  text-transform: none !important;
}

section {
  padding: 120px 0;
}

section:before {
  display: none;
}

/* Menü */
#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-family: var(--textschrift);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color .2s ease;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover {
  color: var(--wein);
}

/* Bühne */
header.masthead .carousel-item img {
  height: clamp(340px, 66vh, 715px);
  object-fit: cover;
}

.hero-zeile {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(32px, 9vh, 84px);
  pointer-events: none;
}

.hero-zeile p {
  margin: 0;
  font-family: var(--titelschrift);
  font-size: clamp(22px, 3.1vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
}

/* Jede Zeile wischt als Block von links herein und gibt den Text frei */
.hero-band {
  --verzoegerung: .25s;
  position: relative;
  display: table;
  margin-bottom: 6px;
  padding: .34em .75em;
}

.hero-band + .hero-band {
  --verzoegerung: .42s;
}

.hero-band::before,
.hero-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.hero-band::before {
  background: rgba(132, 31, 40, .84);
  animation: hero-zeigen .01s linear calc(var(--verzoegerung) + .42s) both;
}

.hero-band::after {
  background: #a3303a;
  transform: scaleX(0);
  animation: hero-wisch .85s cubic-bezier(.76, 0, .24, 1) var(--verzoegerung) both;
}

.hero-band > span {
  position: relative;
  display: block;
  animation: hero-zeigen .01s linear calc(var(--verzoegerung) + .42s) both;
}

@keyframes hero-zeigen {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hero-wisch {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }

  50% {
    transform: scaleX(1);
    transform-origin: left;
  }

  50.01% {
    transform: scaleX(1);
    transform-origin: right;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-band::before,
  .hero-band::after,
  .hero-band > span {
    animation: none;
  }

  .hero-band::after {
    display: none;
  }
}

/* Willkommen */
#welcome h1.titel {
  display: block;
}

.willkommen-zeile {
  font-size: 20px;
  color: var(--leise);
}

/* Preise */
#preise {
  background: var(--gruen);
  color: #fff;
}

.preise {
  width: 100%;
  border-collapse: collapse;
}

.preise td {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.preise td:last-child {
  font-family: var(--titelschrift);
  font-size: 26px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.preise-hinweis {
  margin: 18px 0 0;
  font-size: 15px;
}

/* Was im Preis steckt, direkt sichtbar statt hinter einem Klick */
.preise-inklusive {
  margin: 18px 0 0;
  padding: 0 0 0 1.1em;
  font-size: 15px;
  line-height: 1.5;
}

.preise-inklusive li + li {
  margin-top: 4px;
}

/* Kurzparken, klein unter dem Titel in der linken Spalte */
.kurzpark {
  margin: 26px 0 30px;
  max-width: 340px;
  font-size: 15px;
}

.kurzpark h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.kurzpark h3 small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  opacity: .85;
}

.kurzpark table {
  width: 100%;
  border-collapse: collapse;
}

.kurzpark td {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.kurzpark td:last-child {
  text-align: right;
  white-space: nowrap;
}

/* Ausstattung */
#ausstattung h2.section-heading {
  margin: 34px 0 12px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: left;
  text-transform: none;
}

#ausstattung .col-md-6 > h2.section-heading:first-child {
  margin-top: 0;
}

/* Galerie */
.galerie-kopf h2 {
  margin: 0;
}

.galerie-kopf p {
  color: var(--leise);
}

/* Freiburg */
#freiburg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  background: var(--wein);
  color: #fff;
}

.freiburg-bild {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

#freiburg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.freiburg-text {
  padding: 120px max(20px, calc((100vw - 1110px) / 2)) 120px 72px;
}

.freiburg-text p:last-child {
  margin-bottom: 0;
  font-family: var(--titelschrift);
  font-size: 20px;
}

/* Stellplatzordnung */

.ordnung-text {
  column-count: 2;
  column-gap: 72px;
  margin-top: 16px;
  font-size: 16px;
}

.ordnung-text p,
.ordnung-text li {
  line-height: 1.6;
  break-inside: avoid;
}

.ordnung-text ul {
  padding-left: 18px;
}

.ordnung-text li {
  margin-bottom: 6px;
}

/* FAQ und Kontakt */
.faq-gruppe > h3 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.01em;
}

#faq summary {
  font-weight: 500;
}

#kontakt {
  padding-bottom: 0;
}

#kontakt .container {
  padding-bottom: 90px;
}

#kontakt h3.section-subheading {
  margin: 26px 0 8px;
  font-size: 22px;
  font-weight: 500;
}

@media (max-width: 991px) {
  section {
    padding: 76px 0;
  }

  #freiburg {
    grid-template-columns: 1fr;
  }

  .freiburg-bild {
    min-height: 280px;
  }

  .freiburg-text {
    max-width: none;
    padding: 56px 20px;
  }

  #preise .col-lg-6,
  #reservierung .col-lg-6 {
    margin-top: 10px;
  }

  #welcome .col-lg-6 + .col-lg-6 {
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  .ordnung-text {
    column-count: 1;
  }
}

/* Größen */
body {
  font-size: 17px;
  line-height: 1.65;
}

p {
  line-height: 1.65;
}

section {
  padding: 130px 0;
}

.titel {
  margin-bottom: 24px;
  font-size: clamp(30px, 3.4vw, 44px) !important;
  font-weight: 600 !important;
  line-height: 1.12;
  letter-spacing: -.018em;
  hyphens: manual;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.018em;
}

h2 {
  margin-top: 36px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.01em;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

.willkommen-zeile {
  font-size: 20px;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .03em;
}

#ausstattung h2.section-heading,
.faq-gruppe > h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}

#kontakt h3.section-subheading {
  font-size: 20px;
  font-weight: 600;
}

.preise td {
  padding: 15px 0;
  font-size: 18px;
}

.preise td:last-child {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.preise-hinweis {
  font-size: 15px;
}

.galerie-kopf p {
  max-width: 440px;
  font-size: 17px;
}

.kachel-alle span {
  font-size: 20px;
  font-weight: 600;
}

.freiburg-text p:last-child {
  font-size: 19px;
  font-weight: 600;
}

#faq summary {
  padding-top: 17px;
  padding-bottom: 17px;
  font-size: 18px;
  font-weight: 500;
}

.faq-hinweis h3 {
  font-size: 20px;
  font-weight: 600;
}

.faq-hinweis p {
  font-size: 15px;
}

.naechste-spiele .spiel-gegner {
  font-size: 17px;
  font-weight: 500;
}

.naechste-spiele .spiel-abreise strong {
  font-size: 23px;
}

.karte-hinweis h3 {
  font-size: 21px;
  font-weight: 600;
}

.karte-hinweis p {
  font-size: 15px;
}

@media (max-width: 991px) {
  section {
    padding: 84px 0;
  }
}

@media (max-width: 576px) {
  .preise td:last-child {
    font-size: 22px;
  }

  .naechste-spiele .spiel-abreise strong{
    font-size: 20px;
  }

  .kachel-alle span {
    font-size: 17px;
  }
}

/* Galerie als eigene Sektion */
#galerie {
  padding: 120px 0;
  background: #efe8da;
}

#galerie .galerie-kopf {
  padding-top: 0;
  padding-bottom: 48px;
}

#galerie .galerie-kopf p {
  color: var(--text);
}

.galerie-raster {
  margin: 0 4vw;
  grid-auto-rows: 15vw;
}

/* Webcam groß, Reservierung als eigenes Band */
#webcam {
  padding-bottom: 120px;
}

.webcam-bild {
  margin-top: 8px;
}

.webcam-text {
  max-width: 760px;
  margin: 26px 0 0;
}

.webcam-bild img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

#reservierung {
  padding: 120px 0;
  background: var(--gruen);
  color: #fff;
}

.reservierung-kern {
  font-size: 21px;
  line-height: 1.4;
}

/* Menü mobil: Vollbild mit Infos */
@media (max-width: 991px) {
  body.menu-offen {
    overflow: hidden;
  }

  #mainNav {
    padding: 10px 5px;
  }

  #mainNav .navbar-brand img {
    width: 150px;
    margin-bottom: 0;
  }

  #menu-knopf {
    position: relative;
    z-index: 1101;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
  }

  #menu-knopf span {
    position: absolute;
    right: 8px;
    left: 8px;
    height: 3px;
    border-radius: 2px;
    background: var(--wein);
    transition: transform .3s ease, top .3s ease, background-color .3s ease;
  }

  #menu-knopf span:first-child {
    top: 17px;
  }

  #menu-knopf span:last-child {
    top: 28px;
  }

  .menu-offen #menu-knopf span {
    top: 23px;
    background: #fff;
  }

  .menu-offen #menu-knopf span:first-child {
    transform: rotate(45deg);
  }

  .menu-offen #menu-knopf span:last-child {
    transform: rotate(-45deg);
  }

  #mainNav #navbarResponsive {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    height: 100dvh;
    padding: 84px 28px 30px;
    overflow-y: auto;
    background: var(--wein);
    color: #fff;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
  }

  .menu-offen #mainNav #navbarResponsive {
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  #mainNav .navbar-nav {
    margin: 0;
  }

  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus,
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    padding: 7px 0;
    font-size: clamp(36px, 11vw, 48px);
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: #fff !important;
  }

  .menu-infos {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .3);
    font-size: 18px;
  }

  .menu-infos a {
    display: block;
    margin-bottom: 8px;
    color: #fff;
  }

  .menu-infos a:hover {
    color: #fff;
  }

  .menu-infos .menu-gross {
    font-size: 26px;
    font-weight: 650;
  }

  .menu-infos p {
    margin: 0 0 8px;
  }

  .menu-fuss {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 16px;
  }

  .menu-fuss a {
    margin: 0 22px 4px 0;
    text-decoration: underline;
  }

  

  

  #galerie,
  #reservierung {
    padding: 84px 0;
  }

  #webcam {
    padding-bottom: 84px;
  }

}

@media (max-width: 767px) {
  #galerie .galerie-kopf {
    padding-bottom: 30px;
  }

  .galerie-raster {
    margin: 0 16px;
  }

  .galerie-raster {
    grid-auto-rows: 31vw;
  }
}

/* Feinschliff */
.titel,
header.masthead .hero-zeile p {
  text-wrap: balance;
}

@media (max-width: 991px) {
  #mainNav #navbarResponsive {
    align-items: flex-start;
  }

  #mainNav .navbar-nav {
    width: 100%;
    margin-left: 0 !important;
  }

  .menu-infos {
    width: 100%;
  }
}

[data-parallax] {
  will-change: transform;
}

/* Dezentes Einblenden beim Scrollen */
.einblenden {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}

.einblenden.sichtbar {
  opacity: 1;
  transform: none;
}

.ordnung-text p {
  margin-bottom: 14px;
}

@media (max-width: 991px) {
  #mainNav .navbar-nav {
    text-transform: none !important;
  }
}

/* Hinweis auf das nächste Heimspiel, bleibt mit dem Menü stehen */
#spieltag {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 9px 0;
  background: var(--wein);
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s ease;
}

#spieltag[hidden] {
  display: none;
}

#spieltag:hover {
  background: #65181f;
  color: #fff;
}

#spieltag .container {
  display: flex;
  align-items: baseline;
}

#spieltag strong {
  margin-right: 22px;
  font-weight: 600;
}

#spieltag .spieltag-gegner {
  margin-right: 22px;
}

#spieltag .spieltag-alle {
  margin-left: auto;
  text-decoration: underline;
}

@media (max-width: 767px) {
  #spieltag {
    font-size: 14px;
  }

  #spieltag .spieltag-gegner {
    display: none;
  }

  #spieltag .container {
    justify-content: space-between;
  }

  #spieltag strong {
    margin-right: 10px;
  }
}

html,
body {
  overflow-x: clip;
}

/* Magazin: Serif in den Überschriften, Vorspann, Initiale, Bildunterschrift */
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-latin-wght-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

.titel {
  font-size: clamp(36px, 4.1vw, 54px) !important;
  font-weight: 500 !important;
  line-height: 1.06;
  letter-spacing: -.012em;
}

h1 {
  font-size: clamp(36px, 4.1vw, 54px);
  font-weight: 500;
  letter-spacing: -.012em;
}

h2 {
  font-size: 27px;
  font-weight: 500;
}

h3 {
  font-size: 22px;
  font-weight: 500;
}

#ausstattung h2.section-heading,
.faq-gruppe > h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0;
}

#kontakt h3.section-subheading {
  font-size: 23px;
  font-weight: 500;
}

.hero-zeile p {
  font-size: clamp(28px, 3.9vw, 54px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.005em;
  text-transform: none;
}

.hero-band {
  padding: .28em .62em .34em;
}

.vorspann {
  font-family: var(--titelschrift);
  font-size: 24px;
  line-height: 1.38;
  color: var(--text);
}

.willkommen-zeile,
.unterzeile,
.entsorgung-bilder figcaption {
  font-family: var(--titelschrift);
  font-style: italic;
}

.willkommen-zeile {
  font-size: 23px;
}

.unterzeile {
  margin: -12px 0 28px;
  font-size: 23px;
  line-height: 1.3;
}

.entsorgung-bilder figcaption {
  font-size: 17px;
}

.preise td:last-child {
  font-size: 30px;
  font-weight: 500;
}

.freiburg-text p:last-child {
  font-family: var(--titelschrift);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
}

.reservierung-kern {
  font-family: var(--titelschrift);
  font-size: 25px;
  line-height: 1.32;
}

.faq-hinweis h3,
.karte-hinweis h3 {
  font-size: 23px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .vorspann {
    font-size: 21px;
  }

  .reservierung-kern {
    font-size: 22px;
  }
}

/* Schneebild als Hintergrund der Preise */
#preise {
  position: relative;
  overflow: hidden;
}

.preise-bild {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#preise::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(77, 111, 73, .82);
}

#preise .container {
  position: relative;
  z-index: 1;
}

/* Kopfzeile */
#header_menu {
  height: 40px;
  padding: 0;
  background: var(--gruen);
  font-size: 13px;
  letter-spacing: .01em;
}

#header_menu .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

#header_menu a,
#header_menu a:hover {
  color: #fff;
  text-decoration: none;
}

#header_menu a:hover {
  text-decoration: underline;
}

#header_menu .fa {
  margin-right: 7px;
  opacity: .75;
}

.kopf-infos > * {
  margin-right: 26px;
}

.kopf-links > a {
  margin-left: 22px;
}

#header_menu .sprache-wahl {
  margin-left: 22px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .35);
}

#header_menu .sprache-wahl a {
  margin-left: 10px;
  opacity: .7;
}

#header_menu .sprache-wahl a:first-child {
  margin-left: 0;
}

#header_menu .sprache-wahl a.aktiv {
  font-weight: 700;
  opacity: 1;
}

/* Große Initiale: exakt über drei Zeilen, Fallback für Browser ohne initial-letter */
.initial::first-letter {
  float: left;
  margin: .1em .08em 0 0;
  font-family: var(--titelschrift);
  font-size: 3.6em;
  font-weight: 500;
  line-height: .9;
}

@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .initial::first-letter {
    float: none;
    margin: 0 .1em 0 0;
    font-size: inherit;
    line-height: inherit;
    -webkit-initial-letter: 3;
    initial-letter: 3;
  }
}

.unterzeile {
  margin-bottom: 34px;
}

/* Menü wird beim Scrollen leicht durchscheinend */
#mainNav::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: #fff;
  transition: background-color .3s ease;
}

#mainNav.unterwegs {
  background-color: transparent !important;
}

#mainNav.unterwegs::before {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@media (max-width: 767px) {
  header.masthead .hero-zeile p {
    font-size: 8.5vw !important;
  }

  .hero-band > span {
    white-space: nowrap;
  }

  .hero-zeile {
    padding-bottom: 28px;
  }
}

.faq-seite {
  top: 190px;
}

@media (max-width: 767px) {
  #ausstattung .col-md-6 + .col-md-6 {
    margin-top: 40px;
  }

  #kontakt .offset-1 {
    margin-top: 12px;
    margin-left: 0;
  }

  #kontakt .container {
    padding-bottom: 50px;
  }

  footer,
  footer .copyright {
    text-align: left;
  }

  footer .quicklinks {
    margin-top: 8px;
    text-align: left;
  }
}

@media (max-width: 400px) {
  .titel {
    font-size: 9.2vw !important;
  }
}

@media (max-width: 360px) {
  #spieltag {
    font-size: 12px;
    white-space: nowrap;
  }
}

/* Roter Hinweis als Klappe: Termine fahren darunter auf und laufen mit */
#spieltag-block {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1;
}

#spieltag {
  position: static;
  display: block;
}

.spieltag-pfeil {
  flex: none;
  width: 9px;
  height: 9px;
  margin: 0 3px 3px 14px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  align-self: center;
  transition: transform .3s ease;
}

.offen .spieltag-pfeil {
  margin-bottom: -3px;
  transform: rotate(-135deg);
}

#termine {
  display: grid;
  grid-template-rows: 0fr;
  background: #fff;
  transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1);
}

.offen #termine {
  grid-template-rows: 1fr;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}

.termine-innen {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear .35s;
}

.offen .termine-innen {
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  visibility: visible;
  transition-delay: 0s;
}

#termine .naechste-spiele {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 48px;
  margin: 10px 0 18px;
}

#termine .spieltage-regel {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 15px;
}

@media (max-width: 991px) {
  #termine .naechste-spiele {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 32px;
  }
}

@media (max-width: 767px) {
  #termine .naechste-spiele {
    grid-template-columns: 1fr;
    margin-top: 2px;
  }

  #spieltag .container {
    justify-content: flex-start;
  }

  #spieltag .spieltag-abreise {
    margin-left: auto;
  }

  .naechste-spiele .spiel-gegner {
    font-size: 19px;
  }

  .naechste-spiele .spiel-datum,
  .naechste-spiele .spiel-abreise {
    font-size: 15px;
  }

  #termine .spieltage-regel {
    font-size: 16px;
  }

  /* Größere Schrift auf dem Handy */
  body {
    font-size: 18px;
  }

  small {
    font-size: 16px;
  }

  .willkommen-zeile {
    font-size: 28px;
  }

  .unterzeile {
    font-size: 24px;
  }

  .vorspann {
    font-size: 24px;
  }

  .galerie-kopf p,
  .preise td,
  .preise-hinweis {
    font-size: 18px;
  }

  #ausstattung h2.section-heading,
  .faq-gruppe > h3,
  #kontakt h3.section-subheading {
    font-size: 27px;
  }

  #faq summary {
    font-size: 19px;
  }

  .faq-hinweis p,
  .karte-hinweis p,
  .ordnung-text {
    font-size: 17px;
  }

  .entsorgung-bilder figcaption {
    font-size: 18px;
  }
}

/* Focal Point: das Münster bleibt im Anschnitt sichtbar */
header.masthead .carousel-item img,
#freiburg img {
  object-position: 80% 50%;
}

@media (max-width: 767px) {
  #spieltag {
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  #spieltag {
    font-size: 11.5px;
  }

  #spieltag strong {
    margin-right: 6px;
  }
}

/* main.css erzwingt bis 992px "body p { font-size: 16px !important }" */
@media (max-width: 992px) {
  body p {
    font-size: 18px !important;
  }

  body p.vorspann {
    font-size: 24px !important;
  }

  body p.willkommen-zeile {
    font-size: 28px !important;
  }

  body p.unterzeile {
    font-size: 24px !important;
  }

  body p.reservierung-kern {
    font-size: 23px !important;
  }

  .freiburg-text p:last-child {
    font-size: 23px !important;
  }

  body .ordnung-text p,
  body .faq-hinweis p,
  body .karte-hinweis p,
  body p.spieltage-regel,
  body p.preise-hinweis {
    font-size: 17px !important;
  }
}

/* Knopf im roten Hinweis, pulsiert, bis der Besucher ihn einmal geöffnet hat */
#spieltag .spieltag-alle {
  display: inline-flex;
  flex: none;
  align-items: center;
  margin-left: auto;
  padding: 4px 14px;
  border-radius: 4px;
  background: #fff;
  color: var(--wein);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  animation: spieltag-puls 2.8s ease-out 1.5s infinite;
}

#spieltag .spieltag-pfeil {
  margin: 0 2px 3px 10px;
  border-color: var(--wein);
}

#spieltag .container {
  align-items: center;
}

#spieltag-block.offen .spieltag-alle,
.termine-gesehen #spieltag .spieltag-alle {
  animation: none;
}

@keyframes spieltag-puls {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .85);
    transform: scale(1);
  }

  14% {
    transform: scale(1.06);
  }

  40%,
  100% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #spieltag .spieltag-alle {
    animation: none;
  }
}

@media (max-width: 767px) {
  #spieltag {
    padding: 7px 0;
    font-size: 15px;
  }

  #spieltag .container {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-column-gap: 10px;
  }

  #spieltag strong {
    grid-row: 1;
    grid-column: 1;
    margin: 0;
  }

  #spieltag .spieltag-abreise {
    grid-row: 2;
    grid-column: 1;
    margin: 0;
  }

  #spieltag .spieltag-alle {
    grid-row: 1 / 3;
    grid-column: 2;
    padding: 7px 11px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  #spieltag {
    font-size: 13px;
  }

  #spieltag .spieltag-alle {
    padding: 6px 8px;
    font-size: 12.5px;
  }
}

@media (max-width: 360px) {
  #spieltag {
    font-size: 12.5px;
  }

  #spieltag .container {
    grid-column-gap: 6px;
  }

  #spieltag .spieltag-alle {
    padding: 6px 7px;
  }

  #spieltag .spieltag-pfeil {
    display: none;
  }
}

/* Datum in der Terminliste deutlich */
.naechste-spiele .spiel-datum {
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 767px) {
  .naechste-spiele .spiel-datum {
    font-size: 17px;
  }
}

/* Sprungziele genau messen, Webcam reserviert ihre Höhe schon vor dem Laden */
.ohne-uebergang,
.ohne-uebergang * {
  transition: none !important;
}

.webcam-bild img {
  height: auto;
  aspect-ratio: 16 / 9;
}

body {
  overflow-anchor: none;
}

/* Mobil: Kurzparken erst nach den Übernachtungspreisen */
@media (max-width: 991px) {
  #preise .row > .col-lg-5 {
    display: contents;
  }

  #preise .row > .col-lg-5 > * {
    width: 100%;
    padding: 0 15px;
  }

  #preise .row > .col-lg-5 > .kurzpark {
    order: 3;
    max-width: none;
    margin: 34px 0 0;
  }

  #preise .row > .col-lg-6 {
    order: 2;
  }
}
