
/* CSS Variables für die Logo-Farben */
:root {
    --primary-color: #2c2c2c;      /* Dunkelgrau für Überschriften */
    --secondary-color: #4a4a4a;    /* Dunkelgrau für Akzente */
    --accent-color: #8B0000;       /* Weinrot als Akzentfarbe */
    --text-dark: #2c2c2c;          /* Sehr dunkelgrau für Text */
    --text-light: #5a5a5a;         /* Mittleres Grau für Text */
    --text-gray: #7a7a7a;          /* Hellgrau für sekundären Text */
    --white: #ffffff;
    --light-gray: #f5f5f5;         /* Etwas dunkleres Grau */
    --footer-gray: #e8e8e8;        /* Dunkleres Grau für Footer */
    --border-color: #e0e0e0;       /* Subtilerer Border */
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Alle Überschriften werden weinrot */
h1, h2, h3, h4, h5, h6 {
    color: #8B0000 !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Startseite ohne Navigation - ABSOLUT VERSTECKT */
body.startpage .navbar,
body.startpage .nav-menu-container,
body.startpage .nav-menu,
body.startpage .nav-link,
body.startpage nav,
body.startpage ul.nav-menu,
body.startpage li.nav-item,
body.startpage .nav-container,
body.startpage [class*="nav-"],
body.startpage [class*="navbar"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 20px 0 20px;
    gap: 0.5rem;
}

.nav-menu-container {
    background-color: var(--light-gray);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0.5rem 0 1rem 0;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 100;
}

.nav-logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-logo-img {
    height: 120px;
    width: auto;
}

/* Logo Container für Startseite */
.logo-container {
    text-align: center;
    margin-bottom: 3rem;
    z-index: 30;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.kontrapunkt-logo {
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    /* No background, padding, or box-shadow */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0.5rem 0;
    margin: 0;
    border-radius: 0;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 101;
    background-color: rgba(139, 0, 0, 0.08);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.nav-link {
    color: var(--text-light);
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none !important;
    outline: none !important;
}

.nav-link:hover {
    color: var(--accent-color);
}





/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex: 1;
}

/* Startseite Animationen */
.startpage .kontrapunkt-logo {
    animation: fadeInDown 1.2s ease-out;
}

.startpage .hero-buttons {
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.startpage .portrait-background {
    animation: fadeIn 1.5s ease-out 0.6s both;
}



/* Keyframe Animationen */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes slideIn {
    from {
        left: -100%;
    }
    to {
        left: 100%;
    }
}



/* Dezente Hover-Animationen für Startseite */
.startpage .kontrapunkt-logo:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.startpage .hero-buttons .btn {
    display: inline-block;
    width: auto;
    transition: all 0.3s ease;
}

.startpage .hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.15);
}



.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    justify-content: center;
    margin-bottom: 3rem;
    z-index: 50;
    position: static;
    margin-top: -0.5rem;
}

.hero-buttons .btn:nth-child(1) {
    transform: none;
}

.hero-buttons .btn:nth-child(2) {
    transform: none;
}

.hero-buttons .btn:nth-child(3) {
    transform: none;
}

.btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-stretch: condensed;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: fadeInUp 1.2s ease-out 0.7s both;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled::before {
    display: none;
}

/* Loading Animation für Submit Button */
.btn-primary.loading {
    position: relative;
    color: transparent;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    font-weight: 400;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.btn-tertiary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.btn-tertiary:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    text-align: center;
    position: relative;
}

.portrait {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: fadeIn 1.5s ease-out 0.8s both;
}

.hero-background {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    overflow: hidden;
    margin-top: 0.5rem;
    animation: fadeIn 1.5s ease-out 0.9s both;
}

.portrait-background {
    position: relative;
    max-width: 95%;
    height: auto;
    opacity: 1;
    border-radius: 20px;
    filter: none;
    animation: fadeIn 1.5s ease-out 1.0s both;
}

/* Sections */
.section {
    padding: 240px 0 120px;
    flex: 1;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInDown 1.2s ease-out 0.2s both;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Content Grid */
.content-grid {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.content-grid.reverse {
    direction: ltr;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: fadeInDown 1.2s ease-out 0.4s both;
}

.content-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    animation: fadeInUp 1.2s ease-out 0.5s both;
}

.content-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-text li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-text strong {
    color: var(--primary-color);
}

.content-image {
    text-align: center;
}

.profile-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    animation: fadeIn 1.5s ease-out 0.6s both;
    box-shadow: none;
}



/* Contact Section */
.contact-content {
    display: block;
    max-width: 800px;
    margin: 3rem auto 0;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-icon {
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
    background-color: rgba(139, 0, 0, 0.08);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-form:hover::before {
    left: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background-color: var(--white);
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(139, 0, 0, 0.3);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox links, Text rechts */
.form-group input[type="checkbox"] {
    margin: 0;
    padding: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-label {
    margin-left: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Contact Result Styles */
.contact-result {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.contact-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(139, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-result:hover::before {
    opacity: 1;
}

.contact-result.success {
    border-left: 5px solid #4CAF50;
}

.contact-result h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-result p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-actions .btn {
    font-size: 0.85rem;
    padding: 12px 24px;
}

/* Error Messages */
.error-messages {
    background-color: #ffebee;
    border: 1px solid #f44336;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: shake 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.error-messages::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 67, 54, 0.1), transparent);
    animation: slideIn 0.6s ease-out 0.2s both;
}

.error-messages h4 {
    color: #d32f2f;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.error-messages ul {
    margin: 0;
    padding-left: 1.5rem;
}

.error-messages li {
    color: #d32f2f;
    margin-bottom: 0.25rem;
}

/* Footer */
/* Quote Styles */
.experience-quote {
    background: rgba(139, 0, 0, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.experience-quote p {
    margin: 0;
    font-weight: 500;
}



/* CTA Box Styles */
.cta-box {
    background: rgba(139, 0, 0, 0.08);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.1);
}

.cta-box p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.cta-button-container {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: transparent;
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
}

.cta-button:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.15);
}

/* Website Link Styles */
.website-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Blocksatz für Datenschutz und Impressum */
.privacy-content p,
.privacy-content li,
.impressum-content p,
.impressum-content li {
    text-align: justify;
    text-justify: inter-word;
}

/* Format-Seite Optimierungen */
.format-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.format-image-container {
    flex: 0 0 350px;
    text-align: center;
    padding: 2rem;
    background: rgba(139, 0, 0, 0.08);
    border-radius: 8px;
}

.format-image {
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
    animation: fadeIn 1.5s ease-in-out;
}

.format-quote-container {
    flex: 1;
}

.format-quote p,
.format-quote cite {
    font-size: 0.85em;
    margin: 0;
}



.website-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer {
    background-color: var(--footer-gray);
    color: var(--text-dark);
    padding: 2rem 0;
    margin-top: auto;
    position: sticky;
    bottom: 0;
    z-index: 100;
    border-top: 1px solid var(--accent-color);
}

.footer-link {
    color: var(--text-light);
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none !important;
    outline: none !important;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* Startseite Footer Links */
.startpage .footer-link:hover {
    color: var(--accent-color);
}

/* Aktive Footer Links */
.footer-link.active {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}



.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: flex-start;
}

.social-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Format Page Styles */
.format-quote {
    background: var(--light-gray);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    position: relative;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.format-quote p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
    color: var(--text-dark);
}

.format-quote cite {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: normal;
    font-weight: 400;
}

.format-section {
    margin: 2.5rem 0;
    animation: fadeIn 1.5s ease-out 0.6s both;
}



/* Überschriften bekommen hellweinrote Hintergrundfilter */
.format-section h5 {
    background: rgba(139, 0, 0, 0.08);
    color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(139, 0, 0, 0.08);
    padding: 0.8rem 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 8px;
}

.format-section h4 {
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.format-section p {
    line-height: 1.7;
    color: var(--text-dark);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Video Placeholders */
.video-placeholders {
    margin: 3rem 0;
}

.video-placeholders h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: left;
}

.video-placeholders p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    row-gap: 2rem;
}

.video-placeholder {
    text-align: center;
    margin-bottom: 1.5rem;
}

.video-frame {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: none;
    opacity: 0.7;
    filter: brightness(1.2) contrast(1.3);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.video-frame:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-frame:hover iframe {
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.1);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.video-placeholder:hover h6 {
    color: var(--text-light) !important;
    transition: color 0.3s ease;
}

.video-placeholder:hover p {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

/* Aktive Videos (geklickt) */
.video-frame.active iframe {
    opacity: 1;
    filter: brightness(1);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.video-frame.active {
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.2);
}

.video-placeholder-content {
    text-align: center;
    padding: 1rem;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.video-placeholder-content h6 {
    color: var(--accent-color) !important;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.video-placeholder-content p {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0;
}

/* Alle Video-Überschriften und -Beschreibungen außerhalb der Kästen */
.video-placeholder h6 {
    color: var(--accent-color) !important;
    margin-bottom: 0.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}
.video-placeholder p {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0;
    margin-top: 0.1rem;
}

/* Gemeinsamer Filter für beide Zeilen */
.video-placeholder h6,
.video-placeholder p {
    background: rgba(139, 0, 0, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    box-shadow: none;
}

/* Spezifische Farbe für Video-Titel - Höchste Priorität */
.video-placeholder h6 {
    color: var(--text-light) !important;
}

/* Zusätzliche Sicherheit für Video-Titel */
div.video-placeholder h6 {
    color: var(--text-light) !important;
}



/* Social Media Page Styles */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-media-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.social-media-section:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    border-color: var(--border-color);
}

.social-logo {
    flex-shrink: 0;
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: fadeIn 1.5s ease-out 0.8s both;
}

.platform-logo {
    width: 100%;
    height: 100%;
    fill: var(--text-light);
    transition: fill 0.3s ease;
}

.social-content {
    flex: 1;
}

.social-media-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.social-media-section p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.4;
    font-size: 0.9rem;
}

.social-media-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.social-media-section a:hover {
    color: var(--text-dark);
    text-decoration: none;
}

.social-media-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Dezente Hover-Effekte für Logos */
.social-media-section:hover .platform-logo {
    fill: var(--text-dark);
}

/* Privacy Page Styles */
.privacy-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.privacy-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--accent-color);
    margin: 0;
}

.privacy-intro .star {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.privacy-intro a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.privacy-intro a:hover {
    color: var(--primary-color);
}

.privacy-section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out 0.9s both;
}

.privacy-section:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.1);
}

.privacy-section h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.privacy-subsection {
    margin-bottom: 2rem;
}

.privacy-subsection:last-child {
    margin-bottom: 0;
}

.privacy-subsection h5 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-subsection h6 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.privacy-subsection p {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.privacy-subsection p:last-child {
    margin-bottom: 0;
}

.privacy-subsection ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-subsection li {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-item {
    margin-bottom: 1.5rem;
}

.privacy-item:last-child {
    margin-bottom: 0;
}

.privacy-item p {
    margin: 0 0 1rem 0;
}

.privacy-item p:last-child {
    margin-bottom: 0;
}

.contact-box {
    background: rgba(139, 0, 0, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1.2s ease-out 1.1s both;
}

.contact-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.contact-box a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Strato Link Styling */
.strato-link {
    color: var(--accent-color) !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.strato-link:hover {
    color: var(--accent-color) !important;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
}



/* Responsive Design */
@media (max-width: 1200px) {
    .kontrapunkt-logo {
        max-width: 450px;
    }
}

/* iPad und Tablet Startseite - Logo und Buttons korrekt positionieren */
/* Responsive Startseite - Alle Breakpoints in einer logischen Struktur */
@media (max-width: 1024px) {
    .startpage .logo-container {
        top: 1rem;
        margin-bottom: 2rem;
    }
    
    .startpage .kontrapunkt-logo {
        max-width: 500px; /* Logo behält seine Größe */
    }
    
    .startpage .hero-buttons {
        margin-top: 4rem; /* Mehr Abstand zum Logo */
        position: relative;
        z-index: 100;
        /* Weiche Einblendung ohne Bewegung */
        animation: fadeIn 1.2s ease-out 0.3s both !important;
        transform: none !important;
    }
    
    .startpage .hero-buttons .btn {
        /* Weiche Einblendung ohne Bewegung */
        animation: fadeIn 1.2s ease-out 0.7s both !important;
        transform: none !important;
    }
    
    .startpage .hero {
        padding: 120px 0 80px; /* Mehr Platz oben für Logo */
    }
    
    .startpage .hero-container {
        margin-top: 1rem; /* Container beginnt weiter unten */
    }
}

/* Spezielle iPad Pro 11 Styles - größere Tablets */
@media (min-width: 1025px) and (max-width: 1366px) {
    .startpage .logo-container {
        top: 1rem;
        margin-bottom: 2rem;
    }
    
    .startpage .kontrapunkt-logo {
        max-width: 500px; /* Logo behält seine Größe */
    }
    
    .startpage .hero-buttons {
        margin-top: 4rem; /* Mehr Abstand zum Logo */
        position: relative;
        z-index: 100;
        /* Weiche Einblendung ohne Bewegung */
        animation: fadeIn 1.2s ease-out 0.3s both !important;
        transform: none !important;
    }
    
    .startpage .hero-buttons .btn {
        /* Weiche Einblendung ohne Bewegung */
        animation: fadeIn 1.2s ease-out 0.7s both !important;
        transform: none !important;
    }
    
    .startpage .hero {
        padding: 120px 0 80px; /* Mehr Platz oben für Logo */
    }
    
    .startpage .hero-container {
        margin-top: 1rem; /* Container beginnt weiter unten */
    }
}

@media (max-width: 992px) {
    .kontrapunkt-logo {
        max-width: 400px;
    }
    
    .portrait-background {
        max-width: 80%;
        animation: fadeIn 1.5s ease-out 1.0s both;
    }
    
    .hero-buttons {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .kontrapunkt-logo {
        max-width: 350px;
    }
    
    .portrait-background {
        max-width: 85%;
    }
    
    .hero-buttons {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
    }
    
    /* Mobile Navigation */
    .nav-container {
        padding: 0.5rem 20px 0 20px;
    }
    
    .nav-menu {
        gap: 1rem;
        padding: 0.25rem 0;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Tablet Format Layout */
    .format-layout {
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .format-image-container {
        flex: 0 0 300px;
        padding: 1.5rem;
    }
    
    /* Tablet Footer */
    .footer-content {
        gap: 2rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
        letter-spacing: 0.75px;
    }
}











/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Video Section Anchor */
#videos {
    scroll-margin-top: 120px; /* Abstand für Navigation */
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-hover);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #6d0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Mobile Back to Top Button */
@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Focus Styles für Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading Animation für Buttons */
.btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Submit Button States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: var(--shadow);
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--accent-color) !important;
}

/* Responsive Design für Privacy Page */

/* Responsive Design für Social Media Page */






/* Impressum Page Styles */


.impressum-section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out 1.0s both;
}

.impressum-section:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.1);
}

.impressum-section h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.company-info {
    display: block;
}



.company-owner {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.company-address {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
}

.company-info p {
    margin: 0;
}

.contact-divider {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.contact-divider p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
}

.contact-divider strong {
    color: var(--accent-color);
}

.contact-email {
    color: var(--text-dark);
    font-weight: 500;
}

.legal-info {
    display: grid;
    gap: 1rem;
}

.legal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 8px;
}

.legal-label {
    color: var(--text-light);
    font-weight: 500;
}

.legal-value {
    color: var(--text-dark);
    font-weight: 600;
    font-family: monospace;
}

.legal-content {
    display: grid;
    gap: 1rem;
}

.legal-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.legal-content strong {
    color: var(--accent-color);
}



/* Responsive Design für Impressum Page */



@media (min-width: 481px) and (max-width: 768px) {
    /* Tablet Video Grid - 2x2 Layout */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        row-gap: 1.5rem;
    }
    
    .video-frame {
        height: 130px;
    }
    
    .video-frame iframe {
        opacity: 0.6;
        filter: brightness(1.25) contrast(1.35);
    }
    
    .video-frame:hover iframe {
        opacity: 0.8;
        filter: brightness(1.15) contrast(1.15);
    }
    
    .video-frame.active iframe {
        opacity: 1;
        filter: brightness(1);
    }
    
    .video-placeholder h6 {
        font-size: 0.95rem;
    }
    
    .video-placeholder p {
        font-size: 0.85rem;
    }
    
    /* Tablet Navigation */
    .nav-container {
        padding: 0.75rem 25px 0 25px;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.75rem 0.75rem;
    }
    
    /* Tablet Content */
    .format-section h5 {
        font-size: 1.3rem;
        background: rgba(139, 0, 0, 0.09);
        box-shadow: 0 3px 9px rgba(139, 0, 0, 0.08);
        padding: 0.7rem 1.2rem;
        margin-bottom: 1.2rem;
        border-radius: 6px;
    }
    
    .format-section p {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 3rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    
    /* Tablet CTA Box */
    .cta-box {
        padding: 1.75rem;
        margin: 1.75rem 0;
    }
    
    .cta-box p {
        font-size: 1rem;
        margin: 0 0 1.25rem 0;
        background: none;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Small Desktop - 3x3 Layout mit angepassten Abständen */
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        row-gap: 1.75rem;
    }
    
    .video-frame {
        height: 135px;
    }
    
    .video-frame iframe {
        opacity: 0.62;
        filter: brightness(1.25) contrast(1.3);
    }
    
    .video-frame:hover iframe {
        opacity: 0.82;
        filter: brightness(1.15) contrast(1.1);
    }
    
    .video-frame.active iframe {
        opacity: 1;
        filter: brightness(1);
    }
    
    /* Small Desktop Navigation */
    .nav-container {
        padding: 0.75rem 30px 0 30px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    /* Small Desktop Content */
    .format-section h5 {
        font-size: 1.8rem;
        background: rgba(139, 0, 0, 0.08);
        box-shadow: 0 3px 10px rgba(139, 0, 0, 0.08);
        padding: 1rem 2rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .format-section p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 5rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    

}

/* Foto-Animationen */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Mobile Styles - Alle zusammen in einer Media Query */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .kontrapunkt-logo {
        max-width: 300px;
    }
    
    /* Mobile Startseite - Logo korrekt positionieren */
    .startpage .kontrapunkt-logo {
        max-width: 280px;
    }
    
    .startpage .logo-container {
        top: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .startpage .hero-buttons {
        margin-top: 2rem;
    }
    
    .portrait-background {
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        min-width: 180px;
    }
    
    .social-media-section {
        padding: 1rem;
    }
    
    .social-logo {
        width: 40px;
        height: 40px;
    }
    
    .social-media-section h4 {
        font-size: 0.95rem;
    }
    
    .privacy-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .privacy-section h4 {
        font-size: 1.4rem;
    }
    
    .privacy-subsection h5 {
        font-size: 1.1rem;
    }
    
    .privacy-intro {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Impressum Page Mobile Styles */
    .impressum-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .impressum-section h4 {
        font-size: 1.4rem;
    }
    
    .legal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .company-owner {
        font-size: 1rem;
        margin: 0;
    }
    
    .company-address {
        font-size: 0.9rem;
        margin: 0;
    }
    
    /* Format Page Mobile Styles */
    .content-grid .content-text .content-image {
        max-width: 250px;
        padding: 1.5rem;
    }
    
    .format-quote {
        font-size: 0.9em;
        padding: 1.5rem;
    }
    
    .format-quote p {
        font-size: 0.9em;
    }
    
    .format-quote cite {
        font-size: 0.9em;
    }
    
    /* Mobile CTA Box */
    .cta-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .cta-box p {
        font-size: 1rem;
        margin: 0 0 1rem 0;
        background: none;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .cta-box .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-width: 200px;
    }
    
    /* Mobile Format Section */
    .format-section h5 {
        font-size: 1.2rem;
        background: rgba(139, 0, 0, 0.1);
        box-shadow: 0 2px 8px rgba(139, 0, 0, 0.08);
        padding: 0.6rem 1rem;
        margin-bottom: 0.8rem;
        border-radius: 6px;
    }
    
    .format-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile Video Placeholders */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        row-gap: 1.25rem;
    }
    
    .video-frame {
        height: 130px;
    }
    
    .video-frame iframe {
        opacity: 0.65;
        filter: brightness(1.3) contrast(1.4);
    }
    
    .video-frame:hover iframe {
        opacity: 0.85;
        filter: brightness(1.15) contrast(1.2);
    }
    
    .video-frame.active iframe {
        opacity: 1;
        filter: brightness(1);
    }
    
    .video-placeholder-content h6 {
        font-size: 0.9rem;
    }
    
    .video-placeholder-content p {
        font-size: 0.8rem;
    }
    
    /* Mobile Format Layout */
    .format-layout {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        margin-bottom: 2rem;
    }
    
    .format-image-container {
        flex: none;
        width: 100%;
        max-width: 300px;
        padding: 1.5rem;
    }
    
    .format-quote-container {
        width: 100%;
        text-align: center;
    }
    
    .format-quote {
        padding: 1.5rem;
        margin: 0;
    }
    
    /* Mobile Footer */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-link {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    /* Mobile Logo */
    .nav-logo-img {
        height: 80px;
        width: auto;
    }
    
    .kontrapunkt-logo {
        max-width: 350px;
    }
}


