/*
Theme Name: IT-Service Gattemeyer Pro
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Moderne One-Page-WordPress-Homepage für IT-Service Gattemeyer mit Hero-Bild, 3-Sekunden-Loading-Screen, echtem Kontaktformular und automatisch angelegten Impressum-/Datenschutz-Seiten.
Version: 2.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: it-service-gattemeyer
*/

:root {
    --bg: #090818;
    --bg-soft: #14122b;
    --card: rgba(255,255,255,0.06);
    --card-border: rgba(255,255,255,0.12);
    --text: #eef2ff;
    --muted: #c7c9e8;
    --primary: #2ec5ff;
    --secondary: #824dff;
    --accent: #d75cff;
    --success: #52e2a5;
    --error: #ff7f9f;
    --shadow: 0 16px 40px rgba(0,0,0,0.28);
    --radius: 22px;
    --content-width: 1180px;
    --header-height: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(130,77,255,0.18), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(46,197,255,0.12), transparent 25%),
        linear-gradient(180deg, #090818 0%, #0e0c1f 100%);
    color: var(--text);
    line-height: 1.6;
}

body.page {
    background:
        radial-gradient(circle at top left, rgba(130,77,255,0.12), transparent 28%),
        linear-gradient(180deg, #090818 0%, #0e0c1f 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(8, 8, 22, 0.72);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner,
.section-inner,
.footer-inner {
    width: min(100% - 32px, var(--content-width));
    margin: 0 auto;
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 0 0 6px rgba(130,77,255,0.12);
    position: relative;
}

.brand-badge::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.85);
}

.branding-text strong {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.branding-text span {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

.main-navigation a {
    color: var(--muted);
    font-weight: 600;
    transition: color 0.25s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.footer-nav a:hover,
.footer-nav a:focus {
    color: #fff;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.hero,
.page-hero {
    min-height: 100svh;
    position: relative;
    display: grid;
    place-items: center;
    padding: calc(var(--header-height) + 80px) 0 72px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,6,22,0.84) 0%, rgba(12,10,34,0.72) 42%, rgba(11,8,28,0.50) 100%),
        url('assets/Hintergrund.webp') center center / cover no-repeat;
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(130,77,255,0.20), transparent 30%);
}

.simple-page-hero {
    min-height: auto;
    padding: calc(var(--header-height) + 56px) 0 40px;
}

.simple-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9,8,24,0.98) 0%, rgba(13,11,30,0.95) 100%);
}

.hero-content,
.page-hero .section-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 32px, var(--content-width));
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}

.hero-copy h1,
.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.6rem, 5vw, 4.9rem);
    line-height: 0.98;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-copy p.lead {
    margin: 0 0 18px;
    font-size: clamp(1rem, 1.65vw, 1.25rem);
    color: #f0f3ff;
    max-width: 650px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 30px;
    padding: 0;
    list-style: none;
}

.hero-tags li,
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 600;
}

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

.button-primary,
.button-secondary,
.contact-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 190px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    border: 0;
}

.button-primary,
.contact-button {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    box-shadow: var(--shadow);
}

.button-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.button-primary:hover,
.button-secondary:hover,
.contact-button:hover,
.header-cta:hover {
    transform: translateY(-2px);
}

.hero-panel {
    position: relative;
    z-index: 2;
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(15,13,36,0.82), rgba(11,10,28,0.66));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: var(--shadow);
}

.hero-panel h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.hero-panel p {
    margin: 0 0 20px;
    color: var(--muted);
}

.hero-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.hero-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hero-list span {
    color: var(--muted);
    text-align: right;
}

.content-section {
    padding: 88px 0;
    position: relative;
}

.content-section[id] {
    scroll-margin-top: calc(var(--header-height) + 22px);
}

.section-title {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-title h2 {
    margin: 12px 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.info-card,
.contact-card,
.about-card,
.value-card,
.legal-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.info-card h3,
.contact-card h3,
.about-card h3,
.value-card h3,
.legal-card h2,
.legal-card h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.info-card p,
.contact-card p,
.about-card p,
.value-card p,
.legal-card p,
.legal-card li {
    margin: 0;
    color: var(--muted);
}

.legal-card h2,
.legal-card h3,
.legal-card strong {
    color: #fff;
}

.legal-card h2 {
    margin-top: 28px;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p + p,
.legal-card p + h2,
.legal-card ul,
.legal-card ol {
    margin-top: 14px;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(130,77,255,0.25), rgba(46,197,255,0.22));
    border: 1px solid rgba(255,255,255,0.12);
    font-weight: 700;
    font-size: 1.25rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cta-strip {
    margin-top: 32px;
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(130,77,255,0.18), rgba(46,197,255,0.16));
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow);
}

.cta-strip h3 {
    margin: 0 0 8px;
}

.cta-strip p {
    margin: 0;
    color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
}

.contact-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    margin-bottom: 12px;
    color: var(--muted);
}

.contact-list strong {
    color: #fff;
}

.contact-note {
    margin-top: 18px !important;
    font-size: 0.96rem;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field:last-child {
    grid-column: auto;
}

.form-field label,
.checkbox-field {
    color: #fff;
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.05);
    color: #fff;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    min-height: 176px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(46,197,255,0.7);
    box-shadow: 0 0 0 4px rgba(46,197,255,0.14);
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    font-weight: 400;
}

.checkbox-field input {
    margin-top: 4px;
}

.checkbox-field a {
    color: var(--primary);
    text-decoration: underline;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-weight: 600;
}

.form-alert.success {
    background: rgba(82,226,165,0.16);
    border: 1px solid rgba(82,226,165,0.35);
    color: #dffaf0;
}

.form-alert.error {
    background: rgba(255,127,159,0.16);
    border: 1px solid rgba(255,127,159,0.36);
    color: #ffe5ec;
}

.page-main {
    padding-top: 0;
}

.legal-section {
    padding-top: 0;
}

.legal-wrapper {
    max-width: 900px;
}

.page-hero-copy {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.contact-page-content {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-page-content p {
    color: var(--muted);
}

.about-more-link {
    margin-top: 22px !important;
}

.footer-banner-wrap {
    padding: 16px 0 0;
}

.site-footer {
    padding: 34px 0 50px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
}

.footer-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-banner {
    width: min(100% - 32px, var(--content-width));
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.footer-banner a {
    display: inline-flex;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: var(--shadow);
}

.footer-banner img {
    width: 125px;
    height: 125px;
    border-radius: 12px;
}

.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background:
        radial-gradient(circle at 30% 20%, rgba(130,77,255,0.2), transparent 25%),
        linear-gradient(180deg, #0a0917 0%, #120f2b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen img {
    width: min(88vw, 520px);
    filter: drop-shadow(0 18px 48px rgba(0,0,0,0.35));
}

.loading-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 1050px) {
    .hero-content,
    .two-column,
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .main-navigation,
    .header-cta {
        display: none;
    }

    .hero,
    .page-hero {
        min-height: auto;
    }

    .content-section {
        padding: 72px 0;
    }

    .cards-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-strip,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-banner {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .hero-copy h1,
    .page-hero h1 {
        font-size: 2.4rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary,
    .contact-button {
        width: 100%;
    }

    .hero-list li {
        flex-direction: column;
    }

    .hero-list span {
        text-align: left;
    }
}
