html {
    scroll-behavior: smooth; /* sanftes Scrollen */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.newHome {
    color: red;
}

.back-to-top {
    font-size: 40px;
    text-decoration: none;
    color: #000;
    transition: 0.2s;
}

.back-to-top:hover {
    color: #0d6efd;
    text-decoration: none;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

header, main, footer {
    margin-bottom: 20px;
}

header.desktop {
    background: #eaeaea;
    padding: 20px;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-inner img {
    width: 220px;
    height: auto;
    flex-shrink: 0;
}

.header-inner h1 {
    font-size: 3em;
    margin: 0;
    font-family: "Times New Roman", Times, serif;
}

main, main p, footer {
    font-size: 20px;
    line-height: 1.6;
}

.nav-row a.btn,
.nav-row a.btn:visited,
.nav-row a.btn:hover,
.nav-row a.btn:active {
  color: white;
}
        
.row a.btn-warning,
.row a.btn-warning:visited,
.row a.btn-warning:hover,
.row a.btn-warning:active {
    color: black;
}

a,
a:visited,
a:hover,
a:active {
    /*color: blue;*/
    color: #dc3545;
    text-decoration: underline;
}

footer {
    background: #eaeaea;
    padding: 15px;
    text-align: center;
}

.warning {
    color: red;
    font-size: 1.5em;
}

.nav-row .btn {
    margin: 0;
    border-radius: 0;
}

.nav-row {
    margin-bottom: 20px;
}

main, footer {
    margin-bottom: 20px;
}

header {
    margin-bottom: 0;
}

footer a.btn {
color: black;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 10px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
 
.custom-bar {
    height: 20px;
    margin: 0 0 20px 0;  /* Kein Abstand nach oben oder unten */
    padding: 0;
    background-color: #eaeaea;
}

.nav-row {
    margin-bottom: 0;   /* entfernt den Abstand unterhalb der Navigation */
}

body.startseite,
body.startseite .custom-bar {
    background-color: #6c757d;
}

body.rollkunstlauf,
body.rollkunstlauf .custom-bar {
    background-color: #0d6efd;
}

body.rollhockey, 
body.rollhockey .custom-bar {
    background-color: #198754;
}

body.inlinehockey,
body.inlinehockey .custom-bar {
    background-color: #ffc107;
}

body.eiskunstlauf,
body.eiskunstlauf .custom-bar {
    background-color: #dc3545;
}

#privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    text-align: center;
    z-index: 9999;
}

#privacy-banner button {
    margin-left: 15px;
    padding: 5px 15px;
    border: none;
    background: #fff;
    color: #000;
    cursor: pointer;
    border-radius: 4px;
}

.form-homepage {
    display: none;
}

header.mobile,
footer.mobile {
	display: none;
}

