@charset "utf-8";
/* CSS Document
by: messemer.net
*/

/* Typewriter - Schreibmaschine */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
.typewriter {
  font-family: "Special Elite", system-ui;
  font-size: 12pt;
  letter-spacing: 0.2pt;
}


/* Ahnenlinien */
.instructor-image {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	margin: 0 auto 1.5rem;
	border: 4px solid var(--bg-card-hover);
	transition: all 0.3s;
	overflow: hidden;
	background: var(--bg-card-hover);
}

.instructor-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(80%);
	transition: filter 0.3s;
}

.service-card:hover .instructor-image {
	border-color: var(--gold-dark);
	box-shadow: 0 0 20px rgba(229, 186, 112, 0.572);
}

.service-card:hover .instructor-image img {
	filter: grayscale(80%);
}


/* =========================
   DSGVO
   ========================= */

h2.dsa {
    font-family: var(--font-family-Libre);
    margin: 25px 0px 15px 0px;
}
h3.dsb {
    font-family: var(--font-family-Libre);
    margin: 15px 0px 10px 0px;
}

ul.m-elements {
    margin: 15px 0px 15px 15px;
    list-style-type: none;
    padding: 5px;
}


ul.m-elements li::before {
    content: "°";           /* Das eigene Symbol */
    color: whitesmoke;    /* Farbe des Symbols */
    display: inline-block;
    width: 1em;             /* Festen Platz für das Symbol schaffen */
}

ul.m-elements li {
  margin:5px 0px 15px 25px;
}
ul.m-elements li.eng {
  margin:2px 0px 2px 25px;
}

   /* =========================
   Allgemeines
   ========================= */

.trennen {
 hyphens: auto;
 -moz-hyphens: auto;
 -ms-hyphens: auto;
 -o-hyphens: auto;
 -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3; /* Wort min. 6 Zeichen, 3 davor, 3 danach */
}

.rand {
  border: 1px solid white; /* 5px Breite, Weiss, Durchgezogen */
}
.product-image .rand{
 border: 1px solid var(--border-color); /* 5px Breite, Weiss, Durchgezogen */
}

.rechts {
  text-align: right;
}

.error{
        max-width: 1000px;
        margin: 170px 0px 70px 0px;
        padding: 0 24px;
}

.block { text-align: justify;
          hyphens: auto;
          -webkit-hyphens: auto;
          -ms-hyphens: auto;
          hyphenate-limit-chars: 6 3 3; /* Wort min. 6 Zeichen, 3 davor, 3 danach */
          margin:10px 0px 0px 0px;
}

.info { font-family: verdana, serif;
        font-size: 0.7em;
        color: #C0C0C0;
        line-height: 0pt;
    }

/* =========================
   Dropdown Erweiterung
   ========================= */

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 200px;
    padding: 12px 0;
    background: rgba(15, 14, 12, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.3s ease,
                transform 0.3s ease,
                visibility 0.3s ease;
    z-index: 1001;
}

/* Anzeigen bei Hover */
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Links */
.dropdown li {
    position: relative;
}

.dropdown li a {
    display: block;
    padding: 10px 24px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: color 0.3s ease, 
}

/* Hover Effekt */
.dropdown li a:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.03);
}

/* Goldener Marker im Dropdown */
.dropdown li a::before {
    content: '* ';
    position: absolute;
    left: 12px;
    opacity: 0;
    color: var(--gold-primary);
    font-size: 10px;
    transition: opacity 0.3s ease, left 0.3s ease;
}

.dropdown li a:hover::before {
    opacity: 1;
    left: 16px;
}


/* Pfeil nur bei Dropdown-Haupteinträgen */
.has-dropdown > a::after {
    content: 'v';
    margin-left: 5px;
    font-size: 10px;
    color: var(--text-secondary);
    transition: color 0.3s ease,
                transform 0.3s ease;
}

/* Pfeil Hover / aktiv */
.has-dropdown:hover > a::after {
    color: var(--gold-light);
    transform: translateY(2px);
}


/* Für mein Quersummenspiel  */
.box {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 50px;
    height: 30px;
    border: 1px solid #aaa;
    margin: 4px;
    padding: 5px;
    font-family: monospace;
    font-size: 18px;
}

.number {
    font-weight: bold;
}

.symbol {
    font-size: 20px;
}

.magicsymbol { font-size: 160px !important;
               line-height: 1.0; }




/* Externe Links */
a.extern::before {
  content: "  ↗ [";
  margin-right: 0.23em;
  font-size: 0.85em;
  opacity: 0.8;
  white-space: nowrap;
}
a.extern::after {
  content: "]";
  margin-left: 0.3em;
  font-size: 0.85em;
 white-space: nowrap;
}

