/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Responsive text display */
.datenschutz-mobile {
    display: none;
}

.datenschutz-desktop {
    display: inline;
}

@media (max-width: 768px) {
    .datenschutz-desktop {
        display: none;
    }
    
    .datenschutz-mobile {
        display: inline;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Header */
header {
    background: 
        linear-gradient(135deg, rgba(44, 62, 80, 0.4) 0%, rgba(52, 152, 219, 0.3) 100%),
        url('assets/pexels-simon73-1424337.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    color: white;
    padding: 3.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    min-height: 400px;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
    width: 100%;
}

.nav-brand {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Special styling for contact CTA button */
.nav-contact-cta {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: pulse-entrance 2s ease-in-out;
}

.nav-contact-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

@keyframes pulse-entrance {
    0% {
        opacity: 0;
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo {
    max-height: 220px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) saturate(0.6) brightness(1.1);
}

header h1 {
    font-size: 3.2rem;
    margin-bottom: 0.8rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
}

/* Services section */
.services {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.service-card {
    background: #e9ecef;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #3498db;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* About section */
.about {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text > p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.detail {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.detail h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.detail p {
    color: #666;
    font-size: 0.95rem;
}

/* Responsive images */
.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

.about-image .responsive-image {
    max-height: 400px;
}

.contact-image {
    margin-bottom: 2rem;
}

.contact-image .responsive-image {
    max-height: 250px;
}

/* Contact CTA section */
.contact-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.6);
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 300;
}

.testimonials-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 1rem;
    will-change: transform;
    animation: none;
}

.testimonial {
    flex: 0 0 400px;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border-left: 4px solid #3498db;
    text-decoration: none !important;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
    border-left-color: #2980b9;
    text-decoration: none !important;
}

.testimonial:visited,
.testimonial:active,
.testimonial:focus {
    text-decoration: none !important;
    color: inherit;
}

.testimonial blockquote {
    margin: 0;
    padding: 0;
}

.testimonial blockquote p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial cite {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
    font-style: normal;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* Duplicate testimonials for seamless loop */
.testimonials-track::after {
    content: '';
    display: block;
    width: 100%;
}

/* Manual scrolling capability for tablets and small screens */
@media (max-width: 1024px) {
    .testimonials-carousel {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #3498db #e9ecef;
    }
    
    .testimonials-carousel::-webkit-scrollbar {
        height: 8px;
    }
    
    .testimonials-carousel::-webkit-scrollbar-track {
        background: #e9ecef;
        border-radius: 4px;
    }
    
    .testimonials-carousel::-webkit-scrollbar-thumb {
        background: #3498db;
        border-radius: 4px;
    }
    
    .testimonials-carousel::-webkit-scrollbar-thumb:hover {
        background: #2980b9;
    }
    
    .testimonials-track {
        transform: translateX(0px) !important;
    }
}

/* Tablet-specific testimonial sizing */
@media (min-width: 769px) and (max-width: 1024px) {
    .testimonial {
        flex: 0 0 350px;
        padding: 1.8rem;
    }
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info p {
    margin: 0.1rem 0;
    opacity: 1;
}

.contact-info p:first-child {
    font-weight: 600;
    color: #ecf0f1;
}

.contact-details p {
    margin: 0.2rem 0;
    opacity: 0.9;
}

.contact-label {
    font-weight: 600;
    color: #ecf0f1;
    display: inline-block;
    width: 50px;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.whatsapp-link {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    margin-left: 2rem;
    position: relative;
    top: -1px;
}

.whatsapp-link img {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.whatsapp-link:hover img {
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.2rem 0;
}

.footer-nav a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 1;
    font-size: 0.9rem;
}

/* Breadcrumb navigation */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* Contact page styles */
.contact-page {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 300;
}

.contact-info p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-details ul {
    list-style: none;
    padding: 0;
}

.contact-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
}

.contact-details li:before {
    content: "✓";
    color: #3498db;
    margin-right: 0.5rem;
    font-weight: bold;
}

.contact-benefits h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-items {
    display: grid;
    gap: 1rem;
}

.benefit-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.benefit-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Contact form styles */
.contact-form-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 300;
}

.contact-form {
    display: grid;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group select {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.8rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #6c757d;
}

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    margin-top: 0.2rem;
    width: auto;
    flex-shrink: 0;
}

.form-message {
    margin-top: 1rem;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        justify-content: flex-start;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(44, 62, 80, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 8px;
        width: 200px;
        text-align: center;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        min-width: 200px;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    /* Mobile form styling */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.9rem;
    }
    
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        font-size: 16px;
        color: #6c757d;
        opacity: 1; /* Ensures visibility on all mobile browsers */
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-details {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
}

/* Spezielle Regel für horizontale Handy-Ausrichtung */
@media (max-width: 768px) and (orientation: landscape) {
    header {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        min-height: 250px !important;
        padding: 2rem 0 !important;
    }
    
    .header-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 200px;
    }
    
    .logo {
        max-height: 100px !important;
        margin-bottom: 0.5rem !important;
    }
    
    header h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .tagline {
        font-size: 1rem !important;
    }
    
    .navbar {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 1.5rem 0;
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .services,
    .about {
        padding: 2rem 0;
    }
    
    .service-card,
    .detail {
        padding: 1.5rem;
    }
}

/* Verbesserte mobile Responsive-Regeln */
@media (max-width: 480px) {
    header {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        min-height: 300px;
        padding: 2rem 0;
    }
    
    /* Zusätzliche Sicherheit für sehr kleine Bildschirme */
    .logo {
        max-height: 150px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
}

/* Services Page Styles */
.services-page {
    padding: 2rem 0;
    background: white;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.services-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.services-image {
    margin-bottom: 2rem;
}

.services-image .responsive-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.services-info h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 300;
}

.service-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.service-section:last-child {
    border-bottom: none;
}

.service-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.service-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.instruments-overview {
    margin-top: 2rem;
}

.instruments-overview h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.instrument-text-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.instrument-text-list p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.instrument-text-list strong {
    color: #2c3e50;
    font-weight: 600;
}

.instrument-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.instrument-category {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid #3498db;
}

.instrument-category h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.instrument-category ul {
    list-style: none;
    padding: 0;
}

.instrument-category li {
    color: #666;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.instrument-category li:last-child {
    border-bottom: none;
}

.instrument-category.full-width {
    grid-column: 1 / -1;
}

.instrument-category.full-width ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 2rem;
}

.repertoire-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.repertoire-info h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 300;
}

.repertoire-categories {
    display: grid;
    gap: 1.5rem;
}

.repertoire-category {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid #e67e22;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.repertoire-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.repertoire-category h3 {
    color: #e67e22;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.repertoire-category p {
    color: #666;
    line-height: 1.7;
}

.cta-section {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 12px;
    text-align: center;
    color: white;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-cta-section {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 12px;
    text-align: center;
    color: white;
}

.contact-cta-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.contact-cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Einsatzgebiete Page Styles */
.einsatzgebiete-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.einsatzgebiete-main {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.einsatzgebiete-image {
    margin-bottom: 2rem;
    text-align: center;
}

.einsatzgebiete-image .responsive-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.einsatzgebiete-text h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
}

.einsatzgebiete-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: center;
}

.einsatzgebiete-text p:first-of-type {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.2rem;
}

.einsatzgebiete-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    height: 100%;
}

.einsatzgebiete-sidebar .contact-cta-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.einsatzgebiete-additional-image {
    text-align: center;
}

.einsatzgebiete-additional-image .image-crop-container {
    width: 100%;
    height: 465px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    position: relative;
}

.einsatzgebiete-additional-image .image-crop-container .responsive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

/* iPad specific fixes for header background */
@media (min-width: 769px) and (max-width: 1024px) {
    header {
        background-size: 130% auto;
        background-position: center bottom;
    }
    
    .contact-label {
        width: 60px;
        margin-right: 0.5rem;
    }
}

/* Mobile Responsive for Services Page */
@media (max-width: 768px) {
    .services-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-info,
    .repertoire-info {
        padding: 1.5rem;
    }
    
    .instrument-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .instrument-category.full-width ul {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    
    .services-info h2,
    .repertoire-info h2 {
        font-size: 1.6rem;
    }
    
    .cta-section,
    .contact-cta-section {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-label {
        width: 60px;
        margin-right: 0.5rem;
    }
    
    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .einsatzgebiete-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .einsatzgebiete-main {
        padding: 1.5rem;
    }
    
    .einsatzgebiete-text h2 {
        font-size: 1.6rem;
    }
    
    .einsatzgebiete-text p {
        font-size: 1rem;
    }
    
    /* Testimonials mobile responsiveness */
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .testimonial {
        flex: 0 0 280px;
        padding: 1.5rem;
        text-decoration: none !important;
    }
    
    .testimonial blockquote p {
        font-size: 1rem;
    }
    
    .testimonials-track {
        gap: 0.8rem;
    }
}

/* Wir über uns page styles */
.about-team {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-team h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 300;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #3498db;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.member-image {
    margin-bottom: 1.5rem;
    text-align: center;
}

.member-image img {
    max-width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.member-image img[src*="Klaus-Uebersicht"] {
    object-position: center -8px;
}

.member-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.member-role {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-description {
    color: #666;
    line-height: 1.7;
}

/* CV sections */
.cv-section, .anton-cv {
    padding: 4rem 0;
    background: white;
}

.cv-section h2, .anton-cv h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 300;
}

.cv-content {
    max-width: 900px;
    margin: 0 auto;
}

.cv-entries {
    display: grid;
    gap: 1.5rem;
}

.cv-entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s ease;
}

.cv-entry:hover {
    transform: translateX(5px);
}

.cv-year {
    color: #3498db;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: right;
    padding-right: 1rem;
}

.cv-description {
    color: #666;
    line-height: 1.6;
}

/* Anton CV list */
.anton-cv {
    background: #f8f9fa;
}

.anton-cv-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.anton-cv-list li {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    color: #666;
    line-height: 1.6;
    position: relative;
}

.anton-cv-list li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 1rem;
    top: 1.5rem;
}

.anton-cv-list li {
    padding-left: 2.5rem;
}

/* Company history */
.company-history {
    padding: 4rem 0;
    background: white;
}

.company-history h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 300;
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
}

.history-content h3 {
    color: #3498db;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.history-content h3:first-child {
    margin-top: 0;
}

.history-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.history-content strong {
    color: #2c3e50;
}

/* Responsive adjustments for Wir über uns */
@media (max-width: 768px) {
    .about-team {
        padding: 2rem 0;
    }
    
    .about-team h2 {
        font-size: 1.8rem;
    }
    
    .team-members {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    .member-image img {
        max-width: 120px;
        height: 150px;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .member-role {
        font-size: 1rem;
    }
    
    .member-description {
        font-size: 0.95rem;
    }
    
    .company-history {
        padding: 2rem 0;
    }
    
    .company-history h2 {
        font-size: 1.8rem;
    }
    
    .history-content p {
        font-size: 1rem;
        padding: 1.2rem;
        background: #f8f9fa;
        border-radius: 8px;
        border-left: 4px solid #3498db;
    }
    
    .cv-entry {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cv-year {
        text-align: left;
        padding-right: 0;
        color: #3498db;
        font-weight: 600;
    }
    
    .cv-section h2, .anton-cv h2 {
        font-size: 1.8rem;
    }
    
    .cv-section, .anton-cv {
        padding: 2rem 0;
    }
    
    .anton-cv-list li {
        padding: 1.2rem;
        padding-left: 2.2rem;
        font-size: 0.95rem;
    }
    
    .contact-cta {
        padding: 2rem 0;
    }
    
    .contact-cta h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* References page styles */
.references-intro {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text {
    text-align: left;
}

.intro-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.intro-text p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.bestattungsunternehmen-references,
.angehoerige-references {
    padding: 4rem 0;
}

.bestattungsunternehmen-references {
    background: #f8f9fa;
}

.angehoerige-references {
    background: white;
}

.bestattungsunternehmen-references h2,
.angehoerige-references h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 300;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reference-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #3498db;
    position: relative;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.reference-card.personal {
    border-left: 4px solid #e74c3c;
}

.reference-card.personal:hover {
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.15);
}

.reference-content {
    margin-bottom: 1.5rem;
}

.reference-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    position: relative;
}


.reference-author {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.reference-author strong {
    display: block;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.reference-author span {
    color: #666;
    font-size: 0.95rem;
}

/* Mobile responsive for References */
@media (max-width: 768px) {
    .references-intro {
        padding: 2rem 0;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-text {
        text-align: center;
    }
    
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .intro-text p {
        font-size: 1.1rem;
    }
    
    .bestattungsunternehmen-references,
    .angehoerige-references {
        padding: 2rem 0;
    }
    
    .bestattungsunternehmen-references h2,
    .angehoerige-references h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reference-card {
        padding: 1.5rem;
    }
    
    .reference-content p {
        font-size: 1rem;
    }
    
    .reference-author strong {
        font-size: 1rem;
    }
    
    .reference-author span {
        font-size: 0.9rem;
    }
}

/* Impressum page styles */
.impressum-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.legal-content h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 300;
}

.legal-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.legal-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.legal-section h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section a {
    color: #3498db;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Mobile responsive for Impressum */
@media (max-width: 768px) {
    .impressum-content {
        padding: 2rem 0;
    }
    
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.8rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-section h4 {
        font-size: 1rem;
    }
    
    .legal-section p {
        font-size: 0.95rem;
    }
}