:root {
    --bg-dark: #050816;
    --bg-darker: #02040a;
    --bg-light: #f5f5f7;
    --bg-card: #0b1020;
    --accent: #ff1744;
    --accent-soft: rgba(255, 23, 68, 0.15);
    --accent-gradient: linear-gradient(135deg, #ff1744, #ff6f00);
    --text-light: #ffffff;
    --text-muted: #c6c7d2;
    --text-dark: #161622;
    --border-soft: rgba(255, 255, 255, 0.08);
    --radius-lg: 22px;
    --radius-sm: 12px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
    --transition-fast: 0.18s ease-out;
    --transition: 0.25s ease-out;
    --header-height: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 50;
    backdrop-filter: blur(14px);
    background: linear-gradient(to bottom, rgba(5, 8, 22, 0.96), rgba(5, 8, 22, 0.8));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width:80px;
    height: 36px;
    border-radius: 14px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.55);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 14px;
    font-weight: 600;
}

.logo-subtitle {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

/* Navigation */

.nav {
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    white-space: nowrap; /* keine Umbrüche */
}

.nav-list a {
    padding: 6px 8px;
    border-radius: 999px;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-list a:hover {
    background: var(--accent-soft);
    color: #fff;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(3, 6, 18, 0.96);
    cursor: pointer;
    gap: 5px;
    padding: 0 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

/* Allgemeines Layout */

main {
    margin-top: var(--header-height);
}

.section {
    padding: 70px 0;
}

.section-light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-dark {
    background: #050816;
    color: var(--text-light);
}

.section-accent {
    background: radial-gradient(circle at top left, #101325 0, #050816 55%, #02040a 100%);
}

.section-header {
    text-align: left;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    margin-bottom: 4px;
}

.section-header p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hero (dunkel) */

.hero {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #18192e 0, #050816 45%, #02040a 100%);
    overflow: hidden;
    padding: 90px 0 40px;
}

/* animierter Hintergrund */

.hero-bg-orbit {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 23, 68, 0.35), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(63, 81, 181, 0.5), transparent 55%);
    opacity: 0.6;
    filter: blur(6px);
    animation: orbit-bg 26s linear infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.06), transparent 55%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 23, 68, 0.55), transparent);
    filter: blur(12px);
    opacity: 0.35;
    pointer-events: none;
    animation: float 16s ease-in-out infinite alternate;
}

.hero-glow-1 {
    top: -90px;
    left: -140px;
}

.hero-glow-2 {
    bottom: -120px;
    right: -160px;
    background: radial-gradient(circle, rgba(63, 81, 181, 0.65), transparent);
    animation-delay: 4s;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    z-index: 1;
}

.hero-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.12;
    margin-bottom: 16px;
}

.hero-content h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    max-width: 560px;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 12px 30px rgba(255, 23, 68, 0.6);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(255, 23, 68, 0.7);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(5, 8, 22, 0.7);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(10, 14, 35, 0.95);
    border-color: var(--accent);
}

/* Hero Stats */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
    font-size: 11px;
}

.hero-stat {
    border-radius: 16px;
    background: rgba(8, 10, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 10px;
    backdrop-filter: blur(10px);
}

.hero-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.hero-stat-value {
    font-size: 13px;
    font-weight: 600;
}

.hero-stat-text {
    font-size: 11px;
    color: var(--text-muted);
}

/* Hero image */

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit-dot {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.7);
    animation: orbit-dot 14s linear infinite;
}

.hero-orbit-dot-1 {
    top: 20px;
    right: 28px;
}

.hero-orbit-dot-2 {
    bottom: 35px;
    left: 18px;
    animation-duration: 18s;
    animation-direction: reverse;
}

.hero-card {
    position: relative;
    border-radius: 26px;
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08), transparent 55%), #070a18;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transform-origin: center;
}

.hero-card-main {
    width: 100%;
    max-width: 340px;
    animation: float-card 18s ease-in-out infinite alternate;
}

.hero-card-floating {
    position: absolute;
    bottom: -20px;
    right: -150px;
    width: 340px;
    animation: float-card 20s ease-in-out infinite alternate-reverse;
}

.hero-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.hero-card-body {
    padding: 14px 16px 16px;
}

.hero-card-body h3 {
    font-size: 15px;
    margin: 0 0 4px;
}

.hero-card-body p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* Hero client strip */

.hero-client-strip {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(5, 8, 22, 0.92);
    margin-top: 20px;
}

.hero-client-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.hero-client-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.hero-client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-client-tag {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

/* IT & Web (hell) */

.itweb-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: flex-start;
	margin-top: 50px;
}

