/* ==========================================================
   CHEFBUCH.DE
   INKOBA24 Design System
   Version 2.2
========================================================== */

:root{
    --inkoba-blue:#0600A8;
    --inkoba-pink:#FF2BBF;

    --text:#222222;
    --text-light:#666666;

    --background:#ffffff;
    --background-soft:#f5f7fc;

    --border:#e0e0e0;

    --max-width-site:1200px;
    --max-width-content:1000px;
    --max-width-text:760px;
}

/* ==========================================================
   RESET
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    font-size:18px;
    line-height:1.8;
    background:var(--background);
    color:var(--text);
}

/* ==========================================================
   TYPOGRAFIE
========================================================== */

h1,h2,h3,h4{
    line-height:1.25;
    margin-bottom:20px;
}

p{
    margin-bottom:24px;
}

strong{
    font-weight:700;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

/* ==========================================================
   LINKS
========================================================== */

a{
    text-decoration:none;
}

/* ==========================================================
   HEADER
========================================================== */

.site-header{
    background:var(--inkoba-blue);
    width:100%;
}

.header-inner{
    max-width:var(--max-width-site);
    margin:auto;
    padding:20px 24px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:white;
    font-size:1.6rem;
    font-weight:700;
}

/* ==========================================================
   NAVIGATION
========================================================== */

.top-nav{
    display:flex;
    gap:24px;
    flex-wrap:wrap;
}

.top-nav a{
    color:rgba(255,255,255,.9);
    padding:6px 0;
    min-height:44px;

    display:flex;
    align-items:center;
}

.top-nav a:hover{
    color:white;
}

.top-nav a.active{
    color:white;
    font-weight:700;
    border-bottom:2px solid var(--inkoba-pink);
}

/* ==========================================================
   HERO
========================================================== */

.hero{
    background:var(--background-soft);
    text-align:center;
    padding:110px 30px;
}

.hero h1{
    color:var(--inkoba-blue);
    font-size:clamp(2.5rem,6vw,4.2rem);
}

.hero h2{
    max-width:800px;
    margin:auto;

    font-size:clamp(1.15rem,2.5vw,1.6rem);

    font-weight:400;
    line-height:1.7;
}

/* ==========================================================
   CONTAINER
========================================================== */

.container{
    max-width:var(--max-width-content);
    margin:auto;
    padding:90px 30px;
}

/* ==========================================================
   INTRO
========================================================== */

.intro{
    max-width:var(--max-width-text);
    margin:0 auto 90px auto;
    text-align:center;
}

.intro p{
    font-size:1.2rem;
}

/* ==========================================================
   PERSPEKTIVEN
========================================================== */

.perspective{
    margin-bottom:120px;
}

.perspective-number{
    color:var(--inkoba-pink);
    font-size:0.9rem;
    letter-spacing:4px;
    font-weight:700;
    margin-bottom:10px;
}

.perspective-title{
    color:var(--inkoba-blue);
    font-size:2.1rem;
}

.leitsatz{
    font-size:1.35rem;
    font-weight:700;
    margin-bottom:24px;
}

.perspective-text{
    max-width:var(--max-width-text);
    font-size:1.1rem;
}

/* ==========================================================
   SCHAUBILDER
========================================================== */

.figure{
    display:block;
    width:auto;
    max-width:800px;
    margin:40px auto;
    border:1px solid var(--border);
}

.figure-caption{
    text-align:center;
    margin-top:12px;
    margin-bottom:24px;
    color:var(--text-light);
    font-size:0.95rem;
}

/* ==========================================================
   LEITIDEE
========================================================== */

.leitidee{
    max-width:var(--max-width-text);
    margin:0 auto;

    text-align:center;

    border-top:1px solid var(--border);

    padding-top:80px;
}

.leitidee h2{
    color:var(--inkoba-blue);
}

.leitidee p{
    color:var(--inkoba-blue);
    font-size:2rem;
    font-weight:700;
    line-height:1.7;
}

/* ==========================================================
   WEITERFUEHRUNG
========================================================== */

.next-page{
    margin-top:100px;
    padding-top:30px;

    border-top:1px solid var(--border);

    text-align:right;
}

.next-page a{
    color:var(--inkoba-blue);
    font-weight:700;
}

.next-page a:hover{
    color:var(--inkoba-pink);
}

/* ==========================================================
   FORMULAR
========================================================== */

.contact-form{
    max-width:760px;
}

.form-group{
    margin-bottom:24px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    border:1px solid #cccccc;
    padding:14px;
    font-size:1rem;
}

.form-group textarea{
    min-height:180px;
}

.submit-button{
    background:var(--inkoba-blue);
    color:white;
    border:none;
    padding:14px 28px;
    cursor:pointer;
}

.submit-button:hover{
    background:#0900c8;
}

/* ==========================================================
   FOOTER
========================================================== */

.site-footer{
    background:var(--inkoba-blue);
    color:white;

    text-align:center;

    padding:80px 24px;

    display:flex;
    flex-direction:column;
    align-items:center;
}

.site-footer .claim{
    max-width:700px;
    text-align:center;
}

.site-footer .series{
    margin-top:30px;
    letter-spacing:3px;
    color:rgba(255,255,255,.7);
}

.site-footer p{
    margin-top:30px;
}

.site-footer a{
    color:white;
}

.site-footer a:hover{
    text-decoration:underline;
}

/* ==========================================================
   BARRIEREFREIHEIT
========================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
    outline:3px solid var(--inkoba-pink);
    outline-offset:3px;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width:900px){

    .header-inner{
        flex-direction:column;
        gap:20px;
        text-align:center;
    }

    .top-nav{
        justify-content:center;
    }

    .hero{
        padding:90px 25px;
    }

    .container{
        padding:70px 25px;
    }

    .perspective-title{
        font-size:1.8rem;
    }

}
/* ==========================
   SYSTEM-LANDKARTE
========================== */

.system-map {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    margin: 40px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.system-map pre {
    margin: 0;
    text-align: center;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 2;
    color: #222;
    white-space: pre-wrap;
}

.system-level {
    margin: 40px 0;
    text-align: center;
}

.system-node {
    display: inline-block;
    min-width: 220px;
    padding: 18px 24px;
    margin: 10px;
    border-radius: 12px;
    font-weight: 600;
}

.node-primary {
    background: #1200b5;
    color: #fff;
}

.node-secondary {
    background: #f0f3ff;
    color: #1200b5;
    border: 2px solid #1200b5;
}

.node-tertiary {
    background: #fafafa;
    color: #333;
    border: 1px solid #ddd;
}

.system-arrow {
    text-align: center;
    font-size: 2rem;
    color: #1200b5;
    margin: 5px 0;
}

.system-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

@media (max-width: 768px) {

    .system-node {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 10px auto;
    }

    .system-row {
        display: block;
    }

}

/* ==========================================================
   SMARTPHONE
========================================================== */

@media (max-width:600px){

    body{
        font-size:17px;
    }

    .logo{
        font-size:1.3rem;
    }

    .top-nav{
        flex-direction:column;
        align-items:center;
        gap:6px;
    }

    .hero{
        padding:60px 20px;
    }

    .hero h1{
        font-size:2.3rem;
    }

    .hero h2{
        font-size:1.15rem;
    }

    .container{
        padding:50px 20px;
    }

    .perspective{
        margin-bottom:80px;
    }

    .perspective-title{
        font-size:1.6rem;
    }

    .leitsatz{
        font-size:1.15rem;
    }

    .leitidee p{
        font-size:1.3rem;
    }

    .next-page{
        text-align:center;
    }

    .figure{
        max-width:100%;
        margin:25px auto;
    }

    .site-footer{
        padding:60px 20px;
    }
}

/* ==========================================================
   DRUCKVERSION
========================================================== */

@media print{

    .site-header,
    .site-footer{
        display:none;
    }

    body{
        background:white;
        color:black;
    }
}.trilogie-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.trilogie-item {
    flex: 1 1 300px;
    min-width: 280px;
    padding: 25px;
    border: 1px solid #d8dde5;
    border-radius: 12px;
    background: #fafbfd;
    text-align: left;
}

.trilogie-item h3 {
    margin-top: 0;
    color: #0c3c78;
}

.trilogie-item p {
    line-height: 1.7;
}

.trilogie-item a {
    font-weight: 600;
    text-decoration: none;
}