/* CollabDays Hamburg – colours taken from the logo and the Alster key visual */
:root {
    --teal: #1aa3c1;
    --teal-strong: #0f7590;
    --teal-btn: #0e6f85;
    --teal-btn-hover: #0a5668;
    --ink: #0f3a46;
    --pink: #d23a9f;
    --pink-deep: #b02a85;
    --price: #a8237d;
    --violet: #7a3fd0;
    --blue: #2c3fa8;
    --bg: #ffffff;
    --bg-soft: #f3f7f9;
    --fg: #14262d;
    --muted: #536870;
    --line: #d9e4e8;
    --card: #ffffff;
    --on-dark: #ffffff;
    --radius: 14px;
    --shadow: 0 8px 28px rgba(15, 58, 70, .10);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c1a20;
        --bg-soft: #11242c;
        --fg: #e7f1f4;
        --muted: #9fb6bd;
        --line: #234049;
        --card: #142a33;
        --teal-strong: #4cc3dd;
        --price: #ff8fd4;
        --shadow: 0 8px 28px rgba(0, 0, 0, .35);
    }
}

* { box-sizing: border-box; }

/* keep the scrollbar space reserved so short pages (Impressum) do not shift the header */
html { scrollbar-gutter: stable; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    line-height: 1.6;
    background: var(--bg);
    color: var(--fg);
}

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

a { color: var(--teal-strong); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid #e3ecef;
}
.site-header .wrap {
    display: flex; align-items: center; gap: 24px;
    min-height: 68px;
}
.brand img { width: 190px; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a {
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang {
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink); font-weight: 700; text-decoration: none; font-size: .9rem; line-height: 1;
    border: 1px solid #c9d8dd; border-radius: 999px; padding: 0 14px;
}
/* language pill and header buttons share one height so they line up */
.header-actions .lang, .header-actions .btn { height: 44px; box-sizing: border-box; line-height: 1; }
.header-actions .btn { padding-top: 0; padding-bottom: 0; }
.lang:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 999px;
    font-weight: 700; text-decoration: none; font-size: .95rem;
    border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--teal-btn); color: #ffffff; }
