/* Minimal normalize.css replacement */
h1, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
  margin: 0;
}
h2 {
	font-size: 1.75rem;
    margin-bottom: 1.5em;
	font-weight: normal;
	margin: 0;
}
h3 {
	font-size: 1.25rem;
    white-space: nowrap;
	font-weight: normal;
	margin: 0;
}
button, input {
  margin: 0;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
}
button {
  text-transform: none;
}
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;600;700&display=swap");

:root {
  --nl-neutral-300: hsl(232, 41%, 97%);
  --nl-neutral-400: hsl(98, 0%, 50%);
  --nl-neutral-900: #020203;
  --nl-accent: hsl(248, 66%, 66%);
  --nl-fw-400: 400;
  --nl-fw-600: 600;
  --nl-fw-700: 700;
  --nl-ff-primary: "Mulish", sans-serif;
}

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

html:focus-within {
  scroll-behavior: smooth;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

ol[class],
ul[class] {
  list-style: none;
  padding: 0;
}

input,
button,
textarea,
select {
  font: inherit;
}

img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

.nl-flow > * + * {
  margin-top: var(--nl-flow-spacer, var(--nl-spacer));
}

* {
  font-family: inherit;
  line-height: inherit;
  color: inherit;
}

.nl-main,
.nl-container {
  width: min(95%, 1136px);
  margin: 0 auto;
}

.nl-news__title {
  font-size: 1.75rem;
  margin-bottom: 1.5em;
}

.nl-news-grid {
  display: grid;
}

.nl-checkbox {
  opacity: 0;
  position: relative;
}

.nl-checkbox + label {
  display: grid;
  grid-template-columns: 24px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1em;
  position: relative;
  cursor: pointer;
}

.nl-checkbox[type=checkbox] + label::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 3px;
  border: 1px solid #8f94a1;
  background: transparent;
}

.nl-checkbox[type=checkbox] + label::after {
  content: "✓";
  color: white;
  font-size: 1.25rem;
  position: absolute;
  top: 0px;
  left: 4px;
  transform: scale(0);
  transition: all 300ms ease-in-out;
}

.nl-checkbox[type=checkbox]:checked + label::before {
  background-color: black;
}

.nl-checkbox[type=checkbox]:checked + label::after {
  transform: scale(1);
}

h5 {
  font-size: 1.25rem;
  white-space: nowrap;
}

p {
  grid-column: 2/-2;
}

.nl-card {
  padding: 0 12px;
}

.nl-news__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

input[type=email] {
  border: 0;
  outline: 0;
  padding: 20px 30px;
  border-radius: 3px;
  border: 1px solid #8f94a1;
}

.nl-news__btn {
  border: none;
  outline: none;
  background: transparent;
  background-color: black;
  padding: 20px 30px;
  color: white;
  border-radius: 3px;
  cursor: pointer;
}

@media (min-width: 768px) { /* 550 */
  .nl-news-grid {
    grid-auto-flow: column;
    grid-template-columns: repeat(3, 1fr);
  }

  .nl-news {
    padding: 4.125em 2.25em;
  }

  .nl-news__form {
    flex-direction: row;
    gap: 10px;
  }

  input[type=email] {
    flex: 0 0 480px;
  }
}

.news-slider { position: relative; overflow: hidden; margin: 2rem 0 5rem; }

/* Wichtiger Teil: wir verschieben den Wrapper horizontal */
.slider-wrapper {
  display: flex;
  width: 100%;
  transition: transform .6s ease;
  will-change: transform;
}

/* Jede Slide ist 100% breit – kein Opacity-Hiding mehr */
.slide { flex: 0 0 100%; }

.news-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  min-height: 420px;
}

.tile { position: relative; display: block; overflow: hidden; border-radius: 10px; min-height: 200px; isolation: isolate; }
.tile-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); transition: transform .4s ease; }
.tile-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.0) 30%, rgba(0,0,0,.65) 100%); z-index: 1; }
.tile-content { position: absolute; inset: auto 0 0 0; padding: 16px; z-index: 2; color: #fff; }
.tile:hover .tile-bg { transform: scale(1.08); }

.tile-title { margin: 6px 0 4px; line-height: 1.15; }
.tile--feature .tile-title { font-size: clamp(20px, 2.8vw, 32px); font-weight: 800; }
.tile--side .tile-title    { font-size: clamp(16px, 2vw, 20px); font-weight: 700; }

.tile-meta { opacity: .9; font-size: 14px; }
.tile-tags { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:6px; }
.tag { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.02em; padding:4px 8px; border-radius:6px; background:black; }

.tile--feature { grid-column: 1 / 2; grid-row: 1 / 3; min-height: 420px; }
.side-grid     { grid-column: 2 / 3; grid-row: 1 / 3; display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.side-grid .tile--wide { grid-row: 1 / 2; min-height: 200px; }

/* Pfeile */
.slider-nav {
  position: absolute;
  top: 50%; left: 0; right: 0;
  display: flex; justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 6px;
  pointer-events: none;
}
.slider-nav button {
  pointer-events: auto;
  background: rgba(255,255,255,.95);
  border: none;
  width: 42px; height: 42px; border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
  cursor: pointer; font-size: 20px; line-height: 1;
}
.slider-nav button:active { transform: scale(.97); }

.news-hero-more { text-align:center; margin-top:1rem; }
.news-hero-more a { color: #163a80; font-weight:600; text-decoration:none; }

@media (max-width: 759px) {
  .news-hero-grid { grid-template-columns: 1fr; }
  .tile--feature  { grid-column: 1; grid-row: auto; min-height: 360px; }
  .side-grid      { grid-column: 1; grid-row: auto; grid-template-columns: 1fr; grid-template-rows: none; }
}

/* MOBILE: nur 1 Artikel pro Slide */
@media (max-width: 700px) {
  .news-hero-grid {
    display: block;
  }

  .tile--feature {
    width: 100%;
    min-height: 360px;
  }

  /* Verstecke die rechte Spalte */
  .side-grid {
    display: none;
  }
}
