/*
 * Datenschutzerklärung TI-Tools
 * Statische Seite unter /public/datenschutz.html
 *
 * Design-Tokens übernommen aus:
 *   - merge-tool  : merge-tool.component.scss  (:host, .merge-tool, .inner-container, .main-password-container)
 *   - response-generator : response-generator.component.scss
 *   - navigation  : header.component.scss, footer.component.scss, landing-page.component.scss
 */

/* Roboto - Static-Bestand des navigation-Services (wie in styles.css) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/roboto-v50-latin-regular.woff2') format('woff2');
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    /* Basiswert der Tools: 16px Roboto */
    font-family: Roboto, "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #222222;
    display: flex;
    flex-direction: column;
}

/* Header - wie header.component.scss der Tools */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 32px;
    background-color: #242D42;
    color: #F8F8F8;
    flex-shrink: 0;
}

.header-logo {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 12px;
}

.header .title {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

.header .text {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

/* Natürliche Größe des Favicons (28x28) - wie in den Tools, dort ohne eigene .image-Regel */
.header .image {
    height: 28px;
    width: 28px;
}

/* Flächen - wie main-page.component.scss / .main */
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    background-color: #F8F8F8;
    overflow-x: auto;
}

/* Anzeigebereich - identisch zum :host des merge-tool-Components */
.page {
    min-width: 640px;
    max-width: 1000px;
    width: 100%;
    padding: 40px 16px;
    height: max-content;
    box-sizing: border-box;
}

/* Karte - wie .merge-tool */
.card {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #dedede;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.05));
}

/* Innenabstand - wie .inner-container */
.inner-container {
    display: flex;
    flex-direction: column;
    padding: 40px;
    overflow-y: hidden;
}

/* Typografie */
h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.doc-stand {
    margin: 8px 0 40px 0;
    font-size: 14px;
    color: #808080;
}

h2 {
    margin: 40px 0 24px 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.inner-container > h2:first-of-type {
    margin-top: 0;
}

p {
    margin: 0 0 24px 0;
    line-height: 1.5;
}

p:last-child {
    margin-bottom: 0;
}

ul {
    margin: 0 0 24px 0;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    line-height: 1.5;
}

li:last-child {
    margin-bottom: 0;
}

a {
    color: #167ba8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Adresse/Herausgeber - wie .main-password-container des merge-tools */
.info-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #eeeeee;
    padding: 32px 24px;
    margin: 0 0 24px 0;
}

.info-block p {
    margin: 0;
}

.signature {
    margin-top: 40px;
    font-weight: 500;
}

/* Footer - wie footer.component.scss der Tools */
.footer {
    background-color: #F8F8F8;
    padding: 20px 0;
    text-align: center;
    flex-shrink: 0;
}

.footer-container {
    display: flex;
    justify-content: end;
    gap: 20px;
    padding-right: 2%;
}

.footer-container a {
    color: #808080;
    text-decoration: none;
    font-weight: bold;
}

.footer-container a:hover {
    color: #c0c0c0;
}

@media (max-width: 720px) {
    .header {
        padding: 0 16px;
    }

    .header .text {
        display: none;
    }

    .page {
        min-width: 0;
        padding: 24px 16px;
    }

    .inner-container {
        padding: 24px;
    }
}
