@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../_fonts/rubik-v31-latin-regular.woff2') format('woff2');
}
/* kalam-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 400;
  src: url('../_fonts/kalam-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kalam-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 700;
  src: url('../_fonts/kalam-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --font-heading: 'Kalam', Georgia, serif;
  --font-body: 'Rubik', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --color-brand: #f07f3c;
  --color-brand-hover: #d96a27;
  --color-bg-page: #f6f4ef;      /* Warmes Alabaster / Heller Sandstone */
  --color-bg-subtle: #eae5d9;    /* Leicht dunklere Erdfarbe für Akzente */
  --color-text-main: #2c2724;     /* Tiefes Erd-Schwarzbraun */
  --color-text-muted: #2c2724;   
  --color-border: #e2ded3;       /* Weiche organische Trennlinie */
  --color-white: #ffffff;

  --max-width-content: 1140px;
  --max-width-text: 800px;
}

/* CSS Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit; /* Übernimmt exakt die Textfarbe des umgebenden Textes */
  text-decoration: underline; /* Standardmäßig unterstrichen */
  transition: color 0.2s ease, text-decoration 0.2s ease; /* Weicher Übergang für Farbe und Linie */
}

a:hover {
  color: orange; /* Wird beim Drüberfahren Orange (oder deine Variable, z. B. var(--color-brand-hover)) */
  text-decoration: none; /* Unterstreichung verschwindet beim Mouseover */
}

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

/* ==========================================
   HEADER & NAVIGATION (Siegellayout & Ohne Strich)
   ========================================== --> */
.site-header {
  background-color: var(--color-white);
  /* border-bottom entfernt für nahtlosen Übergang */
  position: relative;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 4px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo-container {
  grid-column: 2;
  text-align: center;
  position: relative;
  z-index: 20;
}

/* Siegel-Effekt: Logo ragt nach unten heraus */
.logo-container a {
  display: inline-block;
  margin-bottom: -52px; /* Siegel-Überlappung nach unten */
}

.logo-container img {
  width: auto;
  height: 160px; /* Angenehme, nicht zu dominante Höhe */
  max-width: 176px;
  object-fit: contain;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.06)); /* Hält das Siegel optisch über dem Content */
}

.nav-left {
  grid-column: 1;
  display: flex;
  gap: 65px;
  justify-content: flex-start;
}

.nav-right {
  grid-column: 3;
  display: flex;
  gap: 65px;
  justify-content: flex-end;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-main);
  font-size: 1.1rem;
  text-decoration: none !important; /* Verhindert jegliche Unterstreichung bei <a> Links */
}
.nav-link:hover {
  color: var(--color-brand);
}

.search-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  padding: 5px;
}
.search-toggle-btn:hover {
  color: var(--color-brand);
}

/* Suchleiste Dropdown */
.search-bar {
  display: none;
  background-color: var(--color-bg-subtle);
  padding: 55px 40px;
}
.search-bar.active {
  display: block;
}
.search-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.search-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
.search-submit {
  background-color: var(--color-brand);
  color: var(--color-white);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

/* Mobile Controls */
.mobile-left, .mobile-right {
  display: none;
}

.mobile-menu-drawer {
  display: none;
  background-color: var(--color-white);
  padding: 20px;
}
.mobile-menu-drawer.active {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ==========================================
   CONTENT AREA
   ========================================== --> */

h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-main);
  margin-bottom: 15px;
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--color-text-main);
  text-align: left;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--color-text-main);
  text-align: left;
}

/* Grundkonfiguration für Unordered Lists */
ul {
  padding-left: 1.5rem; /* Zieht die Bullets sauber in den Contentbereich hinein */
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  list-style-type: disc; /* Klassischer runder Aufzählungspunkt */
  list-style-position: outside; /* Hält den Einzug bei mehrzeiligem Text sauber */
}

