/* =========================================================
   INI PHYSIK - Modernes Webdesign
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---------------------------------------------------------
   Grundlayout
   --------------------------------------------------------- */

:root {
    --background: #ffffff;
    --surface: #fff7fb;

    --text: #292338;
    --text-light: #756d7f;

    --primary: #d96b9b;
    --primary-dark: #b94d7c;
    --primary-light: #fff0f6;

    --border: #f0dce6;

    --shadow-sm: 0 2px 8px rgba(80, 40, 70, 0.06);

    --radius: 14px;
    --max-width: 1100px;
}

/* ---------------------------------------------------------
   Body
   --------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--background);
    color: var(--text);

    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   Links
   --------------------------------------------------------- */

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 247, 251, 0.92);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);

    box-shadow: 0 1px 8px rgba(80, 40, 70, 0.05);
}

nav ul {
    max-width: var(--max-width);
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 12px 24px;

    list-style: none;
}

nav li {
    margin: 0;
}

nav li:first-child {
    margin-right: auto;
}

nav strong {
    color: var(--text);

    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

nav a {
    display: block;

    padding: 8px 12px;

    color: var(--text-light);
    border-radius: 8px;

    font-size: 0.95rem;
    font-weight: 500;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

nav a:hover {
    color: var(--primary-dark);
    background: #ffe5f0;
}

nav .brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav .brand img {
    width: 100px;
    height: 100px;

    object-fit: contain;

    border-radius: 9px;
}

nav .brand strong {
    font-size: 1.05rem;
}

/* ---------------------------------------------------------
   Hauptbereich
   --------------------------------------------------------- */

main.container-fluid {
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 60px 24px;
}

/* ---------------------------------------------------------
   Überschriften
   --------------------------------------------------------- */

h1 {
    margin-top: 0;
    margin-bottom: 32px;

    color: var(--text);

    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 700;
}

h2 {
    margin-top: 0px;
    margin-bottom: 18px;

    font-size: 1.6rem;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.2rem;
    margin-top: 0px;
}

/* ---------------------------------------------------------
   Text
   --------------------------------------------------------- */

p {
    margin-top: 0;
    margin-bottom: 20px;
}

article {
    background: var(--surface);

    padding: 34px 38px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

article p {
    max-width: 850px;
}

article ul {
    padding-left: 22px;
}

article li {
    margin-bottom: 8px;
}

/* ---------------------------------------------------------
   Hervorgehobene Infobox
   --------------------------------------------------------- */

.notice {
    margin: 32px 0;
    padding: 22px 26px;

    background: var(--primary-light);

    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--primary);

    border-radius: 10px;
}

.notice a {
    font-weight: 600;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.button {
    display: inline-block;

    padding: 10px 18px;

    background: var(--primary);
    color: white;

    border-radius: 9px;

    border: none;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    color: white;
    background: var(--primary-dark);

    transform: translateY(-1px);

    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.25);
}

/* ---------------------------------------------------------
   Horizontale Linie
   --------------------------------------------------------- */

hr {
    margin: 50px 0 30px;

    border: 0;
    border-top: 1px solid var(--border);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

footer {
    max-width: var(--max-width);
    margin: 0 auto;

    padding: 0 24px 50px;

    color: var(--text-light);
}

footer strong {
    color: var(--text);
}

footer p {
    line-height: 1.8;
}

/* ---------------------------------------------------------
   Listen
   --------------------------------------------------------- */

li::marker {
    color: var(--primary);
}

/* ---------------------------------------------------------
   Responsive Design
   --------------------------------------------------------- */

@media (max-width: 800px) {

    nav ul {
        padding: 10px 16px;

        flex-wrap: wrap;
        justify-content: center;
    }

    nav li:first-child {
        width: 100%;
        margin-right: 0;
        margin-bottom: 4px;
        text-align: center;
    }

    nav a {
        padding: 7px 9px;
        font-size: 0.9rem;
    }

    main.container-fluid {
        padding: 40px 16px;
    }

    article {
        padding: 24px 22px;
    }

    footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 500px) {

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    nav ul {
        gap: 2px;
    }

    nav a {
        font-size: 0.84rem;
        padding: 6px 7px;
    }

    article {
        padding: 20px 18px;
        border-radius: 10px;
    }
}

/* =========================================================
   EIGENE
   ========================================================= */

.table-outline{
    border: 1px solid var(--text-light);
    border-radius: 4px;
    background-color: var(--background);
    font-family: monospace;
}

.radio-group{
    display: flex;
    flex-direction: column;
    
}

td{
   padding-bottom: 0.5em; 
}