/*
Theme Name: PC Werkstatt NRW
Theme URI: https://pcwerkstatt-nrw.de
Author: PC Werkstatt NRW
Description: Modernes, dunkles WordPress-Theme für ein PC-Service-Unternehmen in Herne.
Version: 1.0
Text Domain: pc-werkstatt-nrw
*/

:root {
    --bg: #050716;
    --bg-alt: #101425;
    --bg-alt2: #171b2b;
    --accent: #2f7df6;
    --accent-soft: rgba(47, 125, 246, 0.18);
    --text: #f5f5f5;
    --text-muted: #b0b5c6;
    --border: #272b3c;
    --error: #ff4b6a;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --max-width: 1200px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #141a33 0, #050716 45%);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Roboto", sans-serif;
    line-height: 1.6;
}

/* Layout Utils */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--narrow {
    max-width: 800px;
    margin: 0 auto;
}

.section__headline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section__headline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.section__title {
    font-size: clamp(2rem, 3vw, 2.4rem);
    margin: 0 0 0.75rem;
}

.section__subtitle {
    margin: 0 0 2.5rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Header / Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(5, 7, 22, 0.92), rgba(5, 7, 22, 0.7));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand__logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 20%, #61a0ff 0, #2f7df6 40%, #101425 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #ffffff;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(47, 125, 246, 0.7);
}

.brand__text {
    display: flex;
    flex-direction: column;
}

.brand__name {
    font-weight: 600;
    font-size: 1.05rem;
}

.brand__location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.3rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 3px;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
    color: var(--text);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current-menu-ancestor > a::after {
    width: 18px;
}

