/* ==========================================
   MODERNE MEDIATOR WEBSITE - AUINGER STYLE
   Hintergrund: #c4b5a0
   Akzent: #8e7e69
   Schriftarten: Cormorant Garamond + Montserrat
========================================== */

:root {
    /* Farben */
    --bg-primary: #c4b5a0;
    --bg-light: #f5f0ea;
    --bg-white: #ffffff;
    --accent: #8e7e69;
    --accent-dark: #6d5f51;
    --text-dark: #2a2a2a;
    --text-medium: #5a5a5a;
    --text-light: #888888;
    
    /* Schriftarten */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Abstände */
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 6rem;
    --spacing-xl: 8rem;
}

/* ========================================
   RESET & GRUNDLAGEN
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ========================================
   HEADER NAVIGATION
======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dark);
    position: relative;
}

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

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

.cta-header {
    background: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-header:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 126, 105, 0.3);
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--accent);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    display: block;
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport for iOS */
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    padding: 8rem 0 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right 0.3s ease-out;
}

.mobile-menu.open {
    right: 0;
}

/* ACTIVE state for JavaScript */
.mobile-menu.active {
    right: 0;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    font-weight: 500;
    background: white;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu a:first-child {
    border-top: 1px solid #e0e0e0;
}

.mobile-menu a:active {
    background: var(--bg-light);
    color: var(--accent);
}

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
}

.mobile-overlay.show {
    display: block;
}

/* ACTIVE state for JavaScript */
.mobile-overlay.active {
    display: block;
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, #e8dfd0 0%, #c4b5a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 90px;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-signet {
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease;
}

.signet-image {
    width: 120px;
    height: auto;
    margin: 0 auto;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: var(--text-medium);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all 0.4s ease;
}

.hero-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(142, 126, 105, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-medium);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--text-medium);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
    }
}

/* ========================================
   INTRO SECTION
======================================== */

.intro-section {
    padding: var(--spacing-lg) 0;
    background: white;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.text-link {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: var(--accent-dark);
    transform: translateX(5px);
    display: inline-block;
}

/* ========================================
   SERVICES ICONS
======================================== */

.services-icons {
    padding: var(--spacing-md) 0;
    background: var(--bg-light);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.icon-item {
    text-align: center;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.icon-circle:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.icon-circle svg {
    width: 45px;
    height: 45px;
    color: var(--accent);
}

.icon-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   SPLIT LAYOUT SECTIONS
======================================== */

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse > * {
    direction: ltr;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-label.center {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.section-title.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
}

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

.content-text strong {
    color: var(--text-dark);
    font-weight: 500;
}

.styled-list {
    list-style: none;
    margin: 1.5rem 0;
}

.styled-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.styled-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.2rem;
}

.split-image {
    height: 500px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4c5b0 0%, #e8dfd0 100%);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.placeholder-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Section Backgrounds */
.about-section,
.audience-section {
    padding: var(--spacing-lg) 0;
    background: white;
}

.offer-section,
.why-section,
.location-section {
    padding: var(--spacing-lg) 0;
    background: var(--bg-light);
}

/* ========================================
   TESTIMONIALS
======================================== */

.testimonials-section {
    padding: var(--spacing-lg) 0;
    background: white;
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 3rem 2.5rem;
    border-radius: 5px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

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

/* ========================================
   SERVICES DETAIL
======================================== */

.services-detail {
    padding: var(--spacing-lg) 0;
    background: var(--bg-primary);
}

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

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 5px;
    transition: all 0.4s ease;
}

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

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

/* ========================================
   PROCESS SECTION
======================================== */

.process-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.process-intro {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--text-dark);
    max-width: 900px;
    margin: 2rem auto;
    line-height: 1.6;
}

.process-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 4rem;
}

.phases-container {
    display: grid;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.phase-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 5px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
    transition: all 0.4s ease;
}

.phase-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.phase-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    opacity: 0.4;
}

.phase-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.phase-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.legal-note {
    text-align: center;
    margin-top: 5rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 5px;
}

.legal-note p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-note a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: underline;
}

.legal-note .signature {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
}

/* ========================================
   CTA SECTION
======================================== */

.cta-section {
    padding: var(--spacing-lg) 0;
    background: var(--accent);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-button-large {
    display: inline-block;
    background: white;
    color: var(--accent);
    padding: 1.5rem 4rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all 0.4s ease;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   CONTACT SECTION
======================================== */

.contact-section {
    padding: var(--spacing-lg) 0;
    background: var(--bg-light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item strong {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}

.detail-item a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: var(--accent);
}

.detail-item span {
    color: var(--text-medium);
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

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

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.checkbox-group label {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
}

.checkbox-group span {
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--accent);
    text-decoration: underline;
}

.submit-btn {
    background: var(--accent);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
}

.submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(142, 126, 105, 0.3);
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-md) 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.8;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-contact a:hover {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1200px) {
    .container-wide {
        padding: 0 2rem;
    }
    
    .header-container {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 968px) {
    .main-nav,
    .cta-header {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .split-layout.reverse {
        direction: ltr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .icon-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .phase-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .phase-number {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 80px;
        padding: 2rem;
    }
    
    .logo {
        height: 60px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .container-wide {
        padding: 0 1.5rem;
    }
    
    :root {
        --spacing-lg: 4rem;
        --spacing-xl: 5rem;
    }
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll Reveal */
.split-layout,
.phase-card,
.service-card,
.testimonial-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-play-state: paused;
}

.split-layout:nth-child(1) { animation-delay: 0.1s; }
.split-layout:nth-child(2) { animation-delay: 0.2s; }
.split-layout:nth-child(3) { animation-delay: 0.3s; }
