/* ==========================================================================
   1. BASIS & LAYOUT-STEUERUNG
   ========================================================================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Inder', 'Open Sans', sans-serif;
}

/* Zentriert die Login-Box perfekt auf dem Bildschirm */
#cont {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
    box-sizing: border-box;
}

/* ==========================================================================
   2. HINTERGRUND (Der Rasen)
   ========================================================================== */
#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}


/* ==========================================================================
   3. LOGIN-BOX & OPTISCHE TRENNUNGEN
   ========================================================================== */
.box, #box {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 260px;
    box-sizing: border-box;
    text-align: center;
}

/* 1. Der Eltern-Container braucht position: relative als Ankerpunkt */
#box, .box {
    position: relative; 
}

/* 2. Absolute Ausrichtung oben rechts */
.logo-extra-topright {
    position: absolute;
    top: 0;                   /* Bündig am oberen Rand */
    right: 0;                 /* Bündig am rechten Rand */
    height: 75px;             /* Höhe beliebig anpassen */
    width: auto;
	z-index: 1;  /* Niedrigerer Wert = im Hintergrund */
    
    /* Optional: Falls die Grafik leicht über die abgerundeten Ecken der Box hinausragt */
    border-top-right-radius: 8px; /* Gleicher Radius wie bei deiner Box */
	opacity: 0.3;             /* 0.5 = 50% Deckkraft, 0.2 = sehr schwach, 0.8 = stark */
    filter: alpha(opacity=30); /* Veralteter Fix für sehr alte Internet Explorer (optional) */
}


#logo {
    display: flex;
    align-items: center;      /* Zentriert beide Grafiken vertikal auf einer Höhe */
    justify-content: center; /* Zentriert die Kombi in der Box (oder flex-start für linksbündig) */
    gap: 12px;                /* Abstand zwischen Logo und der neuen Grafik */
    margin-bottom: 20px;
}


#clogo {
    display: block;
    margin-left: 0 !important;   /* Zwingt das Bild ganz nach links */
    margin-right: auto;
}

#ueberschrift {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    padding-bottom: 5px;
}

#main {
    text-align: left !important; 	
}

#main h5 {
    margin: 5px 0 0 0;
    font-size: 14px;
    font-weight: normal;
    color: #006900;
}

/* Erklärende Info-Texte */
#main p {
    font-size: 13px !important;
    font-weight: normal !important;
    color: #555555 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    margin: 15px 0 0 0 !important;
}

/* Die Aufzählung der Bedingungen verhält sich wie normaler Text */
#main ul {
    text-align: left !important;
    margin: 10px 0 0 0 !important;
    padding-left: 20px !important;
    list-style-type: square;
}

#main li {
    font-size: 13px !important;
    font-weight: normal !important;
    color: #555555 !important;
    line-height: 1.5 !important;
    margin-bottom: 3px !important;
}

/* ==========================================================================
   4. FORMULAR, BUTTONS & EINGABEFELDER
   ========================================================================== */
.hauptfenster {
    text-align: left;
}

/* Standard-Beschriftungen über den Feldern beim Login */
.hauptfenster p {
    margin: 12px 0;
    font-size: 14px;
    color: #444;
}

/* Zwingt die Beschriftungen wie "Neues Passwort" & "Wiederholung" auf linksbündig */
form p {
    margin: 12px 0;
    font-size: 14px;
    color: #444;
    text-align: left !important;
}

.button, #name, #email {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.button:focus {
    border-color: #006900;
    outline: none;
}

/* ==========================================================================
   5. DIE LINKS (Knopf vs. Text-Link)
   ========================================================================== */

/* Regelt alle normalen Text-Links (ausgeschlossen Elemente mit der Klasse .knopf) */
#newPW a:not(.knopf), #newPW a:not(.knopf):visited,
#login a:not(.knopf), #login a:not(.knopf):visited,
#passwort a:not(.knopf), #passwort a:not(.knopf):visited,
#main a:not(.knopf), #main a:not(.knopf):visited {
    color: #d9822b !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: inline-block;
    margin-top: 5px;
    transition: color 0.2s;
    width: 100%;
    text-align: center;
}

#newPW a:not(.knopf):hover,
#login a:not(.knopf):hover, 
#passwort a:not(.knopf):hover, 
#main a:not(.knopf):hover {
    color: #d9822b !important;
    text-decoration: underline !important;
}

/* DIE BUTTON-FORMATIERUNG */
.knopf, 
.box .knopf,
#login .knopf, 
#passwort .knopf, 
#newPW .knopf, 
#main .knopf {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background-color: #006900 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 15px;
    border-radius: 4px;
    font-weight: bold !important;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    margin: 15px 0 10px 0;
    font-size: 14px !important;
    transition: background 0.2s;
}

.knopf:hover,
.box .knopf:hover,
#login .knopf:hover, 
#passwort .knopf:hover, 
#newPW .knopf:hover, 
#main .knopf:hover {
    background-color: #004d00 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==========================================================================
   6. FUSSBEREICH
   ========================================================================== */
#fuss {
    margin-top: 20px;
    padding-top: 10px;
    font-size: 11px;
    color: #333;
    border-top: 1px solid #b0b0b0;
    text-align: center !important;
}

h1 {
    background-color: #444444;  /* Angenehmes, dunkles Grau für guten Kontrast */
    color: #ffffff !important;  /* Weiße Schrift */
    padding: 10px 15px;         /* Innenabstand, damit der graue Hintergrund Platz atmet */
    border-radius: 6px;         /* Leicht abgerundete Ecken (optional) */
    display: block;             /* Nutzt die volle Breite des Containers */
    text-align: center;         /* Zentriert den Text (optional) */
	font-size: 1.0em;
	letter-spacing: 2px;
	
}

.fett {
	font-size: 1.0em;
}