/* Einzelne Listenpunkte */
li {
  font-family: var(--font-body);
  line-height: 1.6;
  margin-bottom: 0.5rem; /* Abstand zwischen den Listenpunkten */
  color: inherit; /* Übernimmt die Fließtextfarbe */
}

/* Letzter Listenpunkt braucht keinen unteren Abstand */
li:last-child {
  margin-bottom: 0;
}

/* Verschachtelte Listen (Falls du mal eine Liste in einer Liste hast) */
ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  list-style-type: circle; /* Untergeordneter Bullet wird zum hohlen Kreis */
}

.main-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 60px 20px 80px; /* Oben etwas mehr Abstand wegen dem Siegel-Logo */
}

/* Touren-Header & Titel */
.tour-header {
  text-align: center;
  margin-bottom: 35px;
}

.category-badge {
  display: inline-flex;
  align-items: center; /* Zentriert Flagge und Schrift pixelgenau auf einer Höhe */
  font-size: 0.90rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

@media (max-width: 540px) {
  .category-badge, .next-tour-region {
    font-size: 0.80rem;
    letter-spacing: 1px;
  }
}

.tour-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================
   HERO BILD
   ========================================== */

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1140 / 755;
  background-color: #e5dfd3; /* Skeleton Platzhalter gegen CLS */
  overflow: hidden;
  margin-bottom: 40px;
}

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

/* DESKTOP (ab 901px): Abgerundete Ecken & bündig im Container */
@media (min-width: 901px) {
  .hero-image-wrapper {
    border-radius: 8px;
  }
}

/* MOBILGERÄTE (bis 900px): Full-Width Edge-to-Edge */
@media (max-width: 900px) {
  .hero-image-wrapper {
    /* Sprengt den seitlichen Padding-Abstand des Parent-Containers */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0; /* Keine Eckenrundung auf Mobil */
    margin-bottom: 30px;
  }
}

/* 6 Tourencharakter-Boxen */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-bottom: 50px;
}

.fact-box {
  border: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.4);
  padding: 15px 10px;
  border-radius: 6px;
  text-align: center;
}

.fact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 5px;
}

.fact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main);
}

/* Fließtext Content */
.article-body {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.article-body p {
  margin-bottom: 20px;
}

/* Haupt-Button Klasse (für <button> und <a>) */
.btn-primary {
  display: inline-block;
  background-color: var(--color-brand);
  color: var(--color-white) !important; /* Fixiert die weiße Schriftfarbe */
  padding: 16px 28px;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none !important; /* Verhindert jegliche Unterstreichung bei <a> Links */
  text-align: center;
  transition: background-color 0.2s ease;
  
  /* Zurücksetzen von Standard-Formular-Styles */
  -webkit-appearance: none;
  appearance: none;
}

/* Hover- & Focus-Zustand */
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-brand-hover);
  color: var(--color-white) !important; /* Bleibt beim Hover garantiert weiß */
  text-decoration: none !important; /* Verhindert Unterstreichung auch beim Drüberfahren */
}

.text-center {
  text-align: center;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== --> */
@media (max-width: 900px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
  }

  .nav-left, .nav-right {
    display: none;
  }

  .mobile-left, .mobile-right {
    display: flex;
    align-items: center;
  }

  .logo-container a {
    margin-bottom: -45px; /* Etwas kleinerer Überlapp auf Mobilgeräten */
  }

  .logo-container img {
    height: 140px;
  }

  .main-container {
    padding-top: 45px;
  }

  .tour-title {
    font-size: 2rem;
  }

  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#map1 {
    width:100%;
    height:540px;
    float:left;
}

