﻿/* =====================
   LOCAL FONTS ÔÇô Inter (latin & latin-ext)
   Subsets cover: Basic Latin, Latin-1 Supplement (incl. German umlauts),
   Extended Latin (additional diacritics)
===================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('Fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('Fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange: #E87820;
    --navy: #1a2a4a;
    --navy-dark: #141f38;
    --white: #ffffff;
    --text: #333333;
    --text-muted: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

/* =====================
   NAVIGATION
===================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    padding: 0 60px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links li a:hover {
    color: var(--orange);
}

.btn-orange {
    background: var(--orange);
    color: #ffffff !important;
    padding: 11px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-orange:hover {
    background: #d06a14;
    transform: translateY(-1px);
}

/* =====================
   HERO
===================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 120px 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('Images/start-image.jpeg') center center / cover no-repeat;
    transform: scaleX(-1);
    z-index: -2;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 18, 45, 0.82) 0%,
        rgba(10, 18, 45, 0.65) 60%,
        rgba(10, 18, 45, 0.4) 100%
    );
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 620px;
}

.hero-pretitle {
    color: var(--orange);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(4rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 36px;
    letter-spacing: -1px;
}

.hero-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-badge {
    border: 2px solid rgba(255, 255, 255, 0.85);
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 1.54rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-logos {
    position: absolute;
    right: 18%;
    top: 75%;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
}

.hero-logos img {
    height: 66px;
    max-width: 225px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}
.hero-logos img[src*="id-net-logo"] {
    height:58px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: white;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* =====================
   SECTIONS – COMMON
===================== */
section {
    padding: 90px 60px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    margin-bottom: 18px;
}

.section-title .highlight {
    color: var(--orange);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 820px;
    margin: 0 auto 40px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =====================
   SECTION: BESUCHE UNS IN KÖLN
===================== */
#start {
    background: #ffffff;
}

#start .intro-lead {
    text-align: center;
    font-weight: 600;
    color: var(--navy);
    max-width: 820px;
    margin: 0 auto 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

#start .intro-text {
    text-align: center;
    color: var(--text-muted);
    max-width: 820px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =====================
   SECTION: THEMEN
===================== */
#themen {
    background: #f9f9fb;
}

.focus-label {
    text-align: center;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 880px;
    margin: 0 auto;
}

.topic-card {
    background: var(--navy);
    color: #ffffff;
    border-radius: 14px;
    padding: 38px 24px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 42, 74, 0.25);
}

.topic-card img {
    height: 58px;
    object-fit: contain;
}

.topic-card--bg {
    position: relative;
    overflow: hidden;
}
.topic-card--bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-bg-img) center center / cover no-repeat;
    opacity: var(--card-bg-opacity, 0.1);
    z-index: 0;
}
.topic-card--bg > * {
    position: relative;
    z-index: 1;
}

.topic-card--ai-bg          { --card-bg-img: url('Images/ai-bg.jpg');          --card-bg-opacity: 0.12; }
.topic-card--cde-bg         { --card-bg-img: url('Images/cde-bg.jpg');         --card-bg-opacity: 0.14; }
.topic-card--ecm-bg         { --card-bg-img: url('Images/ecm-bg.jpg');         --card-bg-opacity: 0.03; }
.topic-card--controlling-bg { --card-bg-img: url('Images/controlling-bg.jpg'); --card-bg-opacity: 0.15; }
.topic-card--pm-bg          { --card-bg-img: url('Images/pm-bg.jpg');          --card-bg-opacity: 0.05; }
.topic-card--automation-bg  { --card-bg-img: url('Images/automation-bg.jpg');  --card-bg-opacity: 0.10; }

.topic-card span {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.4;
}

/* =====================
   SECTION: GEWINNSPIEL
===================== */
#gewinnspiel {
    background: #ffffff;
}

.contest-wrapper {
    max-width: 1099px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
}

.contest-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
    background: var(--navy);
}

.contest-main-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.contest-body {
    padding: 40px 44px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.contest-yeti-wrap {
    flex-shrink: 0;
    width: 215px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contest-yeti-wrap img {
    width: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.contest-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.contest-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.contest-text ol {
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.95;
    margin-bottom: 14px;
}

.contest-text ol li strong {
    color: var(--navy);
}

.contest-cta {
    display: inline-block;
    background: var(--navy);
    color: #ffffff;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.2s;
    white-space: nowrap;
}

.contest-cta:hover {
    background: var(--orange);
}

/* =====================
   SECTION: KONTAKT
===================== */
#kontakt {
    background: var(--navy-dark);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

#kontakt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('Images/crane-image-footer.jpg') center / cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-side h2 {
    color: var(--orange);
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.contact-form-side .form-intro {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
    line-height: 1.65;
}

.contact-form-side .form-intro strong {
    color: #ffffff;
}

.contact-form-side .form-hint {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    line-height: 1.65;
}

.form-group {
    margin-bottom: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.12);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select option {
    background: var(--navy);
    color: #fff;
}

.form-group select.placeholder-shown {
    color: rgba(255, 255, 255, 0.4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-result-error {
    color: red;
    background-color: beige;
    margin-bottom: 12px;
}

.form-result-success {
    background-color: #E87820;
    margin-bottom: 12px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--orange);
    cursor: pointer;
}

.checkbox-group a {
    color: var(--orange);
    text-decoration: underline;
}

.contact-map-side {
    display: flex;
    flex-direction: column;
}

.contact-map-side h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.venue-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-map-side img.map-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 32px;
}

h4 { text-decoration: underline; }

.contact-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-info address {
    font-style: normal;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.contact-info a {
    color: var(--orange);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* =====================
   FOOTER
===================== */
footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0 16px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.88rem;
    user-select: none;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 960px) {
    nav { padding: 0 30px; }
    .hero { padding: 100px 40px 80px; }
    .hero-logos { right: 30px; }
    section { padding: 70px 30px; }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 680px) {
    nav { padding: 0 20px; gap: 10px; }
    .nav-links { gap: 16px; }
    .hero { padding: 100px 24px 80px; }
    .hero-logos { display: none; }
    .hero-title { font-size: 3.5rem; }
    section { padding: 60px 24px; }
    .topics-grid { grid-template-columns: 1fr; max-width: 320px; }
    .contest-body { flex-direction: column; padding: 28px; }
    .contest-yeti-wrap { width: 80px; }
    footer { padding: 20px 24px; }
}

/* ── Lightbox ─────────────────────────────────────────── */
.map-img { cursor: zoom-in; }

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#lightbox.active { display: flex; }

#lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    object-fit: contain;
    cursor: default;
}
