
/* 
    Created on : 24.03.2026, 08:03:21
    Author     : c.hoppe@kothe-pulverbeschichtung.de
*/

   
div#bg_img {
    background: url('images/KP_Aussen.jpg') center center / cover no-repeat fixed;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -10;
    -webkit-transition: background 1.5s linear;
    -moz-transition: background 1.5s linear;
    -o-transition: background 1.5s linear;
    -ms-transition: background 1.5s linear;
    transition: background 1.5s linear;
}
      
p.linkbox {
    background: rgba(0,0,0,0.4);
    padding: .4em .6em;
    border-radius: .3em;
}
      
a.mwg, a.mwg:link {
    text-decoration: none;
    color: #1E73BE;
}

/* visited link */
a.mwg:visited {
    color: #1E73BE;
}

/* mouse over link */
a.mwg:hover {
    /* color: white; */
    text-decoration: underline;
}

/* selected link */
a.mwg:active {
    /* color: white; */
}
      
      
body {
    margin: 0;
    padding: 0;
    font-family: Open Sans, sans-serif;

    color: white;
    min-height: 100vh;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    z-index: -2;
}

header {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: center;
    width: 100%;
}
	  
.logo {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto 20px;
    padding: 1em;

    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    z-index: 1;
   
    margin-top: -70px;
    margin-bottom: 5rem;
}
	  
.content {
    position: relative;
    z-index: 1;
    /* padding: 2rem; */
}
	  
h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

p {
    font-size: 1.2rem;
    margin: 0.3rem 0;
}

    
    
.jubilaeum-text {

    background: rgba(0,0,0,0.6);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
}
   
    
.jubilaeum-text a {
    color: #fff;
    text-decoration: underline;
}



html {
    scroll-behavior: smooth;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 60px;
    right: 30px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transition: background-color 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
   
}

body {
     padding: 0 2rem;
}
	
.kontakte {
    background: rgba(255, 255, 255, 0.8);  /* полупрозрачный белый фон */
    color: #000;
    padding: 2rem;
    padding-bottom: 0;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 10px;
}

.kontakte h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 300;
}

.kontakt-gruppe {
    margin-bottom: 2rem;
}

.kontakt-gruppe h3 {
    margin-bottom: 1rem;
    color: #000;
    font-weight: 500;
}

.kontakt-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.kontakt-card {
    background: rgba(255,255,255,0.6); /* карточки тоже слегка отделяются */
    border-radius: 10px;
    padding: 1rem;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.kontakt-card p {
    margin: 0.3rem 0;
}

.kontakt-card a {
    color: #0073aa;
    text-decoration: none;
}

.kontakt-card a:hover {
    text-decoration: underline;
}

.kontakt-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.kontakt-card.visible {
    opacity: 1;
    transform: translateY(0);
}


footer {
    position: fixed;
    width:100%;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
   
    z-index: 1;
    max-width: 800px;
    padding: 0;
    margin: 0;
    box-sizing: content-box;
    
}




div#footer-content {
    position: relative;
    width:100%;
    background: rgba(0,0,0,0.8);
    padding: 1rem .5rem 1rem .5rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    
    
    font-size: 0.9rem;
    color: #ccc;
}

footer div.ar {
    position: absolute;
    bottom: 0.1rem;
    right: .5rem;
    font-size: 0.6rem;
} 

footer a, footer a:visited {
    font-size: 1rem;
    font-weight: bold;
    background: rgba(255,255,255,0.8);
    border-radius: 3px;
    padding: .2rem .5rem;
    color: #0073aa;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.impressum {
    text-align: left;
    background: rgba(255,255,255,0.6); /* карточки тоже слегка отделяются */
    border-radius: 10px;
    padding: 1rem;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.impressum p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.impressum a {
    color: #0073aa;
    text-decoration: none;
}

.impressum a:hover {
    text-decoration: underline;
}

.impressum {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.impressum.visible {
    opacity: 1;
    transform: translateY(0);
}