/* figtree-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: 'Figtree';
  font-style: normal;
  font-weight: 400;
  src: url('../_fonts/figtree-v6-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* figtree-500 - 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: 'Figtree';
  font-style: normal;
  font-weight: 500;
  src: url('../_fonts/figtree-v8-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* figtree-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: 'Figtree';
  font-style: normal;
  font-weight: 700;
  src: url('../_fonts/figtree-v6-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fjalla-one-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: 'Fjalla One';
  font-style: normal;
  font-weight: 400;
  src: url('../_fonts/fjalla-one-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body, td, th, input, select, textarea {
	font-family: 'Figtree', serif;
	font-size:1.3em;
	color: #505050;
	line-height: 2em;
}

html {
	padding: 0px;
	width: 100%;
}

body {
	text-align: center;
	overflow-x: hidden;
	margin:0 auto;
    
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

img {
	max-width:100%;
}

h1 {
	font-size:1.4em;
	line-height: 1.4em;
	margin-top:8px;
}

h2 {
	font-size:1.1em;
	line-height: 1.8em;
    margin:1.0em 0;
}

h3 {
	font-size:1.0em;
	line-height: 1.8em;
    margin-bottom:28px;
    font-weight: 600;
}

ul {
	margin: 16px 0 0 0;
	padding: 0px;
}

li {
	padding: 0px;
	margin: 0px 0px 5px 22px;
}

a:link, a:visited, a:active {
	color: #505050;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
	color: #46a7dc;
}
a:active, a:focus {
	outline: 0 !important;
    box-shadow: none !important;
}

.header-wrapper {
  width: 100%;
  position: relative;      /* wichtig: positionieren, sonst wirkt z-index nicht */
  z-index: 100;
  overflow: visible;       /* falls vorher hidden war */
}

.dropdown {
  position: relative;
  z-index: 99999999999;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -10px;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  z-index: 9998; /* sichert das Menü selbst gegen Überlagerungen */
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0px 10px 0px 10px;
  white-space: nowrap;
  text-align: left;
  color: #000;
  text-decoration: none;
  z-index: 9999;
}

/* Header: max. 1350px, zentriert, Flex-Layout */
header {
  background-color: #ffffff;
  padding: 10px 0px 20px 0px;           /* weniger vertikaler Innenabstand */
  height: auto;              /* flexible Höhe */
  max-width: 1350px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;       /* vertikal zentriert */
  justify-content: space-between;
  gap: 20px;
}

/* Logo-Bild: float entfernen, Größe setzen */
header img {
  height: 66px;
  width: auto;
  margin-top: 1px;
}
header img { float: none; }       /* überschreibt altes float */

/* Navigation mittig, sauberer Abstand */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  flex: 1;                        /* nimmt mittleren Platz ein */
  margin: 0px 0px 0px 140px;                      /* float/Abstände alt entfernen */
}

