:root {
    --bg: #0b0f14;
    --panel: #121826;
    --panel-soft: rgba(255, 255, 255, 0.04);
    --panel-hover: rgba(255, 255, 255, 0.06);

    --text: #e6eef7;
    --muted: #a9b4c2;

    --line: rgba(100, 185, 25, 0.25);
    --line-strong: rgba(100, 185, 25, 0.4);

    --accent: #4aa3ff;
    --accent-dark: #2c7fd6;
    --brand: #64b919;
    --brand-soft: rgba(100, 185, 25, 0.18);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.22);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(1100px, 92%);
    margin-inline: auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;

    background:
        linear-gradient(
            90deg,
            rgba(100, 185, 25, 0.22),
            rgba(11, 15, 20, 0.96) 18%,
            rgba(11, 15, 20, 0.96) 82%,
            rgba(100, 185, 25, 0.22)
        );

    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(100, 185, 25, 0.35);

    box-shadow:
        0 0 18px rgba(100, 185, 25, 0.12);

    z-index: 50;
}

/* .brand-name {
    font-weight: 800;
    letter-spacing: 0.4px;

    color: rgb(100, 185, 25);

    text-shadow:
        0 0 10px rgba(100, 185, 25, 0.18);
}
*/

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.4px;
    color: var(--text);
}

.brand:hover .brand-name {
    color: rgb(100, 185, 25);
}


.nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid rgba(74, 163, 255, 0.18);
}

/* Hero */

.hero {
    padding: 56px 0 28px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(800px 400px at 20% 20%, rgba(74, 163, 255, 0.18), transparent 60%),
        radial-gradient(600px 380px at 85% 35%, rgba(100, 185, 25, 0.12), transparent 60%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 26px;
    align-items: start;
}

.hero-content {
    min-width: 0;
}

h1 {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    line-height: 1.15;
    margin: 0 0 14px;
    max-width: 18ch;
}

h2,
h3 {
    color: var(--text);
}

.lead {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 1.05rem;
    max-width: 62ch;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 10px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--brand));
    color: #081018;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--brand));
    color: #081018;
}

.micro {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

.micro a {
    color: var(--text);
    text-decoration: none;
}

.micro a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.hero-card {
    background: var(--panel-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow-card);
}

.hero-card h2 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.hero-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.hero-card li {
    margin-bottom: 10px;
}

.hero-card li:last-child {
    margin-bottom: 0;
}

/* Sections */

.section {
    padding: 32px 0;
}

.section.muted {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Leistungsseite */

.services-list {
    display: grid;
    gap: 16px;
}

.card {
    background: var(--panel-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 163, 255, 0.28);
    background: var(--panel-hover);
}

.card h2,
.card h3 {
    margin: 0 0 10px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    text-decoration: none;
}

/* Service folder / horizontal tabs */

.service-folder {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 12px 0;
    border-bottom: 1px solid var(--line);
}

.service-tabs::after {
    content: "";
    flex: 0 0 12px;
}

.service-tabs::-webkit-scrollbar {
    height: 6px;
}

.service-tabs::-webkit-scrollbar-thumb {
    background: rgba(74, 163, 255, 0.25);
    border-radius: 999px;
}

.service-tab {
    appearance: none;
    flex: 1 1 max-content;
    width: max-content;
    max-width: 150px;
    border: 1px solid var(--line);
    border-bottom: none;
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 14px 14px 0 0;
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.service-tab:hover {
    color: var(--text);
    border-color: rgba(74, 163, 255, 0.35);
    background: rgba(74, 163, 255, 0.08);
    transform: translateY(-1px);
}

.service-tab.is-active {
    color: #081018;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--brand));
    position: relative;
    z-index: 2;
    box-shadow: 0 -2px 14px rgba(74, 163, 255, 0.18);
}

.service-panels {
    background:
        radial-gradient(500px 260px at 12% 0%, rgba(74, 163, 255, 0.10), transparent 65%),
        radial-gradient(420px 240px at 92% 20%, rgba(100, 185, 25, 0.10), transparent 65%),
        rgba(255, 255, 255, 0.035);
    padding: 28px;
}

.service-panel {
    animation: panelFade 0.18s ease;
}

.service-panel h2 {
    margin: 0 0 12px;
}

.service-panel p {
    color: var(--muted);
    max-width: 85ch;
    line-height: 1.7;
}

.service-points {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.service-points li {
    margin: 8px 0;
}

.service-prices {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.service-prices h3 {
    margin: 0 0 8px;
}

.service-prices p {
    margin: 0;
}

.service-actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@keyframes panelFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Request form / Kontaktformular */

.request-form {
    display: grid;
    gap: 20px;
    max-width: 920px;
}

.form-section {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    background:
        radial-gradient(420px 220px at 10% 0%, rgba(74, 163, 255, 0.08), transparent 65%),
        rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow-card);
}

.form-section legend {
    padding: 0 8px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.3px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-section .form-row {
    margin-bottom: 16px;
}

.form-section .form-row:last-child {
    margin-bottom: 0;
}

.form-row label,
.check-row {
    color: var(--text);
    font-weight: 650;
}

.form-row label {
    white-space: nowrap;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(11, 15, 20, 0.72);
    color: var(--text);
    padding: 11px 12px;
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.form-row textarea {
    resize: vertical;
    min-height: 140px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(169, 180, 194, 0.72);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: rgba(74, 163, 255, 0.65);
    background: rgba(11, 15, 20, 0.9);
    box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.12);
}

.additional-services {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.form-hint {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 0.95rem;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(100, 185, 25, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.check-row:hover {
    border-color: rgba(74, 163, 255, 0.35);
    background: rgba(74, 163, 255, 0.06);
}

.check-row.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.check-row.is-disabled input {
    cursor: not-allowed;
}

.check-row input {
    margin-top: 4px;
    accent-color: var(--brand);
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dynamic-details {
    margin-bottom: 16px;
}

.detail-panel {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: 
        radial-gradient(360px 180px at 10% 0%, rgba(100, 185, 25, 0.08), transparent 65%),
        rgba(255, 255, 255, 0.025);
}

.detail-panel h3 {
    margin: 0 0 14px;
}

/* Anfrage Ausgabe */

.request-output {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;

    background: 
        radial-gradient(420px 220px at 10% 0%, rgba(74, 163, 255, 0.08), transparent 65%),
        rgba(255, 255, 255, 0.025);

    box-shadow: var(--shadow-card);

    white-space: pre-wrap;
    line-height: 1.7;
    color: var(--text);
    
    font-family: 
        Consolas,
        "Courier New",
        monospace;
}

/* Price hint */

.price-hint {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: rgba(11, 15, 20, 0.95);
    border-top: 1px solid var(--line);
    padding: 10px 16px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
    backdrop-filter: blur(6px);
    z-index: 40;
}

/* Steps */

.steps {
    color: var(--muted);
    padding-left: 20px;
}

.steps li {
    margin: 10px 0;
}

.steps strong {
    color: var(--text);
}

/* Footer */

.site-footer {
    padding: 18px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-meta p,
.footer-meta small {
    margin: 0;
}

.footer-meta p {
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Focus */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 10px;
}

/* Responsive */

@media (max-width: 860px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    h1 {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 10px 0;
        border-bottom: 1px solid var(--line);
    }

    .service-tab {
        flex: 1 1 max-content;
        min-width: max-content;
        max-width: 150px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .service-panels {
        padding: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 16px;
    }

    .request-form {
        max-width: 100%;
    }

    .form-row label {
        white-space: normal;
    }
}