
:root {
  --primary-color:#f2871d;
  --secondary-color:#f4f2e5;
  --secondary-color2:#f4f2e5;
  --accent-color:#404986;
  --inner-bg:#ffffff;
}

body {
  padding: 10px;
  font-family:Arial,sans-serif;
background: var(--secondary-color2);
  color:var(--accent-color);
  display:flex;
  flex-direction:column;
  min-height:100vh;
}


.highlight {
  color: var(--primary-color); 
  font-weight: bold;
}

/* Globale H2-Definition */
h2 {
  font-size: 1.2em;       
  font-weight: 600;       
  color: var(--accent-color); 
  margin-top: 0.3em;      
  margin-bottom: 0.3em;   
  line-height: 1.4;       
}

 /* Header */
header {
  width: 100%;
  padding: 10px 15px; 
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  background: #ffffff;
 z-index: 10020;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px; 
}

header img.logo {
  height: 60px; 
  transition: height 0.3s ease;
}
@media (min-width: 1025px) {
  header {
    padding: 20px 30px; 
  }
  .header-inner {
    padding: 15px 20px; 
  }
  header img.logo {
    height: 100px; 
  }
}
.orange-link {
  color: #f2871d;      
  font-weight: bold;    
  text-decoration: none;
}

.orange-link:hover {
  text-decoration: underline;
}

/* Navigation */
nav {
  position: fixed;
  top: calc(60px + 10px); 
  right: 10px;
  background-color: #404986;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  display: none;
  width: 220px;
  z-index: 10030;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

nav.active {
  display: block;
  opacity: 1;      
  pointer-events: auto;
}

@media (max-width: 600px) {
  nav {
    top: calc(60px + 10px);
    right: 10px;
    z-index: 10001; 
  }
}
@media (min-width: 1025px) {
  nav {
    top: calc(100px + 20px);
  }
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  display: block;
  font-weight: 600;
  font-size: 0.85em;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

nav ul li a:hover {
  background-color: var(--primary-color);
}



/* Hamburger-Menü (Button ☰) */
.menu-toggle {
  font-size: 2rem;            
  background: none;             
  border: none;                
  color: #404986;               
  cursor: pointer;              
  margin-left: 20px;            
  transition: color 0.2s ease;  
}

.menu-toggle:hover {
  color: #f2871d;               
}

/* Main Content */
main {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  position: relative;
	  padding-bottom: 60px;
}

/* Hintergrundbild über gesamten Body */
body.home {
  background: url('images/back_image_groups.png') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body.home::before {
  content: "";
  position: fixed;   
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.1);
  z-index: 0;
	  pointer-events: none;
}




body.home main {
  flex: 1 0 auto;              
  display: flex;               
  justify-content: center;    
  align-items: flex-start;      
  flex-wrap: wrap;             
  gap: 20px;                   
  padding: 20px;               
  position: relative;          
  background: transparent;     
}



.box {
position: relative;
	z-index: 1;
  background-color: var(--accent-color);
  color: #fff;
  padding: 20px;
  border-radius: 6px;
  max-width: 500px;
  width: 100%;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0,0,0,.05);
  flex: 1 1 300px;       
  margin: 10px;           
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}
/* Blaue Box */

.box:hover {
  transform: translateY(-2px); 
  box-shadow: 0 6px 12px rgba(0,0,0,.15);
}


.box h2 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.box p {
  font-size: 0.9em;
  line-height: 1.6;
  margin-top: 15px;
}
.box-image {
  width: 100%;     
  height: auto;     
  display: block;
  margin: 20px auto; 
  border-radius: 10px;
max-width: 400px;
}
.info-box ul {
  padding-left: 10px; 
  margin-left: 0;
  list-style-position: inside; 
}

.info-box ul li {
  margin-bottom: 5px; 
}


@media (max-width: 600px) {
  main {
    flex-direction: column;  
    gap: 15px;               
    padding: 10px;           
    margin: 0;               
    box-sizing: border-box;  
  }

  .box, .info-box {
    width: 100%;             
    max-width: 100%;
    padding: 15px;          
    box-sizing: border-box;
	  flex: none;
  }
}


/* Weiße Info-Box */
.info-box {
  background-color: var(--inner-bg);
  color: var(--accent-color);
  padding: 25px 30px;
  border-radius: 4px;
  max-width:650px;
  width:100%;
  font-size:0.85em;
  line-height:1.5;
  box-shadow:0 4px 8px rgba(0,0,0,.05);
  flex:1 1 300px; /* responsive Breite */
}

/* Buttons */
.btn,
button[type="submit"],
.signup-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 20px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  border: 0; 
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover,
button[type="submit"]:hover,
.signup-btn:hover {
  background: #f4a85b; 
  border-color: #fff;   
  color: #fff;          
}

/* Formular */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  font-size: 0.9em;
  text-align: left;
}

