/*

Theme Name: Revanchist

Theme URI: https://www.revanchist.de
Description: Theme for the Metal Band Revanchist.

Author: 2FX Media
Author URI: https://2fx.media

Template: hello-elementor

Version: 1.0.1

Text Domain: hello-elementor-child

License: GNU General Public License v3 or later.

License URI: https://www.gnu.org/licenses/gpl-3.0.html

*/
@font-face {
  font-family: "Billgest";
  src:
    url("./fonts/Billgest-Regular.woff2") format("woff2"),
    url("./fonts/Billgest-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Gut lesbarer Fließtext */
body p,
.elementor-widget-text-editor p {
  font-size: 1.125rem !important; /* ca. 18px auf Mobile */
  line-height: 1.65;
}

/* Größerer Fließtext auf Desktop */
@media (min-width: 768px) {
  body p,
  .elementor-widget-text-editor p {
    font-size: 1.4rem !important; /* ca. 22,4px */
    line-height: 1.4;
  }
}

.billgest-font,
.billgest-font .elementor-heading-title {
  font-family: "Billgest", sans-serif !important;
  font-weight: 400;
}

/* Libre Baskerville Regular – Latin */
@font-face {
  font-family: "Libre Baskerville";
  src:
    url("./fonts/libre-baskerville-v24-latin-regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* Libre Baskerville Italic – Latin */
@font-face {
  font-family: "Libre Baskerville";
  src:
    url("./fonts/libre-baskerville-v24-latin-italic.woff2")
    format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


/* Libre Baskerville 700 – Latin */
@font-face {
  font-family: "Libre Baskerville";
  src:
    url("./fonts/libre-baskerville-v24-latin-700.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/*
 * Libre Baskerville für Elementor-Headlines
 *
 * Elementor CSS-Klasse:
 * libre-baskerville-font
 */
.libre-baskerville-font,
.libre-baskerville-font .elementor-heading-title {
  font-family:
    "Libre Baskerville",
    Georgia,
    serif !important;

  font-weight: 400;
  font-style: normal;
}

/* H2 in Elementor gezielt vergrößern */
.larger-h2 .elementor-heading-title,
.larger-h2 h2 {
  font-size: clamp(1.875rem, 2.6vw, 2.625rem) !important;
  line-height: 1.2;
}

/* Schrift für die Links des Hello-Standardmenüs */
.site-header .site-navigation a,
.site-header .site-navigation ul.menu li a {
  font-family: "Libre Baskerville", sans-serif !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

/* Hover-Effekt für das Desktop-Hauptmenü */
@media (min-width: 768px) {
  .site-header .site-navigation ul.menu li a {
    transition: color 0.25s ease;
  }

  .site-header .site-navigation ul.menu li a:hover,
  .site-header .site-navigation ul.menu li a:focus-visible {
    color: #ddd0a4 !important;
  }
}

@media (min-width: 768px) {
  .site-header .site-navigation ul.menu li.current-menu-item > a,
  .site-header .site-navigation ul.menu li.current-menu-ancestor > a {
    color: #ddd0a4 !important;
  }
}

/* Mobiles Hamburger-Menü ausblenden */
@media (max-width: 767px) {
  .site-header .site-navigation-toggle-holder,
  .site-header .site-navigation-toggle,
  .site-header .site-navigation-dropdown {
    display: none !important;
  }
}

/* Footer-Navigation */
.site-footer .site-navigation a {
  font-family:
    "Libre Baskerville",
    Georgia,
    serif !important;

  font-size: 1rem !important; /* 16px */
  font-weight: 400;
  line-height: 1.4;
}


/* Copyright */
.site-footer .copyright,
.site-footer .copyright p,
.site-footer .copyright a {
  font-family:
    "Libre Baskerville",
    Georgia,
    serif !important;

  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.5;
}

/* Scroll to top */
html body button#scroll-to-top {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 9999 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;

  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;

  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;

  color: #fff !important;
  background-color: rgba(10, 10, 10, 0.75) !important;
  background-image: none !important;

  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 3px !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3) !important;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);

  appearance: none !important;
  cursor: pointer !important;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease !important;
}

html body button#scroll-to-top.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0);
}

html body button#scroll-to-top:hover,
html body button#scroll-to-top:focus {
  color: #fff !important;
  background-color: rgba(25, 25, 25, 0.95) !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

html body button#scroll-to-top:hover {
  transform: translateY(-3px);
}

html body button#scroll-to-top svg {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;

  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;
}

@media (max-width: 767px) {
  html body button#scroll-to-top {
    right: 14px !important;
    bottom: 14px !important;

    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body button#scroll-to-top {
    transition: none !important;
  }
}

@media (min-width: 600px) {
    /* Verkleinert den Abstand zwischen den Feldern */
    .wpforms-form .wpforms-one-half {
        width: 44% !important; /* Macht die Felder etwas breiter */
        margin-right: 2% !important; /* Verkleinert die Lücke */
    }
    
    /* Entfernt den Abstand nach dem zweiten Feld */
    .wpforms-form .wpforms-one-half:nth-of-type(2n) {
        margin-right: 0 !important;
    }
}

@media (max-width: 599px) {
    /* Erzwingt, dass die halben Spalten auf dem Handy 100% Breite nutzen */
    .wpforms-form .wpforms-one-half {
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        float: none !important;
        display: block !important;
    }
}
