/* Allgemeine Einstellungen */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #000000;
}

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.logo-img {
    margin-bottom: -45px;
    margin-left: 20px;
    padding: 0;
    width: 300px;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}
  
body.dark-mode .logo-img {
    filter: brightness(0.8) contrast(1.2);
}
/* Ironie */
.timeline {
    list-style: none;
    padding-left: 0;
    text-align: center;
  }
  .timeline li {
    margin: 0.5rem 0;
  }
  
  .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .gallery img {
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s;
  }
  .gallery img:hover {
    transform: scale(1.05);
  }

/* Container */
.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}
.containertext {
    display: flex;
    justify-content: center;
}


/* Header und Navigation */
header {
    background: #007BFF;
    color: #ffffff;
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.menu-toggle.open::before {
    content: "✕";
}
.menu-toggle::before {
    content: "☰";
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.nav-links a, .nav-links2 a{
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.nav-links a:hover, .nav-links2 a:hover {
    text-decoration: underline;
}

.nav-links2{
    
    list-style: none;
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    
}


/* Hero */
.hero {
    background: url('assets/Landschaft.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 5rem 0;
    color: #fff;
}

.hero .container {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 8px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #fff;
    width: 0;
    animation: typing 4s steps(29, end) 1s forwards;
    animation-fill-mode: forwards;
}

@keyframes typing {
    0% { width: 0 }
    40% { width: 14ch }
    45% { width: 12% }
    100% {
        width: 100%;
        border-right: none;
    }
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: transparent; }
}

@keyframes blink-cursor {
    0%, 80% { border-color: #fff; }
    90%, 100% { border-color: transparent; }
}
.blink-cursor::after{
    display: none;
}
.hero .btn {
    background: #FFD700;
    color: #333;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.hero .btn:hover {
    background: #FFC107;
}

/* Abschnitte */
section {
    padding: 3rem 0;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Services */
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    width: 300px;
}

.service a {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.service a:hover {
    background-color: #0056b3;
}

body.dark-mode .service {
    background: #2a2a2a;
    border-color: #444;
}

/* Button allgemein */
#darkModeToggle {
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin: 1rem auto;
    display: block;
    transition: background-color 0.3s ease;
}

#darkModeToggle:hover {
    background-color: #0056b3;
}

body.dark-mode #darkModeToggle {
    background-color: #333;
    color: #fff;
}

body.dark-mode #darkModeToggle:hover {
    background-color: #555;
}
body.dark-mode .service a {
    background-color: #333;
    color: #fff;
}

body.dark-mode .service a:hover {
    background-color: #555;
}

/* Footer */
footer {
    text-align: center;
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

/* Dark Mode Navigation */
body.dark-mode .navbar {
    background-color: #1e1e1e;
}

/* body.dark-mode .nav-links {
    background-color: #2c2c2c;
} */

body.dark-mode .nav-links a {
    color: #ffffff;
}

body.dark-mode .nav-links a:hover {
    color: #bbbbbb;
}

body.dark-mode header,
body.dark-mode footer {
    background-color: #1e1e1e;
}

/* Resonsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links, .nav-links2{
        flex-direction: column;
        display: none;
        gap: 1rem;
        background-color: #007BFF;
        padding: 1rem;
        border-radius: 5px;
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.open, .nav-links2.open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .hero .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        text-align: center;
        box-sizing: border-box;
        max-width: 100%;
        overflow-wrap: break-word;
        overflow-x: hidden;
    }

    .hero h1,
    .hero p,
    .hero .btn {
        margin-left: auto;
        margin-right: auto;
    }

    .hero p {
        white-space: normal;
        width: fit-content;
        margin: 0 auto;
        animation: typing 4s steps(50, end) 1s forwards;
    }
}


/* Archive */

.archiv-list a {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.4rem 0.8rem;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .archiv-list a:hover {
    background-color: #0056b3;
  }

  body.dark-mode .archiv-list a {
    background-color: #333;
    color: #fff;
  }
  
  body.dark-mode .archiv-list a:hover {
    background-color: #555;
  }

  /* presence helper */

  .arplee-list a {
    text-decoration: none;
    color: rgb(107, 107, 107);
  }
  
  .arplee-list a:hover {
    color: rgb(0, 255, 0);
  }

  body.dark-mode .arplee-list a {
    color: #fff;
  }
  
  body.dark-mode .arplee-list a:hover {
    color: rgb(0, 255, 0);
  }