/**
 * Design Template Plugin - Haupt-Stylesheet
 * 
 * Farben:
 * - Primär: #205872 (Dunkles Blau-Türkis)
 * - Text: #205872
 * - Hintergrund: #FFFFFF
 * 
 * Schriftart: GothamRounded, Helvetica Neue, Arial, sans-serif
 */

/* ============================================
   Basis-Styles
   ============================================ */

* {
    box-sizing: border-box;
}

body {
    font-family: 'GothamRounded', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #205872;
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
}

/* ============================================
   Typografie
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'GothamRounded', 'Helvetica Neue', Arial, sans-serif;
    color: #205872;
    font-weight: 600;
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #205872;
}

a {
    color: #205872;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a4a5a;
}

/* ============================================
   Container & Layout
   ============================================ */

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

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* ============================================
   Header & Navigation
   ============================================ */

.ldp-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(32, 88, 114, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ldp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Navigation links */
.ldp-nav {
    display: flex;
    align-items: center;
    flex: 1;
}

.ldp-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.ldp-nav-menu li {
    position: relative;
}

.ldp-nav-menu a {
    display: block;
    padding: 0.5rem 0;
    font-weight: 500;
    color: #205872;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.ldp-nav-menu a:hover {
    color: #1a4a5a;
}

/* Logo in der Mitte */
.ldp-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.ldp-logo img {
    max-height: 50px;
    width: auto;
}

.ldp-logo a {
    display: block;
}

/* Header Actions rechts */
.ldp-header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

.ldp-header-actions a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #205872;
    font-size: 0.95rem;
}

/* Mobile Toggle */
.ldp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: #205872;
}

/* ============================================
   Buttons
   ============================================ */

.ldp-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #205872;
    color: #FFFFFF;
    border: 2px solid #205872;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ldp-button:hover {
    background-color: #1a4a5a;
    border-color: #1a4a5a;
    color: #FFFFFF;
}

.ldp-button-secondary {
    background-color: transparent;
    color: #205872;
    border-color: #205872;
}

.ldp-button-secondary:hover {
    background-color: #205872;
    color: #FFFFFF;
}

/* ============================================
   Page Builder Content (Frontend)
   ============================================ */

.ldp-page-builder-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.ldp-block-text {
    margin-bottom: 2rem;
}

.ldp-block-text p {
    margin-bottom: 1rem;
}

.ldp-block-heading {
    margin-bottom: 1.5rem;
}

.ldp-block-image-wrapper {
    margin-bottom: 2rem;
}

.ldp-block-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.ldp-block-button {
    margin-bottom: 2rem;
}

.ldp-block-spacer {
    width: 100%;
}

/* Alignment */
.ldp-align-left {
    text-align: left;
}

.ldp-align-center {
    text-align: center;
}

.ldp-align-right {
    text-align: right;
}

/* ============================================
   Footer
   ============================================ */

.ldp-footer {
    background-color: #F8F9FA;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(32, 88, 114, 0.1);
}

.ldp-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ldp-footer-bottom {
    border-top: 1px solid rgba(32, 88, 114, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.ldp-footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #205872;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .ldp-mobile-toggle {
        display: block;
    }
    
    .ldp-nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .ldp-nav-menu.active {
        left: 0;
    }
    
    .ldp-header-inner {
        flex-wrap: wrap;
    }
    
    .ldp-logo {
        order: 2;
        flex: 0 0 100%;
        justify-content: center;
        margin: 0.5rem 0;
    }
    
    .ldp-nav {
        order: 1;
        flex: 0 0 auto;
    }
    
    .ldp-header-actions {
        order: 3;
        flex: 0 0 auto;
    }
    
    .ldp-page-builder-content {
        padding: 1rem 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ldp-header-inner {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .ldp-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}
