/* cmsms stylesheet: nak2026-stil modified: Donnerstag, 19. November 2026 15:06:41 */
/* NAK2026 – bereinigtes CSS. Responsive Varianten stehen am Ende. */

:root {
  --color-primary: #5793c9;
  --color-secondary: #ef8400;
  --color-heading: #1d3557;
  --color-text: #303942;
  --color-muted: #536171;
  --color-link: #a64e00;
  --color-link-hover: #713600;
  --color-page: #f0f1f2;
  --color-surface: #fff;
  --color-footer: #edf3f8;
  --color-border: #e1e3e6;
  --color-overlay: rgb(237 247 255 / 75%);
  --font-body: Arial, sans-serif;
  --font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-size-body: 1rem;
  --font-size-small: .85rem;
  --font-size-h1: clamp(1.85rem, 3.2vw, 2.65rem);
  --font-size-h2: clamp(1.5rem, 2.6vw, 2rem);
  --font-size-h3: clamp(1.15rem, 2vw, 1.35rem);
  --line-height-body: 1.65;
  --line-height-heading: 1.15;
  --space-xs: .35rem;
  --space-sm: .75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --content-width: 85rem;
  --header-width: 72rem;
  --page-gutter: clamp(1rem, 3vw, 1.5rem);
  --logo-size: clamp(3rem, 5vw, 3.625rem);
  --radius: 1.2rem;
  --motion-duration: .28s;
  --link-gradient: linear-gradient(to top, rgb(239 132 0 / 48%), transparent 50%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-text);
  font: var(--font-size-body)/var(--line-height-body) var(--font-body);
}

[hidden] {
  display: none !important;
}

img,
svg,
video {
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: var(--color-link);
  text-underline-offset: .22em;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--color-heading);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-sm);
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: var(--line-height-heading);
}

h1 {
  font-size: var(--font-size-h1);
  letter-spacing: -.025em;
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

p {
  margin: 0 0 var(--space-md);
}

strong,
b {
  font-weight: 600;
}

.wrap {
  width: min(var(--header-width), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 10;
  padding: .6rem;
  background: var(--color-surface);
  transform: translateY(-120%);
}

.skip:focus {
  transform: none;
}

.top {
  background: var(--color-surface);
}

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: 1.15rem;
}

.brand {
  order: 2;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: .8rem;
  flex: 0 0 auto;
  max-width: calc(100% - 5rem);
  margin-left: auto;
  text-align: right;
  color: var(--color-heading);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-weight: 500;
  line-height: 1.2;
}

.brand img {
  display: block;
  width: var(--logo-size);
  height: var(--logo-size);
  flex: 0 0 var(--logo-size);
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: .35rem;
  color: var(--color-muted);
  font-size: .8rem;
  font-weight: 300;
}

#menu,
.menu-measure {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 2vw, 1.65rem);
}

#menu {
  order: 1;
  flex: none;
  flex-wrap: nowrap;
}

.header nav a {
  display: block;
  padding: .475rem .775rem;
  color: var(--color-heading);
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(to top, rgb(239 132 0 / 48%), transparent 75%) no-repeat center calc(100% - 3px) / 100% 0%;
  transition: background-size var(--motion-duration) ease-out;
}

.header nav a:hover,
.header nav [aria-current="page"] {
  background-size: 100% 100%;
}

.toggle {
  order: 1;
  padding: .4rem .65rem;
  border: 1px solid var(--color-border);
  border-radius: .8rem;
  background: var(--color-surface);
  color: var(--color-heading);
  font: inherit;
  cursor: pointer;
}

.header.menu-collapsed > #menu {
  order: 3;
  flex-basis: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: .25rem;
}

.header.menu-collapsed > #menu a {
  padding: .65rem .8rem;
}

.header .menu-measure {
  position: absolute;
  inset: 0 auto auto 0;
  flex-wrap: nowrap;
  width: max-content;
  visibility: hidden;
  pointer-events: none;
}

.hero {
  display: grid;
  background: var(--color-surface);
}

.hero-gallery,
.hero-inner {
  grid-area: 1 / 1;
  min-width: 0;
}

