/*
Theme Name: Deutsch Intensiv Personalized Theme
Theme URI: https://deutsch-intensiv.de
Author: SimplySites.gr
Author URI: https://simplysites.gr
Description: Personalized theme for Deutsch Intensiv - German language coaching, translation services, and intercultural workshops.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deutsch-intensiv
Tags: custom-logo, custom-menu, featured-images, translation-ready, one-column, two-columns
*/

/* Deploy marker: local-repo-2025-03 — if you see this in the theme editor, you're viewing the same file we deploy. */

/* ==========================================================================
   CSS Variables - Brand Colors & Design Tokens
   ========================================================================== */
:root {
    /* Brand Colors */
    --brand-orange: #f5820b;
    --brand-orange-dark: #d97008;
    --brand-orange-light: rgba(245, 130, 11, 0.1);
    --brand-grey-blue: #546e7a;
    --brand-grey-blue-light: #78909c;
    --brand-grey-blue-dark: #2d3e47;
    --brand-light-grey: #f5f7fa;
    
    /* Semantic Colors */
    --background: #ffffff;
    --foreground: #546e7a;
    --card: #ffffff;
    --card-foreground: #546e7a;
    --primary: #f5820b;
    --primary-foreground: #ffffff;
    --secondary: #f5f7fa;
    --secondary-foreground: #546e7a;
    --muted: #f5f7fa;
    --muted-foreground: #78909c;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #f5820b;
    
    /* Spacing */
    --container-max: 1280px;
    --container-padding: 1rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows */
    --shadow-card: 0 4px 20px -4px rgba(45, 62, 71, 0.08);
    --shadow-card-hover: 0 8px 30px -4px rgba(45, 62, 71, 0.12);
    --shadow-button: 0 4px 14px -2px rgba(245, 130, 11, 0.35);
    
    /* Border Radius */
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: 0.3s ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--brand-grey-blue-dark);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }
}

@media (min-width: 1024px) {
    h1 { font-size: 3.75rem; }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--brand-orange);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--brand-orange);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background-color: var(--brand-orange-dark);
    color: var(--primary-foreground);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--brand-grey-blue-light);
    color: var(--brand-grey-blue-dark);
}

.btn-outline:hover {
    background-color: var(--brand-grey-blue-dark);
    border-color: var(--brand-grey-blue-dark);
    color: var(--primary-foreground);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.btn-outline-primary:hover {
    background-color: var(--brand-orange);
    color: var(--primary-foreground);
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .header-inner {
        height: 5rem;
    }
}

.site-logo img {
    height: 5rem;
    width: auto;
}

@media (min-width: 768px) {
    .site-logo img {
        height: 6rem;
    }
}

/* Desktop Navigation */
.main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--brand-orange);
}

/* Header Right */
.header-right {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .header-right {
        display: flex;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.menu-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

.menu-toggle-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    background-color: var(--background);
    padding: 1.5rem 0;
}

.mobile-menu.active {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    padding: 0.5rem 0;
}

.mobile-nav .btn {
    margin-top: 1rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: var(--secondary);
    padding: 0.25rem;
    border-radius: var(--radius);
}

.language-switcher button {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: none;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    cursor: pointer;
    color: var(--muted-foreground);
    transition: all var(--transition);
}

.language-switcher button:hover {
    color: var(--foreground);
}

.language-switcher button.active {
    background-color: var(--background);
    color: var(--brand-orange);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: var(--brand-light-grey);
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 6rem 0;
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-content {
    animation: fadeUp 0.6s ease-out forwards;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-orange);
    background-color: var(--brand-orange-light);
    border-radius: var(--radius-full);
}

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--brand-orange);
}

.hero-description {
    max-width: 32rem;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-highlight svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-orange);
}

.hero-highlight span {
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    animation: fadeIn 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-stats {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
    .hero-stats {
        padding: 1.5rem;
    }
}

.hero-stats-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-orange);
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
}

.hero-stats-text h4 {
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.hero-stats-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================================================
   Main Services Section
   ========================================================================== */
.services-section {
    padding: 5rem 0;
    background-color: var(--secondary);
}

.services-grid {
    display: grid;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.service-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 2rem;
}

.service-card-content h3 {
    margin-bottom: 1rem;
}

.service-card-content p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ==========================================================================
   Quality Section
   ========================================================================== */
.quality-section {
    padding: 5rem 0 7rem;
    background-color: var(--brand-light-grey);
}

.quality-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .quality-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.quality-image-wrapper {
    position: relative;
}

.quality-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
}

