:root {
    --dark-bg: #141414;
    --b: #7200ec;        
    --lb: #c793fe;  
    --white: #fff;
    --font-base: 'Raleway', sans-serif;
  }
  
  body {
    font-family: var(--font-base);
    color: var(--white);
    background: var(--dark-bg);
    line-height: 1.5; 
    font-size: 100%; 
    margin: 0;
    padding: 0;
  }
  
  @media (max-width: 850px) {
    body {
      font-size: 90%; 
    }
  }
  
  @media (max-width: 600px) {
    body {
      font-size: 80%; 
    }
  }
  .all{
    display: flex;
    flex-direction: column;
    min-height: 81vh;
  }
  a {
    color: var(--lb);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: none;
    color: var(--b);
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 701;
    margin-bottom: 1rem;
  }
  
  .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  
  .site-header {
    background: #000;
    padding: 0.8rem 0;
    border-bottom: 2px solid var(--b);
  }
  
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    height: 50px; 
    width: auto;
    display: block;
    margin: 0; 
    padding: 0;
  }
  
  
  .main-nav {
    margin: 0;
    padding: 0;
  }
  
  .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    
    display: none;
  }
  
  .main-nav ul li a {
    color: var(--lb);
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1; 
    display: inline-block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
  }
  
  .main-nav li.active a {
    color: var(--b);
  }
  
  
  .mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--lb);
    font-size: 1.5rem;
    cursor: pointer;
    display: inline-block; 
  }
  
  
  @media (max-width: 767px) {
    .main-nav ul li {
      display: block;       
      margin: 0.5rem 0;     
    }
  }
  
  
  @media (min-width: 768px) {
    .main-nav ul {
      display: inline-block;
      white-space: nowrap;
    }
  
    .main-nav ul li {
      display: inline-block; 
      margin: 0 0.5rem;
    }
  
    .mobile-menu-toggle {
      display: none;
    }
  }
  


  /*Intern */


.intern-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
  }
  
  .intern-login-container {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .login-form-card {
    background: #1f1f1f; 
    border: 1px solid var(--b);
    border-radius: 8px;
    padding: 2rem;
  }
  
  .login-form-card .intro-container h1 {
    text-align: center;
    color: var(--lb);
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .login-form-card .row {
    margin-bottom: 1rem;
  }
  
  .login-form-card .col-3 label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 600;
  }
  
  .login-form-card .col-3 input[type="text"],
  .login-form-card .col-3 input[type="password"] {
    width: 100%;
    background: #141414;
    color: var(--white);
    border: 1px solid var(--b);
    border-radius: 4px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
  }
  
  .login-form-card .col-3 input[type="text"]:focus,
  .login-form-card .col-3 input[type="password"]:focus {
    outline: none;
    border-color: var(--lb); 
  }
  
  .login-form-card #absendenButton.glow {
    width: 100%;
    font-size: 1rem;
    margin-top: 0.5rem;
  }
  .login-form-card select,