.hero-inner {
  z-index: 1;
  align-self: center;
  pointer-events: none;
  padding-block: var(--space-lg);
}

.hero-photo {
  display: block;
  width: 100%;
  height: clamp(22rem, 36vw, 31rem);
  object-fit: cover;
  object-position: center;
}

.subpage-hero .hero-photo {
  height: clamp(16rem, 30vw, 24rem);
}

.hero-copy {
  width: fit-content;
  max-width: min(100%, 31rem);
  padding: clamp(1rem, 2.7vw, 2rem);
  border-radius: var(--radius);
  background: var(--color-overlay);
  pointer-events: auto;
  overflow-wrap: anywhere;
}

.hero-copy > :last-child {
  margin-bottom: 0;
}

.hero-copy p {
  color: var(--color-muted);
}

.eyebrow {
  margin-bottom: var(--space-sm);
  color: var(--color-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
}

.hero-actions > .button {
  margin-left: auto;
}

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .85rem;
}

.hero-shortcuts a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
}

.shortcut-divider {
  color: var(--color-muted);
}

.shortcut-icon {
  width: 1.15rem;
  height: 1.15rem;
  padding: .12rem;
  flex: none;
  color: var(--color-secondary);
  background: transparent;
}

.link-arrow,
.button-arrow {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -.2em;
}

main a,
.footer a,
.button {
  background-image: var(--link-gradient);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 0%;
  transition: background-size var(--motion-duration) ease-out, color .15s;
}

main a:hover,
.footer a:hover,
.button:hover {
  background-size: 100% 100%;
  color: var(--color-link-hover);
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  max-width: 100%;
  padding: .8rem 1.15rem;
  border: 2px solid var(--color-secondary);
  border-radius: 999px;
  background-color: transparent;
  color: var(--color-heading);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.page-content,
.footer {
  width: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
  border-inline: 1px solid var(--color-border);
}

.page-content {
  background: var(--color-surface);
}

.page-content .wrap,
.footer .wrap {
  width: calc(100% - 2 * var(--page-gutter));
}

.nak2026-content {
  min-height: 12rem;
  padding-block: var(--space-xl);
  overflow-wrap: anywhere;
}

.nak2026-content img {
  max-width: 100%;
  height: auto;
}

.nak2026-content iframe {
  max-width: 100%;
}

.footer {
  background: var(--color-footer);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-lg);
}

.footer-information {
  flex-basis: 100%;
  min-width: 0;
}

.footer p {
  font-size: var(--font-size-small);
  line-height: 1.8;
}

.footer .private-notice {
  color: var(--color-heading);
  font-size: var(--font-size-body);
  font-weight: 500;
  margin-bottom: .4rem;
}

#menu > ul {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu li {
  position: relative;
  list-style: none;
}

#menu li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  padding: .5rem;
  margin: 0;
  z-index: 20;
  background: var(--color-surface);
  box-shadow: 0 .25rem 1rem rgb(0 0 0 / 12%);
}

#menu li:hover > ul,
#menu li:focus-within > ul {
  display: block;
}

#menu li.menuactive > a,
#menu a.menuactive {
  background-size: 100% 100%;
}

.header.menu-collapsed #menu > ul {
  flex-direction: column;
  align-items: stretch;
}

.header.menu-collapsed #menu li > ul {
  display: block;
  position: static;
  box-shadow: none;
  padding-left: 1rem;
}

.nak2026-breadcrumbs {
  padding-block: .75rem;
  font-size: var(--font-size-small);
}

.nak2026-columns {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: var(--space-lg);
}

.nak2026-columns > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nak2026 .container {
  width: min(var(--content-width),calc(100% - 2 * var(--page-gutter)));
  max-width: var(--content-width);
}

.nak2026 .content {
  padding-block: var(--space-lg);
}

