* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #111;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    top: 0;
    z-index: 100;
    padding: 20px;
        }
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00d4ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: '🛡️';
    font-size: 1.2em;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #00d4ff;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.main-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
    transition: all 0.3s ease;
}

.sidebar h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar h3::before {
    content: '📋';
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    color: #b0b0b0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-nav a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    transform: translateX(5px);
}

.sidebar-nav a.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-left: 3px solid #00d4ff;
}

.content {
    flex: 1;
    min-width: 0;
}

.warning {
   background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.warning h3 {
    color: #28ff85;
    margin-bottom: 0.5rem;
}

.category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.category:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
}

.category h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 0.5rem;
}

.tools-list {
    list-style: none;
}

.tool {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.9s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.tool:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(0.7px);
    box-shadow: 0 1px 3px rgba(0, 212, 255, 0.1);
}

.tool-info {
    flex: 1;
}

.tool h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.tool p {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
}

.tool-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tool-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    color: #b0b0b0;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 1rem;
}

.footer-links a:hover {
    color: #00a8cc;
}

@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
        order: -1;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .sidebar-nav li {
        margin-bottom: 0;
    }
    
    .sidebar-nav a {
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .tools-list {
        padding: 0;
    }
    
    .tool {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tool-info {
        width: 100%;
    }
    
    .tool-link {
        align-self: flex-end;
    }
    
    .sidebar {
        display: none;
    }
    
    .sidebar.active {
        display: block;
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        z-index: 200;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
    }
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #00d4ff, #ff0096);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1000;
    transition: transform 0.1s ease;
}
.tool-features {
    margin-top: 15px; /* Abstand oberhalb der Features */
    display: flex;
    gap: 10px; /* horizontaler Abstand zwischen den Tags */
    flex-wrap: wrap; /* optional, damit es bei kleinen Screens umbricht */
}

.feature-tag {
    border: 1px solid white;
    border-radius: 10px;
    background-color: white;
    color: #001F3F; /* dunkles Blau */
    padding: 4px 10px;
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
}
ul {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 20px;
}
#backToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  display: none;
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 12px 16px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-in-out;
}

#backToTop:hover {
  background-color: #0cc027;
}
/* Kontaktformular Styles */
    .contact-section {
      width: 100%;
      max-width: 40rem;
      margin: 2rem auto;
      padding: 2rem 1rem;
      background-color: #1b1b1b;
      border-radius: 10px;
    }

    .contact-intro > * + * {
      margin-top: 1rem;
    }

    .contact-title {
      font-size: 1.875rem;
      line-height: 2.25rem;
      font-weight: 700;
      color: #00d4ff;
      text-align: center;
    }

    .contact-description {
      color: #ccc;
      text-align: center;
    }

    .form-group-container {
      display: grid;
      gap: 1rem;
      margin-top: 2rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
    }

    .form-label {
      margin-bottom: 0.5rem;
      color: #f5f5f5;
      font-weight: 500;
    }

    .form-input,
    .form-textarea {
      padding: 0.75rem;
      border: 1px solid #333;
      background-color: #222;
      color: #f5f5f5;
      display: flex;
      height: 2.5rem;
      width: 100%;
      border-radius: 0.375rem;
      font-size: 0.875rem;
      line-height: 1.25rem;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
      box-sizing: border-box;
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
      color: #888;
    }

    .form-input:focus,
    .form-textarea:focus {
      outline: none;
      border-color: #00d4ff;
      box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.3);
    }

    .form-textarea {
      min-height: 120px;
      height: auto;
      resize: vertical;
    }

    .form-submit {
      width: 100%;
      margin-top: 1.5rem;
      background-color: #00d4ff;
      color: #111;
      padding: 13px 5px;
      border: none;
      border-radius: 0.375rem;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .form-submit:hover {
      background-color: #00b8e6;
      transform: translateY(-1px);
    }

    .form-submit:active {
      transform: translateY(0);
    }

    .form-submit:disabled {
      background-color: #555;
      color: #999;
      cursor: not-allowed;
      transform: none;
    }

    .error-message {
      color: #ff6b6b;
      font-size: 0.875rem;
      margin-top: 0.5rem;
      display: none;
    }

    .form-group.error .form-input,
    .form-group.error .form-textarea {
      border-color: #ff6b6b;
      box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
    }

    footer {
      margin-top: 3em;
      font-size: 0.9em;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .footer-links a {
      margin-right: 1em;
      color: #ccc;
    }

    .footer-links a:hover {
      color: #00ff00;
    }

    @media (max-width: 768px) {
      .footer-content {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-links {
        margin-top: 1em;
      }

      .contact-section {
        margin: 1rem auto;
        padding: 1.5rem 1rem;
      }

      .contact-title {
        font-size: 1.5rem;
      }
    }

/* --- NAVIGATIONSLINKS --- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* --- MOBILE STYLES --- */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
        margin-top: 1rem;
    }

    .nav-links.active {
        display: flex;
    }
}