.intern-login-container select {
  width: 100%;
  background: #141414;
  color: var(--white);
  border: 1px solid var(--b);
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.login-form-card select:focus,
.intern-login-container select:focus {
  outline: none;
  border-color: var(--lb);
}

/* Styling für File-Upload */
.login-form-card input[type="file"] {
    background: #141414;
    color: #ccc;
    border: 1px solid var(--b);
    border-radius: 4px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
  }
  
  .login-form-card input[type="file"]::file-selector-button {
    background: var(--lb);
    color: #000;
    border: none;
    padding: 0.4rem 0.8rem;
    margin-right: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .login-form-card input[type="file"]::file-selector-button:hover {
    background: var(--b);
    color: #fff;
  }
  
  .login-form-card input[type="file"]:focus {
    outline: none;
    border-color: var(--lb);
  }

  .login-form-card textarea,
.intern-login-container textarea {
  width: 100%;
  background: #141414;
  color: var(--white);
  border: 1px solid var(--b);
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  resize: vertical; /* erlaubt vertikales Vergrößern/Verkleinern */
}

.login-form-card textarea:focus,
.intern-login-container textarea:focus {
  outline: none;
  border-color: var(--lb);
}
  
/* Styling für Input-Felder vom Typ Date und Email */
.login-form-card input[type="date"],
.login-form-card input[type="email"],
.intern-login-container input[type="date"],
.intern-login-container input[type="email"] {
  width: 100%;
  background: #141414;
  color: var(--white);
  border: 1px solid var(--b);
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-form-card input[type="date"]:focus,
.login-form-card input[type="email"]:focus,
.intern-login-container input[type="date"]:focus,
.intern-login-container input[type="email"]:focus {
  outline: none;
  border-color: var(--lb);
}


  .intern-index-page {
    padding: 2rem 0;
  }
  
  .intern-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .intern-card {
    background: #1f1f1f;
    border: 1px solid var(--b);
    border-radius: 8px;
    padding: 1.5rem;
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 280px;
    box-sizing: border-box;
  }
  
  .intern-card h2 {
    font-size: 1.4rem;
    color: var(--lb);
    margin-bottom: 1rem;
  }
  
  .intern-card p {
    color: #ccc;
    margin-bottom: 1rem;
  }
  
  .intern-card form {
    margin: 0;
  }
  
  @media (max-width: 768px) {
    .intern-card {
      flex: 1 1 100%;
    }
  }
  

.zutaten-container {
    padding: 2rem 0;
  }
  
  .zutaten-controls {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .sort-select {
    background: #141414;
    color: #fff;
    border: 1px solid var(--b);
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
  }
  
  .sort-select:focus {
    outline: none;
    border-color: var(--lb);
  }
  

  


/* general styling   */

.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 1.5rem;
  }
  .form-error {
    background: #a00000;
    color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
  }
  
  
  .table-universal {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 1rem;
    min-width: 800px;
    border-radius: 8px;
    overflow: hidden; 
    margin: 0; 
  }
  

  .table-universal thead tr {
    background: var(--b);
    border: none;
  }
  
  .table-universal thead th {
    color: #fff;
    font-weight: 700;
    padding: 0.8rem;
    border: none; 
    white-space: nowrap;
  }
  
  .table-universal tbody tr {
    border: none;
  }
  
  .table-universal tbody tr:nth-child(even) {
    background: #141414;
  }
  .table-universal tbody tr:nth-child(odd) {
    background: #1f1f1f;
  }
  
  .table-universal tbody td {
    padding: 0.8rem;
    color: #ccc;
    border-bottom: 1px solid #000;
  }
  
  .table-universal tbody tr:hover td {
    background: #2a2a2a;
  }
  
  .table-universal a.glow {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--lb);
    color: #000;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .table-universal a.glow:hover {
    background: var(--b);
    color: #fff;
    transform: translateY(-2px);
  }
  
  
  

.back-link-container {
    text-align: center;
    margin-bottom: 2rem; 
  }
  
  .back-link {
    display: inline-block;
    color: var(--lb);
    text-decoration: none;
    background: #111;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 0.9rem;
  }
  
  .back-link:hover {
    background: var(--b);
    color: #fff;
    transform: translateY(-2px);
  }
  

  .hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #7200ec 0%, #000 100%);
  }
  
  .hero .container {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    color: var(--lb);
    margin-bottom: 1rem;
  }
  
  .hero hr {
    width: 50%;
    margin: 1rem auto;
    border: none;
    height: 2px;
    background: var(--b);
  }
  
  .hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 1rem;
  }

  

  #absendenButton,
  .glow {
    background: var(--lb);
    color: #000;
    font-weight: 701;
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin-top: 0.5rem;
    margin-left: auto;
    margin-right: auto;
  }
  
 #absendenButton,
 .glow:hover {
    background: var(--b);
    color: #fff;
    transform: translateY(-2px);
  }
  
#absendenButton,
.glow:active {
    transform: translateY(0);
  }

  
  .agb-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #7200ec 0%, #000 100%);
  }
  
  .agb-hero h1 {
    font-size: 2.5rem;
    color: var(--lb);
    margin-bottom: 1rem;
  }
  
  .agb-hero hr {
    width: 50%;
    margin: 1rem auto;
    border: none;
    height: 2px;
    background: var(--b);
  }
  
  .agb-hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 1rem;
  }
  
  .agb-container h1,
  .agb-container h2,
  .agb-container h3,
  .agb-container h4,
  .agb-container h5,
  .agb-container h6 {
    color: var(--lb);
  }
  .datenschutz-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #7200ec 0%, #000 100%);
  }
  
  .datenschutz-hero h1 {
    font-size: 2.5rem;
    color: var(--lb);
    margin-bottom: 1rem;
  }
  
  .datenschutz-hero hr {
    width: 50%;
    margin: 1rem auto;
    border: none;
    height: 2px;
    background: var(--b);
  }
  
  .datenschutz-hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 1rem;
  }
  
  .datenschutz-container h1,
  .datenschutz-container h2,
  .datenschutz-container h3,
  .datenschutz-container h4,
  .datenschutz-container h5,
  .datenschutz-container h6 {
    color: var(--lb);
  }

  .impressum-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #7200ec 0%, #000 100%);
  }
  
  .impressum-hero h1 {
    font-size: 2.5rem;
    color: var(--lb);
    margin-bottom: 1rem;
  }
  
  .impressum-hero hr {
    width: 50%;
    margin: 1rem auto;
    border: none;
    height: 2px;
    background: var(--b);
  }
  
  .impressum-hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 1rem;
  }
  
  .impressum-container h1,
  .impressum-container h2,
  .impressum-container h3,
  .impressum-container h4,
  .impressum-container h5,
  .impressum-container h6 {
    color: var(--lb);
  }
  

