/* ========================================
   Page-Specific Styles
======================================== */

/* About Page */
.about-content-section {
    padding: 5rem 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.95;
    margin: 0;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.highlight-item:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Skills Section */
.skills-section {
    background: var(--gray-50);
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.skill-category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-category-icon i {
    font-size: 1.75rem;
    color: white;
}

.skill-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--gray-200);
}

.skill-list li:last-child {
    border-bottom: none;
}

/* Values Section */
.values-section {
    background: white;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    height: 100%;
    transition: var(--transition-normal);
}

.value-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Products Page */
.products-page-hero .page-subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.products-page-hint {
    font-size: 0.95rem;
}

.portfolio-filter {
    margin-bottom: 3rem;
}

.filter-btn {
    background: white;
    border: 2px solid var(--gray-300);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    transition: var(--transition-normal);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-empty {
    grid-column: 1 / -1;
}

.project-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* Projekte mit eigener Detailseite optisch hervorheben */
.project-card-has-detail {
    border-left: 4px solid var(--primary-color);
}

.project-card-has-detail .project-card-footer .btn {
    font-weight: 600;
}

.project-detail-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 260px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 118, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border-radius: var(--radius-lg);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.project-overlay-link:hover {
    transform: scale(1.05);
    color: var(--primary-color);
    background: var(--gray-50);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.project-link:hover {
    transform: scale(1.1);
    background: var(--primary-light);
    color: white;
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.project-tag {
    background: linear-gradient(135deg, rgba(33, 118, 255, 0.1), rgba(79, 195, 247, 0.1));
    color: var(--primary-color);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(33, 118, 255, 0.2);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 1rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-meta i {
    color: var(--primary-color);
}

/* Technologies Section */
.technologies-section {
    background: var(--gray-50);
}

.tech-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Experience Page */
.timeline-section {
    background: white;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 2rem);
    padding-right: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--gray-200);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    flex: 1;
    max-width: 500px;
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    background: var(--gray-100);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Skills Progress Section */
.skills-progress-section {
    background: var(--gray-50);
}

.skill-progress-item {
    margin-bottom: 2rem;
}

.skill-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-percentage {
    font-weight: 700;
    color: var(--primary-color);
}

.skill-progress-bar {
    height: 10px;
    background: var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    transition: width 1s ease-out;
    width: 0 !important;
}

.skill-progress-fill.animated {
    width: var(--progress-width) !important;
}

/* Certifications Section */
.certifications-section {
    background: white;
}

.certification-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    height: 100%;
    text-align: center;
    transition: var(--transition-normal);
}

.certification-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.certification-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.certification-icon i {
    font-size: 2rem;
    color: white;
}

.certification-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.certification-institution {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.certification-year {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.certification-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--gray-50);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
}

.contact-info-wrapper {
    height: 100%;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-info-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-content a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-social h5 {
    font-size: 1.1rem;
    font-weight: 700;
}

.social-links-contact {
    display: flex;
    gap: 0.75rem;
}

.social-link-contact {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.social-link-contact:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--primary-color);
}

.form-control,
.form-select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 118, 255, 0.1);
}

.form-check-input {
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
}

/* FAQ Section */
.faq-section {
    background: var(--gray-50);
}

.accordion-item {
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 1rem;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    color: var(--text-primary);
}

.accordion-button:not(.collapsed) {
    background: var(--gray-50);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gray-300);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Legal Pages */
.legal-content-section {
    padding: 5rem 0;
    background: white;
}

