:root {
    --bg: #f5f5f7;
    --bg-muted: #ffffff;
    --accent: #1f2937;
    /* dunkles Graphit, seriös */
    --accent-soft: #e5e7eb;
    --accent-highlight: #4b5563;
    --text: #111827;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
    --max-width: 1040px;
    --font-sans: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */

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

.section {
    padding: 4.5rem 0;
    scroll-margin-top: 84px;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.section-intro {
    max-width: 640px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

/* Reveal / Transitions */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(245, 245, 247, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    height: 72px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 1.6rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
}

.logo-img {
    height: 53px;
    /* 25% kleiner für mehr Luft im Header */
    width: auto;
}

.logo-text {
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    color: #151f28;
    font-weight: 300;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.2s ease;
}

.main-nav a::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 42%),
        linear-gradient(120deg, rgba(21, 31, 40, 0.16), rgba(21, 31, 40, 0.08));
    filter: blur(8px);
    opacity: 0;
    transform: scale(0.7) translateY(6px);
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: -1;
    border-radius: 999px;
}

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

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::before {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #151f28;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

/* Hero */

.hero {
    padding: 5rem 0 4.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 2.8rem;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.6rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.meta-label {
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.25rem;
}

.meta-value {
    font-weight: 500;
}

/* Hero Media */

.hero-media {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-visual-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.hero-logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: #f3f4f6;
    margin-bottom: 0.9rem;
}

.hero-logo-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.hero-visual-card h2 {
    font-size: 1.1rem;
    margin: 0 0 0.6rem;
}

.hero-visual-card p {
    margin: 0 0 0.9rem;
    color: var(--text-muted);
}

.hero-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-image {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    object-fit: cover;
    max-height: 220px;
}

/* Buttons */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.42);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: #ffffff;
}

/* Cards & Grids */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2.2rem;
}

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

.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
}

.card,
.hero-visual-card,
.contact-box {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-radius 0.4s ease;
}

.card:hover,
.hero-visual-card:hover,
.contact-box:hover {
    transform: translateY(-6px) rotate(-0.4deg) scale(1.01);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
    animation: organic-pulse 1.6s ease-in-out infinite alternate;
}

@keyframes organic-pulse {
    0% {
        border-radius: 18px 22px 20px 18px;
    }

    50% {
        border-radius: 22px 18px 22px 20px;
    }

    100% {
        border-radius: 20px 20px 18px 22px;
    }
}

/* Warum wir */

.why-grid {
    align-items: flex-start;
}

.why-text p {
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.why-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.why-graphic {
    max-height: 80px;
    object-fit: contain;
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-track {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.4rem;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.logo-pill {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--text);
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-pill img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Über uns */

.about-grid {
    align-items: flex-start;
}

.about-text p {
    color: var(--text-muted);
}

.about-principles {
    margin-top: 1.3rem;
}

.about-media {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.profile-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid var(--border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-photo:hover {
    transform: scale(1.06);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

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

.profile-name {
    font-weight: 600;
}

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

.about-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.about-logo-mark {
    width: 200px;
    height: 100px;
    border-radius: 999px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.about-logo-mark img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

/* Lists */

.bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
}

.detail-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.detail-list li {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

/* Kontakt */

.contact-grid {
    align-items: flex-start;
}

.contact-box {
    margin-top: 1.3rem;
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-box p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.3rem;
}

.contact-form input,
.contact-form textarea {
    border-radius: 0.8rem;
    border: 1px solid var(--border);
    padding: 0.55rem 0.7rem;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent-soft);
    border-color: var(--accent);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.hint {
    margin-top: 1.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.4rem 0;
    background: #f9fafb;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links .tooltip {
    position: relative;
    display: inline-block;
}

.footer-links .tooltip-panel {
    display: none;
    position: absolute;
    bottom: 125%;
    left: 0;
    min-width: 220px;
    padding: 0.8rem 1rem;
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    z-index: 5;
}

.footer-links .tooltip-panel p {
    margin: 0.35rem 0 0;
}

.footer-links .tooltip:hover .tooltip-panel,
.footer-links .tooltip:focus-within .tooltip-panel {
    display: block;
}

/* Responsive */

@media (max-width: 900px) {

    .hero-inner,
    .grid-3,
    .grid-2,
    .footer-inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 4rem;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        gap: 0.4rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(229, 231, 235, 0.9);
        border-radius: 16px;
        padding: 0.8rem;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        z-index: 30;
    }

    .main-nav a {
        padding: 0.65rem 0.85rem;
        border-radius: 12px;
    }

    .main-nav a::after,
    .main-nav a::before {
        display: none;
    }

    .nav-open .main-nav {
        display: flex;
    }

    .nav-open .menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero-media {
        order: -1;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 3.2rem 0;
    }

    .hero h1 {
        font-size: 2.1rem;
    }
}
