/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://markus-schall.de/wp-content/themes/generatepress-child
 Description:  Child Theme für GeneratePress
 Author:       Markus Schall
 Author URI:   https://markus-schall.de
 Template:     generatepress
 Version:      1.0
*/

/* Falls du eigene CSS-Regeln hinzufügen möchtest, kommen die hier rein */

/* ===== Footer-Design fixen ===== */
.site-footer {
    clear: both;
    width: 100vw;              /* Volle Fensterbreite erzwingen */
    margin-left: calc(-50vw + 50%); /* Footer nach links verschieben */
    background-color: #333333; /* Schwarzer Balken */
    color: #ffffff;            /* Weiße Schrift */
    padding: 25px 0;
    text-align: center;
    border-top: none;
    box-sizing: border-box;
}

/* Entfernt die Container-Begrenzung innerhalb des Footers */
.site-footer .inside-site-info,
.site-footer .grid-container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* Links im Footer */
.site-footer a {
    color: #00aaff; /* Hellblau für Links */
    text-decoration: none;
    font-weight: 500;
}

.site-footer a:hover {
    color: #66ccff; /* Helleres Blau bei Hover */
    text-decoration: underline;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;               /* leicht kleiner, wirkt eleganter */
  height: 48px;              /* gleich hohe Breite -> rund */
  line-height: 48px;         /* Pfeil sauber vertikal zentriert */
  text-align: center;
  background: rgba(0, 0, 0, 0.45);  /* dezente Transparenz */
  color: white;
  border-radius: 50%;        /* RUND */
  font-size: 20px;           /* harmonische Pfeilgröße */
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}