.nak2026-global-footer {
  padding-block: var(--space-lg);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.nak2026-legacy-slider {
  overflow: hidden;
}

.nak2026 h1 {
  font-size: var(--font-size-h1);
}

.nak2026 h2 {
  font-size: var(--font-size-h2);
}

.nak2026 h3 {
  font-size: var(--font-size-h3);
}

#menu > ul.sf-menu {
  display: flex;
  flex-wrap: nowrap;
  float: none;
  margin: 0;
  padding: 0;
}

#menu ul.sf-menu li {
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
}

#menu ul.sf-menu a {
  border: 0;
  line-height: var(--line-height-body);
}

#menu ul.unli {
  list-style: none;
}

#menu ul.unli li > ul.unli {
  top: 0;
  left: 100%;
}

#menu li > a:not([href]) {
  cursor: default;
}

#menu .menu_separator {
  margin: .5rem 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

#menu > .clearfix {
  display: none;
}

.header .menu-measure > ul.sf-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .35rem;
  width: max-content;
  list-style: none;
  padding: 0;
  margin: 0;
  float: none;
}

.header .menu-measure > ul.sf-menu > li {
  display: block;
  float: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header .menu-measure ul.unli,
.header .menu-measure > .clearfix {
  display: none !important;
}

.header.menu-collapsed #menu > ul.sf-menu {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
}

.header.menu-collapsed #menu ul.unli {
  display: block !important;
  position: static;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: .15rem 0 .15rem 1rem;
  box-shadow: none;
}

.header.menu-collapsed #menu li > a {
  white-space: normal;
  overflow-wrap: anywhere;
}

.header > a.brand {
  order: 2;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: .8rem;
  margin-left: auto;
  text-align: right;
  min-width: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) var(--logo-size);
  grid-template-areas: "brandtext brandlogo";
  direction: ltr;
}

.brand-text {
  flex: 1 1 auto;
  min-width: 0;
}

.brand-text > :last-child,
.brand-text p {
  margin: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--logo-size);
  width: var(--logo-size);
  height: var(--logo-size);
}

.brand-logo p,
.brand-logo figure,
.brand-logo picture,
.brand-logo span,
.brand-logo div {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.header .brand .brand-logo img,
.header .brand .brand-logo svg,
.header .brand .brand-logo object,
.header .brand .brand-logo embed {
  display: block;
  flex: none;
  width: var(--logo-size) !important;
  height: var(--logo-size) !important;
  max-width: 100% !important;
  max-height: var(--logo-size) !important;
  object-fit: contain;
}

.header > a.brand > .brand-text {
  grid-area: brandtext;
  order: 0 !important;
  float: none !important;
  position: static !important;
  text-align: right;
}

.header > a.brand > .brand-logo {
  grid-area: brandlogo;
  order: 0 !important;
  float: none !important;
  position: static !important;
}

.header > a.brand > .brand-logo img,
.header > a.brand > .brand-logo svg {
  float: none !important;
  position: static !important;
  margin: 0 !important;
}

.header a.brand,
.header a.brand:hover,
.header a.brand:focus,
.header a.brand:active {
  color: var(--color-heading);
  text-decoration: none !important;
  background: transparent !important;
}

.header a.brand:hover .brand-text,
.header a.brand:hover .brand-text span,
.header a.brand:hover .brand-text small {
  text-decoration: none !important;
  background: transparent !important;
}

.header a.brand:hover .brand-text,
.header a.brand:hover .brand-text span {
  color: var(--color-heading);
}

.header a.brand:hover .brand-text small {
  color: var(--color-muted);
}

.header #menu {
  order: 1;
  flex: 0 0 auto;
  min-width: 0;
}

.header #menu > ul.sf-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header #menu > ul.sf-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
  float: none;
}

.header #menu > ul.sf-menu > li > a {
  display: block;
  padding: 0.55rem 0.8rem;
  color: #1d3557;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  background-image: linear-gradient(
    to top,
    rgba(239, 132, 0, 0.48),
    transparent 75%
  );
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 0;
  transition: background-size 0.28s ease-out;
}

.header #menu > ul.sf-menu > li > a:hover,
.header #menu > ul.sf-menu > li.menuactive > a,
.header #menu > ul.sf-menu > li > a.menuactive,
.header #menu > ul.sf-menu > li > a[aria-current="page"] {
  color: #1d3557;
  text-decoration: none;
  background-size: 100% 100%;
}

