
:root {
    --color-primary: #2F4156;
    --color-secondary: #567C8D;
    --color-blue-light: #C8D9E6;
    --color-background: #F5EFEB;
    --color-white: #FFFFFF;
    --spacing: 1rem;
}

* {
    box-sizing: border-box;
}


main > h1 {
    display: flex;
    align-items: center;
    width: 100vw;
    min-height: 76vh;
    min-height: 76svh;
    margin: 0 0 0 calc(50% - 50vw);
    padding: clamp(48px, 9vw, 128px);
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font-size: clamp(3.2rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.02;
    text-align: left;
    text-shadow: 0 2px 0 rgba(200, 217, 230, 0.8);
}

main > h1 + p {
    max-width: none;
    margin: 0 0 80px;
    color: var(--color-secondary);
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    text-align: left;
}

/* Hero section */
.hero {
    position: relative;
    left: 50%;
    display: flex;
    align-items: center;
    width: calc(100vw - 16px);
    max-width: none;
    min-height: 85vh;
    margin-bottom: 80px;
    padding: clamp(48px, 9vh, 96px) 6%;
    overflow: hidden;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at top left, rgba(200, 217, 230, 0.9), transparent 26%),
        radial-gradient(circle at bottom right, rgba(86, 124, 141, 0.25), transparent 32%),
        linear-gradient(135deg, rgba(245, 239, 235, 0.96), rgba(200, 217, 230, 0.72));
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(47, 65, 86, 0.12);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    top: -80px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: rgba(86, 124, 141, 0.12);
}

.hero::after {
    right: 14%;
    bottom: -120px;
    width: 420px;
    height: 420px;
    background: rgba(47, 65, 86, 0.08);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: clamp(1.5rem, 2vw, 2rem);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(2px);
}

.hero-eyebrow {
    display: inline-block;

    margin-bottom: 1.5rem;
    padding: 0.75rem 1.25rem;

    background-color: rgba(200, 217, 230, 0.6);

    border-radius: 999px;

    color: var(--color-secondary);

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 0 rgba(200, 217, 230, 0.8);
}

.hero p {
    max-width: 650px;
    margin-bottom: 2rem;
    color: var(--color-secondary);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
}

.hero .hero-cta {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(47, 65, 86, 0.2);
    transition: all 0.25s ease;
}

.hero .hero-cta:hover,
.hero .hero-cta:focus-visible {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(47, 65, 86, 0.24);
}
/* products section */
.start-products {
    margin: 0 0 72px;
}

.start-products__heading {
    margin-bottom: 24px;
}

.start-products__eyebrow {
    margin: 0 0 8px;
    color: var(--color-secondary);
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.start-products__heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    line-height: 1.2;
}

.start-products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.start-product {
    overflow: hidden;
    border: 1px solid var(--color-blue-light);
    border-radius: 14px;
    background-color: var(--color-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.start-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(47, 65, 86, 0.14);
}

.start-product__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.start-product__link:focus-visible,
.start-products__all a:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 4px;
}

.start-product__link > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background-color: var(--color-background);
}

.start-product__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.start-product__content h3 {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-size: 1.3rem;
}

.start-product__content p {
    margin: 0 0 18px;
    color: var(--color-secondary);
}

.start-product__content > span {
    margin-top: auto;
    color: var(--color-primary);
    font-weight: 700;
}

.start-products__all {
    margin: 22px 0 0;
    text-align: right;
}

.start-products__all a {
    color: var(--color-secondary);
    font-weight: 700;
    text-underline-offset: 4px;
}

/* Anpassungen für kleinere Bildschirme */
@media (max-width: 760px) {
    .start-products__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .start-product__link {
        display: grid;
        grid-template-columns: minmax(100px, 36%) 1fr;
    }

    .start-product__link > img {
        height: 100%;
        aspect-ratio: auto;
    }

    .start-product__content {
        padding: 16px;
    }

    .start-products__all {
        text-align: left;
    }
}

@media (max-width: 760px) {
    .hero {
        margin-bottom: 56px;
        padding: 40px 0 36px;
    }

    .hero-eyebrow {
        margin-bottom: 18px;
    }
}

@media (max-width: 760px) {
    header {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }

    header nav ul {
        justify-content: center;
        gap: 2px;
    }

    header nav a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    main {
        margin: 5px auto;
    }

    main > h1 {
        min-height: 68vh;
        min-height: 68svh;
        margin-bottom: 0;
        padding: 36px 24px;
        font-size: clamp(3rem, 11vw, 5rem);
    }

    main > h1 + p {
        margin-bottom: 56px;
    }

}

/* Inhaltsbereich */
.content-section {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Schöne Tabelle */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background-color: var(--color-primary);
    color: var(--color-white);
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-blue-light);
}

tbody tr:nth-child(even) {
    background-color: var(--color-background);
}

tbody tr:hover {
    background-color: var(--color-blue-light);
    transition: 0.3s;
}

/* studentennrabatt */

.studentenrabatt-info {
    padding: 15px;
    background-color: var(--color-blue-light);
    border-radius: 8px;
    color: var(--color-primary);
}

/* Technik section */
.technik {
    margin: 40px 0;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--color-blue-light);
    border-left: 6px solid var(--color-secondary);
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 12px 30px rgba(47, 65, 86, 0.1);
    color: var(--color-primary);
}

.technik > h2 {
    margin-top: 0;
}

.technik > p {
    max-width: 70ch;
    color: var(--color-secondary);
    line-height: 1.7;
}

.technik dt {
    margin-top: 20px;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.technik dd {
    margin: 8px 0 0;
    padding: 14px 18px;
    border-left: 3px solid var(--color-blue-light);
    border-radius: 0 8px 8px 0;
    background-color:var(--color-background);
    line-height: 1.7;
}