/*
:root {
    --primary-blue: #4d5f80;
    --secondary-blue: #405c66;
    --transparent-white: rgba(255, 255, 255, 1);
  }
*/
/* Grundlegendes Styling */
html {
    font-size: 16px;
    /* Basisgröße für rem, 1rem = 16px */
}

body {
    font-family: Arsenal, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    padding-top: 7rem;
    /* Die Höhe der Kopfzeile plus etwas Abstand */
    /*min-height: 100vh;*/
}

h1,
h2 {
    color: #4d5f80;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.25rem;
    color: #333;
    margin: 0.5rem 0;
}

header {
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 0.0625rem solid #ccc;
    /* 1px = 0.0625rem */
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    padding: 1rem 0;
    /* 20px = 1.25rem */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .logo img, img.print-only {
    /*max-width: 12.5rem; 200px = 12.5rem */
    margin-left: 1rem;
    aspect-ratio: 350/170;
    height: 3.5rem;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 0.9375rem;
    /* 15px = 0.9375rem */
}

header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.responsive-image {
    width: 30%;
}

main {
    max-width: 50rem;
    /* 800px = 50rem */
    margin: 1.25rem auto;
    /* 20px = 1.25rem */
    padding: 1.25rem;
    /* 20px = 1.25rem */
    background-color: #fff;
    border: 0.0625rem solid #ccc;
    /* 1px = 0.0625rem */
    border-radius: 0.3125rem;
    /* 5px = 0.3125rem */
}

main h1 {
    text-align: center;
}

main ul {
    list-style: none;
    padding: 0;
}

main ul li {
    margin-bottom: 1.25rem;
    /* 20px = 1.25rem */
    padding: 0.625rem;
    /* 10px = 0.625rem */
    border-bottom: 0.0625rem solid #ccc;
    /* 1px = 0.0625rem */
}

main ul li h2 {
    margin: 0;
    color: #333;
}

main ul li p {
    margin: 0.625rem 0;
    /* 10px = 0.625rem */
    color: #666;
}

main ul li a {
    text-decoration: none;
    color: #0056b3;
    font-weight: bold;
}

video {
    float: left;
    background-color: #4d5f80;
    margin-right: 1.25rem;
}

p.video {
    clear: both;
    display: flow-root;

}

footer {
    background-color: #4D5F80;
    color: #fff;
    text-align: center;
    padding: 1.25rem 0;
    /* 20px = 1.25rem */
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 1001;
}

footer p {
    margin: 0.3125rem 0;
    /* 5px = 0.3125rem */
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: #ccc;
}

button,
input[type="submit"] {
    background-color: #ccc;
    /* Hellgrau */
    color: #4D5F80;
    /* Graublaue Schriftfarbe */
    border: 1px solid #4D5F80;
    /* Graublaue Rahmenfarbe */
    padding: 0.625rem 1.25rem;
    /* Raum um den Text */
    cursor: pointer;
    /* Zeige an, dass es anklickbar ist */
    font-size: 1rem;
    /* Schriftgröße */
    border-radius: 0.3125rem;
    /* Runde Ecken */
}

/* Ändere den Stil, wenn der Mauszeiger über dem Button ist */
button:hover,
input[type="submit"]:hover {
    background-color: #dcdcdc;
    /* Helleres Grau */
    border-color: #405c66;
    /* Dunkleres Graublau */
    color: #405c66;
    /* Dunkleres Graublau */
}

/* Cookies */

#cookieConsentContainer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #4D5F80;
    color: #fff;
    padding: 1.25rem 0;
    /* 20px = 1.25rem */
    text-align: center;
    z-index: 1000;
}

#cookieConsentBanner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
}

#cookieConsentBanner p {
    margin: 0;
}

#cookieConsentBanner button {
    background-color: #ccc;
    color: #4D5F80;
    border: none;
    padding: 0.625rem 1.25rem;
    cursor: pointer;
}

#cookieConsentBanner button:hover {
    background-color: #dcdcdc;
}

#cookieConsentBanner a {
    color: #fff;
    text-decoration: underline;
}

#cookieConsentBanner a:hover {
    color: #ccc;
}

.instructions {
    background-color: #f2f2f2;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

.tabelle-zuzahlung,
.tabelle-heilmittel {
    width: 100%;
    border-collapse: collapse;
}

.tabelle-zuzahlung th {
    text-align: left;
}

.tabelle-zuzahlung td {
    text-align: right;
}

.tabelle-heilmittel tr td:nth-child(3) {
    text-align: right;
}

.tabelle-zuzahlung th,
.tabelle-zuzahlung td,
.tabelle-heilmittel th,
.tabelle-heilmittel td {
    border: 1px solid #333;
    padding: 0.5rem;
}

.print-only {
    display: none;
}

@media print {
    .instructions {
        display: block;
        font-size: 0.8rem;
        clear: both;
        /*page-break-inside: avoid;*/
        position: relative;
        top: 0;
        z-index: 1001;
        /* Über dem Header */
    }

    header {
        display: none;
        /* Header bei Druck ausblenden, wenn er nicht auf jeder Seite erscheinen soll */
    }

    body {
        padding-top: 0; 
    }

    /* Optional: Andere weniger wichtige Container ausblenden */
    .noprint {
        display: none;
    }
    .print-only{
        display: block; 
    }

}

/* Debug 
p, div, video {
    outline: #0056b3 dotted 1px;
}
*/