.cookie-tool-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #7200ec 0%, #000 100%);
  }
  
  .cookie-tool-hero h1 {
    font-size: 2.5rem;
    color: var(--lb);
    margin-bottom: 1rem;
  }
  
  .cookie-tool-hero hr {
    width: 50%;
    margin: 1rem auto;
    border: none;
    height: 2px;
    background: var(--b);
  }
  
  .cookie-tool-hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 1rem;
  }
  
  
  .cookie-tool-container {
    padding: 2rem 0;
    text-align: left;
  }
  
  .cookie-tool-container h2,
  .cookie-tool-container h3 {
    color: var(--lb);
    margin-bottom: 1rem;
  }
  
  .cookie-tool-container p {
    color: #ccc;
    margin-bottom: 2rem;
  }
  
  .cookie-section {
    margin-bottom: 2rem;
  }
  
  .cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .cookie-option input[type="checkbox"] {
    width: auto;
    height: auto;
    margin-top: 0.3rem;
    cursor: pointer;
  }
  
  .cookie-option label {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.5;
  }
  
  .cookie-option a {
    color: var(--lb);
    text-decoration: underline;
    font-size: 0.9rem;
  }
  
  .cookie-option a:hover {
    color: var(--b);
  }
  
  .cookie-submit {
    margin-top: 2rem;
  }
  
  .cookie-submit .glow {
    background: var(--lb);
    color: #000;
    font-weight: 701;
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  }
  
  .cookie-submit .glow:hover {
    background: var(--b);
    color: #fff;
    transform: translateY(-2px);
  }
  
  .cookie-submit .glow:active {
    transform: translateY(0);
  }
  
  .cookie-tool {
    background: #000;
    color: #fff;
    padding: 2rem;
    font-size: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.7);
  }
  
  .cookie-tool .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .cookie-tool h2,
  .cookie-tool h3 {
    color: var(--lb);
    margin-bottom: 1rem;
  }
  
  .cookie-tool p {
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  .cookie-tool a {
    color: var(--lb);
    text-decoration: underline;
    font-size: 0.95rem;
  }
  
  .cookie-tool a:hover {
    color: var(--b);
  }
  
  .cookie-tool .col-6 {
    padding: 0;
  }
  
  .cookie-tool .col-2,
  .cookie-tool .col-4,
  .cookie-tool .col-6 {
    box-sizing: border-box;
  }
  
  
  .cookie-tool .col-4 {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
  }
  
  
  .cookie-tool .col-4 .col-2 {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }
  
  
  .cookie-tool button {
    background: var(--lb);
    color: #000;
    font-weight: 701;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-size: 0.9rem;
  }
  
  .cookie-tool button:hover {
    background: var(--b);
    color: #fff;
    transform: translateY(-2px);
  }
  
  .cookie-tool button:active {
    transform: translateY(0);
  }
  
  
  @media (max-width: 600px) {
    .cookie-tool .col-4 {
      flex-direction: column;
      gap: 0.5rem;
    }
  
    .cookie-tool button {
      width: 100%;
      text-align: center;
    }
  }


.site-footer {
    background: #000;
    padding: 2rem 0;
    border-top: 2px solid var(--b);
  }
  
  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .footer-column {
    flex: 1 1 100%;
  }
  
  .footer-column h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
  }
  
  .footer-column p, 
  .footer-column li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--white);

  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  
  @media (min-width: 768px) {
    .footer-column {
      flex: 1 1 calc(25% - 2rem);
    }
  }