/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2E86C7;
    --secondary-green: #5CB85C;
    --accent-orange: #FF8A50;
    --dark-gray: #343A40;
    --light-gray: #F8F9FA;
    --white: #ffffff;
    --border-gray: #E9ECEF;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent-orange);
}

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

.text-green {
    color: var(--secondary-green);
}

.text-orange {
    color: var(--accent-orange);
}

.logo-text {
    font-size: 2rem;
    font-weight: 600;
    color: whitesmoke;
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.664); /* 2px horizontal, 2px vertikal, 2px Unschärfe, 50% Transparenz */
}

.logo-text a {
        text-decoration: none;
}

.logo-image {
    width: 50px; /* Größe des Logos */
}

/* Buttons */
.button-primary {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.button-primary:hover {
    background: #246ba3;
    transform: translateY(-2px);
}

.button-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 15px 30px;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.button-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.cta-button {
    background: var(--accent-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #e6754a;
    transform: translateY(-1px);
}

/* Header */

.header {
            background: linear-gradient(135deg, #3498db 0%, #27ae60 100%);
            color: white;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

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

.nav {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    padding: 150px 0 100px;
    text-align: center;
}

/* Hero Section mit Hintergrundbild */
.hero-with-image {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(255, 255, 255, 0.75) 100%), 
                url('schulhofbild4.jpg') center center/cover no-repeat;
    position: relative;
    min-height: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 10%;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5); /* 2px horizontal, 2px vertikal, 2px Unschärfe, 50% Transparenz */
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Problem Section */
.problem-section {
    padding: 120px 0;
    background: white;
}

.problem-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.problem-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Solution Section */
.solution-section {
    padding: 120px 0;
    background: var(--light-gray);
}

.solution-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.solution-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.solution-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--secondary-green);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.solution-item h3 {
    color: var(--primary-blue);
    margin-top: 1rem;
}

/* Preise Section */
.preise-section {
    padding: 120px 0;
    background: white;
}

.preise-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.preise-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.preise-card:hover {
    transform: translateY(-5px);
}

.preise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.preise-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}
.preise-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.preise-card ul {
    color: darkgreen;
    margin-bottom: 0.5rem;
    list-style-type: circle;
    list-style-position: inside;
    margin-left: 100px;
    text-align: left;

}


/* Features Section */
.features-section {
    padding: 120px 0;
    background: white;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkmark {
    background: var(--secondary-green);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Karussell-Container */
.carousel-section {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
}

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

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-image {
    width: 100%;
    flex-shrink: 0;
    height: auto;
}

/* Navigation Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/* Indikatoren */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #2E86C7;
}

/* Screenshot Carousel */
.screenshots-carousel {
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
}


.carousel-dots {
    display: flex;
    justify-content: center;
    padding: 1rem;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background: var(--primary-blue);
    color: white;
    text-align: center;
}

.testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial cite {
    opacity: 0.8;
    font-size: 1rem;
}

/* lizenzrechner Section */
.lizenzrechner-section {
    padding: 120px 0;
    background: var(--primary-green);
    color: white;
    text-align: center;
}

.lizenzrechner blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--light-gray);
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.contact-form .button-primary {
    width: 100%;
    font-size: 18px;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-tagline {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .problem-section,
    .solution-section,
    .features-section,
    .contact-section,
    .preise-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        padding: 1rem 15px;
    }
    
    .nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .problem-card,
    .solution-item {
        padding: 1.5rem;
    }
}

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

/* Loading States */
.form-group input:invalid {
    border-color: #e74c3c;
}

.form-group input:valid {
    border-color: var(--secondary-green);
}

/* Responsive Anpassungen für das Hintergrundbild */
@media (max-width: 768px) {
    .hero-with-image {
        background-size: cover;
        background-position: center top;
 .logo-image {
    width: 30px; /* Größe des Logos */
    }
 }
}

/* Header Basis-Styling */
.header {
    background: linear-gradient(135deg, #3498db 0%, #27ae60 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0; /* Reduziert die Höhe */
}

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

/* Logo responsiv machen */
.logo-image {
    max-height: 50px; /* Begrenzt die Höhe des Logos */
    width: auto;
    height: auto;
}

/* Navigation Basis */
.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

/* MOBILE RESPONSIVE - Media Queries */
@media (max-width: 768px) {
    .header {
        padding: 0.3rem 0; /* Noch kleinere Polsterung */
    }
    
    .header .container {
        padding: 0 15px; /* Weniger seitliche Polsterung */
    }
    
    /* Logo kleiner auf mobil */
    .logo-image {
        max-height: 35px; /* Kleineres Logo für mobil */
    }
    
    .cta-button {
        visibility: hidden; 
    }

    .logo-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: whitesmoke;
    text-decoration: none;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.664); /* 2px horizontal, 2px vertikal, 2px Unschärfe, 50% Transparenz */
}
    .logo-text a {
        text-decoration: none;
    }

    /* Navigation anpassen */
    .nav {
        gap: 1rem; /* Weniger Abstand zwischen Links */
    }
    
    .nav a {
        font-size: 14px; /* Kleinere Schrift */
        padding: 8px 12px; /* Kleinere Touch-Targets */
    }
    
    .cta-button {
        padding: 8px 16px; /* Kleinerer Button */
        font-size: 14px;
    }
}


/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .header {
        padding: 0.3rem 0;
    }
    
    .header .container {
        padding: 0 15px;
    }
    
    .logo-image {
        max-height: 35px;
    }
    
    
    /* Navigation mobile */
    .nav {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    /* Navigation geöffnet */
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav a {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 18px;
        text-align: center;
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .cta-button {
        margin-top: 10px;
        display: inline-block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-height: 30px;
    }
    
    .nav a {
        font-size: 16px;
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.2rem 0;
    }
    
    .header .container {
        padding: 0 10px;
    }
    
    /* Logo noch kleiner auf sehr kleinen Screens */
    .logo-image {
        max-height: 30px;
    }
    
    /* Navigation für sehr kleine Screens */
    .nav {
        gap: 0.5rem;
        flex-wrap: wrap; /* Erlaubt Umbruch */
    }
    
    .nav a {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .cta-button {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Alternative: Hamburger Menu für sehr kleine Screens */
@media (max-width: 600px) {
    .nav a:not(.cta-button) {
        display: none; /* Versteckt normale Links */
    }
 
}


/* Verhindert horizontales Scrollen */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

/* Container responsiv machen */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}
/* Hero Section responsiv */
.hero {
    padding-top: 120px; /* Kompensiert fixed header */
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px; /* Weniger Abstand auf mobil */
    }
    
    .hero h1 {
        font-size: 2rem; /* Kleinere Überschrift */
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}


@media (max-width: 480px) {
    .hero-with-image {
        background-size: contain;
        background-repeat: no-repeat;
    }
}

/* zusatzseiten */
            .header {
                background-color: #f8f9fa;
                padding: 10px 0;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }
            
            .nav a {
                margin: 0 15px;
                text-decoration: none;
                color: #333;
            }
            .nav a.active {
                font-weight: bold;
                color: #007bff;
            }

            .impressum h1 {
                text-align: left;
                margin-top: 150px;
                font-size: 2.5rem;
                color: black;
            }
            .impressum h2 {
                text-align: left;
                margin-top: 50px;
                font-size: 1em;
                color: darkgray;
            }
            .impressum h3 {
                text-align: left;
                margin-top: 20px;
                font-size: 0.9em;
                color: gray;
            }            
    