.quality-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.quality-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    padding: 1.5rem;
    background-color: var(--brand-orange);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
}

@media (min-width: 768px) {
    .quality-badge {
        right: -2rem;
    }
}

.quality-badge p:first-child {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.quality-badge p:last-child {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.quality-content .section-tag {
    margin-bottom: 1rem;
}

.quality-content h2 {
    margin-bottom: 1.5rem;
}

.quality-content > p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.quality-features {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .quality-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.quality-feature {
    display: flex;
    gap: 1rem;
}

.quality-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-orange-light);
    border-radius: var(--radius);
}

.quality-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--brand-orange);
}

.quality-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.quality-feature p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================================================
   Why Us Section
   ========================================================================== */
.why-us-section {
    padding: 5rem 0 7rem;
    background-color: var(--background);
}

.why-us-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.why-us-content {
    order: 2;
}

@media (min-width: 1024px) {
    .why-us-content {
        order: 1;
    }
}

.why-us-content .section-tag {
    margin-bottom: 1rem;
}

.why-us-content h2 {
    margin-bottom: 1.5rem;
}

.why-us-content > p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-us-feature {
    display: flex;
    gap: 1rem;
}

.why-us-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-orange-light);
    border-radius: var(--radius);
}

.why-us-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--brand-orange);
}

.why-us-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.why-us-feature p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.why-us-image-wrapper {
    position: relative;
    order: 1;
}

@media (min-width: 1024px) {
    .why-us-image-wrapper {
        order: 2;
    }
}

.why-us-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
}

.why-us-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.testimonial-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    max-width: 20rem;
    padding: 1.5rem;
    background-color: var(--brand-grey-blue-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
}

@media (min-width: 768px) {
    .testimonial-badge {
        left: -2rem;
    }
}

.testimonial-badge p:first-child {
    font-size: 0.875rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.testimonial-badge p:last-child {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-orange);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 5rem 0;
    background-color: var(--brand-light-grey);
}

.faq-header {
    max-width: 42rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.faq-header .section-tag {
    margin-bottom: 1rem;
}

.faq-header h2 {
    margin-bottom: 1rem;
}

.faq-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.faq-list {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0 1.5rem;
    box-shadow: var(--shadow-card);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-grey-blue-dark);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--brand-orange);
}

.faq-question svg {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-bottom: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer ul {
    margin: 0;
    padding-left: 1.5rem;
}
.faq-answer ul li {
    margin-bottom: 0.5rem;
}

.price-table-wrapper {
    overflow-x: auto;
    margin-top: 0.5rem;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}
.price-table th,
.price-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.price-table th {
    font-weight: 600;
    color: var(--brand-grey-blue-dark);
    background: rgba(255,255,255,0.6);
}
.price-table tbody tr:hover {
    background: rgba(245, 130, 11, 0.06);
}
@media (max-width: 768px) {
    .price-table th,
    .price-table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.contact-form-wrapper .section-tag {
    margin-bottom: 1rem;
}

.contact-form-wrapper h2 {
    margin-bottom: 1rem;
}

.contact-form-wrapper > p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-grey-blue-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23546e7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Contact Form 7 - match custom contact form look inside .contact-form-wrapper */
.contact-form-wrapper .wpcf7 {
    margin-bottom: 2rem;
}

.contact-form-wrapper .wpcf7-form {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .contact-form-wrapper .wpcf7-form {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-form-wrapper .wpcf7-form > p:nth-of-type(n+3) {
        grid-column: 1 / -1;
    }
}

.contact-form-wrapper .wpcf7-form > p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-wrapper .wpcf7-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-grey-blue-dark);
}

.contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 0;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form textarea.wpcf7-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form-wrapper .wpcf7-form input:focus,
.contact-form-wrapper .wpcf7-form textarea.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-light);
}

.contact-form-wrapper .wpcf7-form textarea.wpcf7-form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form-wrapper .wpcf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    background-color: var(--brand-orange);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-button);
}

.contact-form-wrapper .wpcf7-form .wpcf7-submit:hover {
    background-color: var(--brand-orange-dark);
    color: var(--primary-foreground);
}

.contact-form-wrapper .wpcf7 .screen-reader-response {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.contact-form-wrapper .wpcf7 .wpcf7-response-output {
    grid-column: 1 / -1;
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
}

.contact-form-wrapper .wpcf7 .wpcf7-spinner {
    margin-left: 0.5rem;
}

/* Contact Info Box */
.contact-info-box {
    background-color: var(--brand-grey-blue-dark);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

@media (min-width: 768px) {
    .contact-info-box {
        padding: 2.5rem;
    }
}

.contact-info-box h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-info-box > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-orange);
    border-radius: var(--radius);
}