.header #menu ul.unli {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
}

.header #menu ul.unli a {
  padding: 0.55rem 0.8rem;
  color: #1d3557;
  text-decoration: none;
}

.header.menu-collapsed #menu {
  flex-basis: 100%;
  width: 100%;
}

.header.menu-collapsed #menu > ul.sf-menu > li > a {
  white-space: normal;
}

.header #menu a,
.header #menu a:hover,
.header #menu a:focus,
.header #menu .menuactive > a {
  color: #245B89;
}

.hero-copy .eyebrow,
.hero-copy .eyebrow a,
.hero-copy .hero-shortcuts,
.hero-copy .hero-shortcuts a {
  color: #245B89;
}

/* Responsive bzw. barrierearme Variante */
@media (max-width:47rem) {
  .hero-inner {
    grid-area: 1 / 1;
    padding-block: var(--space-md);
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding: var(--space-md);
  }

  .hero-gallery {
    grid-area: 2 / 1;
  }

  .hero-photo,
  .subpage-hero .hero-photo {
    height: clamp(10rem, 49vw, 20rem);
  }

  .nak2026-columns {
    grid-template-columns: 1fr;
  }
}

/* Responsive bzw. barrierearme Variante */
@media (max-width:26rem) {
  .header {
    gap: var(--space-sm);
  }

  .brand {
    gap: .5rem;
  }

  .brand small {
    font-size: .75rem;
  }

  .hero-actions {
    align-items: flex-start;
  }

  .header > a.brand {
    gap: .5rem;
  }
}

/* Responsive bzw. barrierearme Variante */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.nak2026-back-to-top {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #b0b0b0;
  color: #fff;
  box-shadow: none;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: background-color .2s ease, opacity .2s ease, visibility .2s ease;
}
.nak2026-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nak2026-back-to-top svg {
  width: 1.1rem;
  height: 1.1rem;
}
.nak2026-back-to-top:hover,
.nak2026-back-to-top:focus-visible {
  background: var(--color-primary, #5793c9);
  color: #fff;
  text-decoration: none;
}
.nak2026-back-to-top:focus-visible {
  outline: 3px solid var(--color-heading, #245b89);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .nak2026-back-to-top { transition: none; }
}


/* Am Ende des bestehenden NAK2026-CSS ergänzen.
   Die Klasse menu-collapsed wird durch das Menüscript gesetzt. */
.header > .toggle {
  display: none;
}

.header.menu-collapsed > .toggle:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  order: 1;
}

.header.menu-collapsed > #menu {
  order: 3;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

.header.menu-collapsed > #menu[hidden] {
  display: none !important;
}

.header.menu-collapsed #menu > ul.sf-menu {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.header.menu-collapsed #menu ul.unli {
  display: block !important;
  position: static;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: .15rem 0 .15rem 1rem;
  box-shadow: none;
}

.header.menu-collapsed #menu a {
  white-space: normal;
}
/* Nur innerhalb der Downloadlisten */
.nak-downloads ul {
    list-style: none;
    padding-left: 0;
}

.nak-downloads li {
    margin-bottom: .45rem;
}

/* Abstand zwischen PDF-Symbol und Dateiname */
.nak-downloads a img {
    margin-right: .5rem;
    vertical-align: middle;
}

/* Links schwarz, ohne Hintergrund oder Unterstreichung */
.nak-downloads a,
.nak-downloads a:visited {
    color: #000;
    background: transparent;
    text-decoration: none;
    border-bottom: 0;
    box-shadow: none;
}

.nak-downloads a:hover,
.nak-downloads a:focus-visible {
    color: #5793c9;
    background: transparent;
    text-decoration: none;
    border-bottom: 0;
    box-shadow: none;
}

a:has(img),
a:has(img):hover,
a:has(img):focus {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

a:has(img)::before,
a:has(img)::after {
    display: none !important;
}
.hero .hero-copy h1 {
    font-size: 2.2rem;
}