/* Container für das Contentbild */
.content-image-full {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

/* Bild-Styling Standard (Desktop) */
.content-image-full img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Bildunterschrift Styling (Magazin-Look) */
.content-image-full figcaption {
  font-family: var(--font-body);
  font-size: 0.875rem; /* 14px */
  line-height: 1.4;
  color: #555555; /* Dezent dunklerer Grauton für Bildunterschriften */
  margin-top: 0.5rem;
  text-align: left;
}

/* Mobil-Viewports: Bild bricht auf volle Bildschirmbreite aus */
@media (max-width: 768px) {
  .content-image-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
  }

  .content-image-full img {
    border-radius: 0;
  }

  /* Bildunterschrift auf Mobilgeräten wieder einrücken, damit der Text nicht am Rand klebt */
  .content-image-full figcaption {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Galerie-Layout: 4 Spalten auf Desktop, 2 Spalten auf Mobilgeräten */
/* Galerie-Layout: 4 Spalten auf Desktop, 2 Spalten auf Mobilgeräten */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Max. 4 Bilder nebeneinander */
  gap: 1.25rem; /* Abstand zwischen den Galerie-Elementen */
  margin-top: 3.5rem;   /* Mehr Abstand zum Content darüber */
  margin-bottom: 3.5rem;/* Mehr Abstand zum Content darunter */
}

/* Einzelnes Galerie-Element */
.thumbnail {
  display: flex;
  flex-direction: column;
}

/* Link-Container */
.thumbnail a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1; /* Erzwingt das quadratische Format */
  border-radius: 8px;  /* Abgerundete Ecken */
  overflow: hidden;    /* Schneidet überstehende Bildbereiche an den Ecken ab */
  background-color: #e5e2d9; /* Dezent dunklerer Erdton als Lade-Platzhalter */
}

/* Das Vorschaubild selbst */
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* Schneidet das Bild füllend und ohne Verzerrung zu */
  object-position: center; /* Zentriert den Bildausschnitt */
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Subtiler Magazin-Hover-Effekt */
.thumbnail a:hover img {
  transform: scale(1.04); /* Leichtes Heranzoomen beim Drüberfahren */
  opacity: 0.95;
}

/* Beschriftung unter dem Vorschaubild */
.thumb-caption {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.35;
  color: #555555;
  margin-top: 0.5rem;
}

/* Responsive Anpassung für Tablets & Smartphones */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* Exakt 2 Bilder nebeneinander */
    gap: 0.875rem; /* Etwas kleinerer Raster-Abstand auf mobilen Displays */
    margin-top: 2.5rem;    /* Harmonisierter mobiler Vertikalabstand */
    margin-bottom: 2.5rem;
  }
}

/* Container für die Quick-Links */
.tour-quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 Buttons nebeneinander auf Desktop */
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Styling der unaufdringlichen Quick-Buttons im Erdton-Look */
.btn-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  
  /* Dezent dunklerer Erdton als dein Seitenhintergrund (#f6f4ef) */
  background-color: #e8e4d9; 
  color: #3a3834 !important; /* Dunkles, warmes Anthrazit statt Rein-Schwarz */
  border: 1px solid #d8d2c2;   /* Subtile Umrandung für klare Strukturen */
  
  padding: 10px 16px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Hover- & Focus-Zustand: Abdunkeln im Erdton oder dezent orange Akzentuieren */
.btn-quick:hover,
.btn-quick:focus {
  background-color: #dad4c3;  /* Sanftes Nachdunkeln beim Drüberfahren */
  border-color: #c8c0ac;
  color: #1a1918 !important;
  text-decoration: none !important;
}

.btn-quick:active {
  transform: translateY(1px);
}

/* SVG-Icons nehmen automatisch die Textfarbe an */
.btn-quick svg {
  flex-shrink: 0;
  stroke: currentColor;
}

/* Mobilgeräte & Tablets: 2x2 Grid */
@media (max-width: 768px) {
  .tour-quick-links {
    grid-template-columns: repeat(2, 1fr); /* 2x2 Anordnung */
    gap: 0.625rem;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
  }

  .btn-quick {
    padding: 12px 10px; /* Leicht höheres Touch-Target für Smartphones */
    font-size: 0.875rem;
  }
}