/* InterneLinks     content: "  ↘ [";     */
a.intern::before {
  content: " \00a0 \00a0 [↘ ";
  margin-right: 0.23em;
  font-size: 0.85em;
  opacity: 0.8;
  white-space: nowrap;
  font-weight: bold;
}
a.intern::after {
  content: "] \00a0 \00a0 ";
  margin-left: 0.3em;
  font-size: 0.85em;
  white-space: nowrap;
  font-weight: bold;
}


/* Pfeil nach oben - Back to top  */
.back-to-top {
  position: fixed;
  bottom: clamp(14px, 4vw, 20px);
  right: clamp(14px, 4vw, 20px);

  width: clamp(32px, 8vw, 45px);
  height: clamp(32px, 8vw, 45px);

  border-radius: 50%;
  background: #141414;
  color: var(--gold-primary);

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-size: clamp(16px, 3.5vw, 22px);

  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: var(--z-modal);
  cursor: pointer;
  border: 1px solid var(--gold-light);
}
html {
  scroll-behavior: smooth;
}
.back-to-top:hover {
  opacity: 1;
  transform: translateY(-3px); /* sanftes Pop-up beim Hover */
}


/* =========================
            Lightbox   
   ========================= */

.light img{
    border: 1px solid var(--gold-light); 
}

.lightboxOverlay {
    z-index: 19000 !important;
}

.lightbox {
    z-index: 100000 !important;
}

.lightboxOverlay {
    position: fixed;
}

.lightbox {
    position: absolute;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.grBuchstabe::first-letter {
  text-transform: uppercase;
  color: var(--gold-light);
}
.grBuchstabe::after {
  content: " . Galerie";
}

/*  Textblock und bilder*/

  .reiseblock {
    max-width: 900px;
    margin: auto;
    background: var(--bg-card-hover);
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--gold-primary);
    border-top: 1px solid var(--gold-primary);
  }

  .textblock img {
    width: clamp(120px, 30%, 400px);
    height: auto;
  }

  .img-left {
    float: left;
    margin: 10px 20px 10px 0px;
  }

  .img-right {
    float: right;
    margin: 10px 0px 10px 20px;
  }

  /* Clearfix */
  .textblock::after {
    content: "";
    display: block;
    clear: both;
  }

  /* Mobile Optimierung */
  @media (max-width: 768px) {

    .textblock img {
      float: none;
      display: block;
      width: 100%;
      max-width: 100%;
      margin: 15px auto;
    }

  }

  .img-left-rund {
  float: left;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  shape-outside: circle();
  margin: 20px;
}



/*  Info zum Bild mit Hover und Maus  */
/* Container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Bild */
.tooltip img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Tooltip-Textfeld */
.tooltip-text {
  position: absolute;
  bottom: 95%;
  left: 50%;
  transform: translateX(-50%);

  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 6px;

  border: 1px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);

  max-width: 220px;          /* ← maximale Breite */
  width: max-content;        /* passt sich an */
  white-space: normal;       /* ← Zeilenumbruch erlaubt */
  text-align: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 10;
}

/* Pfeil (weißer Rand) */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  border-width: 4px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

/* Innerer schwarzer Pfeil */
.tooltip-text::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -1px;

  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

/* Hover */
.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}


/* In allen Container die elemente nach oben ausrichten  */
.why-grid > * {
  align-self: start;
}

.hero-grid > * {
  align-self: start;
}


.product-card .product-info .product-weight.block p {
  font-family: var(--font-family-Libre);
  color: var(--text-primary);
  font-size: 10px;
  margin: 15px -20px 5px -20px;
}



.audio-player {
  max-width: 105%;
}

/* für 3.3.0 eine Playlist */

.retro-player {
  width: 330px;
}

.retro-playlist {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  max-height: 120px;
  overflow-y: auto;
  font-size: 13px;
  background: #111;
  border: 2px inset #333;
}

.retro-playlist li {
  padding: 6px 8px;
  color: #dfeba6;
  cursor: pointer;
}

.retro-playlist li:hover {
  background: #003300;
}

.retro-playlist li.active {
  background: #dfeba6;
  color: #000;
}


/* für 3.3.0 eine Playlist, Laufzeitenanzeige */
.progress-container {
  width: 100%;
  height: 14px;
  background: #111;
  border: 2px inset #333;
  margin: 10px 0 15px 0;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(
    90deg,
    #33ff33,
    #33ff33 6px,
    #1a661a 6px,
    #1a661a 10px
  );
  transition: width 0.1s linear;
}

/* Ahnenbaum */
.tree-wrapper{
    width:100%;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    border:1px solid #ccc;
    background: #888459;
}

.tree-svg{
    min-width:900px;
    height:auto;
    display:block;
}