/* Links in der Nav */
nav a {
  text-decoration: none !important;
  margin: 0;
  font-size: 0.9em;
  color: #505050;
  transition: color 0.3s ease;
}
nav a:hover { color: #46a7dc; }
nav a.active { color: #46a7dc; }

/* Icons rechts */
.header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Einheitliche Icon-Größe */
.header-icons .nav-icon {
  width: 24px;
  height: 24px;
  display: block;
}

nav, .header-icons {
  transform: translateY(-4px);
}

/* Klickfläche: fix 40x40, zentriert */
.header-icons a {
  --nudge-x: 0px;
  --nudge-y: 0px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* Nur das Icon verschieben, nicht die Klickfläche */
.header-icons .nav-icon {
  width: 24px; height: 24px; display: block;
  transform: translate(var(--nudge-x), var(--nudge-y));
}

.header-icons a:hover {
  background: #f2f2f2;
}

/* Menü-Icon standardmäßig verstecken (Desktop) */
.menu-icon {
  display: none !important;
}

.top-banner {
  position: relative;
  background-color: #1599d4; /* dein gewünschtes Blau */
  height: 30px;
  clip-path: polygon(
    0% 0%, 10% 30%, 20% 15%, 30% 40%, 40% 22%, 50% 35%, 
    60% 18%, 70% 38%, 80% 20%, 90% 28%, 100% 10%, 100% 0%, 0% 0%
  );
}

.header {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #e3f5ff;
    padding: 50px 0px 60px 0px;
}
  
.header-image {
  position: relative;
  overflow: hidden;
  background-color: #e3f5ff;
}

.header-banner {
  aspect-ratio: 3600 / 1000;
}

/* Obere leichte Bergsilhouette */
.header-image::before {
  content: '';
  position: absolute;
  top: -20px; /* leicht nach oben gezogen */
  left: 0;
  width: 100%;
  height: 100px;
  background-color: white;
  clip-path: polygon(
    0% 0%, 0% 40%,
    10% 60%, 20% 35%, 30% 55%, 40% 38%, 50% 52%, 
    60% 34%, 70% 58%, 80% 36%, 90% 50%, 
    100% 30%, 100% 0%
  );
  z-index: 5;
  opacity: 0.5;
  pointer-events: none;
}

/* Graue Bergsilhouette */
.grey-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: rgba(230, 247, 254, 0.5);
  clip-path: polygon(
      0% 63%,   /* flacher linker Einstieg */
      12% 58%,  /* sanfter Anstieg */
      28% 47%,  /* erste höhere Spitze */
      43% 56%, 
      58% 48%, 
      73% 54%, 
      88% 50%, 
      100% 55%, 
      100% 100%, 
      0% 100%
    );
  z-index: 1;
}

/* Weiße Bergsilhouette */
.header-image::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: calc(20% + 1px);
  background-color: #ffffff;
  clip-path: polygon(
    0% 100%, 5% 95%, 10% 80%, 20% 85%, 30% 75%, 40% 80%, 50% 70%, 
    60% 78%, 70% 72%, 80% 85%, 90% 75%, 110% 100%
  );
  z-index: 2;
   opacity: 1;
}

/* Deko-Elemente sollen Klicks nicht abfangen */
.grey-mountains,
.header-image::after {
  pointer-events: none;
}

.arrow-cta {
  position: absolute;
  left: 50%;
  top: 68%;
  transform: translate(-50%, -50%);
  z-index: 30;

  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35); /* halbtransparent hellgrau */
  backdrop-filter: blur(2px);              /* dezent glasig */
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 200ms ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Der Pfeil selbst: wird per ::before erzeugt */
.arrow-cta::before {
  content: '\203A';
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  transition: transform 200ms ease, color 200ms ease;
}

/* Hover-Effekt */
.arrow-cta:hover,
.banner-link:hover .arrow-cta {
  background: rgba(255, 255, 255, 0.55); /* etwas heller */
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Pfeil bewegt sich leicht nach rechts beim Hover */
.arrow-cta:hover::before,
.banner-link:hover .arrow-cta::before {
  transform: translateX(2px);
  color: white;
}

/* Tooltip-Stil */
.arrow-cta::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px); /* oberhalb des Kreises */
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  padding: 2px 24px;
  background: rgba(10, 40, 90, 0.7);  /* dunkles, leicht transparentes Blau */
  color: white;
  font-size: 0.8rem;
  font-weight: 400;
  white-space: nowrap;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(2px);
}

/* Tooltip sichtbar beim Hover */
.arrow-cta:hover::after,
.banner-link:hover .arrow-cta::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-content {
  display: flex;
  max-width: 100%;
  gap: 12px;
  margin: 0 auto; /* â† DAS MACHT DIE ZENTRIERUNG */
}

.left-image {
    flex-shrink: 0;
}

.left-image picture, 
.left-image img {
  display: block;
  width: auto;
  height: 100%;         /* passt sich der Höhe des picture an */
  border-radius: 8px;
  object-fit: cover;    /* falls das Seitenverhältnis abweicht */
  aspect-ratio: 1024 / 594;
}
.right-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 594px;
    width: calc(2 * 220px + 12px); /* neue Breite fÃ¼r kleinere LÃ¼cke */
}
.row {
    display: flex;
    gap: 12px; /* kleinerer Abstand */
    height: calc(50% - 6px); /* angepasst fÃ¼r 12px vertikale LÃ¼cke */
}
.row img {
    width: 220px;
    height: 100%;
    object-fit: cover;
    border-radius: 8px; /* abgerundete Ecken */
}

#breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap; 
  font-size: 0.85em;
  margin-bottom: 48px;
  gap: 4px;
}

#breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  line-height: 18px;
}

#breadcrumbs a:hover {
    color: #46a7dc;
}