/* Haupt-Container der Vorschaubox */
.next-tour-box {
  position: relative;
  background-color: #eeebe8; /* Wärmerer, etwas hellerer Erdtonton */
  border: none; /* Kein Rahmen mehr */
  border-radius: 12px;
  overflow: hidden; /* Sorgt für den sauberen, runden Kantenschluss mit dem Bild */
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover-Effekte */
.next-tour-box:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.next-tour-box:hover .next-tour-image img {
  transform: scale(1.04);
}

.next-tour-box:hover .next-tour-title a {
  color: #696969;
  text-decoration: underline;
}

/* Klick-Overlay über die gesamte Kachel */
.main-card-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

/* Flexbox: Bild und Text auf exakt gleiche Höhe zwingen */
.next-tour-content {
  display: flex;
  align-items: stretch;
}

/* Bildbereich links (randlos, ohne Rahmen) */
.next-tour-image {
  flex: 0 0 42%;
}

.next-tour-image a {
  display: block;
  height: 100%;
}

.next-tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none !important;
  outline: none !important;
  display: block;
  transition: transform 0.4s ease;
}

/* Info-Bereich rechts */
.next-tour-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem 2.5rem;
}

.next-tour-header {
  margin-bottom: 1.25rem;
}

.next-tour-region {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--font-body); /* Harmoniert perfekt mit dem wärmeren Braun */
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
}

.next-tour-title {
  font-family: var(--font-heading);
  font-size: 1.375rem; /* Etwas kompakter und eleganter */
  line-height: 1.25;
  margin: 0;
}

.next-tour-title a {
  color: var(--font-heading); !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
}

/* Touren-Kennzahlen Grid */
.next-tour-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem 2.5rem;
  padding: 0;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.975rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.stat-label {
  color: var(--font-body);
  font-weight: 400;
}

.stat-value {
  color: var(--font-body);
  font-weight: 600;
}

/* Schwierigkeits-Badges */
.difficulty-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

.difficulty-badge.level-blue {
  background-color: rgba(37, 79, 214, 0.65);
  color: #f9f9f9;
}

.difficulty-badge.level-red {
  background-color: rgba(204, 0, 0, 0.65);
  color: #f9f9f9;
}

.difficulty-badge.level-black {
  background-color: rgba(0, 0, 0, 0.65);
  color: #f9f9f9;
}

/* Responsive: Mobil & Tablets */
@media (max-width: 900px) {
  .next-tour-content {
    flex-direction: column;
    align-items: stretch;
  }

  .next-tour-image {
    flex: 100%;
  }

  /* Feste Höhe entfernt, stattdessen das originale Seitenverhältnis beibehalten */
  .next-tour-image a {
    height: auto;
    aspect-ratio: 1140 / 755; /* Passt sich exakt dem Originalformat an */
  }

  .next-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Falls das Bild exakt ins Raster passt, bleibt es knackig; dank aspect-ratio wird aber nichts mehr oben/unten abgeschnitten */
  }

  .next-tour-info {
    padding: 1.5rem;
  }

  .next-tour-title {
    font-size: 1.25rem;
  }

  .next-tour-stats {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
}

@media (max-width: 580px) {
  .stat-item {
    padding-bottom: 0.375rem;
  }
}

/* Haupt-Footer Container (Warmer, erdiger Naturton) */
.site-footer {
  background-color: #453c35;
  color: #ffffff;
  padding-top: 4rem;
  padding-bottom: 3rem;
  margin-top: 5rem;
  border-top: 1px solid #544a42;
}

/* Einspaltiger Haupt-Container */
.footer-container-single {
  max-width: 760px; /* Leicht erweitert für den größeren Blockabstand */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

/* Brand & Fuchs-Grafik */
.footer-brand-centered {
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: auto;
  max-width: 140px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
  margin: 0 auto;
  max-width: 500px;
}

/* Zweispaltiger Block unter der Tagline (Zentriert & mit größerem Abstand) */
.footer-nav-blocks {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6rem; /* Abstand zwischen den Blöcken spürbar vergrößert */
  margin-bottom: 2.5rem;
  text-align: center; /* Zentriert alle Inhalte innerhalb der Blöcke */
}

.footer-nav-block {
  min-width: 180px;
  text-align: center; /* Explizite Zentrierung für den einzelnen Block */
}

/* Überschriften der Blöcke (zentriert) */
.footer-block-heading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-align: center; /* Garantiert zentrierte Überschriften */
}

