/* ==========================================================
   WERKSTURBO REGISTER
   Homepage V1.0
========================================================== */

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

:root{

    --primary:#0b4f7d;
    --primary-light:#1d7fc3;

    --headline:#243746;

    --background:#f4f6f8;

    --white:#ffffff;

    --shadow:rgba(0,0,0,.15);

}


body{

    font-family:Arial, Helvetica, sans-serif;
    background:var(--background);
    color:#333;
    line-height:1.6;

}





/* ==========================
   HEADER
========================== */

header{

    background:var(--primary);

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 50px;

    min-height:65px;

    position:sticky;
    top:0;

    z-index:1000;

    box-shadow:0 4px 12px rgba(0,0,0,.20);

}

.logo img{

    width:175px;
    height:auto;
    display:block;

}


/* ==========================
   NAVIGATION
========================== */

nav ul{

    list-style:none;
    display:flex;
    gap:19px;

}

nav a{

    color:white;
    text-decoration:none;

    padding:8px 18px;

    border-radius:8px;

    font-size:16px;

    font-weight:600;

    transition:.25s;

}

nav a:hover{

    background:rgba(255,255,255,.15);

}

nav a.active{

    background:var(--white);

    color:var(--primary);

    padding:8px 18px;

    border-radius:6px;

    font-weight:bold;

}

/* ==========================
   HERO
========================== */

.hero{
    height:500px;

    background-image:
        linear-gradient(rgba(8,46,73,.55),
                        rgba(8,46,73,.60)),
        url("../images/hero-capri.jpg");

    background-size: contain;
    background-repeat: no-repeat;
    background-position:center;

    background-color:white;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-overlay{

    color:white;

    max-width:900px;

    padding:30px;

}

.hero h1{

    font-size:66px;

    margin-bottom:15px;

    text-shadow:2px 2px 8px black;

}

.hero h2{

    font-size:34px;

    font-weight:300;

    margin-bottom:40px;

    text-shadow:2px 2px 8px black;

}


/* ==========================
   STANDARD SEITENKOPF
========================== */

.page-header{

    max-width:1100px;

    margin:60px auto 50px;

    padding:0 20px;

    text-align:center;

}

.page-header h2{

    font-size:42px;

    color:var(--primary);

    margin-bottom:20px;

}

.page-header p{

    max-width:850px;

    margin:0 auto 15px;

    font-size:18px;

    line-height:1.7;

    color:#555;

}

.page-section{

    max-width:1100px;

    margin:0 auto 60px;

    padding:0 20px;

}

/* ==========================
   BUTTON
========================== */

.button{

    background:linear-gradient(
        to bottom,
        var(--primary-light),
        var(--primary)
    );

}

.button:hover{

    background:var(--primary-light);

    transform:translateY(-3px);

}

/* ==========================
   CONTAINER
========================== */

.container{

    width:1100px;
    max-width:95%;
    margin:auto;

}

/* ==========================
   WILLKOMMEN
========================== */

.welcome{

    padding:90px 0;

    background:var(--white);

}

.welcome h2{

    text-align:center;

    color:var(--primary);

    font-size:42px;

    margin-bottom:35px;

}

.welcome p{

    margin-bottom:22px;

    font-size:19px;

}

/* ==========================
   INFO KARTEN
========================== */
/* ==========================
   INFO KARTEN
========================== */

.cards{

    max-width:1200px;
    margin:60px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px,1fr));
    gap:30px;

}

.card-link{

    display:block;
    color:inherit;
    text-decoration:none;

}

.card{

    background:#fff;

    border-top:6px solid var(--primary);

    border-radius:14px;

    padding:25px;

    box-shadow:0 8px 22px rgba(0,0,0,.12);

    transition:.3s;

    display:flex;
    flex-direction:column;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(0,0,0,.18);

    border-top-color:var(--primary-light);

}

/* Standardbild für Bildkarten */

.card img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:cover;

    border-radius:10px;

    margin-bottom:20px;

}

.card h3{

    font-size:24px;

    line-height:1.25;

    margin-bottom:18px;

}

.card h4{

    font-size:18px;

    font-weight:600;

    color:#333;

    margin-bottom:12px;

}

.card p{

    color:#555;

    line-height:1.7;

    margin-bottom:15px;

}

.card ul{

    margin:20px 0;

    padding-left:40px;

}

.card li{

    margin-bottom:10px;

    line-height:1.6;

}

.icon{

    font-size:44px;

    margin-bottom:20px;

}

.more{

    margin-top:auto;

    padding-top:20px;

    color:var(--primary);

    font-weight:bold;

    font-size:16px;

}


/* ==========================
   BILDKARTEN
========================== */

.card-image h3{

    min-height:72px;

}

.card-image p{

    min-height:90px;

}


/* ==========================
   BREITE KARTEN
========================== */

.card-wide{

    max-width:900px;

    margin:0 auto;

    padding:30px 40px;

}

.card-wide h3{

    text-align:center;

    margin-bottom:20px;

}

.card-wide p{

    max-width:700px;

    margin:0 auto 14px;

    line-height:1.7;

    text-align:center;

}

.card-wide .mail{

    margin:20px 0;

    font-size:22px;

    font-weight:bold;

}

