/* ===================================
   SPD Branding & CSS Variables
   =================================== */

:root {
    --spd-red: #022034;
    --spd-white: #FFFFFF;
    --spd-black: #000000;
    --spd-gray-light: #F5F5F5;
    --spd-gray-medium: #CCCCCC;
    --spd-gray-dark: #333333;
    --spd-red-dark: #022034;

    --font-primary: 'SPD TheSans', Arial, sans-serif;

    --transition-smooth: all 0.3s ease;
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Font Face - SPD TheSans
   =================================== */

@font-face {
    font-family: 'SPD TheSans';
    src: url('SPD_TheSans_TT5_.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SPD TheSans';
    src: url('SPD_TheSans_TT8_.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===================================
   Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #E3000F;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--spd-gray-dark);
    background-color: var(--spd-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--spd-red);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--spd-red-dark);
}

/* ===================================
   Container & Layout
   =================================== */

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

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--spd-white);
}

.section-dark {
    background-color: var(--spd-gray-light);
}

.section-red {
    background-color: var(--spd-red);
    color: var(--spd-white);
}

/* ===================================
   Header & Navigation
   =================================== */

#header {
    background-color: var(--spd-red);
    color: var(--spd-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Countdown Styles */
.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.countdown-label {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

.countdown {
    display: flex;
    gap: 15px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.countdown-item span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-unit {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--spd-white);
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation */
.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--spd-white);
    font-weight: 600;
    padding: 5px 10px;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: var(--spd-white);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background: url(portrait.webp) center left no-repeat;
    background-size: cover !important;
    color: var(--spd-white);
    padding: 60px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 25px;
}

.hero-hashtag {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.hero-date {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.date-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.date-value {
    font-size: 2rem;
    font-weight: 700;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--spd-white);
    color: var(--spd-red);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--spd-gray-light);
}

/* ===================================
   Section Headings
   =================================== */

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--spd-red);
    margin-bottom: 40px;
    text-align: center;
}

.section-red h2 {
    color: var(--spd-white);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ===================================
   Über Mich Section
   =================================== */

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 20px;
}

.highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--spd-red);
    padding: 20px;
    background-color: var(--spd-gray-light);
    border-left: 5px solid var(--spd-red);
    border-radius: 5px;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 40px;
    background-color: var(--spd-red);
    color: var(--spd-white);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    text-decoration: none;
    min-width: 200px;
}

.download-btn:hover {
    background-color: var(--spd-red-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--spd-white);
}

.download-btn i {
    font-size: 2.5rem;
}

.download-btn span {
    font-size: 1.1rem;
    font-weight: 700;
}

.download-btn small {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ===================================
   Zur Person Section
   =================================== */

.person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.person-item {
    text-align: center;
    padding: 30px;
    background-color: var(--spd-white);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.person-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.person-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background-color: var(--spd-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-icon i {
    color: var(--spd-white);
    font-size: 2.5rem;
}

.person-item h3 {
    font-size: 1.3rem;
    color: var(--spd-red);
    margin-bottom: 10px;
}

.person-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Hobbies */
.hobbies {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 30px;
    background-color: var(--spd-white);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.hobbies h3 {
    font-size: 1.5rem;
    color: var(--spd-red);
    margin-bottom: 20px;
    text-align: center;
}

.hobbies-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.hobbies-list li {
    background-color: var(--spd-gray-light);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hobbies-list li i {
    color: var(--spd-red);
    font-size: 1.1rem;
}

/* ===================================
   Beruf Section - Timeline
   =================================== */

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--spd-red);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--spd-red);
    border: 3px solid var(--spd-white);
    box-shadow: 0 0 0 3px var(--spd-red);
}

.timeline-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--spd-red);
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 1.05rem;
    color: var(--spd-gray-dark);
}

/* ===================================
   Ehrenamt Section
   =================================== */

.ehrenamt-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.ehrenamt-column h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.ehrenamt-column ul {
    list-style: none;
}

.ehrenamt-column li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.ehrenamt-column li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

.current-positions li {
    margin-bottom: 15px;
}

.position-detail {
    display: block;
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 3px;
}

/* ===================================
   Kontakt Section
   =================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background-color: var(--spd-gray-light);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background-color: var(--spd-red);
    color: var(--spd-white);
    transform: translateY(-5px);
}

.contact-item:hover h3 {
    color: var(--spd-white);
}

.contact-item:hover a {
    color: var(--spd-white);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background-color: var(--spd-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.contact-icon i {
    color: var(--spd-white);
    font-size: 2rem;
}

.contact-item:hover .contact-icon {
    background-color: var(--spd-white);
}

.contact-item:hover .contact-icon i {
    color: var(--spd-red);
}

.contact-item h3 {
    font-size: 1.3rem;
    color: var(--spd-red);
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.05rem;
}

.contact-item a {
    color: var(--spd-gray-dark);
    font-weight: 600;
}

/* Social Media */
.social-media {
    text-align: center;
    margin-bottom: 60px;
}

.social-media h3 {
    font-size: 1.8rem;
    color: var(--spd-red);
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background-color: var(--spd-gray-light);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    color: var(--spd-gray-dark);
}

.social-link svg {
    width: 28px;
    height: 28px;
}

.social-link.facebook:hover {
    background-color: #1877F2;
    color: var(--spd-white);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--spd-white);
}

/* Spendenkonto */
.spendenkonto {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, var(--spd-red) 0%, var(--spd-red-dark) 100%);
    color: var(--spd-white);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.spendenkonto h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.spenden-info p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.spenden-info code {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 5px;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--spd-gray-dark);
    color: var(--spd-white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    opacity: 0.9;
}

.footer-text p {
    margin: 5px 0;
    opacity: 0.8;
}

.footer-slogan {
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 1 !important;
}

/* Impressum */
.impressum {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.impressum h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--spd-white);
}

.impressum p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.85;
}

.impressum strong {
    opacity: 1;
}

/* ===================================
   Responsive Design - Tablet
   =================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 20px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h2 {
        font-size: 1.7rem;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 2.2rem;
    }
}

/* ===================================
   Responsive Design - Mobile
   =================================== */

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .countdown-container {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .nav {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        padding-top: 15px;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero {
        min-height: auto;
        padding: 280px 0 20px 0;
		background: url(portrait.webp) center center no-repeat;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text h2 {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-hashtag {
        font-size: 1.1rem;
    }

    .date-value {
        font-size: 1.6rem;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .person-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .ehrenamt-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .social-icons {
        flex-direction: column;
        gap: 15px;
    }

    .social-link {
        justify-content: center;
    }

    .spendenkonto {
        padding: 25px;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        min-width: 40px;
    }

    .countdown-item span:first-child {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text h2 {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .highlight {
        font-size: 1.1rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .download-btn {
        width: 100%;
    }
}
