/* ========================================
   SCRUMED - SCHWARZ-WEISS THEME
   Elegantes minimalistisches Design
   ======================================== */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
    padding: 60px 40px;
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    gap: 40px;
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000;
}

header p {
    font-size: 1.3em;
    opacity: 0.7;
    font-weight: 300;
    color: #666;
}

header img {
    width: 200px;
    height: 200px;
    max-width: 200px;
    max-height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    display: block;
    flex-shrink: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.newsletter-section h2 {
    color: #000;
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.newsletter-section p {
    text-align: center;
}

/* Newsletter: Wrapper jetzt spaltenweise */
.newsletter-form {
    display: flex;
    flex-direction: column;   /* <- neu: untereinander statt nebeneinander */
    align-items: center;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

/* E-Mail + Button in einer Zeile */
.newsletter-form .newsletter-form-row {
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* E-Mail-Feld */
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 20px 25px;
    border: 2px solid #333;
    border-radius: 40px;
    font-size: 1.1em;
    background: #f5f5f5;
    transition: all 0.3s;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #000;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

/* Button */
.newsletter-form button {
    padding: 20px 50px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Checkbox-Zeile unter dem Formular */
.newsletter-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95em;
    color: #333;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.newsletter-consent-label input[type="checkbox"] {
    transform: translateY(2px);
}

/* Gallery Section */
.gallery-section {
    margin-bottom: 40px;
}

.gallery-section h2 {
    color: #000;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: #000;
}

.project-card h3 {
    color: #000;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1em;
}

.view-details {
    display: inline-block;
    margin-top: 15px;
    color: #000;
    font-weight: bold;
    transition: transform 0.3s;
}

.project-card:hover .view-details {
    transform: translateX(5px);
}

/* Chat Section */
.chat-section {
    margin-bottom: 40px;
}

.chat-section h2 {
    color: #000;
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.chat-window {
    display: block;
    background: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.chat-window:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: #000;
}

.chat-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.chat-window h3 {
    color: #000;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.chat-window p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Footer */
footer {
    text-align: center;
    color: #666;
    padding: 30px;
    margin-top: 40px;
    background: #f8f8f8;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 30px;
    }

    header img {
        width: 150px;
        height: 150px;
        max-width: 150px;
        max-height: 150px;
    }

    header h1 {
        font-size: 2.5em;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}