#breadcrumbs img {
  height: 20px;
  width: 20px;
  display: block;
  margin-right: 6px;
}

#breadcrumbs .blue {
  color: #46a7dc;
  font-size: 1em;
  line-height: 1;
  margin: 0 4px;
  line-height: 18px;
}

.start-breadcrumb {
	visibility: visible;
}
.blue {
    color: #46a7dc;
}

#content-section {
	background-color: #ffffff;
	float:left;
	width:100%;	
    min-height: 800px;
	overflow:visible;
    margin:20px 0px 20px 0px;
}
.content-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1350px;
    margin: 0 auto;
    gap: 66px;
}

/* Linke Spalte */
.content-left-column {
    width: 900px;
    text-align: left;
}

/* Rechte Spalte */
.content-right-column {
    flex: 1;
    text-align: left;
}

.center {
    display: table;
  	margin: 0 auto;
}

.flag {
    height:14px;
}

#map1 {
    width:100%;
    height:500px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 1 / 1; /* Quadratisch */
  overflow: hidden;
  background-color: #eee;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blue-button {
  display: inline-block;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  background-color: #edf0f4;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  width: 240px;
  height: 32px;
  line-height: 32px; /* Vertikal zentriert */
}

a.blue-button {
  text-decoration: none;
  font-size: 0.85em;
}

a.blue-button:hover {
  background-color: #e6f4fb; /* Zarter Hover-Effekt */
  color: #2b7aa6;
}

.quicklink-button {
  display: inline-block;
  padding: 6px 8px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  color: #46a7dc;
  background-color: #edf0f4;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
a.quicklink-button {
    text-decoration: none;
    font-size: 0.8em;
}

.quicklink-button:hover {
  background-color: #e6f4fb;
  color: #2b7aa6;
}

/* Grid-Container */
.quicklink-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0px;
  max-width: 1000px;
}

button, .form-button, .form-button-dark {
  background-color: #46a7dc;
  color: white;
  border: none;
  padding: 8px 30px;
  font-size: 0.85em;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.form-button-dark {
    background-color:#7b9cad;
}

button:hover, .form-button:hover, .form-button-dark:hover {
  background-color: #3695c6; /* etwas dunkler für Hover-Effekt */
}

.hellblau-button {
  display: inline-block;
  padding: 4px 8px;
  min-width: 200px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  background-color: #46a7dc;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
a.hellblau-button {
    text-decoration: none;
    font-size: 0.8em;
    color:#ffffff;
}

.hellblau-button:hover {
  background-color: #e6f4fb;
  color: #2b7aa6;
}

.tourdaten-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    margin: 20px 0px 50px 0px;
}

.tourdaten-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 8px;
    border-radius: 4px;
}
.tourdaten-icon {
    width: 26px;
    height: 26px;
    margin-right: 15px;
}
.tourdaten-text {
    display: flex;
    flex-direction: column;
    font-size:0.9em;
    line-height:1.2em;
}
.tourdaten-text .tourdaten-title {
    font-weight: bold;
    font-size:0.9em;
    line-height:1.4em;
}

.difficulty {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top:10px;
}

.difficulty__icon {
  height: 30px;
  aspect-ratio: 1 / 1;
  width: auto;
  display: block;
}

.difficulty__badge {
  position: relative;
  font-weight:700;
  color: var(--accent);
  font-size: 1.1rem;
  padding: 0.6rem 1.2rem;
  line-height: 1em;
  border-radius: .5rem;
  white-space: nowrap;
}

.difficulty__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--accent);
  opacity: 0.1; /* nur Rahmen wird transparent */
  border-radius: .5rem;
  pointer-events: none;
}

.vorschau-raster {
  display: grid;
  grid-template-columns: calc(50% - 18px) calc(50% - 18px);
  column-gap: 36px;
  row-gap: 36px;
}

.vorschau_box_gross_wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "image"
    "content"
    "button";
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f9f9f9;
  box-sizing: border-box;
}

.vorschau_box_header {
  grid-area: header;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;                 /* Abstand zwischen Zeile 1 und 2 */
  padding: 0 4px;
}

/* Zeile 1: Flagge + Gruppe nebeneinander */
.vorschau_box_header .header_meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
}
.vorschau_box_header .flag {
  flex: 0 0 auto;
}