/* Mobile Nav */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .main-nav ul {
        position: absolute;
        inset-inline: 0;
        top: 72px;
        background: #050716;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        flex-direction: column;
        padding: 1rem 1.5rem 1.3rem;
        gap: 0.8rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.15s ease-out, opacity 0.15s ease-out;
    }

    .main-nav--open ul {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        gap: 1rem;
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.btn--primary {
    background: linear-gradient(135deg, #2f7df6, #61a0ff);
    color: #ffffff;
    box-shadow: 0 16px 35px rgba(47, 125, 246, 0.55);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 45px rgba(47, 125, 246, 0.8);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.04);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Hero Startseite */

.hero {
    padding: 4.5rem 0 4.8rem;
    position: relative;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero__eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.hero__title {
    font-size: clamp(2.3rem, 3.5vw, 3rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}

.hero__subtitle {
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 1.8rem;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
}

.hero__meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 185, 255, 0.07);
    border: 1px solid rgba(97, 160, 255, 0.5);
    color: #e1e8ff;
    font-size: 0.85rem;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero__badge {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.hero__hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero__hint strong {
    color: var(--accent);
}

.hero__visual {
    position: relative;
}

.hero-card {
    position: relative;
    background: radial-gradient(circle at top left, #222b4a 0, #0c1020 45%, #050716 100%);
    border-radius: 22px;
    padding: 1.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-card__glow {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top, rgba(97, 160, 255, 0.16) 0, transparent 55%),
        radial-gradient(circle at bottom, rgba(15, 185, 255, 0.13) 0, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-card__content {
    position: relative;
    display: grid;
    grid-template-columns: 2.1fr 1.4fr;
    gap: 1.2rem;
    align-items: center;
}

.hero-card__pc {
    border-radius: 18px;
    padding: 1rem;
    background: radial-gradient(circle at top left, rgba(97, 160, 255, 0.14) 0, rgba(5, 7, 22, 0.95) 52%);
    border: 1px solid rgba(138, 170, 255, 0.4);
    position: relative;
}

.hero-card__pc-main {
    height: 150px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, #050716 0, #11182d 40%, #050716 100%);
    overflow: hidden;
    position: relative;
}

.hero-card__pc-led {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(47, 125, 246, 0.2), transparent 55%),
        radial-gradient(circle at 20% 20%, rgba(97, 160, 255, 0.25), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(15, 185, 255, 0.12), transparent 55%);
    opacity: 0.9;
}

.hero-card__pc-stripes {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.3) 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.3;
}

.hero-card__pc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: #dde5ff;
}

.hero-card__pc-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(5, 244, 170, 0.1);
    border: 1px solid rgba(5, 244, 170, 0.8);
    color: #a6ffe0;
    font-size: 0.75rem;
}

.hero-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: #dde5ff;
}

.hero-card__list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 7, 22, 0.75);
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-card__list-label {
    display: flex;
    flex-direction: column;
}

.hero-card__list-label span:first-child {
    font-weight: 500;
}

.hero-card__list-label span:last-child {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.hero-card__price {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Grids / Cards */

.grid {
    display: grid;
    gap: 1.8rem;
}

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

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

@media (max-width: 1024px) {
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .grid--3,
    .grid--4 {
        grid-template-columns: minmax(0, 1fr);
    }
}

.card {
    background: radial-gradient(circle at top left, rgba(97, 160, 255, 0.06) 0, rgba(11, 15, 33, 0.98) 50%);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.65);
}

.card--soft {
    background: rgba(11, 15, 33, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.card__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.7rem;
}

.card__title {
    font-size: 1.1rem;
    margin: 0 0 0.4rem;
}

.card__text {
    margin: 0 0 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Warum-Sektion */

.why-grid-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(97, 160, 255, 0.22), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    font-size: 1rem;
}

/* Prozess-Sektion */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.step {
    position: relative;
    padding: 1.4rem 1.3rem 1.3rem;
    border-radius: var(--radius-lg);
    background: rgba(11, 15, 33, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step__number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(47, 125, 246, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #e1e8ff;
    margin-bottom: 0.65rem;
}

.step__title {
    font-weight: 500;
    margin-bottom: 0.45rem;
}

.step__text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero__visual {
        order: -1;
    }
    .steps {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Kurz über mich */

.about-snippet {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.about-snippet__visual {
    border-radius: 18px;
    padding: 1.4rem;
    background: radial-gradient(circle at top left, rgba(97, 160, 255, 0.14) 0, rgba(5, 7, 22, 0.95) 52%);
    border: 1px solid rgba(138, 170, 255, 0.45);
    position: relative;
    overflow: hidden;
}

.about-snippet__pc {
    height: 140px;
    border-radius: 12px;
    background: linear-gradient(135deg, #050716 0, #161c36 40%, #050716 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-snippet__tag {
    position: absolute;
    bottom: 1.1rem;
    right: 1.2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(5, 244, 170, 0.18);
    color: #a6ffe0;
    font-size: 0.78rem;
}

.about-snippet__text p {
    margin-top: 0;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .about-snippet {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Testimonials */

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background: rgba(11, 15, 33, 0.9);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.93rem;
    color: var(--text-muted);
}

.testimonial__name {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--text);
}

.testimonial__stars {
    font-size: 0.9rem;
    color: #ffd766;
    margin-bottom: 0.8rem;
}

@media (max-width: 900px) {
    .testimonials {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* CTA-Block */

.cta {
    background: radial-gradient(circle at top left, rgba(97, 160, 255, 0.18) 0, rgba(8, 11, 28, 0.98) 55%);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.cta__title {
    font-size: 1.7rem;
    margin: 0 0 0.6rem;
}

.cta__text {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

/* Services Seite */

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pricing-item {
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(11, 15, 33, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.pricing-item__info {
    max-width: 70%;
}

.pricing-item__title {
    margin: 0 0 0.3rem;
    font-weight: 500;
}

.pricing-item__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-item__price {
    white-space: nowrap;
    font-weight: 500;
    color: #e1e8ff;
    font-size: 0.95rem;
}

/* Über mich Seite */

.timeline {
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    padding-left: 1.3rem;
    margin-top: 1.8rem;
}

.timeline__item {
    position: relative;
    margin-bottom: 1.3rem;
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: -1.45rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(47, 125, 246, 0.35);
}

.timeline__title {
    margin: 0 0 0.25rem;
    font-weight: 500;
}

.timeline__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Kontaktseite */

.form {
    display: grid;
    gap: 1rem;
}

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

@media (max-width: 700px) {
    .form__row {
        grid-template-columns: minmax(0, 1fr);
    }
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form__label {
    font-size: 0.9rem;
}

.form__input,
.form__textarea {
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 7, 22, 0.85);
    padding: 0.7rem 0.85rem;
    color: var(--text);
    font: inherit;
    resize: vertical;
    min-height: 42px;
}

.form__textarea {
    min-height: 130px;
}

.form__hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form__checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form__checkbox-row input[type="checkbox"] {
    margin-top: 0.1rem;
}

/* Kontakt Details */

.contact-details {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
}

.contact-details__box {
    padding: 1.4rem 1.5rem;
    border-radius: 16px;
    background: rgba(11, 15, 33, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-details__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.contact-details__list li + li {
    margin-top: 0.5rem;
}

.map-placeholder {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(97, 160, 255, 0.16), rgba(5, 7, 22, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.3rem 1.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Impressum / Datenschutz */

.legal {
    max-width: 800px;
    margin: 0 auto;
}

.legal h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.legal p,
.legal li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */

.site-footer {
    background: #020312;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 3rem 0 2rem;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.site-footer__title {
    font-weight: 500;
    margin-bottom: 0.7rem;
}

.site-footer__text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.site-footer__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__menu li + li {
    margin-top: 0.35rem;
}

.site-footer__menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer__menu a:hover {
    color: var(--text);
}

.site-footer__contact {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.site-footer__contact strong {
    color: var(--text);
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.footer-social__icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.site-footer__bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

.site-footer__bottom a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}