.card-wide .mail a{

    color:var(--primary);

    text-decoration:none;

}

.card-wide .mail a:hover{

    text-decoration:underline;

}


/* ==========================
   WISSENSDATENBANK
========================== */

.knowledge-layout{

    display:flex;

    align-items:center;

    gap:35px;

}

.knowledge-image{

    position:relative;

    display:block;

    overflow:hidden;

    border-radius:10px;

    flex-shrink:0;

}

.knowledge-image img{

    width:240px;

    height:160px;

    object-fit:cover;

    display:block;

    border-radius:10px;

    border:1px solid #d9d9d9;

    box-shadow:0 4px 12px rgba(0,0,0,.15);

    transition:all .3s ease;

    cursor:zoom-in;

}

.knowledge-image:hover img{

    transform:scale(1.03);

    box-shadow:0 8px 22px rgba(0,0,0,.28);

}


.knowledge-content{

    flex:1;

}

.knowledge-content h3{

    text-align:left;

    margin:0 0 18px 0;

}

.knowledge-content p{

    text-align:left;

    margin:0;

    max-width:none;

    line-height:1.7;

}


/* ==========================
   RESPONSIVE
========================== */

@media (max-width:768px){

    .knowledge-layout{

        flex-direction:column;

        align-items:center;

    }

    .knowledge-layout img{

        width:100%;

        max-width:360px;

        height:auto;

    }

    .knowledge-content h3{

        text-align:center;

    }

    .knowledge-content p{

        text-align:left;

    }

}

/* ==========================
   FOOTER
========================== */

footer{

    background:var(--primary);

    color:#fff;

    margin-top:80px;

    padding:15px 20px;

}

.footer-content{

    max-width:1100px;

    margin:0 auto;

    text-align:center;

}

.footer-content h3{

    margin-bottom:12px;

    font-size:16px;

    font-weight:600;

}

.footer-nav{

    margin-bottom:10px;

}

.footer-nav a{

    color:var(--white);

    text-decoration:none;

    margin:0 8px;

    font-size:15px;

}

.footer-nav a:hover{

    text-decoration:underline;

}

.footer-bottom{

    margin-top:10px;

    font-size:13px;

    color:#d9e2ea;

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:1000px){

header{

    flex-direction:column;

    gap:20px;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

}

.hero{

    height:500px;

}

.hero h1{

    font-size:42px;

}

.hero h2{

    font-size:24px;

}

}

@media(max-width:700px){

.logo img{

    width:180px;

}

nav ul{

    gap:12px;

}

nav a{

    font-size:15px;

}

.hero{

    height:420px;

}

.hero h1{

    font-size:32px;

}

.hero h2{

    font-size:20px;

}

.button{

    font-size:18px;

    padding:14px 26px;

}

.welcome h2{

    font-size:34px;

}

.welcome p{

    font-size:17px;

}

}
/* ==========================================================
   DOKUMENTENTABELLE
========================================================== */

.table-container{

    width:1100px;
    max-width:95%;

    margin:0 auto 80px auto;

}
#dokumente-tabelle{

    width:100%;

    border-collapse:collapse;

    background:white;

    box-shadow:0 6px 18px rgba(0,0,0,.10);

    border-radius:10px;

    overflow:hidden;

}
#dokumente-tabelle thead{

    background:var(--primary);

    color:white;

}

#dokumente-tabelle th{

    padding:16px;

    text-align:left;

    font-size:17px;

}
#dokumente-tabelle td{

    padding:14px 16px;

    border-bottom:1px solid #e6e6e6;

    vertical-align:top;

}

#dokumente-tabelle tbody tr:nth-child(even){

    background:#f8fafc;

}

#dokumente-tabelle tbody tr:hover{

    background:#eef6fc;

}
#dokumente-tabelle th:nth-child(1),
#dokumente-tabelle td:nth-child(1){

    width:22%;

}

#dokumente-tabelle th:nth-child(2),
#dokumente-tabelle td:nth-child(2){

    width:15%;

}

#dokumente-tabelle th:nth-child(3),
#dokumente-tabelle td:nth-child(3){

    width:48%;

}

#dokumente-tabelle th:nth-child(4),
#dokumente-tabelle td:nth-child(4){

    width:15%;

    text-align:center;

}

#dokumente-tabelle a{

    color:var(--primary);

    text-decoration:none;

    font-weight:bold;

}

#dokumente-tabelle a:hover{

    color:var(--primary-light);

}

/* ==========================================================
   Presseberichte – Thumbnail Hover
========================================================== */

#dokumente-tabelle .thumbnail {
    transition: transform 0.2s ease;
}

#dokumente-tabelle .thumbnail:hover {
    transform: scale(1.05);
}


/* ==========================
   KONTAKT
========================== */

.mail{

    text-align:center;

    font-size:24px;

    font-weight:bold;

    margin:20px 0;

}

.mail a{

    color:var(--primary);

    text-decoration:none;

}

.mail a:hover{

    text-decoration:underline;

}

/* ==========================================================
   Wissensdatenbank – Seitenhintergrund
========================================================== */

body.knowledge-page {
    background: var(--background);
}

body.knowledge-page .knowledge-content h3 {
    color: var(--headline);
}