.vorschau_box_title {
  font-weight: bold;
  line-height: 2.0em;   /* anpassen falls nötig */
  min-height: 4.0em;  /* 2 Zeilen × 1.3 line-height × 1em */
  font-size: 1.0em;
  width:100%;
}
.vorschau_box_charakter {
  clear:both;
  font-weight: bold;
  min-height: 2.0em;  /* 2 Zeilen × 1.3 line-height × 1em */
  width:100%;
}

/* Bild */
.vorschau_box_image {
  grid-area: image;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 768 / 446; /* gewünschtes Seitenverhältnis */
  position: relative;
}
.vorschau_box_image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Content: 2×2 bleibt */
.vorschau_box_content {
  grid-area: content;
  display: grid;
  grid-template-columns: 1fr 1fr; /* bleibt 2×2 */
  gap: 10px;
  font-size: 0.9em;
  padding: 0;                  /* Desktop-Margin entfernen */
  margin: 0;                   /* war: margin-left:16px; -> raus */
}
.vorschau_box_content > div:first-child {
  grid-column: 1 / -1;
  width: 100% !important;
}
.vorschau-tourdaten-box {
  float: none !important;
  width: auto !important;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
  line-height: 2.0em;
}

/* Beide Kopfzeilen im Content über die volle Breite */
.vorschau_box_content .vorschau_box_title,
.vorschau_box_content .vorschau_box_charakter {
  grid-column: 1 / -1;   /* volle Breite über beide Spalten */
  width: 100%;
}

/* Button */
.vorschau_box_button { grid-area: button; padding: 16px 0; }
.vorschau_box_button .center { text-align: center; }

/* Das alte Clear-Element zwischen Content & Button wird überflüssig */
.vorschau_box_gross_wrapper > div[style*="clear:both"] { display: none; }

/* Optional: etwas mehr Luft auf großen Screens */
@media (min-width: 1024px) {
  .vorschau_box_gross_wrapper { padding: 16px; gap: 16px; }
}

#freitextsuche {
  display: none;
  width: 100%;
  float: left;
  background-color: #f6fbfe;
}

/* Wrapper: zentriert, vertikal mittig */
.freitext-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center; /* vertikal mittig */
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  flex-wrap: wrap; /* für mobile Ansicht */
  box-sizing: border-box;
}