/* Untereinanderstehende Links im Block (zentriert) */
.footer-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center; /* Zentriert die Link-Einträge */
}

.footer-block-list li {
  margin-bottom: 0.625rem;
}

.footer-block-list a {
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-block-list a:hover {
  color: var(--color-brand) !important;
}

/* Social, Creator & Meta-Bereich */
.footer-meta-centered {
  margin-top: 2rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Instagram Link */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.social-link svg {
  stroke: #ffffff;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.social-link:hover {
  color: var(--color-brand) !important;
}

.social-link:hover svg {
  stroke: var(--color-brand);
  transform: scale(1.1);
}

/* Ersteller-Hinweis (Fließtext-Schrift Rubik) */
.footer-creator {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #e5e0d8;
  margin: 0;
}

.creator-name {
  font-family: var(--font-body);
  font-weight: 500;
  color: #ffffff;
}

/* Copyright */
.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #d2cbbf;
  margin: 0;
  opacity: 0.85;
}

/* Responsive Anpassung für Smartphones */
@media (max-width: 580px) {
  h1 {
      font-size: 1.8rem;
  }

  h2 {
      font-size: 1.4rem;
  }
  .footer-nav-blocks {
    flex-direction: column;
    align-items: center; /* Zentriert die Blöcke horizontal auf Mobilgeräten */
    gap: 2rem;
  }

  .footer-nav-block {
    width: 100%;
    text-align: center; /* Garantiert zentrierten Text für alle Links & Überschriften */
  }
    
  .logo-container a {
    margin-bottom: -48px; /* Etwas kleinerer Überlapp auf Mobilgeräten */
  }

  .logo-container img {
    height: 120px;
  }
}

@media (max-width: 420px) {
    
  .logo-container a {
    margin-bottom: -60px; /* Etwas kleinerer Überlapp auf Mobilgeräten */
  }
}

/* Container-Layout für Copyright & Scroll-Top-Button */
.footer-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}

/* Container-Layout für Copyright & Scroll-Top-Button */
.footer-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem; /* Abstand zum Copyright deutlich vergrößert */
  margin-top: 0.5rem;
}

/* "Nach oben"-Button (Präsentere & größere Variante) */
.scroll-to-top {
  margin: 3rem 0rem 3.8rem 0rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem; /* Vergrößert auf ~15px */
  font-weight: 500;
  color: #ffffff !important;
  text-decoration: none !important;
  opacity: 0.85;
  padding: 0.5rem 1.125rem; /* Großzügigerer Klickbereich */
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.08); /* Dezent heller Kasten im Footer-Erdton */
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.scroll-to-top svg {
  width: 22px; /* Größeres Icon */
  height: 22px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

/* Hover- & Focus-Zustand */
.scroll-to-top:hover,
.scroll-to-top:focus {
  color: #ffffff !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.scroll-to-top:hover svg {
  transform: translateY(-4px); /* Pfeil schwebt beim Drüberfahren spürbar nach oben */
}

/* Hauptbox der Tourensuche im warmen Erdtäler-Look */
.tourensuche-box {
  background-color: #eeebe3;
  border: 1px solid #dcd6c8;
  border-radius: 8px;
  padding: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.tourensuche-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #2b2823;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

/* 2-Spaltiges Layout für die Suchfelder auf Desktop */
.tourensuche-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tourensuche-wrapper1,
.tourensuche-wrapper2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Formular-Gruppen (Label + Select-Feld) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #555045;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Universelles Styling für Inputs, Textareas und Selects */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #1a1918;
  background-color: #ffffff;
  border: 1px solid #dcd6c8;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(69, 60, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
}

/* --- Captcha-Komponenten --- */

.captcha-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.25rem 0;
}