.contact-info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.contact-info-text h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.contact-info-text p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-hours {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hours h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-hours p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border);
    background-color: var(--brand-light-grey);
}

.footer-main {
    padding: 3rem 0 2rem;
}

@media (min-width: 768px) {
    .footer-main {
        padding: 4rem 0 3rem;
    }
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand img {
    height: 5rem;
    width: auto;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-brand img {
        height: 6rem;
    }
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    max-width: 20rem;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.footer-location svg {
    width: 1rem;
    height: 1rem;
    color: var(--brand-orange);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background-color: rgba(45, 62, 71, 0.1);
    border-radius: var(--radius-full);
    color: var(--brand-grey-blue-dark);
    transition: all var(--transition);
}

.footer-social a:hover {
    background-color: var(--brand-orange);
    color: white;
}

.footer-social svg {
    width: 1rem;
    height: 1rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-links a:hover {
    color: var(--brand-orange);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-bottom a {
    color: var(--brand-orange);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Section Tag (Shared)
   ========================================================================== */
.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-orange);
    background-color: var(--brand-orange-light);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Page Headers
   ========================================================================== */
.page-header {
    padding: 4rem 0;
    background-color: var(--brand-light-grey);
    text-align: center;
}

@media (min-width: 768px) {
    .page-header {
        padding: 5rem 0;
    }
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* ==========================================================================
   Content Pages (Privacy, Terms, Imprint)
   ========================================================================== */
.legal-content {
    padding: 4rem 0;
}

.legal-content .container {
    max-width: 48rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.legal-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--brand-orange);
    border-radius: 50%;
}

.last-updated {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.error-404 h1 {
    font-size: 6rem;
    color: var(--brand-orange);
    margin-bottom: 1rem;
}

.error-404 h2 {
    margin-bottom: 1rem;
}

.error-404 p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.w-full { width: 100%; }

/* ==========================================================================
   CTA Sections
   ========================================================================== */
.cta-section {
    padding: 4rem 0;
    background-color: var(--brand-orange);
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.cta-section .btn {
    background-color: white;
    color: var(--brand-orange);
}

.cta-section .btn:hover {
    background-color: var(--brand-grey-blue-dark);
    color: white;
}

/* ==========================================================================
   Cards Grid (Services, Courses pages)
   ========================================================================== */
.cards-section {
    padding: 5rem 0;
}

.cards-header {
    max-width: 42rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.cards-header .section-tag {
    margin-bottom: 1rem;
}

.cards-header h2 {
    margin-bottom: 1rem;
}

.cards-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.cards-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: box-shadow var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.feature-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--brand-orange-light);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.feature-card-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--brand-orange);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.feature-card ul {
    margin-bottom: 1.5rem;
}

.feature-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.feature-card li svg {
    width: 1rem;
    height: 1rem;
    color: var(--brand-orange);
    flex-shrink: 0;
}

/* Course Level Cards */
.course-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: box-shadow var(--transition);
}

.course-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.course-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-level {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-orange);
    color: white;
    font-weight: 700;
    border-radius: var(--radius);
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.course-meta svg {
    width: 1rem;
    height: 1rem;
}

.course-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.course-card > p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.course-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.course-features svg {
    width: 1rem;
    height: 1rem;
    color: var(--brand-orange);
    flex-shrink: 0;
}

/* Process Steps */
.process-section {
    padding: 5rem 0;
    background-color: var(--brand-light-grey);
}

.process-steps {
    display: grid;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    text-align: center;
}

.process-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background-color: var(--brand-orange);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.process-step h4 {
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Team (Über uns) */
.team-grid {
    display: grid;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }
}
.team-card {
    text-align: left;
}
.team-card-image {
    margin: -1.5rem -1.5rem 1.25rem -1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--brand-light-grey);
}
.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-card h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-orange);
}
.team-credentials {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
}
.team-credentials li {
    margin-bottom: 0.35rem;
    padding-left: 1rem;
    position: relative;
}
.team-credentials li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-orange);
}
.team-section {
    margin-bottom: 1.5rem;
}
.team-section h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--brand-grey-blue-dark);
}
.team-section ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
}
.team-section ul li {
    margin-bottom: 0.35rem;
}

/* Badges Row */
.badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--brand-light-grey);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-orange);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    background-color: var(--brand-grey-blue-dark);
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
    z-index: 100;
    animation: fadeUp 0.3s ease-out;
    display: none;
}

.toast.show {
    display: block;
}

.toast h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.toast p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}