.btn-primary:hover { background: var(--teal-btn-hover); }
.btn-light { background: #ffffff; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: #ffffff; }
.btn-ghost:not([aria-disabled]):hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border-color: var(--teal); color: var(--teal-strong); }
.btn-outline:not([aria-disabled]):hover { background: var(--teal-btn); border-color: var(--teal-btn); color: #fff; }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    color: var(--on-dark);
    background:
        /* strong on the text side, light on the right so the Alster skyline shows behind the gulls */
        linear-gradient(100deg, rgba(150, 34, 116, .92) 0%, rgba(110, 52, 190, .78) 42%, rgba(44, 63, 168, .12) 100%),
        url("assets/alster.webp") 70% 40% / cover no-repeat;
    padding: 56px 0 0;
}
.hero .wrap {
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: end;
}
.hero-text { padding-bottom: 56px; }
.claim { display: inline-flex; flex-direction: column; align-items: flex-start; margin: 0 0 22px; }
.claim span {
    font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
    font-size: clamp(1.1rem, 2.6vw, 1.6rem); line-height: 1.1; padding: 4px 10px;
}
.claim .c1 { background: var(--teal-btn); color: #fff; }
.claim .c2 { background: var(--ink); color: var(--teal); }
.hero h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.hero .date {
    margin: 4px 0 6px; font-weight: 800; letter-spacing: -.02em;
    font-size: clamp(2.5rem, 13vw, 6.5rem); line-height: 1;
}
.hero .meta { margin: 0 0 14px; font-size: 1.1rem; font-weight: 600; opacity: .95; }
.hero .venue-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero .lead { max-width: 560px; font-size: 1.1rem; margin: 0 0 24px; }
.hero-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 620px; }
.hero-card {
    background: rgba(20, 10, 60, .22); border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius); padding: 16px 18px; backdrop-filter: blur(4px);
}
.hero-card .kicker { margin: 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; font-weight: 700; }
.hero-card h2 { margin: 2px 0 4px; font-size: 1.2rem; }
.hero-card p { margin: 0 0 12px; font-size: .95rem; }
.hero-art { position: relative; align-self: end; justify-self: center; width: min(100%, 520px); }
.hero-gulls { width: 100%; margin-bottom: -6px; }
/* speech bubble for the gull with the open beak */
.moin-bubble {
    position: absolute; left: 2%; bottom: 96%; margin: 0;
    background: #ffffff; color: var(--ink);
    font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1;
    padding: 14px 24px 16px; border-radius: 28px;
    box-shadow: 0 10px 30px rgba(20, 10, 60, .25);
    transform: rotate(-4deg);
}
.moin-bubble::after {
    content: ""; position: absolute; left: 34px; bottom: -16px;
    border-width: 18px 12px 0 12px; border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
section.tight { padding-top: 0; }
.eyebrow {
    margin: 0 0 6px; color: var(--teal-strong); font-weight: 800;
    text-transform: uppercase; letter-spacing: .1em; font-size: .8rem;
}
.title { margin: 0 0 18px; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.15; color: var(--fg); }
.intro { max-width: 720px; color: var(--muted); font-size: 1.08rem; margin: 0 0 32px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; font-weight: 600; }
.checks li::before {
    content: ""; position: absolute; left: 4px; top: .45em;
    width: 10px; height: 10px; border-right: 3px solid var(--teal); border-top: 3px solid var(--teal);
    transform: rotate(45deg);
}

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fact {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; box-shadow: var(--shadow);
}
.fact strong { display: block; font-size: 2rem; line-height: 1.1; color: var(--pink); }
.fact span { color: var(--muted); font-size: .95rem; }

/* ---------- Timeline ---------- */
.timeline {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.timeline li {
    background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--teal);
    border-radius: 10px; padding: 14px 16px;
}
.timeline time { display: block; font-weight: 800; color: var(--ink); }
@media (prefers-color-scheme: dark) { .timeline time { color: var(--teal-strong); } }
.timeline li.highlight { border-left-color: var(--pink); background: linear-gradient(100deg, rgba(210, 58, 159, .12), rgba(44, 63, 168, .12)); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.cards > .card:only-child { max-width: 560px; }
.card p { margin: 0 0 14px; color: var(--muted); }

.feature { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: center; }
/* round sticker: pilot gull on the magenta gradient */
.sticker {
    width: 260px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center;
    background:
        linear-gradient(135deg, rgba(150, 34, 116, .62) 0%, rgba(110, 52, 190, .45) 55%, rgba(44, 63, 168, .58) 100%),
        url("assets/alster.webp") 35% 50% / cover no-repeat;
    border: 8px solid #ffffff;
    box-shadow: 0 0 0 2px var(--line), 0 14px 34px rgba(20, 10, 60, .28);
}
/* zoomed in on the gull: head and jacket fill the circle, the visual centre sits left of the image centre */
.sticker img { width: 104%; max-width: none; transform: translate(10%, 15%); }

/* ---------- Sponsors ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
table.tiers { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--card); table-layout: fixed; }
.tiers col.benefit { width: 32%; }
.tiers th, .tiers td { padding: 10px 14px; text-align: center; border-bottom: 1px solid var(--line); font-size: .95rem; }
.tiers thead { background: linear-gradient(100deg, var(--pink-deep), var(--violet) 55%, var(--blue)); }
.tiers thead th { color: #fff; font-size: 1.05rem; background: transparent; }
.tiers tbody th { text-align: left; font-weight: 600; }
.tiers .yes { color: var(--teal-strong); font-weight: 800; }
.tiers .price td, .tiers .price th { font-weight: 800; font-size: 1.05rem; }
.tiers .price td { color: var(--price); }

.addons { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.addons li {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 12px 0; border-bottom: 2px dotted var(--line); font-weight: 600;
}
.addons li span:last-child { color: var(--price); white-space: nowrap; }

.sponsor-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Atmosphere ---------- */
.atmo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.past { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; padding: 0; list-style: none; }

/* ---------- Get involved banner ---------- */
.banner {
    color: #fff; border-radius: 20px; padding: 36px;
    background:
        linear-gradient(100deg, rgba(150, 34, 116, .93) 0%, rgba(110, 52, 190, .82) 55%, rgba(44, 63, 168, .55) 100%),
        url("assets/alster.webp") center 45% / cover no-repeat;
    display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.banner h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.banner p { margin: 0; }
.banner .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer {
    color: #ffffff; padding: 48px 0 28px;
    background:
        linear-gradient(100deg, rgba(150, 34, 116, .90) 0%, rgba(110, 52, 190, .80) 55%, rgba(44, 63, 168, .55) 100%),
        url("assets/alster.webp") center 45% / cover no-repeat;
}
.site-footer .wrap { display: grid; grid-template-columns: 160px 1fr 1fr; gap: 32px; }
.site-footer img { width: 150px; }
.site-footer h3 { color: #fff; margin: 0 0 8px; font-size: 1rem; }
.site-footer a { color: #ffffff; text-decoration: none; opacity: .92; transition: opacity .15s; }
.site-footer a:hover, .site-footer a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
/* links inside running text stay recognisable without an underline */
.site-footer p a { font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
/* slim variant (sponsor and privacy pages): one line, same gradient */
.site-footer.slim { padding: 22px 0; }
.site-footer.slim .wrap { display: block; }
.site-footer.slim p { margin: 0; font-size: .92rem; }
.site-footer.slim a { font-weight: 600; }
.site-footer .bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 16px; font-size: .9rem; }

/* ---------- Legal pages ---------- */
.legal main { padding: 32px 16px 56px; max-width: 820px; }
.legal h1 { color: var(--fg); }
.legal-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 16px 0; }
.legal-footer a { color: var(--fg); text-decoration: none; font-weight: 600; }
.legal-footer a:hover, .legal-footer a:focus-visible { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .site-header .wrap { flex-wrap: wrap; gap: 8px 16px; padding-top: 8px; }
    .header-actions { margin-left: auto; }
    .nav {
        order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto;
        padding: 2px 0 10px; white-space: nowrap;
    }
    html { scroll-padding-top: 120px; }
    .hero .wrap, .two-col, .feature { grid-template-columns: 1fr; }
    .hero {
        background:
            linear-gradient(180deg, rgba(150, 34, 116, .90) 0%, rgba(110, 52, 190, .84) 60%, rgba(44, 63, 168, .50) 100%),
            url("assets/alster.webp") 70% 100% / cover no-repeat;
    }
    .hero-text { padding-bottom: 8px; }
    .hero-art { width: min(80%, 420px); margin-top: 72px; }
    .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sticker { width: 200px; justify-self: center; }
    .banner { grid-template-columns: 1fr; }
    .site-footer .wrap { grid-template-columns: 1fr 1fr; }
    .site-footer .logo-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .brand img { width: 140px; }
    .header-actions .btn { padding: 0 14px; font-size: .85rem; }
    .header-actions .lang, .header-actions .btn { height: 38px; }
    .hero { padding-top: 36px; }
    .hero-cards, .facts, .timeline { grid-template-columns: 1fr; }
    section { padding: 52px 0; }
    .banner { padding: 26px 20px; }
    .site-footer .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .brand img { width: 118px; }
    .site-header .wrap { gap: 8px 10px; }
    .lang { padding: 0 10px; }
}

/* ---------- Sponsor request (public) ---------- */
.request {
    display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center;
    background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--pink-deep);
    border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow);
}
.request h3 { margin: 0 0 6px; font-size: 1.3rem; }
.request p { margin: 0; color: var(--muted); }

/* ---------- Unlisted sponsor slides page ---------- */
.deck .header-actions { margin-left: auto; }
.deck-intro {
    padding: 48px 0 40px; margin-bottom: 24px; color: #fff;
    background:
        linear-gradient(100deg, rgba(150, 34, 116, .92) 0%, rgba(110, 52, 190, .80) 50%, rgba(44, 63, 168, .45) 100%),
        url("assets/alster.webp") center 40% / cover no-repeat;
}
.deck-intro .eyebrow, .deck-intro .title, .deck-intro .intro { color: #fff; }
.deck-slides { padding: 16px 0 56px; }
.deck-slides .wrap { display: grid; gap: 28px; }
.slide { margin: 0; }
.slide img {
    width: 100%; border-radius: 10px; border: 1px solid var(--line);
    box-shadow: var(--shadow); background: #fff;
}
.slide figcaption { margin-top: 8px; color: var(--muted); font-size: .9rem; }

@media (max-width: 720px) {
    .request { grid-template-columns: 1fr; padding: 20px; }
    .deck .header-actions .btn-outline { display: none; }
}
.legal .note { color: var(--muted); font-size: .95rem; border-left: 4px solid var(--teal); padding-left: 12px; }

/* ---------- Thank-you sponsors 2026 ---------- */
.thanks .tier { margin-top: 36px; }
.thanks .tier h3 {
    display: inline-block; margin: 0 0 14px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
    color: #fff; background: var(--ink); border-radius: 6px; padding: 4px 10px;
}
.thanks .tier-platin h3 { background: linear-gradient(100deg, var(--pink-deep), var(--violet) 55%, var(--blue)); }
.thanks .tier-gold h3 { background: #8a6500; }
.thanks .tier-silber h3 { background: #56646b; }
.thanks .tier-bronze h3 { background: #8a5a2b; }
.sponsor-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sponsor {
    background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
/* never upscale: small logos stay sharp, large ones shrink into the tile */
.sponsor img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.tier-platin .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier-platin .sponsor { height: 170px; padding: 28px 48px; }
.tier-gold .sponsor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tier-gold .sponsor { height: 130px; padding: 22px 26px; }
.tier-silber .sponsor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tier-silber .sponsor { height: 110px; padding: 20px 24px; }
.tier-bronze .sponsor-grid, .tier-partner .sponsor-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tier-bronze .sponsor, .tier-partner .sponsor { height: 96px; padding: 14px 16px; }
@media (max-width: 960px) {
    .tier-gold .sponsor-grid, .tier-silber .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tier-bronze .sponsor-grid, .tier-partner .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .tier-platin .sponsor-grid { grid-template-columns: 1fr; }
    .tier-platin .sponsor { height: 130px; }
    .tier-bronze .sponsor-grid, .tier-partner .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
