:root {
      --navy: #0d1b2a;
      --blue: #1a3a5c;
      --accent: #c9a84c; /*e8622a*/
      --gold: #c9a84c;
      --light: #f5f2ec;
      --white: #ffffff;
      --gray: #6b7280;
      --border: #ddd8cc;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--light);
      color: var(--navy);
      font-size: 16px;
      line-height: 1.6;
    }

    /* ── NAV ── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--navy);
      padding: 0 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
      border-bottom: 2px solid var(--accent);
    }
    .nav-logo {
      font-family: 'DM Serif Display', serif;
      color: var(--white);
      font-size: 1.1rem;
      text-decoration: none;
    }
    .nav-logo span { color: var(--accent); }
    .nav-links { display: flex; gap: 0.25rem; list-style: none; }
    .nav-links a {
      color: #aab4c0;
      text-decoration: none;
      font-size: 0.8rem;
      font-weight: 500;
      padding: 0.4rem 0.7rem;
      border-radius: 4px;
      transition: color 0.2s, background 0.2s;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .nav-links a:hover { color: var(--white); background: rgba(232,98,42,0.18); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

    /* ── HERO ── */
    #home {
      background: url('../images/schloss-karlsruhe.jpg') center center / cover no-repeat;
      color: var(--white);
      padding: 5.5rem 2rem 4.5rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    #home::before {
      content: '';
      background: rgba(0, 0, 0, 0.5) !important;
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 65% 40%, rgba(232,98,42,0.13) 0%, transparent 60%),
                  radial-gradient(ellipse at 20% 80%, rgba(26,58,92,0.9) 0%, transparent 60%);
    }
    .hero-grid {
      position: absolute; inset: 0;
      background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 40px 40px;
    }
    .hero-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
    .hero-eyebrow {
      display: inline-block;
      background: var(--accent);
      color: var(--white);
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 0.35rem 1rem;
      border-radius: 2px;
      margin-bottom: 1.5rem;
    }
    #home h1 {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      line-height: 1.1;
      margin-bottom: 0.5rem;
    }
    #home h1 em { color: var(--accent); font-style: italic; }
    .hero-sub { font-size: 1.15rem; color: #a0b0c0; margin-bottom: 2rem; font-weight: 300; }
    .hero-meta { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
    .hero-meta-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: #c8d4de; }
    .hero-meta-item svg { color: var(--accent); flex-shrink: 0; }
    .hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .btn {
      display: inline-block;
      padding: 0.85rem 2rem;
      border-radius: 4px;
      font-weight: 600;
      font-size: 0.88rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      text-decoration: none;
      transition: all 0.2s;
    }
    .btn-primary { background: var(--accent); color: var(--white); }
    .btn-primary:hover { background: #d4541e; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,98,42,0.35); }
    .btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
    .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

    /* ── SHARED SECTION STYLES ── */
    section { padding: 4.5rem 2rem; }
    .container { max-width: 1060px; margin: 0 auto; }
    .section-label {
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem;
    }
    .section-title {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(1.8rem, 3.5vw, 2.5rem);
      color: var(--navy); margin-bottom: 1rem; line-height: 1.2;
    }
    .section-intro {
      font-size: 1rem; color: var(--gray); max-width: 640px;
      margin-bottom: 2.5rem; line-height: 1.75;
    }

    /* ── ABOUT ── */
    #about { background: var(--white); }
    .about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
    .about-text p { color: #444; line-height: 1.8; margin-bottom: 1rem; font-size: 0.975rem; }
    .feature-list { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; }
    .feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; color: #333; }
    .feature-list li::before {
      content: ''; width: 7px; height: 7px; border-radius: 50%;
      background: var(--accent); margin-top: 0.5em; flex-shrink: 0;
    }
    .info-card { background: var(--navy); color: var(--white); border-radius: 8px; padding: 2rem; }
    .info-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; margin-bottom: 1.25rem; color: var(--gold); }
    .info-row { display: flex; flex-direction: column; gap: 0.85rem; }
    .info-item { display: flex; gap: 0.75rem; align-items: flex-start; }
    .info-item-icon { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
    .info-item-text { font-size: 0.875rem; color: #c0ccd8; line-height: 1.5; }
    .info-item-text strong { color: var(--white); display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.1rem; }

    /* ── DATES ── */
    #dates { background: var(--light); }
    .dates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
    .date-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; border-top: 3px solid var(--accent); }
    .date-card .date-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.3rem; }
    .date-card .date-value { font-family: 'DM Serif Display', serif; font-size: 1.05rem; color: var(--navy); margin-bottom: 0.2rem; }
    .date-card .date-desc { font-size: 0.82rem; color: var(--gray); }

    /* ── PROGRAMME ── */
    #programme { background: var(--white); }
    .prog-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
    .prog-card { background: var(--light); border-radius: 6px; padding: 1.75rem; border: 1px solid var(--border); }
    .prog-icon {
      width: 42px; height: 42px; border-radius: 8px; background: var(--navy);
      display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--accent);
    }
    .prog-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
    .prog-card p { font-size: 0.845rem; color: var(--gray); line-height: 1.65; }

    .week-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0.75rem;
      margin-top: 2.5rem;
    }
    .day-col { background: var(--light); border-radius: 6px; border: 1px solid var(--border); overflow: hidden; }
    .day-header { background: var(--navy); color: var(--white); padding: 0.65rem 0.75rem; text-align: center; }
    .day-header .day-name { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
    .day-header .day-date { font-size: 0.72rem; color: #a0b0c0; margin-top: 0.1rem; }
    .day-slots { padding: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
    .slot { border-radius: 4px; padding: 0.5rem 0.6rem; font-size: 0.72rem; line-height: 1.4; }
    .slot-time { font-size: 0.65rem; color: var(--gray); margin-bottom: 0.1rem; }
    .slot-title { font-weight: 600; }
    .slot-lecture { background: #eef4fb; border-left: 3px solid #3b82f6; }
    .slot-lecture .slot-title { color: #1d4ed8; }
    .slot-project { background: #fef3ee; border-left: 3px solid var(--accent); }
    .slot-project .slot-title { color: #c2440a; }
    .slot-keynote { background: #faf5e4; border-left: 3px solid var(--gold); }
    .slot-keynote .slot-title { color: #92620a; }
    .slot-social { background: #f0fdf4; border-left: 3px solid #22c55e; }
    .slot-social .slot-title { color: #166534; }
    .slot-admin { background: #f0f0f0; border-left: 3px solid #ccc; }
    .slot-admin .slot-title { color: var(--gray); }
    .legend { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
    .legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--gray); }
    .legend-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }

    .poster-box {
      background: var(--light); border: 1px solid var(--border); border-radius: 8px;
      padding: 2rem; margin-top: 2.5rem;
    }
    .poster-box h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; margin-bottom: 0.75rem; }
    .poster-box p { color: var(--gray); font-size: 0.92rem; line-height: 1.7; margin-bottom: 0.6rem; }
    .poster-box ul { list-style: none; margin: 0.5rem 0; }
    .poster-box ul li { font-size: 0.88rem; color: #444; padding: 0.2rem 0; }
    .poster-box ul li::before { content: '→ '; color: var(--accent); }

    /* ── SPEAKERS ── */
    #speakers { background: var(--light); }
    .speakers-tbd {
      background: var(--white); border: 1px solid var(--border);
      border-radius: 8px; padding: 3rem 2rem; text-align: center; margin-top: 1.5rem;
    }
    .speakers-tbd .tbd-icon {
      width: 60px; height: 60px; border-radius: 50%; background: var(--navy);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.25rem; color: var(--accent);
    }
    .speakers-tbd h3 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 0.5rem; }
    .speakers-tbd p { color: var(--gray); font-size: 0.92rem; line-height: 1.7; max-width: 480px; margin: 0 auto; }

    .past-list {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 0.9rem; margin-top: 1.75rem;
    }
    .past-speaker-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: 6px; padding: 0.9rem 1.1rem; font-size: 0.875rem;
    }
    .past-speaker-card strong { display: block; color: var(--navy); margin-bottom: 0.15rem; }
    .past-speaker-card span { color: var(--gray); font-size: 0.82rem; }
    .past-note { font-size: 0.82rem; color: var(--gray); margin-top: 1rem; font-style: italic; }

    /* ── REGISTRATION ── */
    #registration { background: var(--navy); color: var(--white); }
    #registration .section-title { color: var(--white); }
    #registration .section-intro { color: #a0b0c0; }
    .reg-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; }
    .reg-main-card {
      background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px; padding: 2rem;
    }
    .reg-main-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--gold); margin-bottom: 0.75rem; }
    .reg-main-card p { color: #b0bec8; font-size: 0.9rem; line-height: 1.75; margin-bottom: 0.85rem; }
    .eamt-note {
      background: rgba(255,255,255,0.08); border-radius: 6px;
      padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: 0.875rem; color: #c0ccd8;
    }
    .eamt-note a { color: var(--accent); }
    .btn-reg {
      display: block; text-align: center; padding: 0.9rem;
      background: var(--accent); color: var(--white); border-radius: 4px;
      font-weight: 600; font-size: 0.88rem; text-decoration: none;
      letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.2s;
    }
    .btn-reg:hover { background: #c4511d; }
    .btn-reg.disabled { background: #4a5a6a; pointer-events: none; cursor: not-allowed; }
    .btn-reg-note { text-align: center; margin-top: 0.6rem; font-size: 0.77rem; color: #6a7a8a; }

    .reg-sidebar { display: flex; flex-direction: column; gap: 1.1rem; }
    .reg-info-box {
      background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px; padding: 1.4rem;
    }
    .reg-info-box h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6a7a8a; margin-bottom: 0.85rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .date-row { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; padding: 0.25rem 0; }
    .date-row .dr-label { color: #8a9aaa; }
    .date-row .dr-val { font-weight: 600; color: var(--white); text-align: right; }
    .date-row .dr-val.tbd { color: var(--accent); font-weight: 400; font-style: italic; }
    .reg-info-box p { font-size: 0.875rem; color: #8a9aaa; line-height: 1.65; }
    .reg-info-box a { color: var(--accent); }

    /* ── VENUE ── */
    #venue { background: var(--white); }
    .venue-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; margin-top: 1.5rem; }
    .venue-text p { color: var(--gray); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.9rem; }
    .venue-text a { color: var(--accent); }
    .venue-address {
      background: var(--navy); color: var(--white); border-radius: 6px;
      padding: 1.1rem 1.4rem; margin-top: 1.1rem; font-size: 0.875rem; line-height: 1.7;
    }
    .venue-address strong { color: var(--gold); display: block; margin-bottom: 0.2rem; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
    .map-container { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); height: 320px; }
    .map-container iframe { width: 100%; height: 100%; border: none; }

    .travel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
    .travel-card { background: var(--light); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
    .travel-icon {
      width: 40px; height: 40px; border-radius: 7px; background: var(--navy);
      display: flex; align-items: center; justify-content: center; margin-bottom: 0.85rem; color: var(--accent);
    }
    .travel-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
    .travel-card p { font-size: 0.845rem; color: var(--gray); line-height: 1.65; }
    .travel-card a { color: var(--accent); }

    /* ── SPONSORS ── */
    #sponsors { background: var(--light); }
    .sponsors-tbd-box {
      background: var(--white); border: 2px dashed var(--border);
      border-radius: 8px; padding: 2.5rem; text-align: center; margin-top: 1.5rem;
    }
    .sponsors-tbd-box p { color: var(--gray); font-size: 0.92rem; line-height: 1.7; margin-top: 0.5rem; }
    .sponsors-tbd-box a { color: var(--accent); }
    .tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
    .tier-card { border-radius: 8px; padding: 1.75rem; border: 1px solid var(--border); }
    .tier-card.gold { background: #faf5e4; border-color: var(--gold); }
    .tier-card.silver { background: #f5f8fc; border-color: #a0b4cc; }
    .tier-card.bronze { background: #fdf2ee; border-color: #c8855a; }
    .tier-badge { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.4rem; }
    .tier-card.gold .tier-badge { color: #92620a; }
    .tier-card.silver .tier-badge { color: #3d5a7a; }
    .tier-card.bronze .tier-badge { color: #8b4f2a; }
    .tier-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.1rem; margin-bottom: 0.85rem; }
    .tier-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
    .tier-benefits li { font-size: 0.82rem; color: #444; }
    .tier-benefits li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

    /* ── NOTICE BANNER ── */
    .notice-banner {
      background: var(--navy); color: #a0b0c0; border-radius: 6px;
      padding: 1.1rem 1.4rem; font-size: 0.875rem;
      display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.75rem;
    }
    .notice-banner svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
    .notice-banner strong { color: var(--white); }

    /* ── FOOTER ── */
    footer {
      background: var(--navy); color: #6b7a8a; text-align: center;
      padding: 2rem; font-size: 0.83rem;
      border-top: 2px solid var(--accent);
    }
    footer a { color: #a0b0c0; text-decoration: none; }
    footer a:hover { color: var(--white); }

    /* ── RESPONSIVE ── */
    @media (max-width: 860px) {
      .about-grid, .reg-layout, .venue-layout { grid-template-columns: 1fr; }
      .week-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .hamburger { display: flex; }
      .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--navy); flex-direction: column; padding: 1rem;
        border-bottom: 2px solid var(--accent); gap: 0.25rem;
      }
      .nav-links.open { display: flex; }
      .hero-meta { gap: 1rem; }
      .week-grid { grid-template-columns: 1fr; }
    }

  .day-slots{
    display:flex;
    flex-direction:column;
  }

  .slot{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:6px;
  }

  /* duration sizes */

  .h15{height:30px;}   /* 15 min */
  .h30{height:40px;}   /* 30 min */
  .h60{height:50px;}   /* 1 hour */
  .h75{height:50px;}  /* 1h15 */
  .h90{height:70px;}  /* 1h30 */
  .h120{height:70px;} /* 2 hours */

  .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  border-right: 1px solid rgba(255,255,255,0.3); /* optional divider */
  padding-right: 12px;
}