/* outfit-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100;
    src: url('/src/fonts/outfit-v15-latin/outfit-v15-latin-100.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 200;
    src: url('/src/fonts/outfit-v15-latin/outfit-v15-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    src: url('/src/fonts/outfit-v15-latin/outfit-v15-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    src: url('/src/fonts/outfit-v15-latin/outfit-v15-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    src: url('/src/fonts/outfit-v15-latin/outfit-v15-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    src: url('/src/fonts/outfit-v15-latin/outfit-v15-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    src: url('/src/fonts/outfit-v15-latin/outfit-v15-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    src: url('/src/fonts/outfit-v15-latin/outfit-v15-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-900 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 900;
    src: url('/src/fonts/outfit-v15-latin/outfit-v15-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {

  /* === Brand – Mähbarkeitsindex (MFI) === */

  --mfi-green-main: #2E7D32;      /* Hauptfarbe – gesundes Gras rgb(46 125 50) */
  --mfi-green-light: #66BB6A;     /* Helle Variante – frisches Wachstum 102, 187, 106*/
  --mfi-green-dark: #1B5E20;      /* Dunkle Variante – Stabilität 27, 94, 32 / Footer */

  /* === Neutrale Ergänzungen === */

  --mfi-white: #FFFFFF;           /* Hintergrund hell 255, 255, 255 */
  --mfi-gray-dark: #1F2937;       /* Text dunkel 31, 41, 55 */
  --mfi-gray-body: #222222;       /* Fließtext 34, 34, 34 */

}

/* Breadcrumb*/
section nav {
    color: #FFF;
}
section nav a:hover {
    text-decoration: underline;
}


main p a {
    font-weight: bold;
    color: var(--mfi-green-dark);
}

main p a:hover {
    text-decoration: underline;
}


ul {
    list-style: disc;
    padding-left:1em;
}


dl {
    border: 1px solid grey;
    padding: 10px;
    border-radius: 10px;
}
dt {
    font-weight: bold;
    margin-top: 10px;
}
dl dt:first-of-type {
    margin-top:0;
}


.code-block {
    background: #0f172a;
    color: #e5e7eb;
    padding: 18px;
    border-radius: 10px;
    overflow: auto;
    font-size: 13px;
    line-height: 1.6;
    margin: 20px 0;
}

.code-block code {
    font-family: Consolas, Monaco, monospace;
}


/* ALERTS - start */
.alert {
    --alert-bg: #f5f7fa;
    --alert-border: #d0d7de;
    --alert-color: #1f2933;

    display: block;
    padding: 16px 18px;
    margin: 16px 0;
    border-radius: 10px;
    border: 1px solid var(--alert-border);
    background: var(--alert-bg);
    color: var(--alert-color);
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.alert b {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

/* SUCCESS */
.alert-success {
    --alert-bg: #eafaf1;
    --alert-border: #a8e6c1;
    --alert-color: #0f5132;
}

/* INFO */
.alert-info {
    --alert-bg: #eef6ff;
    --alert-border: #b6d4ff;
    --alert-color: #084298;
}

/* WARNING */
.alert-warnung {
    --alert-bg: #fff8e6;
    --alert-border: #ffd27a;
    --alert-color: #7a4b00;
}

/* DANGER */
.alert-danger {
    --alert-bg: #fdeaea;
    --alert-border: #f5b5b5;
    --alert-color: #8a1c1c;
}

/* Optional: kleine Animation beim Laden */
.alert {
    animation: alertFade 0.25s ease-out;
}

@keyframes alertFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ALERTS - ende */

