/* ============================================================
   Nina Bauer – Update 2026
   Anpassungen gegenüber dem Standard-Theme.
   Wird NACH css/main.min.css geladen und überschreibt diese.
   METAFEX
   ============================================================ */

/* ------------------------------------------------------------
   1. Schriftart – Kalligrafie gemäss Design-Vorlage
   Pinyon Script = freies Google-Fonts-Äquivalent zur Canva-Schrift.
   Einbindung erfolgt im <head> der index.php / imprint.html.
   ------------------------------------------------------------ */
:root {
  --nb-script: "Pinyon Script", "Parisienne", "Snell Roundhand", cursive;
  --nb-body: "Nunito Sans", "Dosis", sans-serif;
  --nb-dark: #2e2e2e;
}

/* Überschriften */
.alx-heading__title,
.alx-heading h1,
.alx-heading h2,
.alx-heading h3,
h1, h2, h3, h4 {
  font-family: var(--nb-script) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Script-Schriften brauchen mehr Zeilenhöhe und Größe */
.alx-heading h1,
.alx-heading .alx-heading__title {
  line-height: 1.15 !important;
}

/* Kalligrafie läuft breit – Größen mitskalieren lassen und
   Umbruch erzwingen, damit nichts aus der Spalte läuft */
.alx-heading h1,
.alx-heading h2,
.alx-heading h3,
.alx-heading__title {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.alx-heading h1 {
  font-size: clamp(52px, 7.5vw, 104px) !important;
}

.alx-heading h2,
.alx-heading h2.alx-heading__title {
  font-size: clamp(32px, 3.6vw, 54px) !important;
  line-height: 1.25 !important;
}

.alx-heading__title.only-bold {
  font-weight: 400 !important;
}

/* Sidebar-Navigation */
.alx-sidebar-menu ul li a {
  font-family: var(--nb-script) !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  letter-spacing: 1px !important;
  text-transform: none !important;
  line-height: 1.3 !important;
  padding: 4px 0 !important;
}

.alx-sidebar-widget h5 {
  font-family: var(--nb-script) !important;
  font-weight: 400 !important;
  font-size: 32px !important;
  letter-spacing: 1px !important;
  text-transform: none !important;
}

/* Buttons */
.alx-btn,
.alx-btn-primary {
  font-family: var(--nb-script) !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 1px !important;
  line-height: 1.1 !important;
  padding: 10px 38px 14px !important;
}

/* Termine / Live-Liste */
.alx-skills-list ul li {
  font-family: var(--nb-script) !important;
  font-size: 34px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  line-height: 1.35 !important;
  margin-bottom: 18px !important;
}

.alx-skills-list ul span {
  font-weight: 400 !important;
}

/* Kontaktangaben / Credits */
.contact-section h5,
.contact-section .alx-icon__text h5 {
  font-family: var(--nb-script) !important;
  font-weight: 400 !important;
  font-size: 30px !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
}

.contact-section .alx-icon__text a,
.contact-section p {
  font-family: var(--nb-script) !important;
  font-size: 24px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 4px !important;
}

/* Fliesstext (Impressum/Datenschutz) bleibt bewusst gut lesbar */
.alx-legal-text,
.alx-legal-text h1,
.alx-legal-text h2,
.alx-legal-text h3,
.alx-legal-text h4,
.alx-legal-text p,
.alx-legal-text li {
  font-family: var(--nb-body) !important;
}

@media (max-width: 1199.98px) {
  .alx-skills-list ul li { font-size: 28px !important; }
}

@media (max-width: 575.98px) {
  .alx-skills-list ul li { font-size: 24px !important; }
  .alx-btn, .alx-btn-primary { font-size: 21px !important; padding: 8px 26px 12px !important; }
  .alx-sidebar-menu ul li a { font-size: 26px !important; }
}

/* ------------------------------------------------------------
   2. Kein Grün mehr – alle Interaktionen schwarz/weiss
   (Grundfarbe wurde bereits in main.css/main.min.css ersetzt,
    hier die Zustände, die sonst weiss auf weiss wären)
   ------------------------------------------------------------ */
.alx-btn,
.alx-btn-primary {
  background-color: #ffffff;
  color: var(--nb-dark);
  border: 1px solid #ffffff;
}

.alx-btn:hover,
.alx-btn:focus,
.alx-btn:active,
.alx-btn-primary:hover,
.alx-btn-primary:focus,
.alx-btn-primary:active {
  background-color: var(--nb-dark) !important;
  color: #ffffff !important;
  border-color: #ffffff;
}

.alx-success-msg p {
  background-color: #ffffff;
  color: var(--nb-dark);
}

/* Social-Icons in der Sidebar: weisser Kreis, dunkles Icon */
.alx-social-links__2 ul li a {
  color: var(--nb-dark) !important;
}

.alx-social-links__2 ul li:hover a {
  -webkit-box-shadow: none;
          box-shadow: none;
  color: #000000 !important;
  opacity: 0.65;
}

.alx-social-links ul li a:hover {
  color: #ffffff;
  opacity: 0.6;
}

/* Runde Icon-Buttons auf der Kontaktseite: weisser Kreis, dunkles Icon
   (vorher grüner Kreis mit weissem Icon) */
.alx-icon__icon span {
  background-color: #ffffff;
}

.alx-icon__icon span,
.alx-icon__icon span i,
.alx-icon__icon span a,
.alx-icon__icon span a i {
  color: var(--nb-dark) !important;
}

.alx-icon__icon span a:hover,
.alx-icon__icon span a:hover i {
  color: #000000 !important;
  opacity: 0.65;
}

.alx-sidebar-menu ul li a:hover {
  color: #ffffff;
  opacity: 0.6;
}

/* Preloader / Pace-Balken neutral */
.pace .pace-progress {
  background: #ffffff;
}

/* ------------------------------------------------------------
   3. Seitenzahlen (01–06) rechts am Rand entfernen
   ------------------------------------------------------------ */
#pp-nav {
  display: none !important;
}

/* ------------------------------------------------------------
   4. Videoseite – responsive 16:9-Einbettungen ohne Text
   ------------------------------------------------------------ */
/* Breite so begrenzt, dass alle vier Videos ohne Scrollen
   in den Viewport passen (2 Reihen x 16:9) */
.nb-video-grid {
  max-width: min(1140px, 138vh);
  margin: 0 auto;
}

.nb-video-grid .nb-video-col {
  padding: 15px;
}

.nb-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  overflow: hidden;
}

