/* =========================
   SCHRIFT – lokal gehostet (kein Google-CDN, DSGVO-konform)
========================= */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/inter-300.woff2') format('woff2'),
         url('fonts/inter-300.woff') format('woff');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-400.woff2') format('woff2'),
         url('fonts/inter-400.woff') format('woff');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-500.woff2') format('woff2'),
         url('fonts/inter-500.woff') format('woff');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-600.woff2') format('woff2'),
         url('fonts/inter-600.woff') format('woff');
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: #F5F0EB;
    color: #7A0C14;
    line-height: 1.7;
    overflow-x: hidden;
}

/* =========================
   NAVIGATION
========================= */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 40px;

    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.logo img {
    height: 52px;
    display: block;
}

/* NAV LINKS */

nav a {
    margin-left: 22px;
    text-decoration: none;
    color: #7A0C14;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: #7A0C14;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;

    text-align: center;

    padding: 150px 20px 120px;

    /* Lokales Steuer-/Finanzmotiv (hero-bg.svg) unter einem halbtransparenten Creme-Overlay */
    background:
        radial-gradient(circle at 18% 22%, rgba(122,12,20,0.05), transparent 60%),
        radial-gradient(circle at 82% 78%, rgba(122,12,20,0.04), transparent 55%),
        linear-gradient(160deg, rgba(248,244,239,0.80) 0%, rgba(239,231,222,0.88) 100%),
        url('hero-bg.svg');
    background-repeat: no-repeat, no-repeat, no-repeat, repeat;
    background-size: auto, auto, auto, 340px 340px;
    background-position: center;

    overflow: hidden;
}

/* GLASS SHAPES */

.hero::before,
.hero::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    background: rgba(122,12,20,0.06);

    border-radius: 50%;

    filter: blur(40px);
}

.hero::before {
    top: -120px;
    left: -120px;
}

.hero::after {
    bottom: -140px;
    right: -140px;
}

/* LOGO */

.hero-logo {
    max-width: 220px;
    margin-bottom: 30px;

    position: relative;
    z-index: 2;
}

/* TYPO */

.hero h1 {
    font-size: 3.3em;
    margin-bottom: 20px;

    position: relative;
    z-index: 2;
}

.hero p {
    max-width: 760px;
    margin: auto;

    font-size: 1.1em;

    position: relative;
    z-index: 2;
}

/* =========================
   BADGE
========================= */

.hero-badge {
    position: absolute;

    top: 35px;
    right: 60px;

    background: #7A0C14;
    color: white;

    padding: 24px 30px;

    width: 280px;

    font-weight: 600;
    line-height: 1.5;

    transform: rotate(7deg);

    box-shadow: 0 15px 30px rgba(0,0,0,0.18);

    clip-path: polygon(
        0% 15%,
        10% 0%,
        25% 10%,
        40% 0%,
        55% 10%,
        70% 0%,
        85% 12%,
        100% 0%,
        95% 30%,
        100% 50%,
        92% 70%,
        100% 100%,
        75% 92%,
        50% 100%,
        30% 90%,
        10% 100%,
        0% 75%,
        8% 50%,
        0% 30%
    );

    z-index: 5;
}

.hero-badge a {
    display: block;
    margin-top: 12px;

    color: white;
    text-decoration: none;

    font-weight: 700;
}

/* =========================
   BUTTONS
========================= */

.btn,
.btn-outline {
    display: inline-block;

    margin: 16px 8px 0;

    padding: 15px 26px;

    border-radius: 12px;

    text-decoration: none;

    transition: 0.3s;

    position: relative;
    z-index: 2;
}

.btn {
    background: #7A0C14;
    color: white;
}

.btn-outline {
    border: 1px solid #7A0C14;
    color: #7A0C14;
}

.btn:hover,
.btn-outline:hover {
    transform: translateY(-3px);
}

/* =========================
   CONTENT
   Standard: sichtbar (funktioniert auch ohne JavaScript).
   Animation nur, wenn JS aktiv ist (html.js wird im <head> gesetzt).
========================= */

.content {
    max-width: 1050px;
    margin: auto;
    padding: 38px 20px;
}

.js .content {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.8s ease;
}

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

/* Nutzer mit reduzierter Bewegung: keine Verschiebeanimation */
@media (prefers-reduced-motion: reduce) {
    .js .content {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.content h2 {
    margin-bottom: 18px;
}

/* =========================
   INFO CARD
========================= */

.info-card {
    margin-top: 25px;

    background: rgba(255,255,255,0.55);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-left: 5px solid #7A0C14;

    padding: 26px;

    border-radius: 18px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* =========================
   ACCORDION
========================= */

.accordion {
    background: rgba(255,255,255,0.7);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 18px;

    margin-bottom: 20px;

    padding: 20px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.06);

    transition: 0.3s;
}

.accordion:hover {
    transform: translateY(-4px);
}

.accordion summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;

    position: relative;

    font-size: 1.08em;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::after {
    content: "+";

    position: absolute;
    right: 0;

    font-size: 1.5em;
}

.accordion[open] summary::after {
    content: "–";
}

.accordion-content {
    margin-top: 18px;
}

/* =========================
   DOWNLOAD BOX
========================= */

.download-box {
    background: linear-gradient(135deg, #fff9f7, #f2dfda);

    border-left: 5px solid #7A0C14;

    padding: 16px 20px;

    border-radius: 14px;

    margin-bottom: 14px;

    transition: 0.3s;
}

.download-box:hover {
    transform: translateY(-3px);
}

.download-box a {
    text-decoration: none;
    color: #7A0C14;
    font-weight: 500;
}

.file-tag {
    margin-left: 10px;

    background: #7A0C14;
    color: white;

    padding: 3px 8px;

    border-radius: 6px;

    font-size: 0.8em;
}

/* =========================
   PORTRAIT
========================= */

.portrait img {
    width: 280px;

    border-radius: 22px;

    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* =========================
   TIMELINE
========================= */

.timeline {
    list-style: none;
    padding: 0;

    max-width: 650px;
    margin: 40px auto;
    text-align: left;
}

.timeline li {
    margin-bottom: 18px;

    padding-left: 16px;

    border-left: 3px solid #7A0C14;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #EAE3DC;

    text-align: center;

    padding: 35px;
}

footer a {
    color: #7A0C14;
    text-decoration: none;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        padding: 15px 20px;
        text-align: center;
    }

    nav a {
        display: inline-block;
        margin: 10px;
    }

    .hero {
        padding: 120px 20px 90px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero-logo {
        max-width: 160px;
    }

    .hero-badge {
        position: relative;

        top: auto;
        right: auto;

        transform: rotate(0deg);

        margin: 0 auto 35px;

        width: auto;
        max-width: 90%;
    }

    .btn,
    .btn-outline {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .portrait img {
        width: 100%;
        max-width: 260px;
    }

    .content {
        padding: 34px 20px;
    }
}
