/* ==========================================================================
   blue terroir — 70s Jazz, Blue Note, warm paper
   ========================================================================== */

:root {
    --blue:        #2a3a6e;   /* aus dem Logo */
    --blue-deep:   #1d2a55;
    --blue-ink:    #15203f;
    --cream:       #f3e8cf;   /* warmes Papier */
    --cream-soft:  #ede0c1;
    --paper:       #f7eed7;
    --amber:       #d6873a;   /* 70er Akzent */
    --rust:        #b14a2a;
    --plum:        #5e3c66;
    --black:       #161310;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--blue-ink);
    font-family: 'Inter', system-ui, -apple-system, "Helvetica Neue", sans-serif;
    font-size: 18px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a { color: inherit; }

/* ---------- Grain overlay ------------------------------------------------- */

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.18;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.12  0 0 0 0 0.24  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Floating shapes ---------------------------------------------- */

.shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    display: block;
    will-change: transform;
}

.circle {
    border-radius: 50%;
    background: var(--blue);
}
.ring {
    border-radius: 50%;
    border: 14px solid var(--amber);
    background: transparent;
}
.bar {
    background: var(--rust);
    border-radius: 6px;
}
.dot {
    background: var(--plum);
    border-radius: 50%;
}

.s1 { width: 420px; height: 420px; top: -160px; right: -120px; opacity: 0.08; }
.s2 { width: 260px; height: 260px; bottom: 8%;  left: -90px;  opacity: 0.10; background: var(--amber); }
.s3 { width: 320px; height: 320px; top: 40%;    right: -100px; opacity: 0.22; }
.s4 { width: 320px; height: 28px;  top: 22%;    left: 4%;     opacity: 0.30; transform: rotate(-18deg); }
.s5 { width: 110px; height: 110px; bottom: 18%; right: 12%;   opacity: 0.18; }

/* ---------- Layout helpers ----------------------------------------------- */

.wrap {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
}

.eyebrow {
    display: inline-block;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--rust);
    margin-bottom: 18px;
    padding: 6px 12px;
    border: 1.5px solid currentColor;
    border-radius: 999px;
}
.eyebrow--light {
    color: var(--amber);
    border-color: var(--amber);
}

/* ---------- Hero --------------------------------------------------------- */

.hero {
    position: relative;
    padding: 80px 0 120px;
    text-align: center;
}

.hero__mark {
    max-width: 460px;
    margin: 0 auto 56px;
}

.logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(6px 6px 0 rgba(42, 58, 110, 0.12));
}

.hero__kicker {
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 13px;
    color: var(--blue);
    margin: 0 0 28px;
}

.hero__title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    color: var(--blue);
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.005em;
    margin: 0 0 36px;
}

.hero__title em {
    font-style: italic;
    color: var(--rust);
}

.hero__lede {
    max-width: 600px;
    margin: 0 auto 44px;
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--blue-ink);
}

.cta {
    display: inline-block;
    background: var(--blue);
    color: var(--cream);
    text-decoration: none;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 14px;
    padding: 20px 38px;
    border-radius: 999px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 6px 6px 0 var(--amber);
}
.cta:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--amber);
    background: var(--blue-deep);
}

/* ---------- Sections ----------------------------------------------------- */

.section {
    padding: 90px 0;
}

.section__title {
    font-family: 'Archivo Black', sans-serif;
    color: var(--blue);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.015em;
    margin: 0 0 28px;
    text-transform: lowercase;
}

.section__title--big {
    font-size: clamp(40px, 6.5vw, 80px);
    line-height: 0.95;
}

.section__body {
    max-width: 640px;
    font-size: clamp(17px, 1.5vw, 19px);
    margin: 0 0 14px;
}
.section__body--lead {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.4;
    color: var(--blue-deep);
    max-width: 720px;
}
.section__body--small {
    font-size: 22px;
    margin-top: 26px;
}

.section--note {
    background: var(--cream-soft);
    border-top: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
}

.section--thanks {
    background: var(--paper);
    padding: 120px 0;
    position: relative;
}