.nb-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991.98px) {
  .nb-video-grid .nb-video-col {
    padding: 10px 15px;
  }
}

/* ------------------------------------------------------------
   5. Startseite – dezenter Schleier, damit die weisse Schrift
   auf dem Klavierfoto sicher lesbar bleibt.
   Stärke hier justieren, nicht im Bild.
   ------------------------------------------------------------ */
/* .pp-section ist bereits position:absolute – hier KEIN
   position setzen, das bricht das pagePiling-Layout */
.nb-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.3));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.3));
  z-index: 1;
  pointer-events: none;
}

.nb-hero > .container {
  position: relative;
  z-index: 2;
}

/* ------------------------------------------------------------
   6. Split-Layout (Live + Kontakt)
   Zweites Foto auf einer Bildschirmhälfte, wie im Canva-Design.
   Das Element wird von js/custom.js aus data-image-2 erzeugt.
   ------------------------------------------------------------ */
.nb-split__photo {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.nb-split--right .nb-split__photo { right: 0; }
.nb-split--left  .nb-split__photo { left: 0; }

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

.nb-split > .container {
  position: relative;
  z-index: 2;
}

/* Schmale Viewports: nur der Hintergrund, sonst läge der Text
   halb auf dem Foto */
@media (max-width: 991.98px) {
  .nb-split__photo {
    display: none;
  }
}

/* ------------------------------------------------------------
   7. Helle Sektionen (Debut EP + Kontakt)
   Auf den hellen Texturen muss die Schrift dunkel sein.
   Eine Sektion wird hell, indem sie die Klasse "nb-light"
   bekommt – mehr ist nicht nötig.
   ------------------------------------------------------------ */
.nb-light,
.nb-light h1,
.nb-light h2,
.nb-light h3,
.nb-light h4,
.nb-light h5,
.nb-light p,
.nb-light li,
.nb-light .alx-heading__title,
.nb-light .alx-icon__text a {
  color: var(--nb-dark) !important;
}

.nb-light .alx-heading__zigzag svg {
  fill: var(--nb-dark);
}

.nb-light .alx-icon__text a:hover {
  color: #000000 !important;
  text-decoration: underline;
}

/* Runde Icons invertiert: dunkler Kreis, weisses Icon */
.nb-light .alx-icon__icon span {
  background-color: var(--nb-dark);
}

.nb-light .alx-icon__icon span,
.nb-light .alx-icon__icon span i,
.nb-light .alx-icon__icon span a,
.nb-light .alx-icon__icon span a i {
  color: #ffffff !important;
}

.nb-light .alx-icon__icon span a:hover,
.nb-light .alx-icon__icon span a:hover i {
  color: #ffffff !important;
  opacity: 0.7;
}

.nb-light .alx-icon__icon:before {
  background-color: var(--nb-dark);
}

/* Der helle Ring um die Icons wird auf hellem Grund zu einem
   ausgewaschenen Schleier – dezent dunkel statt weiss */
.nb-light .alx-icon__icon {
  border-color: rgba(46, 46, 46, 0.22);
}

/* Buttons auf hellem Grund: dunkel gefüllt, beim Hover weiss */
.nb-light .alx-btn,
.nb-light .alx-btn-primary {
  background-color: var(--nb-dark);
  color: #ffffff;
  border-color: var(--nb-dark);
}

.nb-light .alx-btn:hover,
.nb-light .alx-btn:focus,
.nb-light .alx-btn:active,
.nb-light .alx-btn-primary:hover,
.nb-light .alx-btn-primary:focus,
.nb-light .alx-btn-primary:active {
  background-color: #ffffff !important;
  color: var(--nb-dark) !important;
  border-color: var(--nb-dark);
}

/* Fest eingeblendete Elemente mitschalten, sobald eine helle
   Sektion aktiv ist (Klasse setzt js/custom.js) */
.nb-on-light header .alx-social-links ul li a,
.nb-on-light .alx-copyright p,
.nb-on-light .alx-copyright p span {
  color: var(--nb-dark) !important;
}

.nb-on-light header .alx-burger span,
.nb-on-light header .alx-burger span:before,
.nb-on-light header .alx-burger span:after {
  background-color: var(--nb-dark) !important;
}
