:root {
    --primary: #1F2933;
    --accent: #A61E1E;
    --light: #F4F6F8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: var(--light);
    color: #333;
    scroll-behavior: smooth;
}

/* NAVIGATION */
nav {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
}

.logo span {
    color: var(--accent);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
}

/* HERO */
header {
    background: var(--primary);
    color: white;
    padding: 100px 20px;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-image img {
    max-width: 280px;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: #7d1515;
}

/* FORMULAR */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
}

.contact-form button {
    background: var(--accent);
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    background: #7d1515;
}

footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 20px;
}

footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: white;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

/* Grid für Portfolio / Links */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* Basis-Card */
.card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Klickbare Card */
.card-link {
    display: block;
    position: relative;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    color: #4a4a4a; /* schöner neutraler Grauton */
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

/* Hover-Effekt */
.card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

/* Titel in Card */
.card-link h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #2f3a4a; /* dunklerer Textton passend zu deinem Stil */
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Beschreibung */
.card-link p {
    margin: 0;
    line-height: 1.6;
    color: #666666;
    text-decoration: none; /* nur Titel/Linkcharakter betonen */
}

/* Pfeil oben rechts */
.card-arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 1rem;
    color: #6b7280;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Pfeil beim Hover leicht animieren */
.card-link:hover .card-arrow {
    transform: translate(2px, -2px);
    color: #c62828; /* dezenter roter Akzent passend zu deinem Branding */
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

@media (max-width: 768px) {

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        max-width: 200px;
    }

    header {
        padding: 60px 20px;
    }

    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}

