@font-face {
    font-family: 'MinionVariable';
    src: url('MinionVariableConcept-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'MinionVariable', serif;
    margin: 40px;
    padding: 0;
}

h1 {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: left;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-bottom: 10px;
    padding-left: 50px;
}

main {
    margin: 0;
    padding-left: 120px;
    padding-right: 40px;
    max-width: 100%;
}

nav a {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 36px;
    color: black;
    text-decoration: none;
    display: inline-block;
    margin-left: 0;
}

nav a.active {
    text-decoration: underline;
}

nav a:hover {
    text-decoration: underline;
}

/* Desktop Unterseite */
.layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    column-gap: 240px;
    align-items: start;
}

main h2 {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    margin: 0 0 30px 0;
}

main p {
    font-family: 'MinionVariable', serif;
    font-size: 18px;
    line-height: 1.55;
}

/* Anleitung Liste */
.anleitung-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'MinionVariable', serif;
    font-size: 18px;
    line-height: 1.55;
}

.anleitung-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    letter-spacing: -0.25px;
}

.anleitung-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 0;
}

/* Iframe */
.doc-container {
    width: 100%;
    height: 85vh;
    border: none;
    margin-left: 0;
    grid-column: 2 / 3;
    display: block;
}

/* Bild + Text Startseite */
.start-container {
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 320px;
    text-align: left;
}

.projekt-info {
    font-family: 'MinionVariable', serif;
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 12px;
}

.title-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

h1 a {
    color: black;
    text-decoration: none;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
}

h1 a:hover {
    text-decoration: none;
}

/* ------------------------------------------- */
/* MOBILE VERSION                              */
/* ------------------------------------------- */
@media (max-width: 768px) {

    body {
        margin: 20px;
    }

    h1 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    nav ul li {
        padding-left: 0;
        margin-bottom: 6px;
    }

    /* MOBILE NAVIGATION */
    nav a {
        font-size: 20px;   /* <<< NAV auf Mobile */
    }

    .layout {
        display: block;
    }

    main {
        padding-left: 0;
        padding-right: 0;
        margin-top: 20px;
    }

    .doc-container {
        width: 100%;
        height: 70vh;
    }

      /* Container wieder fix nach unten rechts setzen */
    .start-container {
        position: absolute;
        right: 20px;
        bottom: 20px;
        width: 200px;       /* <<< Bild + Text-Breite */
        text-align: left;
    }

    /* Bild kleiner skalieren */
    .title-image {
        width: 200px;       /* <<< gewünschte Bild-Breite */
        height: auto;
        object-fit: contain;
        display: block;
        margin-top: 10px;   /* etwas Abstand unter dem Text */
    }

    .projekt-info {
        font-size: 11px;
        margin-bottom: 10px;
    }

    /* MOBILE HEADLINE 2 */
    h2,
    main h2 {               /* wichtig für Spezifität */
        font-size: 20px;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    /* MOBILE TEXT */
    main p {
        font-size: 14px;
        line-height: 1.45;
    }

    .anleitung-list li {
        font-size: 14px;
        line-height: 1.45;
        padding-left: 16px;
    }
}



/* Glossar: Hinweis standardmäßig verstecken */
.mobile-doc-hinweis {
    display: none;
    font-family: 'MinionVariable', serif; /* gleiche Schrift wie p */
    font-style: italic;                  /* kursiv */
    font-size: 16px;
    margin-bottom: 15px;
    color: black;
    line-height: 1.45;
}

.mobile-doc-hinweis a {
    color: black;
    text-decoration: underline;
}

/* Auf Handys anzeigen */
@media (max-width: 700px) {
    .mobile-doc-hinweis {
        display: block;
    }
}