/* Eingabefeld */
.freitext-links input[type="text"] {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border-radius: 6px;
  border: 2px solid #cde8fa;
  font-size: 18px;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Fokuszustand: leicht hervorgehoben */
.freitext-links input[type="text"]:focus {
  outline: none;
  border-color: #80bfff;
  box-shadow: 0 0 4px rgba(0, 122, 204, 0.25);
}

/* Button */
.freitext-rechts input[type="submit"] {
  height: 52px;
  border-radius: 6px;
  border: none;
  background-color: #007acc;
  color: white;
  font-size: 18px;
  padding: 0 24px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.freitext-rechts input[type="submit"]:hover {
  background-color: #005fa3;
  transform: translateY(-1px);
}

/* Layout: Desktop */
.freitext-links {
  flex: 1 1 70%;
}

.freitext-rechts {
  flex: 0 0 auto;
}

.hidden { display: none; }

.spinner {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-size: 1rem;
  color: #333;
  text-align: center;
}

.loader {
  border: 4px solid #ccc;
  border-top-color: #0a66c2;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive: untereinander auf kleinen Geräten */
@media (max-width: 600px) {
  .freitext-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .freitext-links,
  .freitext-rechts {
    width: 100%;
  }

  .freitext-rechts input[type="submit"] {
    width: 100%;
  }
}



.alert {
    color:#cc0000;
    font-weight: bold;
}
.success {
    color:#00cc00;
    font-weight: bold;
}

.bild-links {
    float: left; 
	margin: 16px 40px 14px 0px;
    border: 0px;
    width: 260px;
}
.bild-rechts {
    float: right; 
	margin: 16px 0px 14px 40px;
	border: 0px;
    width: 260px;
}
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    min-width: 600px; /* Damit auf kleinen Displays Scrollen nÃ¶tig ist */
}

.responsive-table th,
.responsive-table td {
    padding: 0.5em;
    text-align: center;
    border: 1px solid #ddd;
    white-space: nowrap; /* Verhindert Umbruch */
    font-size:0.9em;
}

.responsive-table thead {
    background-color: #f2f2f2;
}

.responsive-table img {
    vertical-align: middle;
}

.footer {
  position: relative;
  background-color: #1599d4;
  color: #fff;
  padding: 80px 20px 40px 20px;
  overflow: hidden;
}

.footer-mountains {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: white;
  clip-path: polygon(
    0% 65%,                   
    3% 72%,
    6% 64%, 8% 68%,
    11% 50%, 13% 55%,         
    16% 47%, 
    20% 42%, 22% 48%,
    26% 44%, 28% 60%,         
    31% 55%, 33% 50%,         
    36% 58%,
    40% 47%, 42% 50%,
    46% 38%, 
    50% 52%, 53% 48%,         
    56% 40%,
    60% 46%, 63% 44%,         
    66% 60%,
    69% 48%, 72% 54%,
    75% 42%, 77% 45%,
    80% 60%,
    83% 50%, 86% 53%,
    89% 40%, 
    92% 44%, 94% 41%,         
    97% 58%,
    100% 50%,
    100% 0%, 0% 0%
  );
  z-index: 1;
  pointer-events: none;
}


.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1410px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column {
  flex: 1;
  text-align: center;
}

.footer-logo {
  max-width: 280px;
  height: auto;
}

.footer-column.social-media {
  text-align: center;
  color: white;
}

.footer-column.social-media p {
  margin-bottom: 12px;
  font-size: 16px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.footer-column.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-icons {
  display: flex;
  gap: 20px; /* Gleicher Abstand wie bei Social Media */
  justify-content: center;
}

.partner-icons img {
  height: 62px; /* oder eine passende HÃ¶he */
  object-fit: contain;
  display: block;
}

.footer-bottom {
  background-color: #555555;
  padding: 40px 36px;
  color: #fff;
}

.footer-bottom-inner {
  max-width: 1410px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  margin: 0 4px;
  white-space: nowrap;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom span {
  color: #888;
}

.scroll-to-top {
  text-align: center;
  margin-top: 24px;
}

.scroll-to-top a {
  color: white;
  font-size: 28px;
  text-decoration: none;
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid white;
  border-radius: 4px;
  background-color: transparent;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.scroll-to-top a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.autorenbox {
	display: flex;
	align-items: center; /* Vertikale Zentrierung */
	margin: 40px 0;
	font-size: 0.9em;
}

.round {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0; /* verhindert Schrumpfen bei kleineren Screens */
}

.round img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* sorgt fÃ¼r sauberen Zuschnitt */
	display: block;
}

.teaser-box-wrapper {
    width:100%;
    background-color:#f8fdff;
    border-radius:8px;
    font-size:0.9em;
	line-height: 1.7em;
}
.teaser-box {
    padding:20px;
}

/* ====== Teaser-Kacheln ====== */

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.teaser {
  position: relative;
  display: block;
  aspect-ratio: 768 / 568;              /* entspricht 4:3 */
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

/* leichtes, helles Overlay zur besseren Lesbarkeit */
.teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(0,0,0,0.25) 100%);
  transition: opacity .25s ease;
}

/* Weißer Text mit Figtree */
.teaser__label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  color: #fff;
  font-family: "Figtree", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* Hover / Fokus-Effekte */
@media (hover: hover) and (pointer: fine) {
  .teaser:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
  }
  .teaser:hover::before { opacity: .9; }
}

.teaser:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px #1e90ff;
}

@media (prefers-reduced-motion: reduce) {
  .teaser { transition: none; }
  .teaser::before { transition: none; }
}



.weiter-link {
    display: inline-block;
    background-color: transparent;
    color: #1599d4;
    padding: 8px 16px;
    margin-top:12px;
    border: 1px solid #1599d4;
    border-radius: 4px; /* zart abgerundet */
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    font-size:0.9em;
}
a.weiter-link {
    text-decoration: none;
}

.weiter-link:hover {
    background-color: #1599d4;
    color: white;
    transform: translateY(-1px);
}

.weiter-link:active {
    background-color: #117ca9;
    border-color: #117ca9;
    transform: translateY(0);
}

.searchgrid {
  display: grid;
  grid-template-columns: 1fr;   /* mobil: 1 Spalte */
  gap: 0.75rem 0.75rem;
}

.field {
    margin-bottom: 0.75rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
}

.field select {
  width: 100%;                 /* 100% Breite */
  box-sizing: border-box;      /* berücksichtigt Padding/Borders */
  padding: 0.5rem;
  border: 1px solid #cfd9e6;
  border-radius: 0.375rem;
  background: #fff;
  font: inherit;
}

.field input[type="text"],
.field input[type="password"],
.field input[type="email"],
.field textarea {
  width: 100%;                 /* volle Breite */
  box-sizing: border-box;      /* Padding + Border inklusive */
  padding: 0.5rem;
  border: 1px solid #cfd9e6;
  border-radius: 0.375rem;
  background: #fff;
  font: inherit;
  resize: vertical;            /* Textarea nur vertikal vergrößerbar */
}

/* Optional: Hover- und Fokus-Style wie bei modernen Formularen */
.field input[type="text"]:hover,
.field textarea:hover {
  border-color: #b4c5db;
}

.field input[type="text"]:focus,
.field textarea:focus {
  border-color: #5b9bd5;
  outline: none;
  box-shadow: 0 0 0 2px rgba(91, 155, 213, 0.2);
}

.ad-banner {
  width: 100%;
  padding: 20px 0 40px 0;
  display: flex;
  justify-content: center;
}

.ad-banner-inner {
  width: 100%;
  max-width: 1350px;
  display: flex;
  justify-content: center;
}

.adsbygoogle { width:100%; display:block; }

.spacing {
  padding: 20px;
}

@media (max-width: 2800px) {
    .header-banner {
      aspect-ratio: 2800 / 778;
    }
}

@media (max-width: 2000px) {
    .header-banner {
      aspect-ratio: 2000 / 778;
    }
}

@media (max-width: 1490px) and (min-width: 1024px) {
  .header-content {
    display: flex;
    width: 100%;
    padding: 0 16px;
    gap: 12px;
    height: 40vw; /* HÃ¶he relativ zur Breite */
    max-height: 600px;
  }

  .left-image {
    flex: 2;
    height: 100%;
  }

  .left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  .right-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%; /* WICHTIG: HÃ¶he vom Container */
  }

  .row {
    display: flex;
    gap: 12px;
    height: 50%; /* WICHTIG: Je zwei Zeilen Ã  50% */
  }

  .row img {
    width: 50%;
    height: 100%; /* FÃœGT HÃ–HENVERHALTEN EIN */
    object-fit: cover;
    border-radius: 8px;
  }
}

