/* Markenseite www.canidex.cloud – Farben und Schriften nach CI (CANIDEX Core: resources/Corporate Identity (CI)/ci.md) */
:root {
    --navy: #0B1B3D;
    --forest: #1F4A38;
    --ink: #090D27;
    --white: #FFFFFF;
    --grey-50: #F5F6F8;
    --grey-200: #D9DDE4;
    --grey-600: #545C6B;
    --events: #D99A14;
    --font-brand: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-text: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-text); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--forest); }
h1, h2, h3 { font-family: var(--font-brand); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--white); padding: .5rem 1rem; }
.eyebrow { font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--forest); margin-bottom: .6rem; }
.lead { font-size: 1.15rem; color: var(--grey-600); }
.lead--narrow { max-width: 46rem; }

.btn { display: inline-block; padding: .8rem 1.4rem; border-radius: 999px; background: var(--forest); color: var(--white); font-family: var(--font-brand); font-weight: 600; text-decoration: none; border: 2px solid var(--forest); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); background: #173a2c; }
.btn--small { padding: .45rem 1rem; font-size: .9rem; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--grey-50); }

/* Kopf */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--grey-200); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.top__brand img { display: block; height: 44px; width: auto; }
.top__nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.top__nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; }
.top__nav a:not(.btn):hover { color: var(--forest); }

/* Einstieg */
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 120% at 0% 0%, #163256 0%, var(--navy) 55%, #07122a 100%); color: var(--white); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
/* Wasserzeichen: weißes Hauptlogo, sehr groß und kaum sichtbar – wie in canidex-core (.start__hero) */
.hero::before { content: ""; position: absolute; z-index: -1; top: 50%; right: -28rem; width: 1800px; height: 1610px; transform: translateY(-37%); background: image-set(url("../images/logos/canidex-hauptlogo-weiss-watermark-1300.webp") type("image/webp"), url("../images/logos/canidex-hauptlogo-weiss-watermark-1300.png") type("image/png")) no-repeat center / contain; opacity: .07; pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 span { display: block; margin-top: .3rem; font-size: .55em; font-weight: 600; color: #8FD3B0; }
.hero .eyebrow { color: #8FD3B0; }
.hero .lead { color: rgba(255, 255, 255, .82); }
.hero__slogan { font-family: var(--font-brand); font-size: 1.35rem; font-weight: 700; color: var(--white); margin: 0 0 .4rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero__card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform: rotate(1.5deg); }
.hero__card .id { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .8rem; color: var(--forest); background: #E8F1EC; display: inline-block; padding: .2rem .55rem; border-radius: 6px; margin-bottom: .8rem; }
.hero__dog { font-family: var(--font-brand); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.hero__card dl { margin: 0; display: grid; gap: .55rem; }
.hero__card dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--grey-200); padding-top: .55rem; }
.hero__card dt { color: var(--grey-600); }
.hero__card dd { margin: 0; font-weight: 600; text-align: right; }
.hero__note { margin: .9rem 0 0; font-size: .75rem; color: var(--grey-600); }

/* Abschnitte */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--grey { background: var(--grey-50); }
.band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: #EEF4F1; }
.cols { display: grid; gap: 2rem; }
.cols--2 { grid-template-columns: 1fr 1fr; }
.facts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.facts li { background: var(--white); border-radius: var(--radius); padding: 1.2rem; border: 1px solid var(--grey-200); }
.facts strong { display: block; font-family: var(--font-brand); color: var(--navy); margin-bottom: .3rem; }
.facts span { color: var(--grey-600); font-size: .95rem; }

.cards { display: grid; gap: 1.2rem; margin-top: 2rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.5rem; }
.card p { color: var(--grey-600); margin: 0; }
.card--line { border-top: 4px solid var(--forest); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.product { position: relative; overflow: hidden; background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--grey-200); border-bottom: 5px solid var(--product); transition: transform .15s ease, box-shadow .15s ease; }
.product:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 27, 61, .1); }
.product img { height: 56px; width: auto; margin-bottom: .8rem; }
.product h3 { color: var(--product); }
.product p { color: var(--grey-600); margin: 0; font-size: .95rem; }
/* Beta-Band schräg über der rechten oberen Ecke */
.product__badge { position: absolute; top: 1.1rem; right: -2.4rem; width: 9rem; padding: .25rem 0; transform: rotate(45deg); background: var(--product); color: var(--white); text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 2px 6px rgba(11, 27, 61, .2); }

.band--events { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(110deg, var(--navy), #2a2412 140%); color: var(--white); }
/* Wasserzeichen: weißes Events-Logo rechts, wie das Hauptlogo im Hero */
.band--events::before { content: ""; position: absolute; z-index: -1; top: 50%; right: 0; width: 1000px; height: 1175px; transform: translateY(-38%); background: image-set(url("../images/logos/canidex-events-weiss-watermark-1300.webp") type("image/webp"), url("../images/logos/canidex-events-weiss-watermark-1300.png") type("image/png")) no-repeat center / contain; opacity: .05; pointer-events: none; }
/* Logo auf weißer Kachel – der navyblaue Schriftzug wäre auf dem dunklen Band unsichtbar */
.band__logo { display: block; height: 104px; margin-bottom: 1.4rem; width: auto; padding: .7rem .9rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); box-sizing: content-box; }
.band--events h2 { color: var(--white); margin-top: .8rem; }
.band--events p { color: rgba(255, 255, 255, .82); max-width: 44rem; }
.band__split { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.contact__box { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; background: var(--grey-50); border-radius: var(--radius); padding: 1.8rem; }
.contact__login { font-weight: 600; text-decoration: none; }

/* Rechtliches */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.2rem; margin-top: 1.6rem; }
.notice { background: #FEF3C7; color: #92400E; padding: .6rem .9rem; border-radius: 8px; }

/* Fuß */
.foot { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 2.5rem 0; }
.foot__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.foot img { height: 36px; width: auto; }
.foot p { margin: .3rem 0 0; font-size: .9rem; }
.foot .foot__slogan { color: var(--white); font-family: var(--font-brand); font-weight: 600; font-size: 1rem; margin-top: .6rem; }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__copy { width: 100%; font-size: .8rem; opacity: .7; }

@media (max-width: 900px) {
    .hero__inner, .cols--2, .contact { grid-template-columns: 1fr; }
    .hero__card { transform: none; }
    .facts { grid-template-columns: 1fr 1fr; }
    .cards--3 { grid-template-columns: 1fr; }
    .top__nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
    .facts { grid-template-columns: 1fr; }
}
