:root {
    --clr-primary: #1E3A8A; /* Indigo 800 */
    --clr-accent: #2563EB; /* Blue 600 */
    --clr-bg-light: #F8FAFC; /* Slate 50 */
    --clr-bg-dark: #0F172A; /* Slate 900 */
    --clr-text-dark: #1E293B; /* Slate 800 */
    --clr-text-light: #FFFFFF;
    --max-width: 72rem;
    --radius-lg: 0.75rem;
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --spacing: 1rem;
    --ff-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

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

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: var(--ff-base), sans-serif;
    line-height: 1.6;
    color: var(--clr-text-dark);
    background-color: var(--clr-bg-light);
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

.narrow {
    max-width: 48rem;
}

.site-header {
    background: var(--clr-bg-light);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing) 0;
}

.brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--clr-primary);
    text-decoration: none;
}

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

.nav-list a {
    text-decoration: none;
    color: var(--clr-text-dark);
    font-weight: 500;
}

.nav-list a:hover,
.nav-list a:focus {
    color: var(--clr-primary);
}

.hero {
    background: var(--clr-primary);
    color: var(--clr-text-light);
    padding: clamp(3rem, 10vw, 4rem) 0;
    text-align: center;
}

.hero h1 {
    margin-top: 0;
    font-size: clamp(2rem, 6vw, 3rem);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin: 0;
}

.hero-divider {
    width: 4rem;
    height: 3px;
    border: none;
    background: var(--clr-accent);
    margin: 1rem auto;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin: 0 0 1rem;
}

.hero-lead {
    font-size: 1.25rem; /* größerer Lead-Text */
    max-width: 40rem;
    margin-inline: auto;
    margin-top: 4rem;
}

.hero-small {
    padding: clamp(2rem, 8vw, 4rem) 0;
}

.solutions {
    display: grid;
    gap: 2.5rem;
    margin-block: 3rem;
}

.solution {
    display: flex;
}

.solution:nth-child(even) {
    flex-direction: row-reverse;
}

.solution-text {
    background: var(--clr-text-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    flex: 1 1 60ch;
}

.toolstack {
    background: var(--clr-bg-dark);
    color: var(--clr-text-light);
    padding: 3rem 0;
    text-align: center;
}

.stack-inner {
    text-align: left;
    max-width: 68rem;
    margin: 0 auto;
    padding: 0 3rem;
}

.stack-list {
    columns: 2 18rem;
    list-style: "✔︎ ";
    margin: 0 0 2rem;
    padding-left: 0.5rem;
}

.stack-list li {
    margin-bottom: 0.5rem;
}

.experience-note {
    font-style: italic;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
}

.btn-primary {
    display: inline-block;
    background: var(--clr-accent);
    color: var(--clr-text-light);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #1d4ed8;
}

.cards {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card {
    background: var(--clr-text-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.card h3 {
    margin-top: 0;
}

.flex-split {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 48rem) {
    .flex-split {
        flex-direction: row;
    }
}

.site-footer {
    background: var(--clr-bg-dark);
    color: var(--clr-text-light);
    text-align: center;
    padding: 1rem 0;
    margin-top: 4rem;
}

.site-footer a {
    color: var(--clr-text-light);
    text-decoration: underline;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main > section:last-of-type {
    flex: 1;
}

.info-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 1rem 2rem;
    margin-block: 2rem;
}

.info-grid dt {
    background: var(--clr-accent);
    color: var(--clr-text-light);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-align: right;
}

.info-grid dd {
    margin: 0;
    align-self: center;
    color: var(--clr-text-dark);
}

.info-grid a {
    color: var(--clr-accent);
    text-decoration: underline;
}

@media (max-width: 40rem) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-grid dt {
        text-align: left;
    }
}

.imprint-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-i-work {
    margin: 1rem 2rem 0 2rem;
}