@charset "UTF-8";

:root {
  --hiko-blue: #003D7A;
  --hiko-blue-dark: #002f60;
  --hiko-yellow: #F2C200;
  --hiko-white: #FFFFFF;
  --hiko-text: #263646;
  --hiko-muted: #65717d;
  --hiko-border: #d9dfe5;
  --hiko-soft: #f4f6f8;
  --hiko-max: 1360px;
  --hiko-content: 1180px;
  --hiko-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --hiko-sans: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--hiko-text); background: #fff; font-family: var(--hiko-sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--hiko-blue); }

/* Header: only reusable layout and navigation live here. */
.hiko-site-header { position: relative; z-index: 50; background: #fff; border-bottom: 3px solid var(--hiko-yellow); box-shadow: 0 2px 12px rgba(0,45,86,.04); }
.hiko-header-shell { width: min(var(--hiko-max), calc(100% - 64px)); min-height: 116px; margin: 0 auto; display: grid; grid-template-columns: minmax(360px, 455px) 1fr auto; grid-template-rows: 42px 74px; column-gap: 24px; align-items: center; }
.hiko-brand { grid-column: 1; grid-row: 1 / 3; display: block; width: min(100%, 430px); text-decoration: none; }
.hiko-brand img { display: block; width: 100%; height: auto; }
.hiko-header-utility { grid-column: 2 / 4; grid-row: 1; display: flex; justify-content: flex-end; align-items: center; gap: 22px; min-height: 30px; font-size: .82rem; color: var(--hiko-blue); }
.hiko-header-utility:empty { display: none; }
.hiko-header-utility .mod_navigation ul { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.hiko-header-utility a { text-decoration: none; }
.hiko-primary-nav { grid-column: 2 / 4; grid-row: 2; align-self: end; padding-bottom: 18px; }
.hiko-primary-nav .mod_navigation > ul { display: flex; justify-content: flex-end; align-items: center; gap: clamp(16px, 2vw, 30px); list-style: none; padding: 0; margin: 0; }
.hiko-primary-nav li { position: relative; margin: 0; }
.hiko-primary-nav a, .hiko-primary-nav strong { display: block; color: var(--hiko-blue); text-decoration: none; text-transform: uppercase; font-size: .82rem; line-height: 1.2; font-weight: 650; letter-spacing: .015em; white-space: nowrap; }
.hiko-primary-nav a:hover, .hiko-primary-nav a:focus-visible, .hiko-primary-nav .active > strong, .hiko-primary-nav .trail > a { color: #001d3a; }
.hiko-primary-nav li.submenu > a::after, .hiko-primary-nav li.submenu > strong::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.hiko-primary-nav ul.level_2 { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 230px; padding: 10px 0; margin: 0; list-style: none; background: #fff; border-top: 3px solid var(--hiko-yellow); box-shadow: 0 12px 30px rgba(0,45,86,.15); opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.hiko-primary-nav li:hover > ul.level_2, .hiko-primary-nav li:focus-within > ul.level_2 { opacity: 1; visibility: visible; transform: translateY(0); }
.hiko-primary-nav ul.level_2 a, .hiko-primary-nav ul.level_2 strong { padding: 10px 18px; font-size: .78rem; text-transform: none; white-space: normal; }
.hiko-menu-toggle { display: none; appearance: none; width: 44px; height: 44px; padding: 9px; border: 0; background: transparent; color: var(--hiko-blue); cursor: pointer; }
.hiko-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

/* Main content is intentionally content-driven. Articles receive the classes below. */
.hiko-main { min-height: 1px; }
.hiko-main > .mod_article { position: relative; }
.hiko-content { width: min(var(--hiko-content), calc(100% - 64px)); margin: 0 auto; padding: 54px 0 72px; }
.hiko-content h1, .hiko-content h2, .hiko-content h3, .hiko-content h4 { color: var(--hiko-blue); font-family: var(--hiko-serif); line-height: 1.22; }
.hiko-content h1 { font-size: clamp(2.05rem, 4vw, 3rem); }
.hiko-content h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-top: 1.7em; }
.hiko-content h3 { font-size: clamp(1.25rem, 2.3vw, 1.55rem); }
.hiko-content a { text-decoration-color: var(--hiko-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Homepage hero. Text/button are regular content elements inside the article. */
.hiko-hero { isolation: isolate; min-height: clamp(470px, 33.333vw, 640px); padding-top: clamp(72px, 8vw, 128px); padding-right: max(32px, calc((100% - var(--hiko-max)) / 2)); padding-bottom: 62px; padding-left: max(32px, calc((100% - var(--hiko-max)) / 2)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: #fff; background: var(--hiko-blue) url('../images/start/hero.jpg') center center / cover no-repeat; }
.hiko-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,48,94,.96) 0%, rgba(0,61,122,.83) 31%, rgba(0,61,122,.34) 55%, rgba(0,61,122,.07) 78%); }
/* Keep every hero content element on one common left edge. */
.hiko-hero > * { width: 100%; margin-left: 0; margin-right: 0; }
.hiko-hero .hiko-kicker, .hiko-kicker { margin-top: 0; margin-bottom: 10px; color: var(--hiko-yellow); font-size: .93rem; line-height: 1.25; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; }
.hiko-hero h1 { max-width: 690px; margin-top: 0; margin-bottom: 18px; color: #fff; font: 400 clamp(2.3rem, 4.2vw, 3.75rem)/1.12 var(--hiko-serif); }
.hiko-hero .content-text, .hiko-hero .ce_text, .hiko-hero p { max-width: 620px; }
.hiko-hero .content-text p, .hiko-hero .ce_text p { margin-top: 0; }
.hiko-button { margin-top: 14px; }
.hiko-button a, a.hiko-button { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 24px; color: var(--hiko-blue); background: var(--hiko-yellow); border: 2px solid var(--hiko-yellow); border-radius: 2px; text-decoration: none; text-transform: uppercase; font-size: .82rem; font-weight: 700; letter-spacing: .02em; transition: background .15s ease, color .15s ease; }
.hiko-button a::after, a.hiko-button::after { content: "\2192"; font-size: 1.15em; }
.hiko-button a:hover, .hiko-button a:focus-visible, a.hiko-button:hover, a.hiko-button:focus-visible { color: #fff; background: transparent; }

/* General homepage sections. */
.hiko-section, .hiko-news-section { width: min(var(--hiko-content), calc(100% - 64px)); margin: 0 auto; padding: 48px 0 62px; }
.hiko-section > h2, .hiko-news-section > h2, .hiko-section .content-headline, .hiko-news-section .content-headline { color: var(--hiko-blue); font-family: var(--hiko-serif); text-transform: uppercase; font-size: 1.15rem; }
.hiko-section-more { margin-top: -46px; margin-bottom: 24px; text-align: right; }
.hiko-section-more a { color: var(--hiko-blue); font-size: .8rem; font-weight: 600; text-decoration: none; }
.hiko-section-more a::after { content: " \2192"; }

/* News list module using news_latest_hiko.html.twig. */
.hiko-news-grid .mod_newslist, .mod_newslist.hiko-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.hiko-news-grid .pagination, .mod_newslist.hiko-news-grid .pagination, .hiko-news-grid .empty { grid-column: 1 / -1; }
.hiko-news-card { min-width: 0; margin: 0; background: #fff; border: 1px solid var(--hiko-border); }
.hiko-news-card__media { overflow: hidden; background: var(--hiko-soft); }
.hiko-news-card__media figure { margin: 0; }
.hiko-news-card__media img { display: block; width: 100%; aspect-ratio: 2.08 / 1; object-fit: cover; transition: transform .25s ease; }
.hiko-news-card:hover .hiko-news-card__media img { transform: scale(1.015); }
.hiko-news-card__body { padding: 18px 20px 22px; }
.hiko-news-card__date { margin: 0 0 6px; color: var(--hiko-muted); font-size: .78rem; }
.hiko-news-card__title { margin: 0 0 10px; color: var(--hiko-blue); font: 700 1.08rem/1.3 var(--hiko-serif); }
.hiko-news-card__title a { color: inherit; text-decoration: none; }
.hiko-news-card__teaser { color: #3d4853; font-size: .92rem; line-height: 1.48; }
.hiko-news-card__teaser p { margin: 0 0 18px; }
.hiko-news-card__more { margin: 18px 0 0; }
.hiko-news-card__more a { color: var(--hiko-blue); font-size: .76rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.hiko-news-card__more a::after { content: " \2192"; }

/* Page header as a normal article: breadcrumb module + headline content element. */
.hiko-page-header { isolation: isolate; overflow: hidden; min-height: 190px; padding: 38px 0 42px; color: #fff; background: linear-gradient(118deg, #0b579b 0%, var(--hiko-blue) 52%, #003466 100%); }
.hiko-page-header::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: max(3vw, 24px);
    top: 0;
    width: 205px;
    height: 235px;
    opacity: .16;
    background: url('../svg/wappen-watermark.svg') center top / contain no-repeat;
}
.hiko-page-header > * { width: min(var(--hiko-content), calc(100% - 64px)); margin-left: auto; margin-right: auto; }
.hiko-page-header h1 { margin-top: 12px; margin-bottom: 0; color: #fff; font: 400 clamp(2rem, 4vw, 3rem)/1.15 var(--hiko-serif); }
.hiko-page-header .mod_breadcrumb ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.75); font-size: .76rem; }
.hiko-page-header .mod_breadcrumb li:not(:last-child)::after { content: "\203a"; margin-left: 7px; opacity: .65; }
.hiko-page-header .mod_breadcrumb a { color: inherit; text-decoration: none; }

/* Event teasers using event_teaser_hiko.html.twig. */
.hiko-event-list .mod_eventlist, .mod_eventlist.hiko-event-list { display: grid; gap: 18px; }
.hiko-event-card { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--hiko-border); background: #fff; }
.hiko-event-card__media figure { height: 100%; margin: 0; }
.hiko-event-card__media img { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.hiko-event-card__body { padding: 20px 24px; }
.hiko-event-card__date { margin: 0 0 8px; color: var(--hiko-blue); font-size: .78rem; font-weight: 650; }
.hiko-event-card__date::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 7px; vertical-align: -2px; background: url('../svg/icons/calendar.svg') center/contain no-repeat; filter: invert(18%) sepia(40%) saturate(3734%) hue-rotate(185deg) brightness(77%) contrast(103%); }
.hiko-event-card__title { margin: 0 0 8px; color: var(--hiko-blue); font: 700 1.12rem/1.3 var(--hiko-serif); }
.hiko-event-card__title a { color: inherit; text-decoration: none; }
.hiko-event-card__location { margin: 0 0 10px; color: var(--hiko-muted); font-size: .9rem; }
.hiko-event-card__teaser { font-size: .92rem; }
.hiko-event-card__more { margin: 16px 0 0; }
.hiko-event-card__more a { color: var(--hiko-blue); font-size: .76rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.hiko-event-card__more a::after { content: " \2192"; }

/* Footer: four normal content elements on the home page. Other pages can reference them. */
.hiko-site-footer { color: #fff; background: linear-gradient(115deg, #0b579b 0%, var(--hiko-blue) 50%, #003466 100%); }
.hiko-site-footer a { color: #fff; }
.hiko-footer-grid { width: min(var(--hiko-content), calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.hiko-footer-card { position: relative; min-height: 245px; padding: 40px 28px 34px; border-left: 1px solid rgba(255,255,255,.14); }
.hiko-footer-card:first-child { border-left: 0; }
.hiko-footer-card::before { content: ""; display: block; width: 46px; height: 46px; margin-bottom: 16px; background-position: center; background-repeat: no-repeat; background-size: contain; }
.hiko-footer-card--publications::before { background-image: url('../svg/icons/book.svg'); }
.hiko-footer-card--events::before { background-image: url('../svg/icons/people.svg'); }
.hiko-footer-card--history::before { background-image: url('../svg/icons/history.svg'); }
.hiko-footer-card--board::before { background-image: url('../svg/icons/board.svg'); }
.hiko-footer-card h2, .hiko-footer-card h3 { margin: 0 0 10px; color: #fff; font-family: var(--hiko-sans); font-size: 1rem; line-height: 1.25; font-weight: 650; text-transform: uppercase; }
.hiko-footer-card p { margin: 0 0 17px; color: rgba(255,255,255,.92); font-size: .93rem; line-height: 1.48; }
.hiko-footer-card a { display: inline-block; padding-bottom: 6px; border-bottom: 2px solid var(--hiko-yellow); text-decoration: none; font-size: .8rem; font-weight: 650; text-transform: uppercase; }
.hiko-footer-card a::after { content: " \2192"; color: var(--hiko-yellow); }

/* Optional tab row for event/archive pages. */
.hiko-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--hiko-border); margin-bottom: 24px; }
.hiko-tabs a { padding: 0 0 10px; color: var(--hiko-blue); text-decoration: none; text-transform: uppercase; font-size: .76rem; font-weight: 700; }
.hiko-tabs a.active, .hiko-tabs a:hover { border-bottom: 2px solid var(--hiko-blue); }

/* Useful generic treatments for normal content elements. */
.hiko-callout { padding: 24px 28px; border-left: 4px solid var(--hiko-yellow); background: var(--hiko-soft); }
.hiko-two-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px; }
.hiko-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.invisible { display: none !important; }

@media (max-width: 1100px) {
  .hiko-header-shell { width: calc(100% - 40px); grid-template-columns: minmax(300px, 370px) 1fr auto; }
  .hiko-primary-nav .mod_navigation > ul { gap: 15px; }
  .hiko-primary-nav a, .hiko-primary-nav strong { font-size: .75rem; }
}

@media (max-width: 860px) {
  .hiko-site-header { border-bottom-width: 2px; }
  .hiko-header-shell { width: calc(100% - 28px); min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .hiko-brand { width: min(245px, calc(100% - 60px)); }
  .hiko-header-utility { display: none; }
  .hiko-menu-toggle { display: block; flex: 0 0 auto; }
  .hiko-primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 0; background: #fff; border-bottom: 3px solid var(--hiko-yellow); box-shadow: 0 12px 28px rgba(0,45,86,.16); }
  .hiko-site-header[data-open="true"] .hiko-primary-nav { display: block; }
  .hiko-primary-nav .mod_navigation > ul { display: block; padding: 10px 20px 18px; }
  .hiko-primary-nav li { border-bottom: 1px solid #e8ebee; }
  .hiko-primary-nav a, .hiko-primary-nav strong { padding: 12px 2px; font-size: .9rem; }
  .hiko-primary-nav ul.level_2 { position: static; display: block; min-width: 0; padding: 0 0 6px 15px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .hiko-primary-nav ul.level_2 li { border-bottom: 0; }
  .hiko-primary-nav ul.level_2 a, .hiko-primary-nav ul.level_2 strong { padding: 8px 2px; font-size: .84rem; }
  .hiko-site-header[data-open="true"] .hiko-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hiko-site-header[data-open="true"] .hiko-menu-toggle span:nth-child(2) { opacity: 0; }
  .hiko-site-header[data-open="true"] .hiko-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hiko-content, .hiko-section, .hiko-news-section, .hiko-footer-grid, .hiko-page-header > * { width: calc(100% - 32px); }
  .hiko-hero { min-height: 560px; padding-top: 76px; padding-right: 16px; padding-bottom: 58px; padding-left: 16px; background-position: 61% center; }
  .hiko-hero::before { background: linear-gradient(90deg, rgba(0,48,94,.96) 0%, rgba(0,61,122,.82) 48%, rgba(0,61,122,.32) 100%); }
  .hiko-hero h1 { max-width: 560px; }
  .hiko-news-grid .mod_newslist, .mod_newslist.hiko-news-grid { grid-template-columns: 1fr; }
  .hiko-footer-grid { grid-template-columns: 1fr 1fr; }
  .hiko-footer-card:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .hiko-footer-card:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .hiko-event-card { grid-template-columns: minmax(160px, 220px) 1fr; }
  .hiko-two-columns { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hiko-header-shell { min-height: 76px; }
  .hiko-brand { width: 205px; }
  .hiko-hero { min-height: 520px; background-position: 66% center; }
  .hiko-hero h1 { font-size: 2.15rem; }
  .hiko-section-more { margin-top: 0; text-align: left; }
  .hiko-footer-grid { grid-template-columns: 1fr; }
  .hiko-footer-card, .hiko-footer-card:nth-child(n) { min-height: auto; padding: 28px 10px 28px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .hiko-footer-card:first-child { border-top: 0; }
  .hiko-footer-card::before { float: left; width: 42px; height: 42px; margin: 0 18px 8px 0; }
  .hiko-footer-card h2, .hiko-footer-card h3, .hiko-footer-card p, .hiko-footer-card a { margin-left: 60px; }
  .hiko-event-card { display: block; }
  .hiko-event-card__media img { height: 210px; min-height: 0; }
  .hiko-page-header { min-height: 155px; }
  .hiko-page-header::after {
    width: 135px;
    height: 160px;
    right: 4px;
    top: 0;
    background-position: center top;
}
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   Footer
   ========================================================= */

.hiko-footer {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.45fr 1fr 0.8fr;
    gap: 56px;
    padding: 58px max(5vw, 32px) 34px;
    background: #003d7a;
    color: #fff;
    border-top: 4px solid #f2c200;
}

/* dezentes Wappen im Hintergrund */
.hiko-footer::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -75px;
    width: 300px;
    height: 350px;
    background: url("../svg/wappen-watermark.svg") center / contain no-repeat;
    opacity: .07;
    pointer-events: none;
}

.hiko-footer > * {
    position: relative;
    z-index: 1;
}

.hiko-footer h2,
.hiko-footer h3 {
    margin: 0 0 18px;
    color: #fff;
    font-family: Merriweather, Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.3;
}

.hiko-footer h2::after,
.hiko-footer h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 11px;
    background: #f2c200;
}

.hiko-footer p {
    margin: 0 0 14px;
    color: rgba(255,255,255,.88);
    line-height: 1.65;
}

.hiko-footer a {
    color: #fff;
    text-decoration: none;
    transition: color .2s ease;
}

.hiko-footer a:hover,
.hiko-footer a:focus-visible {
    color: #f2c200;
}

.hiko-footer__brand {
    max-width: 420px;
}

.hiko-footer__brand h2,
.hiko-footer__brand h3 {
    font-size: 1.55rem;
}

.hiko-footer__brand p {
    font-family: Merriweather, Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.75;
}

.hiko-footer__links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hiko-footer__links li {
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.hiko-footer__links li:last-child {
    border-bottom: 0;
}

.hiko-footer__links a::after {
    content: " →";
    color: #f2c200;
}

/* komplette untere Zeile */
.hiko-footer__bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 18px calc(-1 * max(5vw, 32px)) -34px;
    padding: 18px max(5vw, 32px);
    background: #002f60;
    border-top: 1px solid rgba(255,255,255,.12);
}

.hiko-footer__bottom p {
    margin: 0;
    font-size: .88rem;
    color: rgba(255,255,255,.72);
}

/* Tablet */
@media (max-width: 900px) {

    .hiko-footer {
        grid-template-columns: 1fr 1fr;
        gap: 38px 48px;
        padding-top: 46px;
    }

    .hiko-footer__brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .hiko-footer::after {
        width: 220px;
        height: 260px;
    }
}

/* Mobil */
@media (max-width: 600px) {

    .hiko-footer {
        display: block;
        padding: 38px 20px 0;
    }

    .hiko-footer__brand,
    .hiko-footer__contact,
    .hiko-footer__links {
        margin-bottom: 36px;
    }

    .hiko-footer::after {
        width: 170px;
        height: 200px;
        right: -35px;
        bottom: 10px;
        opacity: .05;
    }

    .hiko-footer__bottom {
        display: block;
        margin: 8px -20px 0;
        padding: 18px 20px;
    }

    .hiko-footer__bottom p + p {
        margin-top: 6px;
    }
}