@media (max-width: 1390px) and (min-width: 1025px) {
  .content-container {
    flex-wrap: nowrap;
  }

  /* Linke Spalte füllt den Rest */
  .content-left-column {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    padding-left: 10px;   /* Abstand zum linken Rand */
  }

  /* Rechte Spalte bleibt mind. 300px */
  .content-right-column {
    flex: 0 0 330px;
    min-width: 330px;
    padding-left: 10px;   /* Abstand zum linken Rand */
  }
}

@media (max-width: 1400px) {
    .header-banner {
      aspect-ratio: 1400 / 778;
    }
}

@media (max-width: 1350px) {
    header {
        width: 100%; /* Breite des Headers */
        justify-content: space-between;
    }
    header img {
      margin-left:18px;
    }
    nav {
        display: none;
    }
    .menu-icon {
        display: inline-flex !important;
    }
    .header-icons {
       justify-content: flex-end; /* alles nach rechts */
       margin-right: 18px;
    }
    .header-icons a { --nudge-x: -8px; }
    
    .header-wrapper {
      
      z-index: 0;
    }
}

@media (max-width: 1024px) {
   .content-container {
       padding:10px;
       flex-direction: column;
   }
   .content-left-column, .content-right-column {
        width: 100%;
   }
  .header-content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .left-image img {
    height: auto;
    max-width: 100%;
    border-radius: 0px;
  }

  .right-grid {
    display: none;
  }

  .row {
    flex-direction: row;
    gap: 12px;
    height: auto;
    width: 100%;
    justify-content: center;
  }

  .row img {
    width: calc(50% - 6px);
    height: auto;
    max-width: 100%;
  }
    
  header img {
      height:55px;
  }
}

