/**
 *  * Haupt-Stylesheet für Polarvogel
 *   * Merged: Layout + Lokale PT Sans Fonts
 *    */

/* --- 0. FONT DEFINITIONEN (LOKAL) --- */
/* Pfad: /fonts/ bezieht sich auf das Hauptverzeichnis deiner Domain/Installation */

/* Regular */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/pt-sans-v18-latin-regular.woff2') format('woff2');
}

/* Italic */
@font-face {
    font-family: 'PT Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/pt-sans-v18-latin-italic.woff2') format('woff2');
}

/* Bold */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/pt-sans-v18-latin-700.woff2') format('woff2');
}

/* Bold Italic */
@font-face {
    font-family: 'PT Sans';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/pt-sans-v18-latin-700italic.woff2') format('woff2');
}


/* --- 1. GRUNDLAGEN & VARIABLEN --- */
:root {
    --bg-body: #CCDCFF; /* Original Blau */
    --bg-slider: #f2f2f2; /* Slider Grau */
    --tab-inactive: #ddd;
    --text-main: #333;
    /* Nutzt nun die oben definierte lokale Schrift 'PT Sans' */
    --font-stack: 'PT Sans', sans-serif;
    --transition-speed: 0.4s;
}

body {
    background: var(--bg-body);
    font-family: var(--font-stack);
    margin: 0;
    padding: 0;
    color: var(--text-main);
    overflow-y: scroll; /* Verhindert Springen der Seite bei Höhenänderung */
}

/* --- 2. LAYOUT & CONTAINER --- */
.div_content {
    width: 90%;
    max-width: 750px;
    margin: 50px auto 0 auto;
}

h1 {
    text-shadow: 4px 4px 7px #999;
    margin: 0 auto 30px auto;
    text-align: center;
    font-weight: 700;
    font-size: 70px;
    line-height: 1.1;
}

h1 img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/* --- 3. LIQUID SLIDER --- */
.slider-nav {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.slider-tab {
    background: var(--tab-inactive);
    color: #333;
    border: none;
    padding: 10px 20px;
    margin-right: 5px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.slider-tab:hover {
    background: #e2e2e2;
}

.slider-tab.active {
    background: var(--bg-slider);
    color: #333;
    pointer-events: none; /* Deaktiviert Klick auf aktiven Tab */
}

.slider-viewport {
    background: var(--bg-slider);
    overflow: hidden;
    position: relative;
    transition: height var(--transition-speed) ease-out; /* Liquid Animation */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 0 4px 4px 4px;
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: flex-start;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    padding: 30px 40px;
    box-sizing: border-box;
    opacity: 0.4;
    transition: opacity var(--transition-speed);
}

.slide.active-slide {
    opacity: 1;
}

.slide h2.title {
    margin-top: 0;
    font-size: 2em;
    margin-bottom: 0.5em;
}

/* --- 4. FOOTER & LINKS --- */
a {
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px dotted #555;
}

a:hover {
    border-bottom-style: solid;
}

#copyright {
    margin-top: 20px;
    color: #555;
    text-align: center;
    font-size: 12px;
    padding-bottom: 20px;
}

/* --- 5. RESPONSIVE --- */
@media (max-width: 600px) {
    h1 { font-size: 40px; }
    .div_content { width: 95%; margin-top: 20px; }
    .slider-tab { padding: 8px 12px; font-size: 0.9rem; }
    .slide { padding: 20px; }
}