.legal-content {
    background: white;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h2 i {
    color: var(--primary-color);
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-box {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.legal-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

.legal-box ul {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.legal-box li {
    margin-bottom: 0.5rem;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-300);
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    /* Portfolio Cards */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Portfolio Cards Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-page-hint {
        font-size: 0.9rem;
    }
    
    .project-detail-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }
    
    .project-overlay-link {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
    
    .project-image {
        height: 220px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.25rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    /* About */
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ========================================
   Projekt-Detailseite (generisch)
======================================== */
.project-detail-hero {
    padding: 4rem 0 4.5rem;
}
.project-detail-back {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}
.project-detail-back:hover {
    color: var(--primary-color);
}
.project-detail-badge-cat {
    display: inline-block;
    background: rgba(33, 118, 255, 0.12);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.project-detail-subtitle {
    max-width: 640px;
    font-size: 1.1rem;
    line-height: 1.65;
}
.project-detail-intro {
    padding: 4rem 0;
    background: var(--gray-50);
}
.project-detail-image-wrap {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}
.project-detail-image-wrap img {
    border-radius: var(--radius-lg);
    width: 100%;
}
.project-detail-intro-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}
.project-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.project-detail-tag {
    background: white;
    border: 1px solid var(--gray-300);
    color: var(--text-primary);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}
.project-detail-highlights {
    padding: 4rem 0;
    background: white;
}
.project-highlight-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    height: 100%;
    border: 1px solid transparent;
    transition: var(--transition-normal);
}
.project-highlight-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
    transform: translateY(-4px);
}
.project-highlight-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.project-highlight-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}
@media (max-width: 768px) {
    .project-detail-hero { padding: 3rem 0 3.5rem; }
    .project-detail-subtitle { font-size: 1rem; }
}

/* ========================================
   TCD Discord Bot Detail Page
======================================== */
.tcd-hero {
    position: relative;
    padding: 4rem 0 5rem;
}
.tcd-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(88, 101, 242, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.tcd-hero-banner-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}
.tcd-hero-banner {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: var(--radius-lg);
}
.tcd-intro-card-logo {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}
.tcd-intro-card-logo picture {
    display: block;
    text-align: center;
}
.tcd-intro-card-logo .tcd-logo-media,
.tcd-intro-card-logo img {
    max-width: 220px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 1;
}
.tcd-back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}
.tcd-back-link:hover {
    color: var(--primary-color);
}
.tcd-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(88, 101, 242, 0.12);
    color: #5865f2;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
}
.tcd-hero-buttons .btn-primary {
    box-shadow: 0 4px 14px rgba(33, 118, 255, 0.35);
}
.btn-discord {
    background: #5865f2;
    border-color: #5865f2;
    color: #fff;
}
.btn-discord:hover {
    background: #4752c4;
    border-color: #4752c4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}
.tcd-intro-section {
    padding: 4rem 0;
    background: var(--gray-50);
}
.tcd-intro-visual {
    position: relative;
}
.tcd-intro-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}
.tcd-intro-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.tcd-intro-card img {
    border-radius: var(--radius-lg);
}
.tcd-intro-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}
.tcd-free-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
}
.tcd-features-section {
    padding: 4rem 0;
    background: white;
}
.tcd-feature-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    border: 1px solid transparent;
    transition: var(--transition-normal);
}
.tcd-feature-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
    transform: translateY(-6px);
}
.tcd-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.tcd-feature-icon i {
    font-size: 1.5rem;
    color: white;
}
.tcd-feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}
.tcd-feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}
.cta-content .cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.cta-content .cta-description {
    opacity: 0.95;
    margin-bottom: 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.btn-discord-light {
    background: rgba(88, 101, 242, 0.9);
    border-color: rgba(255,255,255,0.4);
    color: white;
}
.btn-discord-light:hover {
    background: #5865f2;
    border-color: white;
    color: white;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .tcd-hero { padding: 3rem 0 4rem; }
    .tcd-intro-title { font-size: 1.5rem; }
    .tcd-hero-buttons .btn { display: inline-block; width: 100%; max-width: 280px; }
}

/* Sitemap (HTML-Seite) */
.sitemap-page-section .sitemap-list ul li { margin-bottom: 0.5rem; }
.sitemap-page-section .sitemap-list a { color: var(--primary-color); font-weight: 500; }
.sitemap-page-section .sitemap-list a:hover { text-decoration: underline; }

/* ========================================
   AdSense Werbeblöcke
======================================== */
.adsense-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    text-align: center;
}

.adsense-container .adsbygoogle {
    min-height: 90px;
    min-width: 320px;
}

@media (max-width: 768px) {
    .adsense-container {
        margin: 1.5rem auto;
        padding: 0.75rem;
    }
}

