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

body {
    font-family: 'Audiowide', sans-serif;
    background: #0a0a0a; /* tiefschwarz, matt */
    color: #eaeaea;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* Logo */
header {
    text-align: center;
    margin-bottom: 25px;
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #f5f5f5;
    text-transform: uppercase;
    position: relative;
}

.logo::after {
    content: "";
    display: block;
    margin: 12px auto 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #cdaa7d, #b08d57); /* gold-Gradient */
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-top: 15px;
}

/* Grid */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
    width: 100%;
    max-width: 1100px;
}

/* Box Design */
.company-box {
    background: #111; /* matt schwarz */
    border: 1px solid #1e1e1e;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 5px 12px rgba(0,0,0,0.6);
    cursor: pointer;
}

.company-box:hover {
    transform: translateY(-10px);
    border-color: #cdaa7d;
    box-shadow: 0 12px 25px rgba(0,0,0,0.9), 0 0 15px rgba(205,170,125,0.2);
}

.company-box h2 {
    font-size: 1.0rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #f0f0f0;
}

.company-box p {
    font-size: 1rem;
    font-weight: 500;
    color: #cdaa7d; /* goldener Akzent */
    margin-top: 5px;
}

/* Icon */
.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #cdaa7d;
}

/* Footer */
footer {
    margin-top: 70px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    width: 100%;
}

/* Unter-Links im Kasten */
.sub-links {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px; /* Abstand zwischen Links */
    flex-wrap: wrap; /* bricht auf Handy um */
    padding-top: 15px;
    border-top: 1px solid #1e1e1e; /* feine Linie oben */
}

.sub-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #cdaa7d; /* gold */
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

.sub-links a:hover {
    color: #fff;
    transform: translateY(-2px); /* leichter Hover-Effekt */
}

.sub-links i {
    font-size: 1rem;
    color: #cdaa7d; /* Icon auch in Gold */
}

/* Trennstriche automatisch als Border */
.sub-links a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    height: 16px;
    width: 1px;
    background: #444; /* eleganter grauer Trenner */
}


/* ======== Responsive Anpassungen ======== */
@media (max-width: 768px) {
    /* Tablet / kleine Laptops */
    header { ... }
    .logo { ... }
    .subtitle { ... }
    .container { gap: 20px; }
    .company-box { padding: 30px 15px; }
    .icon { font-size: 2rem; }
}

@media (max-width: 600px) {
    /* Handys: Kästen untereinander */
    .container {
        grid-template-columns: 1fr; /* alles untereinander */
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* sehr kleine Handys */
    header { ... }
    .logo { font-size: 1.8rem; }
    .subtitle { font-size: 0.9rem; margin-bottom: 20px; }
    .company-box { padding: 25px 15px; }
    .icon { font-size: 1.8rem; }
}