@media (max-width: 920px) {
    .content-container {
        flex-direction: column;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 6px;
    }
    
    .footer-column {
        width: 100%;
        text-align: center;
        margin:20px 0px 20px 0px;
    }

      .partner-icons,
      .social-icons {
        justify-content: center;
      }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
    }

    .footer-bottom a,
    .footer-bottom span {
        display: inline-block;
    }
    .difficulty__badge {
        font-size: 1.0rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size:1.2em;
    }
    h2 {
        font-size:1.0em;
    }
    .tourdaten-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .responsive-table th,
    .responsive-table td {
        padding: 0.5em;
        text-align: center;
        font-size:0.9em;
    }
    .responsive-table img {
        width:18px;
        height:auto;
    }
    body, td, th, input, select, textarea {
        font-size:1.2em;
        line-height: 1.8em;
    }
    .bild-links {
        float: left; 
        margin: 16px 20px 14px 0px;
        width: 150px;
    }
    .bild-rechts {
        float: right; 
        margin: 16px 0px 14px 20px;
        width: 150px;
    }
    .header-image::before {
        clip-path: none;
        opacity: 0;
    }

    .grey-mountains {
        clip-path: polygon(
          0% 60%, 
          15% 63%, 
          30% 55%, 
          45% 60%, 
          60% 53%, 
          75% 58%, 
          90% 55%, 
          100% 58%, 
          100% 100%, 
          0% 100%
        );
      
    }

    .header-image::after {
        clip-path: polygon(
          0% 100%, 10% 90%, 
          25% 95%, 40% 85%, 
          55% 92%, 70% 88%, 
          85% 94%, 100% 90%, 
          100% 100%, 0% 100%
        );
    }
    .footer-mountains {
        clip-path: polygon(
          0% 60%,
          10% 68%,
          20% 52%,
          30% 58%,
          40% 46%,
          50% 54%,
          60% 48%,
          70% 56%,
          80% 50%,
          90% 58%,
          100% 50%,
          100% 0%, 0% 0%
        );
    }
    .header {
        padding: 10px 0px 20px 0px;
    }
    .header-banner {
      aspect-ratio: 768 / 800;
    }

    .mobileheader a {
        top: 32px;
    }
    header img {
      height:44px;
    }
    .quicklink-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vorschau-raster { 
        grid-template-columns: 1fr; 
    }
    .vorschau_box_gross_wrapper {
        margin-bottom: 30px;
    }
    .arrow-cta {
        top: 72%;
        width: 54px;
        height: 54px;
    }
    .arrow-cta::before {
      font-size: 2rem;
      color: rgba(255, 255, 255, 1.0);
    }
    #map1 {
        height:475px;
    }
}

@media (max-width: 600px) {
  .row img {
    width: 100%;
  }

  .right-grid {
    gap: 8px;
  }

  .row {
    flex-direction: column;
    gap: 8px;
  }
  .responsive-table th,
  .responsive-table td {
        padding: 0.3em;
        text-align: center;
        font-size:0.85em;
  }
  header {
      height:42px;
  }
  header img {
      height:33px;
      margin-left: 8px;
  }
  .header-icons {
       margin-right: 8px;
  }
  .header-icons a { --nudge-x: -4px; }
}

@media (max-width: 540px) {
    .start-breadcrumb {
		display: none;
	}
    #breadcrumbs {
      gap: 2px;
      font-size: 0.8em;
      margin-bottom:32px;
    }

    #breadcrumbs a {
      gap: 2px;
    }

    #breadcrumbs .blue {
      margin: 0 2px;
    }
    
    #breadcrumbs img {
      height: 16px;
      width: 16px;
      margin-right: 4px;
    }
    .footer-logo {
      max-width: 240px;
      height: auto;
    }
    #map1 {
        height:375px;
    }
}

@media (max-width: 430px) {
  .gallery {
        grid-template-columns: repeat(2, 1fr);
  }
  .vorschau_box_gross_wrapper {
        background-color: #ffffff;
        padding:0px;
  }
  .round {
        width: 60px;
        height: 60px;
  }
  .header-icons {
      gap: 6px;
      margin-right:4px;
  }
}

@media (max-width: 360px) {
  .difficulty__badge {
      font-size: 0.8rem;
  }
  header img {
      height:26px;
      margin-left: 4px;
  }
  .header-icons {
      margin-right:2px;
  }
  .header-icons .nav-icon {
      width: 20px;
      height: 20px;
  }
  .footer-logo {
      max-width: 200px;
      height: auto;
  }
}

@media (hover: none) and (pointer: coarse) {
  .arrow-cta::after {
    display: none;
  }
}