.section--thanks::before {
    content: "";
    position: absolute;
    top: 40px;
    right: 8%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--amber);
    opacity: 0.85;
    z-index: 0;
}

.section--thanks .wrap { position: relative; z-index: 1; }

/* ---------- Cards -------------------------------------------------------- */

.grid {
    padding: 90px 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.card {
    background: var(--blue);
    color: var(--cream);
    padding: 38px 32px 32px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease;
    box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}

.card:nth-child(2) { background: var(--blue-deep); }
.card:nth-child(3) { background: var(--plum); }
.card:nth-child(4) { background: var(--rust); }

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -20px rgba(20, 26, 50, 0.45);
}

.card__num {
    display: inline-block;
    font-family: 'Archivo Black', sans-serif;
    font-size: 14px;
    letter-spacing: 0.18em;
    color: var(--amber);
    margin-bottom: 22px;
}

.card__title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 30px;
    line-height: 1.05;
    margin: 0 0 14px;
    text-transform: lowercase;
    letter-spacing: -0.01em;
}

.card__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(243, 232, 207, 0.92);
}

/* ---------- Contact ------------------------------------------------------ */

.contact {
    background: var(--blue);
    color: var(--cream);
    padding: 120px 0 110px;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--amber);
    opacity: 0.18;
}

.contact__title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    text-transform: lowercase;
}

.contact__text {
    max-width: 560px;
    font-size: clamp(17px, 1.5vw, 19px);
    margin: 0 0 40px;
    color: rgba(243, 232, 207, 0.88);
}

.mail {
    display: inline-block;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--amber);
    text-decoration: none;
    border-bottom: 3px solid var(--amber);
    padding-bottom: 6px;
    transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    font-style: italic;
}
.mail:hover {
    color: var(--cream);
    border-color: var(--cream);
    transform: translateX(4px);
}

.contact__small {
    margin-top: 36px;
    font-size: 15px;
    color: rgba(243, 232, 207, 0.65);
    max-width: 480px;
}

/* ---------- Footer ------------------------------------------------------- */

.footer {
    background: var(--blue-ink);
    color: var(--cream);
    padding: 50px 0;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.footer__brand {
    font-family: 'Archivo Black', sans-serif;
    font-size: 22px;
    letter-spacing: -0.01em;
    margin: 0;
    text-transform: lowercase;
}

.footer__meta,
.footer__legal {
    margin: 0;
    font-size: 14px;
    color: rgba(243, 232, 207, 0.7);
}

.footer__legal a {
    color: var(--amber);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.footer__legal a:hover { border-color: var(--amber); }

/* ---------- Impressum / legal pages -------------------------------------- */

.legal {
    padding: 80px 0 120px;
    min-height: 70vh;
}

.legal__back {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--rust);
    text-decoration: none;
    border-bottom: 1.5px solid currentColor;
    margin-bottom: 40px;
    padding-bottom: 2px;
    transition: color 0.2s ease, transform 0.2s ease;
}
.legal__back:hover {
    color: var(--blue-deep);
    transform: translateX(-3px);
}

.legal__title {
    font-family: 'Archivo Black', sans-serif;
    color: var(--blue);
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1;
    letter-spacing: -0.015em;
    margin: 0 0 56px;
    text-transform: lowercase;
}

.legal__block {
    margin-bottom: 36px;
    max-width: 640px;
}

.legal__block h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--rust);
    margin: 0 0 12px;
}

.legal__block p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--blue-ink);
}

.legal__block a {
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1.5px solid var(--amber);
    transition: color 0.2s ease;
}
.legal__block a:hover { color: var(--rust); }

/* ---------- Reveal animations -------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(.2,.7,.2,1),
                transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 760px) {
    .hero { padding: 56px 0 80px; }
    .hero__mark { max-width: 320px; margin-bottom: 36px; }
    .section { padding: 70px 0; }
    .section--thanks { padding: 90px 0; }
    .cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .contact { padding: 90px 0 80px; }
    .s1 { width: 280px; height: 280px; }
    .s3 { width: 220px; height: 220px; right: -120px; }
    .s4 { width: 200px; }
    .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal { opacity: 1; transform: none; }
}
