/* EwigOnline Custom Theme */
@import url("subpages.css");
:root {
    --primary: #00bfe6;
    --primary-dark: #00a4c7;
    --dark: #333333;
    --light: #ffffff;
    --muted: #666666;
    --bg-light: #f9f9f9;
    --bg-dark: #111111;
    --border: #eeeeee;
    --font-main: 'Montserrat', sans-serif;
    --font-text: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-text);
    color: var(--muted);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.mt-50 {
    margin-top: 50px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gap-lg { gap: 60px; }
.flex-row { display: flex; gap: 20px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: var(--font-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    border: none;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 191, 230, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}
.btn-outline:hover {
    background-color: var(--light);
    color: var(--dark);
}
.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    position: fixed;
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}
.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}
.navbar.scrolled .logo {
    color: var(--dark);
}
.navbar.scrolled .logo img {
    filter: none;
}
.logo-text span {
    font-weight: 400;
}
.nav-links {
    display: flex;
    gap: 25px;
}
.nav-links a {
    color: var(--light);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.navbar.scrolled .nav-links a {
    color: var(--dark);
}
.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/pictures/nicolai-kramer-reZbvcVASPI-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 30, 45, 0.7);
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}
.hero h1 {
    color: var(--light);
    font-size: 56px;
    line-height: 1.2;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    font-style: italic;
    margin-bottom: 40px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.pre-title {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Was wir tun */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--light);
    font-size: 32px;
    transition: transform 0.3s ease;
}
.feature-item:hover .icon-wrapper {
    transform: scale(1.1);
}
.feature-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
}
.feature-item p {
    font-size: 14px;
}

/* Über uns */
.intro-text {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
}
.about-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}
.about-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}
.about-card ul {
    list-style: none;
    padding: 0;
}
.about-card li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}
.about-card li::before {
    content: "•";
    color: var(--primary);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Dienstleistungen */
.service-card {
    background: var(--light);
    padding: 30px;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}
.service-icon {
    font-size: 40px;
    color: var(--primary);
    flex-shrink: 0;
}
.service-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Team */
.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 20px;
}
.grayscale {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.team-member:hover .grayscale {
    filter: grayscale(0%);
}
.team-member h3 {
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.team-member .role {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--muted);
}

/* Kontakt */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
}
.form-hint {
    font-size: 12px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background: var(--light);
    font-family: var(--font-text);
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}
.info-list {
    list-style: none;
}
.info-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}
.info-list li::before {
    content: "•";
    color: var(--muted);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}
.email-link {
    display: flex;
    align-items: center;
    gap: 15px;
}
.email-link i {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}
.email-link a {
    color: var(--primary);
    font-size: 18px;
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--muted);
    padding: 60px 0 20px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h3 {
    color: var(--light);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 12px;
}
.footer-column a {
    color: var(--muted);
}
.footer-column a:hover {
    color: var(--primary);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 991px) {
    .grid-4, .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    .nav-links {
        display: none;
    }
}