.captcha-image {
  border-radius: 6px;
  border: 1px solid #dcd6c8;
  height: 45px;
}

.captcha-refresh {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #5c4e42;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.captcha-refresh:hover {
  color: var(--color-brand);
  text-decoration: underline;
}

/* Checkbox-Layout (Inline mit Text) */
.checkbox-group {
  margin-top: 1.5rem;
}

.checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: #3a352e !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--color-brand);
  cursor: pointer;
}

/* Allgemeine Absende-Box / Button-Ausrichtung */
.form-submit {
  margin-top: 2rem;
}

.form-submit .button {
  background-color: var(--color-brand);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.form-submit .button:hover {
  background-color: #2b2823;
  transform: translateY(-1px);
}

/* Universelle Infobox (z. B. für Erfolgsmeldungen) */
.form-success-box {
  background-color: #eeebe3;
  border: 1px solid #dcd6c8;
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
  font-family: var(--font-body);
  color: #2b2823;
  text-align: center;
}

/* Submit-Button Ausrichtung */
.tourensuche-submit {
  margin-top: 1.5rem;
  text-align: right;
}

.tourensuche-submit .button {
  background-color: var(--color-brand);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.tourensuche-submit .button:hover {
  background-color: #2b2823;
  transform: translateY(-1px);
}

/* Responsive: Auf Mobilgeräten alles einspaltig untereinander */
@media (max-width: 800px) {
  .tourensuche-box {
    padding: 1.25rem;
  }

  .tourensuche-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tourensuche-submit {
    text-align: center;
  }

  .tourensuche-submit .button {
    width: 100%;
  }
}

/* Container direkt nach der Menüleiste für 100% Bildschirmbreite */
.hero-panorama {
  width: 100vw;
  position: relative;
  /* Negative Ränder gleichen eventuelle Außenabstände (Margins/Paddings) des Hauptcontainers aus,
     damit das Bild wirklich komplett edge-to-edge von Bildschirmrand zu Bildschirmrand läuft */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 1.5rem; /* Abstand nach unten zum restlichen Seiteninhalt */
  overflow: hidden;
  background-color: #2b2823; /* Dezenter Platzhalter-Hintergrund beim Laden */
}

/* Picture-Tag als Block über die volle Breite ausrichten */
.hero-panorama picture {
  display: block;
  width: 100%;
}

/* Bild-Layout: Exakte Anpassung für den Panoramalook */
.hero-panorama img {
  display: block;
  width: 100%;
  /* Feste, elegante Banner-Höhe (z. B. 450px auf Desktop). 
     Auf kleineren Bildschirmen passt es sich automatisch an. */
  height: 800px; 
  object-fit: cover; /* Schneidet die Ränder harmonisch ab, falls das Seitenverhältnis abweicht */
  object-position: center; /* Zentriert den Hauptmotivpunkt im Bild */
  transition: transform 0.4s ease;
}

/* Subtiler Zoom-Effekt beim Darüberfahren (optional) */
.hero-panorama:hover img {
  transform: scale(1.02);
}

/* Responsive Anpassung für Tablets und Smartphones */
@media (max-width: 1024px) {
  .hero-panorama img {
    height: 660px; /* Mittlere Höhe für Tablets */
  }
}

@media (max-width: 768px) {
  .hero-panorama img {
    height: 580px; /* Kompaktere Höhe für Smartphones */
  }
}

@media (max-width: 540px) {
  .hero-panorama img {
    height: 480px; /* Kompaktere Höhe für Smartphones */
  }
}

.magazine-title {
  font-family: 'Kalam', cursive;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #2b2823;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
  .magazine-title {
    font-size: 1.875rem; /* Skaliert auf dem Handy sauber herunter */
  }
}

.flag {
  width: 18px;
  height: auto;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px;
  margin-right: 0.4rem;
}

.achtung {
    color:#cc0000;
    font-weight: bold;
}