html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Zuerst definieren wir die normale Schriftstärke */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v51-latin-regular.woff2') format('woff2');
}

/* Dann definieren wir Fett (Bold) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v51-latin-700.woff2') format('woff2');
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*
    font-family: 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    */
}

.hero-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.feature-icon {
    font-size: 2.5rem;
    color: #0d6efd;
}

footer {
    background: #212529;
    color: white;
    padding: 40px 0;
}

.container {
    margin-bottom: 20px;
}

#features .p-3 {
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    background-color: #f8f9fa;
}


/*
#features .p-3:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    cursor: pointer;
}
*/

.about-image {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.social-link {
    font-size: 1.5rem;
    color: #333;
    margin-right: 5px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #0d6efd;
}

.hero-mini {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.blog-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/blog-java.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
}

pre {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #0d6efd;
    overflow-x: auto;
}

.sidebar-card {
    border: none;
    background-color: #f8f9fa;
}

.badge-java {
    background-color: #e76f51;
}


.feature-box {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.feature-box:hover {
    background-color: #f8f9fa; /* Ganz dezenter Grauton beim Hover */
    transform: translateY(-5px); /* Leichter Schwebe-Effekt */
}

/* Verhindert, dass der Link blau unterstrichen wird */
.stretched-link::after {
    z-index: 1;
}

.inactive {
    background-color: #eee !important;
}



.business-card {
    width: 100%;
    max-width: 400px; /* Begrenzt die Breite auf Desktop */
    aspect-ratio: 1.6 / 1; /* Hält das Visitenkarten-Verhältnis */
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    color: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    margin: 20px auto;
}

/*
.business-card:hover {
    transform: translateY(-5px);
}
*/

.business-card-header h1 {
    margin: 0;
    font-size: clamp(1.2rem, 5vw, 1.6rem); /* Schriftgröße passt sich an */
    letter-spacing: 2px;
    font-weight: 700;
}

.business-card-header p {
    margin: 0.5rem 0;
    color: #00d4ff;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
}

.contact-info {
    font-size: clamp(0.7rem, 3vw, 0.85rem);
    color: #b0b0b0;
    line-height: 1.8;
}