.itweb-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.itweb-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.mini-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 18px 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 13px;
	margin-top: 12px;
	margin-bottom: 12px;
}

.mini-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.mini-card p {
    margin: 0 0 6px;
    color: #4b5563;
    font-size: 13px;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 6px 0 2px;
    font-size: 13px;
}

.checklist li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 11px;
    color: #22c55e;
}

.checklist-small {
    font-size: 12px;
}

.checklist-small li {
    margin-bottom: 2px;
}

.workflow {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 18px 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 13px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.workflow-light {
    background: linear-gradient(135deg, #ffffff, #f9fafb);
}

.workflow h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 15px;
}

.workflow-steps {
    margin: 0;
    padding-left: 18px;
}

.workflow-steps li + li {
    margin-top: 4px;
}

.itweb-column-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.itweb-note {
    font-size: 13px;
    color: #4b5563;
}

/* Health & RS (dunkel) */

.health-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: flex-start;
	margin-top: 50px;
}

.health-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.health-card {
    background: rgba(11, 16, 32, 0.95);
    border-radius: var(--radius-lg);
    padding: 14px 14px 12px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    font-size: 13px;
	margin-top: 12px;
    margin-bottom: 12px;
}

.health-card h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 16px;
}

.health-card p {
    margin-top: 0;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.health-image {
    margin-top: 10px;
}

.image-card {
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 250px;
}

.image-ems {
    background-image: url("https://www.itshas.de/images/ems.png");
}

.image-itweb {
    background-image: url("https://www.itshas.de/images/itweb.png");
}

.image-profile {
    background-image: url("https://www.itshas.de/images/profile.png");
}

.image-label {
    position: absolute;
    bottom: 10px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(5, 8, 22, 0.8);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.image-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* About (hell) */

.about-slide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: flex-start;
	margin-top: 50px;
}

.about-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lead {
    font-size: 15px;
    color: #4b5563;
    margin-top: 0;
    margin-bottom: 10px;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 12px 0 14px;
    border-left: 1px solid rgba(148, 163, 184, 0.6);
}

.timeline li {
    padding-left: 12px;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 13px;
    font-weight: 600;
}

.timeline-text {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

.about-column-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-image .image-card {
    min-height: 160px;
}

/* FAQ (dunkel) */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-item {
    background: #0b1020;
    border-radius: var(--radius-lg);
    padding: 16px 18px 18px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 13px;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 15px;
}

/* Kontakt (hell) */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: flex-start;
}

.contact-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 14px 16px 16px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-group {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.form-group label {
    font-size: 12px;
    margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
select,
textarea {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    background: #f9fafb;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
    background: #ffffff;
}

.form-note {
    margin-top: 6px;
    font-size: 11px;
    color: #6b7280;
}

.contact-info {
    font-size: 13px;
}

.contact-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.contact-list li {
    margin-bottom: 6px;
}

.note {
    font-size: 12px;
    color: #6b7280;
}

/* Footer */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 12px 0;
    font-size: 12px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

/* Impressum */

.impressum {
    font-size: 13px;
}

.impressum h3 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 15px;
}

.impressum p {
    margin-top: 4px;
}

/* Animationen: Fade/Slide-In */

.animate-in,
.animate-in-delay,
.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

html.is-loaded .animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

html.is-loaded .animate-in-delay {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.18s;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Keyframes */

@keyframes float {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(10px, 20px, 0); }
}

@keyframes float-card {
    0% { transform: translate3d(0, 0, 0) rotate(-1deg); }
    100% { transform: translate3d(0, -12px, 0) rotate(1deg); }
}

@keyframes orbit-bg {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    100% { transform: translate3d(-40px, 30px, 0) rotate(10deg); }
}

@keyframes orbit-dot {
    0% { transform: translate3d(0, 0, 0); opacity: 0.9; }
    50% { opacity: 0.4; }
    100% { transform: translate3d(8px, -18px, 0); opacity: 0.9; }
}

/* Responsiv */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-image {
        order: -1;
    }

    .hero-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .itweb-grid,
    .health-grid,
    .about-slide-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        right: 0;
        top: 110%;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(5, 8, 22, 0.98);
        border-radius: 16px;
        padding: 10px 10px;
        box-shadow: var(--shadow-soft);
        min-width: 190px;
        transform-origin: top right;
        transform: scale(0.96);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-fast), transform var(--transition-fast);
    }

    .nav-list.nav-open {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 7px 10px;
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        padding-top: 90px;
    }
}
