﻿/* =========================================================
   Grundeinstellungen
   ========================================================= */

:root {
    --text: #222;
    --text-muted: #666;
    --line: #d0d0d0;
    --line-strong: #999;
    --background: #fff;
    --content-width: 820px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 1rem;
    line-height: 1.65;
}


/* =========================================================
   Hauptbereich
   ========================================================= */

main {
    width: min(var(--content-width), calc(100% - 2rem));
    margin: 0 auto;
}


/* =========================================================
   Header
   ========================================================= */

header {
    padding: 2.5rem 0 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}

.header-title {
    margin: 0 0 0.8rem;

    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.header-summary {
    max-width: 700px;

    margin: 0;

    color: var(--text-muted);

    font-size: 1.2rem;
    line-height: 1.55;
}


/* =========================================================
   Abschnitte
   ========================================================= */

section {
    margin: 0 0 4rem;
}

section:first-of-type {
    margin-top: 0;
}


/* =========================================================
   Überschriften
   ========================================================= */

h1,
h2,
h3 {
    color: var(--text);
    font-weight: 700;
}

h1 {
    margin: 0 0 1.4rem;
    padding-top: 0;

    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

h2 {
    margin: 2.8rem 0 1rem;

    font-size: 1.35rem;
    line-height: 1.35;
}

h3 {
    margin: 2rem 0 0.75rem;

    font-size: 1.1rem;
    line-height: 1.4;
}


/* =========================================================
   Fließtext
   ========================================================= */

p {
    margin: 0 0 1.25rem;
}

section > p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Listen
   ========================================================= */

ul,
ol {
    margin: 1rem 0 1.5rem;
    padding-left: 1.6rem;
}

li {
    margin-bottom: 0.35rem;
}


/* =========================================================
   Links
   ========================================================= */

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover {
    color: #000;
}


/* =========================================================
   Zitate
   ========================================================= */

blockquote {
    margin: 2rem 0;
    padding: 0.2rem 0 0.2rem 1.4rem;

    border-left: 3px solid var(--line-strong);

    color: #444;

    font-size: 1.05rem;
    line-height: 1.6;
}

blockquote p {
    margin: 0;
}

blockquote cite {
    display: block;

    margin-top: 0.75rem;

    color: var(--text-muted);

    font-size: 0.9rem;
    font-style: normal;
}


/* =========================================================
   Tabellen
   ========================================================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th,
td {
    padding: 0.65rem 0.75rem;

    border-bottom: 1px solid var(--line);

    text-align: left;
    vertical-align: top;
}

th {
    font-weight: 600;
}


/* =========================================================
   Technische Angaben / kleinere Informationen
   ========================================================= */

small {
    color: var(--text-muted);
}


/* =========================================================
   Footer
   ========================================================= */

footer {
    margin-top: 6rem;
    padding: 2rem 0 3rem;

    border-top: 1px solid var(--line-strong);

    color: var(--text-muted);

    font-size: 0.85rem;
    line-height: 1.5;
}

footer p {
    margin-bottom: 0.5rem;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 600px) {

    main {
        width: min(100% - 1.5rem, var(--content-width));
    }

    header {
        padding-top: 1.75rem;
        padding-bottom: 1.5rem;
        margin-bottom: 2rem;
    }

    .header-title {
        font-size: 1.65rem;
    }

    .header-summary {
        font-size: 1.08rem;
    }

    section {
        margin-bottom: 3rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
        margin-top: 2.3rem;
    }

    h3 {
        font-size: 1.05rem;
    }

    body {
        font-size: 1rem;
        line-height: 1.6;
    }

    blockquote {
        margin-left: 0;
        padding-left: 1rem;
    }
}