:root {
    --primary: #1f497d;       /* Das dunkle Blau aus deinem Manifest */
    --accent: #3498db;
    --text: #2c3e50;
    --bg: #f4f7f9;
    --white: #ffffff;
    --border: #dcdde1;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

main {
    flex: 1 0 auto; /* Schiebt den Footer nach unten, wenn wenig Inhalt da ist */
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.container {
    max-width: 850px;
    width: 90%;
    background: var(--white);
    margin: 60px 20px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 6px solid var(--primary);
}

h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 3rem;
    font-weight: 400;
}

h2 {
    color: var(--primary);
    font-size: 1.6rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-top: 40px;
}

/* Manifesto Section */
.manifesto {
    margin-top: 30px;
}

.manifesto-list {
    list-style: none;
    padding: 0;
}

.manifesto-item {
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 3px solid var(--border);
    transition: border-color 0.3s ease;
}

.manifesto-item:hover {
    border-left-color: var(--primary);
}

.rule {
    display: block;
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

footer {
    flex-shrink: 0;
    padding: 40px 20px;
    background: #f9f9f9; /* Ganz leichtes Grau zur Absetzung */
    border-top: 2px solid #000; /* Die markante "Architekten-Linie" */
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #000;
    text-decoration: none;
    margin: 0 10px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

footer a:hover {
    border-bottom: 1px solid #000;
}

/* Mobile Optimierung (Responsive) */
@media (max-width: 600px) {
    footer {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Größere Klickflächen für Daumen auf dem Smartphone */
    }
    
    footer a {
        display: block;
        margin: 5px 0;
    }
    
    h1 {
        font-size: 1.8rem; /* Etwas kleiner auf dem Handy */
    }
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #000; /* Schwarz passend zum Manifest-Stil */
    color: #fff;
    text-decoration: none;
    border: 1px solid #000;
    font-weight: bold;
    transition: all 0.2s ease;
}

.button:hover {
    background-color: #fff;
    color: #000;
}

.container {
    max-width: 900px; /* Oder deine bevorzugte Breite */
    margin: 0 auto;   /* Zentriert den Block */
    padding: 0 20px;  /* Verhindert das Kleben am Rand auf Mobilgeräten */
}

/* Die Navigation */
.main-nav {
    padding-top: 40px;
    padding-bottom: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    text-transform: uppercase; /* Sieht oft nach "Architektur-Plan" aus */
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.main-nav a:hover {
    border-bottom: 2px solid #000;
}

#contact {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.contact-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px); /* Kleiner "Lift-Effekt" */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.legal-container {
    max-width: 750px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.7;
    color: #1a1a1a;
    text-align: left;
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #000; /* Minimalistischer Architect-Stil */
    display: inline-block;
}

.legal-section h3 {
    font-size: 1.1rem;
    margin-top: 25px;
    color: #444;
}

.legal-section p {
    margin-bottom: 15px;
}

.protected-email {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* Der Button im Manifesto */
.protected-email.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.protected-email.button:hover {
    background-color: #333;
}

.copy-trigger {
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f0f0f0;
    transition: all 0.2s ease;
    display: inline-block;
    vertical-align: middle;
}

.copy-trigger:hover {
    background: #e0e0e0;
}

.copy-trigger.success {
    background: #2ecc71;
    color: white;
}
