/* === LOKALE SCHRIFTEN DEFINITION === */
/* playfair-display-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/playfair-display-v39-latin-regular.woff2') format('woff2');
}
/* playfair-display-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/playfair-display-v39-latin-700.woff2') format('woff2');
}
/* inter-regular - latin */
 @font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v19-latin-regular.woff2') format('woff2');
}
 /* inter-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/inter-v19-latin-600.woff2') format('woff2');
}

/* === GRUNDEINSTELLUNGEN & FARBPALETTE === */
:root {
    /* === BolderBold Farbpalette (Light-Only) === */
    --background-color: #9dcbd9;    /* Clarity Blue */
    --text-color: #212121;           /* Commitment Black */
    --secondary-text-color: #4A6C77; /* Dunkleres Blau für Kontrast */
    --link-color: #1a4a5a;           /* Sehr dunkles, sattes Blau für Links */
    --link-hover-color: #212121;     /* Commitment Black für Hover */
    --border-color: #87B9C9;         /* Action Blue als subtile Trennlinie */
    --button-bg-color: #212121;      /* Button in Commitment Black */
    --button-text-color: #FFFFFF;    /* Text in Focus White */
    --button-bg-hover: #4A6C77;      /* Hover in dunklerem Blau */
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    font-size: 1.125rem; /* 18px */
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* === LAYOUT & WEISSRAUM === */
.content-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 8vh 20px;
}

h1, h2, h3, p, ul {
    margin: 0;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

h3 {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-hover-color);
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

li {
    padding-left: 1.2em;
    text-indent: -1.2em;
    margin-bottom: 0.75rem;
}

li::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 0.55em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0.5 6h7M6 2l4 4-4 4' stroke='%234A6C77' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 4rem 0;
}

/* === MANIFEST BILD === */
.manifest-image-container {
    margin: 4rem auto;
    text-align: center;
}

.manifest-image-container img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.signature {
    margin-top: 4rem;
}

.signature a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.signature a:hover {
    border-bottom-color: var(--text-color);
}

/* === NEWSLETTER FORMULAR (für index.html) === */
.newsletter-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--secondary-text-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    background-color: transparent;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--secondary-text-color);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--text-color);
    outline: none;
}

.newsletter-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.newsletter-form button:hover {
    background-color: var(--button-bg-hover);
    transform: translateY(-2px);
}

.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.error-message {
    color: #c0392b;
    font-size: 0.9rem;
    text-align: left;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.error-message.visible {
    max-height: 2em;
    opacity: 1;
    margin-bottom: 1rem;
}

.privacy-note {
    font-size: 0.8rem;
    color: var(--secondary-text-color);
    text-align: center;
    margin-top: 1rem;
}

/* === FOOTER === */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem; /* 14.4px */
    color: var(--secondary-text-color);
}

.footer-container {
     max-width: 720px;
     margin: 0 auto;
     padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.footer-logo svg {
    height: 22px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    vertical-align: middle;
}

.footer-logo svg:hover {
    opacity: 1;
}

.footer-logo a {
    text-decoration: none;
    display: block;
}

.footer-links {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-footer p {
     margin: 0;
}

.site-footer a {
    color: var(--secondary-text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--text-color);
}

.back-link {
    font-size: 0.95rem;
    margin-bottom: 3rem;
    margin-top: -1.5rem;
}

.back-link a {
    color: var(--secondary-text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.back-link a:hover {
    color: var(--text-color);
    border-bottom-color: var(--text-color);
}

/* === RESPONSIVE ANPASSUNGEN === */
@media (max-width: 768px) {
    body {
        font-size: 1rem; /* 16px */
    }
    h1 {
        font-size: 2.5rem;
    }
    
    li::before {
        margin-right: 0.45em;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-logo svg {
        height: 20px;
    }
}

