/* =====================================================
   ITS-Lück Website
   style.css
===================================================== */
/* Inter Regular */

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium */

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* SemiBold */

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold */

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ExtraBold */

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --accent:#38bdf8;

    --dark:#0f172a;
    --dark-light:#1e293b;

    --white:#ffffff;

    --gray:#64748b;

    --light:#f8fafc;

    --border:#e2e8f0;

    --radius:18px;

    --shadow:
        0 20px 40px rgba(0,0,0,.08);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    background:var(--light);

    color:var(--dark);

    line-height:1.7;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/* ==========================
   Navigation
========================== */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    background:rgba(15,23,42,.85);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.navbar{

    max-width:1200px;

    margin:auto;

    height:80px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 30px;

}

.logo{

    font-size:2rem;

    font-weight:800;

    color:white;

}

.logo span{

    color:var(--accent);

}

.navbar ul{

    display:flex;

    gap:35px;

}

.navbar a{

    color:white;

    font-weight:500;

    transition:.3s;

}

.navbar a:hover{

    color:var(--accent);

}

/* ==========================
Buttons
========================== */

.button,
.hero-button{

    display:inline-block;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );

    color:white;

    padding:16px 34px;

    border-radius:40px;

    font-weight:600;

    transition:.35s;

    box-shadow:
    0 12px 25px rgba(37,99,235,.25);

}

.button:hover,
.hero-button:hover{

    transform:translateY(-4px);

    box-shadow:
    0 18px 35px rgba(37,99,235,.35);

}

/* ==========================
Hero
========================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:120px 20px;

    color:white;

    background:

    linear-gradient(
    rgba(15,23,42,.75),
    rgba(15,23,42,.85)
    ),

    url("../img/hero.webp")
    center center/cover;

}

.hero-content{

    max-width:850px;

}

.hero h1{

    font-size:4rem;

    font-weight:800;

    line-height:1.1;

}

.hero h1 span{

    color:var(--accent);

}

.hero p{

    margin:35px 0;

    font-size:1.25rem;

    color:#dbeafe;

}

/* ==========================
Sections
========================== */

section{

    padding:110px 20px;

}

section h2{

    text-align:center;

    font-size:2.5rem;

    margin-bottom:60px;

}

/* ==========================
Cards
========================== */

.cards{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(270px,1fr));

    gap:35px;

}

.card{

    background:white;

    border-radius:20px;

    padding:40px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

}

.card h3{

    color:var(--primary);

    margin-bottom:20px;

    font-size:1.4rem;

}

.card p{

    color:var(--gray);

}

/* ==========================
Kennzahlen
========================== */

.numbers{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

    background:var(--dark);

    color:white;

    text-align:center;

}

.numbers h2{

    color:var(--accent);

    font-size:3.5rem;

    margin-bottom:10px;

}

/* ==========================
Über uns
========================== */

.about{

    max-width:1100px;

    margin:auto;

    text-align:center;

}

.about p{

    max-width:760px;

    margin:40px auto;

    color:var(--gray);

    font-size:1.15rem;

}

/* ==========================
Kontakt
========================== */

.contact{

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:white;

    text-align:center;

}

.contact h2{

    color:white;

}

.contact p{

    margin-bottom:35px;

    font-size:1.2rem;

}

/* ==========================
Footer
========================== */

footer{

    background:var(--dark);

    color:white;

    padding:40px 20px;

    text-align:center;

}

footer nav{

    margin-top:20px;

}

footer nav a{

    color:#cbd5e1;

    margin:0 15px;

}

footer nav a:hover{

    color:white;

}

/* ==========================
Animation
========================== */

.card,
.hero-content,
.about{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/* ==========================================
   Kontakt
========================================== */

/* ==========================================
   Kontakt
========================================== */

.contact-grid{

    max-width:700px;

    margin:0 auto;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    gap:40px;

}

.contact-grid h3{

    color:var(--primary);

    margin-bottom:20px;

}

.contact-grid p{

    margin-bottom:10px;

}

form{

    width:100%;

    display:flex;

    flex-direction:column;

    text-align:left;

}

label{

    margin:15px 0 8px;

    font-weight:600;

}

input,
textarea{

    width:100%;

    padding:16px;

    border:1px solid var(--border);

    border-radius:12px;

    font-size:16px;

    font-family:inherit;

}

textarea{

    resize:vertical;

}

form button{

    margin-top:25px;

    border:none;

    cursor:pointer;

    align-self:center;

}