/* pörtner consulting Managed Services - Main Stylesheet */

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

:root {
    /* Farben basierend auf pörtner consulting Design */
    --primary-blue: #0088cc;
    --dark-blue: #006699;
    --light-blue: #e6f5ff;
    --accent-orange: #ff6600;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light-gray: #f5f5f5;
    --border-gray: #dddddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

/* === Header === */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-top {
    background-color: var(--light-blue);
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-light);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 20px;
}

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

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 5px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 0;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* === Navigation === */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
}

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

/* Dropdown Menu */
nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    min-width: 280px;
    padding: 10px 0;
    border-radius: 5px;
}

nav ul li:hover .dropdown {
    display: block;
}

nav ul li .dropdown li {
    margin: 0;
}

nav ul li .dropdown li a {
    padding: 12px 20px;
    font-size: 14px;
}

nav ul li .dropdown li a:hover {
    background-color: var(--light-blue);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-blue);
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-orange);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #ff5500;
    transform: translateY(-2px);
}

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

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

/* === Services Grid === */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light-gray);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

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

.service-icon {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* === Service Detail Page === */
.service-detail {
    padding: 60px 0;
}

.service-header {
    background-color: var(--light-blue);
    padding: 60px 0;
    margin-bottom: 50px;
}

.service-header h1 {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-header .lead {
    font-size: 20px;
    color: var(--text-dark);
    max-width: 800px;
}

.service-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: var(--shadow);
}

.benefits-list,
.features-list {
    list-style: none;
    margin: 30px 0;
}

.benefits-list li,
.features-list li {
    padding: 15px 0 15px 40px;
    position: relative;
    border-bottom: 1px solid var(--border-gray);
}

.benefits-list li:before,
.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 24px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin: 50px 0;
}

.cta-box h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* === FAQ Section === */
.faq-section {
    margin: 50px 0;
}

.faq-item {
    background-color: var(--bg-white);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-blue);
}

.faq-item h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: var(--text-light);
}

/* === Contact Form === */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light-gray);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
}

.cookie-banner a {
    color: var(--primary-blue);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        box-shadow: var(--shadow);
        padding: 20px;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li .dropdown {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

