/* 
 * Markus Schulz Digital - Stylesheet
 * Optimierte Version: Mai 2025
 * Website für Beratungs- und Digitalisierungsdienstleistungen
 */

/* ---------- VARIABLEN & GRUNDEINSTELLUNGEN ---------- */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #0ea5e9;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --accent-color: #f59e0b;
    --text-color: #333;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

/* Basis-Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- TYPOGRAFIE ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

.section-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

/* ---------- BUTTONS & INTERAKTIONSELEMENTE ---------- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #15296e;
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #0d8ecc;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo a {
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
}

/* ---------- HERO SECTION ---------- */
.hero {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)), url('/markusarbeit.jpeg') no-repeat center center/cover;
    height: 500px;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 65px;
    position: relative;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

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

/* ---------- ABOUT SECTION ---------- */
.about {
    padding: 5rem 0;
    background-color: white;
}

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

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.highlight-text h4 {
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

/* ---------- BERATUNGSPROZESS SECTION ---------- */
.process {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.8rem;
}

.process-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ---------- SERVICES SECTION ---------- */
.services {
    padding: 5rem 0;
}

.services:nth-child(even) {
    background-color: #f8f9fa;
}

.services:nth-child(odd) {
    background-color: white;
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-content {
    padding: 1.8rem;
}

.service-icon {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

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

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    padding: 2rem;
    position: relative;
}

.testimonial-quote {
    color: var(--primary-color);
    opacity: 0.15;
    font-size: 3rem;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-content p {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.testimonial-author h4 {
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: #777;
    margin-bottom: 0;
}

/* ---------- CONTACT SECTION ---------- */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 4px;
}

.contact-cta, .contact-pricing {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.pricing-item {
    display: flex;
    align-items: baseline;
    margin-top: 1rem;
}

.pricing-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Form */
.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    margin-top: 6px;
    margin-right: 10px;
}

.form-success {
    display: none;
    text-align: center;
    background-color: #d1fae5;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.form-success i {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Captcha styling */
.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.captcha-code {
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    letter-spacing: 3px;
    margin-right: 1rem;
    position: relative;
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

.captcha-code::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.05) 10px,
        rgba(0, 0, 0, 0) 10px,
        rgba(0, 0, 0, 0) 20px
    );
}

.captcha-code::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(0, 0, 0, 0.03),
        rgba(0, 0, 0, 0.03) 5px,
        rgba(0, 0, 0, 0) 5px,
        rgba(0, 0, 0, 0) 10px
    );
}

.refresh-captcha {
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

.refresh-captcha:hover {
    transform: rotate(180deg);
}

/* ---------- FOOTER ---------- */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
}

.footer-info {
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-links-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.footer-links-column h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

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

/* ---------- MODALS ---------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-title {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.close-modal {
    margin-top: 1.5rem;
}

/* ---------- SICHERHEITSFUNKTIONEN ---------- */
/* Email und Telefon-Verschleierung */
.phone-number {
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: left;
}



.email-protection span:nth-child(3):before {
    content: ".";
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media screen and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.7rem 0;
        text-align: center;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
		padding-top: 15%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-links-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        height: 400px;
		padding-top: 15%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
}

/* ---------- NÜTZLICHE HILFSFUNKTIONEN ---------- */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* ---------- ANIMATIONEN ---------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeIn 0.6s ease-out;
}