form label {
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form select,
form input[type="file"] {
  padding: 8px;
  font-size: 0.9em;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form input[type="file"]::-webkit-file-upload-button {
    padding: 6px 12px;        
    font-size: 0.85em;       
    border: 1px solid #ccc;   
    border-radius: 2px;       
    background-color: #fff;  
    color: #404986;          
    cursor: pointer;
}

form input[type="file"]::-moz-file-upload-button {
    padding: 6px 12px;
    font-size: 0.85em;
    border: 1px solid #ccc;
    border-radius: 2px;
    background-color: #fff;
    color: #404986;
    cursor: pointer;
}

select#age {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: linear-gradient(135deg, #ffffff, #f7f7f7);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9em;
  font-family: inherit;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23d9862e' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

select#age:hover {
  border-color: #d9862e;
  box-shadow: 0 0 5px rgba(217,134,46,0.3);
}

select#age:focus {
  outline: none;
  border-color: #d9862e;
  box-shadow: 0 0 6px rgba(217,134,46,0.5);
}
.custom-select {
  position: relative;
  width: 100%;
}

.selected-option {
  position: relative;                    
  background-color: #fff;                 
  color: #404986;                         
  padding: 10px 40px 10px 14px;           
  border-radius: 8px;
  border: 1px solid #ccc;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Orangener Pfeil rechts */
.selected-option::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 0;
  height: 0;
  pointer-events: none;
  transform: translateY(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #f2871d; 
}

.selected-option:hover {
  border-color: var(--primary-color);  
  box-shadow: 0 0 5px rgba(247, 135, 29, 0.3);
}


.options {
  position: absolute;
  width: 100%;
  background-color: #fff;         
  color: #404986;                  
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  border-radius: 8px;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

.options li {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 2px solid #404986;  
  background-color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.options li:last-child {
  border-bottom: none;
}
.options li:hover {
  background-color: var(--secondary-color);  
  color: var(--primary-color);              
}
.selected-option:hover {
  border-color: var(--primary-color);  
  box-shadow: 0 0 5px rgba(247, 135, 29, 0.3);
}
.custom-select.open .options {
  display: block;
}
.lv-link {
  color: #f2871d;      
  font-size: 1em;      
  font-weight: bold;   
  text-decoration: none; 
}

.lv-link:hover {
  text-decoration: underline; 
}


/* Gruppenauswahl in zwei Spalten */
.checkbox-group.group-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px 16px;
}

.checkbox-group.group-selection label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  transition: all 0.2s ease-in-out;
}

.checkbox-group.group-selection label:hover {
  border-color: #d9862e;
  background: rgba(217, 134, 46, 0.1);
}

.checkbox-group.group-selection input[type="radio"] {
  accent-color: #d9862e;
}


button[type="submit"] {
  padding: 10px 20px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.95em;
}

button[type="submit"]:hover {
  background: #bf7526;
}

.age-warning {
  color: #d9862e;             
  font-size: 1.1em;           
  font-weight: bold;           
  margin-bottom: 10px;        
  padding: 8px 10px;           
  border: 1px solid #d9862e;   
  border-radius: 5px;          
  background-color: #fff4e6;    
}

.age-warning a {
  color: #d9862e;              
  font-weight: bold;            
  text-decoration: underline;   
}

.highlight-link {
  font-weight: bold;
  font-size: 1.5em; 
  color: #d9862e;   
  text-decoration: none;
}

.highlight-link:hover {
  text-decoration: underline;
}


#success-message {
  color: var(--primary-color);
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  display: none;
}

small {
  font-size: 0.8em;
  color: #fff;
  display: block;
  margin-bottom: 4px;  
  font-weight: 600;       
  margin-top: 0.2em;      
  margin-bottom: 0.2em;   
  line-height: 1.4;       
}
.info-box a {
  color: var(--primary-color); 
  text-decoration: none;
  font-weight: bold;
}

.info-box a:hover {
  text-decoration: underline;
}
/* Aufklappbarer Infotext – responsive und CI-konform */
.toggle-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.85em;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s ease;
}

.toggle-btn:hover {
  background: #bf7526;
}

.collapsible-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.collapsible-text p {
  margin-bottom: 1em;
}




/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  color: var(--accent-color);
  text-align: center;
  padding: 10px 15px;
  font-size: 0.6em;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
  z-index: 1000;  
}


/* Footer-Links */
footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin: 0 6px;
}

footer a:hover {
  color: #404986;
}

/* Kleine Zusatzinfos */
footer small {
  display: block;
  font-size: 0.65em;
  color: var(--accent-color);
  margin-top: 2px;
  line-height: 1.2;
}
footer .footer-content {
  display: flex;
  justify-content: center;  
  align-items: center;     
  gap: 10px;                
  flex-wrap: wrap;         
}


/* Responsive für Tablets */
@media (max-width:1024px) {
  main {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
