/* --- GRUNDEINSTELLUNGEN --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

/* --- HEADER --- */
header {
    background: #333;
    color: #fff;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 90px;
    box-sizing: border-box;
    width: 100%;
    transition: background-color 0.3s;
    position: relative;
}
.header-section {
    display: flex;
    align-items: center;
    flex: 1 0 auto;
}
.header-left-content { justify-content: flex-start; }
.header-right-content { justify-content: flex-end; }
.header-center-content {
    position: absolute;  
    left: 50%;            
    transform: translateX(-50%); 
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-logo-link {
    display: flex;
    align-items: center;
    gap: 15px; 
    color: inherit; 
    text-decoration: none; 
}
.header-center-content .logo-container img#logo {
    max-height: 50px;
}
.header-main-title {
    font-size: 1.6em;
    font-weight: bold;
    white-space: nowrap;
    margin: 0;
}
header .theme-switcher { margin-right: 15px; }
header .theme-switcher button {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85em;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    outline: none;
    white-space: nowrap;
}
header .theme-switcher button:hover { background-color: #e0e0e0; }
header .language-switcher a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    padding: 6px 10px;
    margin-left: 8px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
header .language-switcher a:first-child { margin-left: 0; }
header .language-switcher a:hover { background-color: rgba(255, 255, 255, 0.2); }
header .language-switcher a.active {
    background-color: #f0f0f0;
    color: #333;
}

/* --- MAIN CONTENT & LAYOUT --- */
main { flex-grow: 1; }
body.home main {
    max-width: 100%;
    padding: 0;
    background-color: transparent;
}
body:not(.home) main {
    max-width: 900px;
    padding: 20px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}
/* Stile nur für Titel auf Unterseiten */
main .content h1, main .content h2 {
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
}
main .content { margin-top: 15px; }

section {
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
section h2, section h3 {
    border: none;
    padding-bottom: 0;
}
.discord-description {
  text-align: center;
  max-width: 600px; 
  margin: 0 auto 30px auto;
}
.discord-button {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background-color: #5865F2;
  color: #ffffff;
  padding: 15px 40px;
  min-width: 250px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.discord-button:hover {
  background-color: #4752C4;
  transform: translateY(-2px);
}
.beta-section {
    background-color: #eef5ff;
    border-bottom: 1px solid #dbeaff;
}
.beta-description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: left;
}
.beta-tasks {
    list-style-type: '✓  ';
    padding-left: 20px;
}
.beta-signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.signup-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.signup-box h3 {
    margin-top: 0;
    font-size: 1.5em;
    min-height: 4em;
}
.promo-video {
    width: 50%;
    max-width: 100%;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}
.signup-button {
    background-color: #007aff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}
.signup-button:hover {
    background-color: #005ecb;
    transform: translateY(-2px);
}
.hero { padding: 80px 20px; }
.hero h1 { font-size: 2.8em; margin-bottom: 15px; }
.hero p {
    font-size: 1.2em;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.cta-button img { max-height: 55px; }
.features-section { background-color: #f9f9f9; }
section h2 { font-size: 2.2em; margin-bottom: 40px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}
.feature-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.feature-item h3 { margin-top: 0; font-size: 1.4em; }
.exchanges-section { background-color: #fff; }
.exchanges-section h2 { color: #333; }
.exchange-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.exchange-logos img {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.exchange-logos img:hover { opacity: 1; }
.final-cta {
    background-color: #333;
    color: #fff;
}
.final-cta h2 { color: #fff; }
.final-cta p { margin-bottom: 30px; }
.text-center {
    text-align: center;
}

/* --- ROADMAP / TIMELINE SECTION --- */
.roadmap-section { background-color: #fff; }
.roadmap-section h2 { margin-bottom: 10px; }
.roadmap-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}
.timeline { position: relative; }
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #eef5ff;
    top: 0; bottom: 0; left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    right: -12px;
    background-color: #fff;
    border: 4px solid #007aff;
    top: 22px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after { left: -8px; }
.timeline-content {
    padding: 20px 30px;
    background-color: #f9f9f9;
    position: relative;
    border-radius: 8px;
    text-align: left;
}
.timeline-content h3 { margin-top: 0; }

/* --- BENUTZERHANDBUCH SEITE --- */
.user-manual h2 { margin-top: 40px; }
.user-manual h3 { margin-top: 30px; border-bottom: 1px solid #f2f2f2; padding-bottom: 8px; }
.user-manual h4 { margin-top: 25px; color: #555; }
.image-placeholder { text-align: center; margin: 30px 0; }
.screenshot-img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.user-manual .toc {
    list-style-type: none;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}
.user-manual .toc li a { text-decoration: none; }
.user-manual .styled-list, .user-manual .exchange-list { list-style-type: '✓ '; padding-left: 20px; }
.user-manual .param-list { list-style-type: none; padding-left: 0; }
.user-manual .param-list li { margin-bottom: 10px; }
.user-manual .warning-box {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    padding: 15px;
    border-radius: 5px;
}
.user-manual .link-list { list-style-type: '🔗 '; padding-left: 25px; }

/* --- MODAL & FORMULAR STILE --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.close-modal {
    float: right;
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
}
.close-modal:hover { color: #333; }
.modal-content h3 { margin: 0 0 20px 0; }
form label { display: block; margin-bottom: 5px; font-weight: bold; }
form input[type="text"], form input[type="email"], form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1em;
}
form textarea { resize: vertical; }
form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #007aff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
}
#modal-response-message, #modal-deletion-response {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
}
.success { background-color: #d4edda; color: #155724; }
.error { background-color: #f8d7da; color: #721c24; }
.checkbox-group { text-align: left; margin-bottom: 20px; }
.checkbox-group label { display: block; margin-bottom: 10px; cursor: pointer; }
.checkbox-info {
    display: block;
    font-size: 0.8em;
    color: #777;
    margin-left: 25px;
    font-weight: normal;
}
.form-hint {
    background-color: #eef5ff;
    border-left: 4px solid #007aff;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 0.9em;
    border-radius: 0 5px 5px 0;
}
.form-hint p { margin: 0; }

/* --- FOOTER --- */
footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}
footer .footer-links {     
    margin-bottom: 20px;
}
footer .footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 5px 10px;      
    font-size: 0.9em;
    transition: color 0.3s, text-decoration 0.3s;
}
footer .footer-links a:hover { color: #fff; text-decoration: underline; }
footer .copyright { margin-top: 15px; font-size: 0.85em; }

/* --- DARK MODE --- */
body.dark-mode { background-color: #121212; color: #e0e0e0; }
body.dark-mode header { background: #1e1e1e; }
body.dark-mode header .theme-switcher button { background-color: #4a4a4a; color: #e0e0e0; border-color: #666; }
body.dark-mode header .theme-switcher button:hover { background-color: #5a5a5a; }
body.dark-mode header .language-switcher a { color: #e0e0e0; }
body.dark-mode header .language-switcher a:hover { background-color: rgba(0, 0, 0, 0.3); }
body.dark-mode header .language-switcher a.active { background-color: #4a4a4a; }
body.dark-mode .header-logo-link { color: inherit; }
body.dark-mode .header-logo-link:hover { color: inherit; }
body:not(.home).dark-mode main { background-color: #1e1e1e; box-shadow: 0 0 15px rgba(0,0,0,0.5); }
body.dark-mode main .content h1, body.dark-mode main .content h2 { color: #f5f5f5; border-bottom-color: #444; }
body.dark-mode a { color: #8ab4f8; }
body.dark-mode a:hover { color: #aecbfa; }
body.dark-mode .beta-section { background-color: #1c2128; border-bottom-color: #30363d; }
body.dark-mode .signup-box { background-color: #2c2c2c; }
body.dark-mode .hero p { color: #aaa; }
body.dark-mode .features-section, body.dark-mode .timeline-content, body.dark-mode .user-manual .toc { background-color: #1a1a1a; }
body.dark-mode .feature-item { background: #2c2c2c; }
body.dark-mode .final-cta { background-color: #1e1e1e; }
body.dark-mode .roadmap-section { background-color: #121212; }
body.dark-mode .roadmap-subtitle { color: #aaa; }
body.dark-mode .timeline::after { background-color: #1c2128; }
body.dark-mode .timeline-item::after { background-color: #121212; border-color: #8ab4f8; }
body.dark-mode .user-manual h3 { border-bottom-color: #333; }
body.dark-mode .user-manual h4 { color: #bbb; }
body.dark-mode .screenshot-img { box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
body.dark-mode .user-manual .warning-box { background-color: #3d301d; border-color: #7e6b43; }
body.dark-mode .modal-content { background-color: #2c2c2c; }
body.dark-mode .close-modal { color: #777; }
body.dark-mode .close-modal:hover { color: #eee; }
body.dark-mode form input[type="text"], body.dark-mode form input[type="email"], body.dark-mode form textarea { background-color: #3a3a3a; border-color: #555; color: #eee; }
body.dark-mode .checkbox-info { color: #aaa; }
body.dark-mode .form-hint { background-color: #1c2a3e; border-left-color: #8ab4f8; }
body.dark-mode footer { background: #1a1a1a; color: #888; }
body.dark-mode footer .footer-links a { color: #bbb; }
body.dark-mode footer .footer-links a:hover { color: #fff; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    header {
        max-height: none;
        flex-wrap: wrap;
    }
    .header-center-content {
        order: 1;
        flex-basis: 100%;
        margin-bottom: 10px;
        position: static;
        transform: none;
    }
    .header-right-content { order: 2; flex-basis: 100%; justify-content: center; }
    .header-left-content { display: none; }
    body:not(.home) main { margin: 10px; }
    .features-grid { grid-template-columns: 1fr; }
    .beta-signup-grid { gap: 20px; }
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 15px; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 10px; }
}
@media (max-width: 600px) {
    header { padding: 0.5rem; }
    .header-center-content { font-size: 1.3em; }
    .header-center-content .logo-container img#logo { max-height: 35px; }
    main .content h1, main .content h2 { font-size: 1.6em; }
    footer .footer-links { display: flex; flex-direction: column; align-items: center;}
    footer .footer-links a { margin: 6px 0; }
    body:not(.home) main { margin: 5px; padding: 15px; }
    section { padding: 40px 15px; }
    section h2 { font-size: 1.8em; }
    .hero h1 { font-size: 2em; }
    .hero p { font-size: 1.1em; }
    .exchange-logos { gap: 25px; }
    .beta-signup-grid { grid-template-columns: 1fr; }
    .signup-box h3 { min-height: auto; margin-bottom: 20px; }
}