/* sysnetcom.eu – minimalistische Landingpage, rot/grau */

:root {
    --color-primary: #E53E3E;
    --color-primary-hover: #D32F2F;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f5;
    --color-border: #e8e8e8;
    --font-heading: 'Montserrat', -apple-system, sans-serif;
    --font-body: 'Open Sans', -apple-system, sans-serif;
    --max-width: 1100px;
    --header-height: 72px;
    --radius: 6px;
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    text-decoration: underline;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-height);
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.logo__mark {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.logo__mark:hover {
    opacity: 0.92;
    text-decoration: none;
}

.logo__wordmark {
    display: block;
    height: 1.85rem;
    width: auto;
}

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

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
}

.nav__link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.nav__link:hover {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom-color: var(--color-primary);
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.lang-switch button {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 0.65rem;
    border: none;
    background: var(--color-bg);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.lang-switch button:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.lang-switch button.is-active {
    background: var(--color-text);
    color: #fff;
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 5rem) 1.25rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(229, 62, 62, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(51, 51, 51, 0.06) 0%, transparent 45%),
        linear-gradient(165deg, #fafafa 0%, #ffffff 50%, #f5f5f5 100%);
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px),
        linear-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.35;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero__subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 38rem;
    margin: 0 auto 1.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 2px 12px rgba(229, 62, 62, 0.25);
}

.btn--primary:hover {
    background: var(--color-primary-hover);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text-muted);
    margin-left: 0.5rem;
}

.btn--ghost:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Sections */
.section {
    padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
}

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

.section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.section__intro {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
}

/* Services grid */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.section--alt .service-card {
    background: #fff;
}

.service-card:hover {
    border-color: rgba(229, 62, 62, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.service-card__icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* About */
.about__text {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.0625rem;
}

/* Contact */
.contact__grid {
    display: grid;
    gap: 2rem;
    max-width: 560px;
    margin: 0 auto;
}

.contact__aside {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.contact__aside a {
    font-weight: 600;
}

.social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social a {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--color-text);
    transition: background var(--transition), color var(--transition);
}

.social a:hover {
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

.social a.social__whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.form-status--info {
    background: #ebf8ff;
    color: #2c5282;
    border: 1px solid #bee3f8;
}

.form-status--ok {
    background: #f0fff4;
    color: #276749;
    border: 1px solid #9ae6b4;
}

.form-status--err {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.form-error {
    font-size: 0.8125rem;
    color: #c53030;
    min-height: 1.2rem;
}

.captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.captcha-img {
    display: block;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fafafa;
}

.captcha-refresh {
    flex-shrink: 0;
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
}

.form-group--captcha input {
    max-width: 12rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.captcha-hint {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0.35rem 0 0;
}

.contact__hint {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--color-text);
    color: #ccc;
    padding: 2.5rem 1.25rem;
    font-size: 0.875rem;
}

.footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer a {
    color: #fff;
    margin-right: 1.25rem;
}

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

.footer__copy {
    color: #999;
}

.footer .lang-switch {
    border-color: #555;
}

.footer .lang-switch button {
    background: transparent;
    color: #ccc;
}

.footer .lang-switch button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer .lang-switch button.is-active {
    background: var(--color-primary);
    color: #fff;
}

/* Rechtstexte */
.legal-page {
    padding: 2rem 1.25rem 4rem;
    max-width: 720px;
    margin: 0 auto;
}

.legal-page .back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.legal-page p,
.legal-page li {
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.legal-page ul {
    margin: 0 0 1rem 1.25rem;
}

@media (max-width: 640px) {
    .logo__wordmark {
        height: 1.55rem;
    }

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

    .nav {
        width: 100%;
        justify-content: space-between;
    }

    .btn--ghost {
        margin-left: 0;
        width: 100%;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }
}
