/*
Theme Name: Com-Top high tech services
Theme URI: https://example.com
Author: Com-Top high tech services
Author URI: https://example.com
Description: Modernes, responsives Theme für Com-Top high tech services in Starnberg.
Version: 1.0
Text Domain: com-top-high-tech-services
*/

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

:root {
    --brand-magenta: #e5007d;
    --brand-grey: #6d6e71;
    --bg-light: #f2f2f5;
    --card-bg: #ffffff;
    --text-main: #111111;
    --text-muted: #6d6e71;
}

body {
    background: var(--bg-light);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--brand-magenta);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-branding img {
    height: 60px;
    width: auto;
}

.site-main {
    flex: 1;
    max-width: 1100px;
    margin: 24px auto 40px;
    padding: 0 16px;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 16px;
    font-size: 0.9rem;
}

.site-footer .inner {
    max-width: 1100px;
    margin: 0 auto;
}

.site-footer p {
    margin-bottom: 4px;
}

/* Navigation */

.main-nav {
    margin-left: auto;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    color: var(--text-main);
}

.main-menu a:hover,
.main-menu .current-menu-item > a,
.main-menu .current_page_item > a {
    border-bottom-color: var(--brand-magenta);
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
    background: var(--brand-magenta);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(229, 0, 125, 0.35);
}

.btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(229, 0, 125, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-secondary:hover {
    background: var(--text-main);
    color: #ffffff;
}

/* Sections & Typography */

.section {
    margin-bottom: 32px;
}

.section h1,
.section h2,
.section h3 {
    margin-bottom: 12px;
}

.section h1 {
    font-size: 2rem;
}

.section h2 {
    font-size: 1.5rem;
}

.section p {
    margin-bottom: 10px;
}

.section ul {
    margin-left: 18px;
    margin-bottom: 12px;
}

.section li {
    margin-bottom: 4px;
}

.section blockquote {
    margin: 10px 0 0;
    padding-left: 16px;
    border-left: 3px solid var(--brand-grey);
    font-style: italic;
    color: var(--text-muted);
}

/* Hero */

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #faf4f8 45%, #f5f5ff 100%);
    border-radius: 16px;
    padding: 24px 22px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

.hero-logo img {
    max-width: 220px;
    height: auto;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero-content p {
    margin-bottom: 14px;
    color: var(--text-muted);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(229, 0, 125, 0.08);
    color: var(--brand-magenta);
    margin-bottom: 6px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Slider */

.home-slider {
    margin-bottom: 32px;
}

.home-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--card-bg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.home-slider-inner {
    display: flex;
    transition: transform 0.6s ease;
}

.home-slider-slide {
    min-width: 100%;
    padding: 22px 20px;
}

.home-slider-title {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.home-slider-text {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.home-slider-meta {
    font-size: 0.85rem;
    color: var(--brand-grey);
}

.home-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 12px;
}

.home-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d0d0d0;
    cursor: pointer;
}

.home-slider-dot.is-active {
    background: var(--brand-magenta);
}

/* Cards / content blocks */

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
}

.card h2 {
    margin-bottom: 8px;
}

/* Forms */

form label {
    font-weight: 500;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    max-width: 520px;
    padding: 8px 10px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    margin-top: 4px;
    font: inherit;
}

form textarea {
    resize: vertical;
    min-height: 160px;
}

form button[type="submit"] {
    margin-top: 10px;
}

ul.form-errors {
    margin-bottom: 12px;
    padding-left: 18px;
    color: #b00020;
}

.form-success {
    margin-bottom: 15px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #d8ffd8;
    border: 1px solid #9ad69a;
}

/* Responsive */

@media (max-width: 900px) {
    .site-header .inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main-nav {
        margin-left: 0;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-logo img {
        max-width: 180px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 0.95rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .site-main {
        margin-top: 18px;
    }
}
