/*
Theme Name: Hello Elementor — Waller Fishing Tours
Theme URI: https://waller-fishing-tours.de/
Description: Child-Theme fuer den Elementor-Ausbau. Enthaelt den eigenen Header
             und die Schriften, die bisher an Elementor Pro haengen. Solange
             Elementor Pro aktiv ist, liegt alles hier wirkungslos daneben —
             der Theme Builder gewinnt. Zum Ansehen: ?neuerkopf=<schluessel>
Author: Schott Webdesign
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-wft
*/

/* ==========================================================================
   SCHRIFTEN
   Spinnmaker und PaytoneONE sind bisher Elementor-Pro-Eigenschriften. Ohne
   Pro waeren sie weg und die ganze Seite fiele auf eine Systemschrift zurueck.
   Deshalb hier selbst eingebunden — die Dateien liegen seit 2023 in den
   Uploads. Bewusst selbst gehostet statt von Google geladen.
   ========================================================================== */

@font-face {
  font-family: "Spinnmaker";
  src: url("/wp-content/uploads/2023/02/Spinnaker-Regular.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PaytoneONE";
  src: url("/wp-content/uploads/2023/02/PaytoneOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   FARBEN
   Uebernommen aus dem globalen Elementor-Kit, damit nichts driftet.
   ========================================================================== */

:root {
  --wft-blau:      #325F98;  /* Akzent, Kopfleiste */
  --wft-weiss:     #FFFFFF;
  --wft-grau:      #4C4A54;
  --wft-text:      #212121;
  --wft-fuss-navy: #102038;  /* aus wft-footer.php */
}

/* ==========================================================================
   KOPFLEISTE
   ========================================================================== */

.wft-kopf {
  position: relative;
  background-color: var(--wft-blau);
}

/* Elementor legt eine weisse 8-Prozent-Schicht darueber. Exakt nachgebildet,
   damit der Blauton sich beim Umstieg nicht sichtbar aendert. */
.wft-kopf::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FFFFFF14;
  pointer-events: none;
}

.wft-kopf-innen {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 9px 24px 8px;
  min-height: 71px;
  box-sizing: border-box;
}

.wft-kopf-innen * { box-sizing: border-box; }

/* --- Logo --- */
.wft-kopf-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.wft-kopf-logo img {
  width: 170px;
  height: auto;
  display: block;
}

/* --- Navigation --- */
.wft-kopf-navi {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.wft-kopf-navi ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}
.wft-kopf-navi li { margin: 0; }
.wft-kopf-navi a {
  display: block;
  padding: 6px 2px;
  font-family: "Spinnmaker", Verdana, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--wft-weiss);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .18s;
}
.wft-kopf-navi a:hover,
.wft-kopf-navi a:focus-visible,
.wft-kopf-navi .current-menu-item > a,
.wft-kopf-navi .current_page_item > a {
  color: var(--wft-weiss);
  opacity: .72;
  text-decoration: none;
}
.wft-kopf-navi a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  opacity: 1;
}

/* --- Schaltflaeche "Jetzt buchen" --- */
.wft-kopf-cta {
  flex: 0 0 auto;
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--wft-weiss);
  background: transparent;
  color: var(--wft-weiss);
  font-family: Roboto, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3em;
  letter-spacing: 1.53px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s, color .18s;
}
/* Das Theme hat aggressive Regeln auf Links und Buttons — alle Zustaende
   ueberschreiben und Hex direkt setzen, keine Variablen. */
.wft-kopf .wft-kopf-cta:hover,
.wft-kopf .wft-kopf-cta:focus,
.wft-kopf .wft-kopf-cta:active {
  background-color: #FFFFFF !important;
  color: #325F98 !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* --- Menue-Schalter, nur mobil sichtbar --- */
.wft-kopf-schalter {
  display: none;
  flex: 0 0 auto;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
/* Alle Zustaende ueberschreiben. Ohne das faerbt eine globale Theme-Regel den
   Schalter beim Anklicken pink — im Ruhezustand ist er transparent, weshalb
   es erst beim Antippen auffaellt. Hex direkt, keine Variablen: Regeln, die
   auf body-Ebene greifen, sehen den Variablen-Geltungsbereich nicht. */
.wft-kopf .wft-kopf-schalter:hover,
.wft-kopf .wft-kopf-schalter:focus,
.wft-kopf .wft-kopf-schalter:focus-visible,
.wft-kopf .wft-kopf-schalter:active {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #FFFFFF !important;
}
/* Tastaturbedienung muss trotzdem sichtbar bleiben */
.wft-kopf .wft-kopf-schalter:focus-visible {
  outline: 2px solid #FFFFFF !important;
  outline-offset: 2px;
}
.wft-kopf .wft-kopf-schalter:hover span,
.wft-kopf .wft-kopf-schalter:focus span,
.wft-kopf .wft-kopf-schalter:active span {
  background: #FFFFFF !important;
}
.wft-kopf-schalter span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.wft-kopf-schalter span + span { margin-top: 5px; }
.wft-kopf-schalter[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wft-kopf-schalter[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.wft-kopf-schalter[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   MOBIL
   ========================================================================== */

@media (max-width: 1100px) {
  .wft-kopf-innen { gap: 14px; padding: 8px 18px; flex-wrap: wrap; }
  .wft-kopf-logo img { width: 140px; }
  .wft-kopf-schalter { display: block; }

  .wft-kopf-navi {
    order: 3;
    flex: 1 0 100%;
    display: none;
    justify-content: flex-start;
    padding: 8px 0 14px;
  }
  .wft-kopf-navi.ist-offen { display: flex; }
  .wft-kopf-navi ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .wft-kopf-navi a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .wft-kopf-cta { order: 2; font-size: 13px; padding: 9px 12px; }
}

@media (max-width: 480px) {
  /* Auf sehr schmalen Geraeten nur Logo und Schalter in der Leiste, sonst
     bricht sie um. Der Aufruf steht dann unten in der Navigation. */
  .wft-kopf-cta { order: 4; flex: 1 0 100%; text-align: center; margin-bottom: 10px; }
  .wft-kopf-navi { padding-bottom: 4px; }
}
