/* ============================================================
   daliegtmehrdrin.ch – STYLE.CSS (aufgeräumt)
   Ziel: gleicher Look, sauberere Struktur, weniger Doppelungen
   ------------------------------------------------------------
   01) TOKENS
   02) RESET / BASE
   03) LAYOUT
   04) HEADER / NAV
   05) TYPOGRAFIE
   06) BUTTONS
   07) HOME
   08) STORIES / SUCHE / LISTEN
   09) DETAILSEITEN (Story / Event)
   10) EVENTS / ANLÄSSE
   11) HASHTAG
   12) FOOTER
   13) HELPERS / EXTERNE LINKS
   14) RESPONSIVE
   ============================================================ */

/* ============================================================
   01) TOKENS
   ============================================================ */
:root {
  --glp-green: #8dae10;
  --glp-blue: #009fe3;

  --bg: #f4f5f3;
  --card: #ffffff;
  --bg-l-gr: #f6faeb;
  --bg-l-bl: #f0f8fc;

  --text: #2f2f2f;
  --muted: #666666;
  --soft: #888888;

  --border: #ececec;
  --border-soft: #f1f1f1;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.045);
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.055);
  --shadow-shell: 0 16px 42px rgba(0, 0, 0, 0.035);

  --space-xs: 8px;
  --space-sm: 14px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 60px;
  --space-xxl: 80px;

  --content-max: 980px;
  --reading-max: 740px;
  --stories-max: 860px;
  --hero-max: 920px;
  --card-media-width: 320px;

  --fs-xs: 0.88rem;
  --fs-sm: 0.95rem;
  --fs-md: 1.06rem;
  --fs-lg: 1.22rem;
  --fs-xl: 1.48rem;

  --fs-h1: clamp(2.2rem, 4.8vw, 2.85rem);
  --fs-h2: clamp(1.55rem, 2.7vw, 1.92rem);
  --fs-h3: 1.3rem;

  --lh-body: 1.72;
  --lh-tight: 1.16;
  --lh-meta: 1.55;
}

/* ============================================================
   02) RESET / BASE
   ============================================================ */
html {
  overflow-y: scroll;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  padding-left: 1.2em;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* ============================================================
   03) LAYOUT
   ============================================================ */
.page-wrapper {
  max-width: 1180px;
  margin: 26px auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-shell);
}

.content-frame {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 42px 30px 0;
}

.story-text,
.page-content,
.default-content,
.hashtag-page-content,
.event-page-content {
  max-width: var(--reading-max);
  margin-left: auto;
  margin-right: auto;
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--text);
}

/* ============================================================
   04) HEADER / NAV
   ============================================================ */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 42px 28px 26px;
  border-bottom: 1px solid var(--border-soft);
}

.logo {
  display: block;
  width: 600px;
  max-width: 95%;
  height: auto;
  margin-bottom: 30px;
}

.logo img {
  width: 100%;
  height: auto;
}

.main-nav {
  font-size: 1.03rem;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  padding-bottom: 6px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.045em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.main-nav a:hover {
  color: var(--glp-blue);
  border-bottom-color: rgba(0, 159, 227, 0.22);
}

.main-nav a.is-active {
  color: var(--glp-green) !important;
  border-bottom-color: var(--glp-green) !important;
}

/* ============================================================
   05) TYPOGRAFIE
   ============================================================ */
h1,
.headline-glp {
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  font-weight: 900;
  color: var(--glp-blue);
  letter-spacing: -0.02em;
}

.headline-glp {
  position: relative;
  display: table;
  width: auto;
  max-width: 760px;
  margin: 0 auto 30px;
  padding-right: 18px;
}

.headline-glp::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 0.21em;
  width: 9px;
  height: 9px;
  background: var(--glp-green);
  border-radius: 50%;
}

h2,
.p-story .default-content h2,
.p-event .default-content h2 {
  margin: 3rem 0 1.05rem;
  font-family: "Outfit", sans-serif;
  font-size: var(--fs-h2);
  line-height: 1.24;
  font-weight: 800;
  color: var(--glp-blue);
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  font-size: var(--fs-h3);
  line-height: 1.2;
  font-weight: 700;
}

.green {
  color: var(--glp-green) !important;
}

.blue {
  color: var(--glp-blue) !important;
}

/* ============================================================
   06) BUTTONS
   ============================================================ */
.btn-iso-global {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  color: #ffffff !important;
  background: var(--btn-color, var(--glp-green)) !important;
  border: none;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-iso-global:hover {
  transform: translateY(-2px);
  filter: brightness(0.97);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-neutral {
  --btn-color: #666666;
}

.btn-blue {
  --btn-color: var(--glp-blue);
}

.btn-green {
  --btn-color: var(--glp-green);
}

a.btn-iso-global,
a.btn-iso-global:hover,
a.btn-iso-global:focus {
  text-decoration: none;
}

.event-downloads .btn-iso-global::before {
  content: "⬇ ";
  font-weight: 700;
}

/* ============================================================
   07) HOME
   ============================================================ */

/* Links auf Home klarer sichtbar */
.p-home .home-hero-blocks a,
.p-home .kompass-content a,
.p-home .kompass-after a,
.p-home .kompass-note a,
.p-home .kompass a,
.p-home .home-info-block a {
  color: var(--glp-blue);
  text-decoration: none !important;
}

.p-home .home-hero-blocks a:hover,
.p-home .kompass-content a:hover,
.p-home .kompass-after a:hover,
.p-home .kompass-note a:hover,
.p-home .kompass a:hover,
.p-home .home-info-block a:hover {
  color: var(--glp-green);
}

.p-home {
  padding-bottom: var(--space-xxl);
}

.home-hero {
  margin-bottom: 58px;
  text-align: center;
}

.p-home .home-hashtag a {
  display: inline-block;
  color: var(--text) !important;
}

.p-home .home-intro {
  max-width: 760px;
  margin: 0 auto 48px;
  font-size: clamp(1.4rem, 2.7vw, 1.8rem);
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  color: var(--text);
}

.p-home .home-intro p {
  margin: 0;
}

.home-intro .sw-h,
.home-intro a.sw-h {
  font-weight: 700;
  text-decoration: none !important;
}

.home-intro .sw-h.gr,
.home-intro a.sw-h.gr {
  color: var(--glp-green);
}

.home-intro .sw-h.bl,
.home-intro a.sw-h.bl {
  color: var(--glp-blue);
}

.home-intro .sw-h.dk,
.home-intro a.sw-h.dk {
  color: var(--text);
}

.home-section {
  margin-bottom: 68px;
  text-align: left;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head .headline-glp {
  margin: 0;
  text-align: left;
}

.section-link {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.section-link:hover {
  color: var(--glp-blue);
}

.p-home .home-hero-blocks {
  max-width: 760px;
  margin: 28px auto 56px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

.p-home .home-hero-blocks p {
  margin: 0.7em 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.p-home .home-hero-blocks a {
  color: var(--glp-blue);
  font-weight: 600;
  text-decoration: none;
}

.p-home .home-hero-blocks a:hover {
  color: var(--glp-green);
}

.home-title-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 1.25rem;
  padding: 0 12px;
  text-align: center;
}

.home-title-image img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
}

/* =========================================================
   HOME – WÄDENSWILER KOMPASS TEASER
   Nur Layout, Abstände und Grunddarstellung.
   Inhaltliche Gewichtung kommt aus dem Panel.
========================================================= */

.kompass-teaser {
  margin: 44px auto 26px;
  padding: 24px 30px 22px;
  max-width: 760px;
  background: var(--bg-l-gr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
}

.kompass-teaser .headline-glp {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0 0 12px;
  padding-right: 0;
  text-align: left;
}

.kompass-teaser .headline-glp::after {
  left: calc(100% + 0.05em);
  right: auto;
  bottom: 0.18em;
  transform: none;
}

.kompass-content {
  text-align: left;
}

.kompass-content p,
.kompass-content ul,
.kompass-content ol,
.kompass-content blockquote {
  margin: 0 0 0.7rem;
  line-height: 1.6;
}

.kompass-content ul,
.kompass-content ol {
  padding-left: 1.2rem;
}

.kompass-pdf {
  margin-top: 10px;
  text-align: left;
}

.kompass-pdf .btn-iso-global {
  min-width: 220px;
}

.kompass-pdf-note {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.kompass-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--glp-green);
  text-align: left;
}

.kompass-after {
  margin-top: 26px;
  text-align: left;
}

.kompass-after h2,
.kompass-after h3 {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.02rem;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--text);
}

.kompass-after p,
.kompass-after li {
  font-size: 0.97rem;
  line-height: 1.65;
}

.p-home .kompass-after blockquote,
.p-home .kompass-after .k-block-type-quote blockquote {
  margin: 2.4rem 0 2rem !important;
  padding: 1rem 1.2rem !important;
  max-width: 620px;
  text-align: left !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 1.08rem !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  color: var(--glp-blue) !important;
  background: linear-gradient(180deg, var(--bg-l-bl) 0%, #ffffff 100%) !important;
  border-left: 5px solid var(--glp-blue) !important;
  border-radius: 0 12px 12px 0 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04) !important;
}

.p-home .kompass-after blockquote p,
.p-home .kompass-after .k-block-type-quote blockquote p {
  margin: 0 !important;
  color: inherit !important;
}

/* Home: Featured Event */
.event-featured {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-featured:hover {
  transform: translateY(-3px);
  border-color: #dfdfdf;
  box-shadow: var(--shadow-card);
}

.event-featured > a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background: #f8f8f8;
}

.event-featured__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-featured__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
}

.event-featured__meta {
  margin-bottom: 8px;
  font-size: var(--fs-sm);
  line-height: var(--lh-meta);
  color: var(--muted);
}

.event-featured__title {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.event-featured__title a {
  color: inherit;
  text-decoration: none;
}

.event-featured__title a:hover {
  color: var(--glp-blue);
}

.event-featured__excerpt {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Home Stories */
.p-home .story-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: none;
  margin: 0;
}

.p-home .story-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.p-home .story-card:hover {
  transform: translateY(-2px);
  border-color: #dfdfdf;
  box-shadow: var(--shadow-card);
}

.p-home .story-card__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f8f8f8;
}

.p-home .story-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.p-home .story-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px;
}

.p-home .story-card__title {
  margin: 0 0 8px;
}

.p-home .story-card__more {
  margin-top: auto;
}

/* ============================================================
   08) STORIES / SUCHE / LISTEN
   ============================================================ */
.search-container {
  max-width: var(--reading-max);
  margin: 0 auto 32px;
}

.search-container form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.search-container input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-container input[type="search"]:focus {
  border-color: var(--glp-blue);
  box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.10);
}

.search-container input[type="search"]::placeholder {
  color: #999999;
}

.stories-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: var(--stories-max);
  margin: 0 auto;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: var(--stories-max);
  margin: 0 auto;
}

.story-row-hover {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-row-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.story-image-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 190px;
  overflow: hidden;
  background: #f8f8f8;
}

.story-image-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.story-content-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
}

.story-text-info {
  min-width: 0;
}

.story-text-info h3 {
  margin: 0 0 8px;
}

.story-text-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.story-arrow {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--soft);
}

.story-card {
  display: block;
  overflow: hidden;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.story-card__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f8f8f8;
}

.story-card__image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.story-card__body {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
}

.story-card__title {
  margin: 0 0 8px;
  font-size: var(--fs-lg);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.story-card__excerpt {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.story-card__more {
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--glp-blue);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px auto 0;
}

.page-info {
  min-width: 72px;
  font-size: var(--fs-sm);
  text-align: center;
  color: var(--muted);
}

/* ============================================================
   09) DETAILSEITEN (Story / Event)
   ============================================================ */
.p-story .headline-glp,
.p-event .headline-glp,
.p-hashtag .headline-glp {
  margin-bottom: 24px;
}

.story-intro {
  max-width: var(--reading-max);
  margin: 0 auto 28px;

  padding: 10px 14px;

  background: var(--bg-l-bl);
  border-left: 3px solid var(--glp-blue);

  border-radius: 6px;

  font-size: 0.98rem;
  line-height: 1.5;

  color: var(--muted);
}

.story-intro p {
  max-width: none;
  margin: 0;
  font: inherit;
  color: inherit;
}

.story-intro p + p {
  margin-top: 0.9em;
}

.story-intro + h2 {
  margin-top: 2.2rem;
}

.p-story .story-back-link {
  margin-top: 44px;
}

.story-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-l-gr);
}

.p-story .default-content > * + *,
.p-event .default-content > * + * {
  margin-top: 1.2rem;
}

.p-story .default-content > p,
.p-event .default-content > p {
  max-width: 42em;
  font-size: 1.06rem;
  line-height: 1.78;
  color: #353535;
}

.p-story .default-content > ul,
.p-story .default-content > ol,
.p-event .default-content > ul,
.p-event .default-content > ol {
  margin: 1.25rem 0 1.7rem;
  padding-left: 1.2rem;
}

.p-story .default-content > ul li,
.p-story .default-content > ol li,
.p-event .default-content > ul li,
.p-event .default-content > ol li {
  font-size: 1.06rem;
  line-height: 1.78;
  color: #353535;
}

.p-story .default-content li + li,
.p-event .default-content li + li {
  margin-top: 0.65rem;
}

.p-story .default-content a,
.p-event .default-content a {
  color: var(--glp-blue);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.p-story .default-content a:hover,
.p-event .default-content a:hover {
  color: var(--glp-green);
}

/* Buttons in Content-Bereichen nie unterstreichen */
.p-story .default-content a.btn-iso-global,
.p-event .default-content a.btn-iso-global,
.p-event .event-downloads a.btn-iso-global,
.p-story .story-back-link a.btn-iso-global,
.p-event .story-back-link a.btn-iso-global,
.p-event .event-back-link a.btn-iso-global,
.p-story .default-content a.btn-iso-global:hover,
.p-event .default-content a.btn-iso-global:hover,
.p-event .event-downloads a.btn-iso-global:hover,
.p-story .story-back-link a.btn-iso-global:hover,
.p-event .story-back-link a.btn-iso-global:hover,
.p-event .event-back-link a.btn-iso-global:hover,
.p-story .default-content a.btn-iso-global:focus,
.p-event .default-content a.btn-iso-global:focus,
.p-event .event-downloads a.btn-iso-global:focus,
.p-story .story-back-link a.btn-iso-global:focus,
.p-event .story-back-link a.btn-iso-global:focus,
.p-event .event-back-link a.btn-iso-global:focus {
  text-decoration: none;
}

/* Abstand Abschluss-Button */
.p-event .story-back-link,
.p-event .event-back-link {
  margin-top: 56px;
  text-align: center;
}

.p-story .default-content strong,
.p-event .default-content strong {
  font-weight: 700;
}

.p-story .default-content h2,
.p-event .default-content h2 {
  margin-top: 3.1rem;
  margin-bottom: 0.95rem;
}

/* Quotes */
.p-story blockquote,
.p-story .k-block-type-quote blockquote,
.p-event blockquote,
.p-event .k-block-type-quote blockquote {
  margin: 2.8rem 0;
  padding: 2.2rem 2.4rem;
  overflow: hidden;
  text-align: left !important;
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(1.28rem, 2vw, 1.5rem) !important;
  line-height: 1.42 !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: -0.01em;
  color: var(--glp-blue) !important;
  background: linear-gradient(180deg, var(--bg-l-gr) 0%, #ffffff 100%) !important;
  border-left: 8px solid var(--glp-blue) !important;
  border-radius: 0 14px 14px 0 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.p-story blockquote p,
.p-story .k-block-type-quote blockquote p,
.p-event blockquote p,
.p-event .k-block-type-quote blockquote p {
  max-width: none;
  margin: 0;
  color: inherit !important;
}

.p-story blockquote cite,
.p-story .k-block-type-quote blockquote cite,
.p-event blockquote cite,
.p-event .k-block-type-quote blockquote cite {
  display: block;
  margin-top: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 600;
  color: var(--glp-green);
}

.p-home .home-info-block blockquote {
  margin: 2.4rem 0 2rem;
  padding: 1.1rem 1.4rem;
  max-width: 640px;

  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 500;

  color: var(--text);

  background: linear-gradient(180deg, var(--bg-l-bl) 0%, #ffffff 100%);
  border-left: 4px solid var(--glp-blue);
  border-radius: 0 10px 10px 0;

  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.p-home .home-info-block blockquote p {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

.p-home .home-info-block blockquote cite {
  display: block;
  margin-top: 0.6rem;

  font-size: 0.9rem;
  font-weight: 500;
  font-style: italic;

  color: var(--muted);
}

/* Shared media styling */
.p-story .default-content figure,
.p-story .story-text figure,
.p-event .default-content figure,
.event-page-content figure,
.hashtag-page-content figure,
.k-block-type-video,
.k-block-type-image,
.k-block-type-gallery {
  margin: 2rem 0;
}

.p-story .default-content iframe,
.p-event .default-content iframe {
  max-width: 100%;
}

.k-block-type-video figure {
  margin: 0;
}

.k-block-type-video iframe,
.k-block-type-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000000;
  border: 0;
  border-radius: 12px;
}

.k-block-type-image img,
.k-block-type-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.k-block-type-video figcaption,
.k-block-type-image figcaption,
.k-block-type-gallery figcaption {
  margin-top: 10px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--muted);
}

/* =========================================================
   BILDER IM FLIESSTEXT (left / right / half)
   ========================================================= */

.block-image {
  margin: 1.6rem 0;
}

.block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.block-image img.crop {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.block-image.left {
  float: left;
  width: min(42%, 320px);
  margin: 0.3rem 1.2rem 0.8rem 0;
}

.block-image.right {
  float: right;
  width: min(42%, 320px);
  margin: 0.3rem 0 0.8rem 1.2rem;
}

.block-image.half {
  width: min(50%, 520px);
  margin: 2rem auto;
}

.block-caption {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.block-caption p:last-child {
  margin-bottom: 0;
}

.story-text::after,
.default-content::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 700px) {
  .block-image.left,
  .block-image.right,
  .block-image.half {
    float: none;
    width: 100%;
    max-width: none;
    margin: 1.4rem 0;
  }
}

/* Video block / lazy load */
.video-block {
  margin: 2.5rem 0;
}

.video-block iframe,
.video-block video,
.video-block__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border: 0;
  border-radius: 12px;
}

.video-block__placeholder {
  position: relative;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  border: none;
}

.video-block__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-block__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  background: #222222;
}

.video-block__play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.video-block__placeholder:hover .video-block__play {
  background: rgba(0, 159, 227, 0.9);
}

/* Shared hero images */
.p-story .story-hero-image,
.p-event .event-hero-image {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 28px;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.p-story .story-hero-image img,
.p-event .event-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.p-event .event-hero-image {
  aspect-ratio: 16 / 9;
}

.p-event .event-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-event .event-page-content {
  margin-top: 4px;
}

.p-event .story-intro {
  margin-bottom: 34px;
}

.event-extra-links {
  max-width: var(--reading-max);
  margin: 0 auto 30px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.event-extra-links p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.event-extra-links p + p {
  margin-top: 10px;
}

.event-extra-links strong {
  color: var(--text);
}

.event-extra-links a {
  font-weight: 600;
}

/* ============================================================
   10) EVENTS / ANLÄSSE
   ============================================================ */
.home-events,
.event-detail {
  text-align: center;
}

.home-events {
  max-width: 800px;
  margin: 20px auto;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.home-events h2 {
  margin-top: 0;
  margin-bottom: 26px;
}

.event-grid {
  display: grid;
  gap: 26px;
}

.event-thumb {
  margin-bottom: 10px;
}

.event-thumb img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.event-item h3 a {
  color: var(--text);
  transition: color 0.2s ease;
}

.event-item h3 a:hover {
  color: var(--glp-blue);
}

.event-meta {
  font-size: var(--fs-sm);
  line-height: var(--lh-meta);
  color: var(--muted);
}

/* Übersicht Anlässe */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: #dfdfdf;
  box-shadow: var(--shadow-card);
}

.event-card__image-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f8f8f8;
}

.event-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.event-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.event-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: var(--bg-l-gr);
}

.event-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 220px;
  padding: 22px;
}

.event-card__meta {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--glp-green);
}

.event-card__place {
  font-weight: 400;
  color: var(--muted);
}

.event-card__title {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: var(--fs-lg);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text);
}

.event-card__title a {
  color: inherit;
  text-decoration: none;
}

.event-card__title a:hover {
  color: var(--glp-blue);
}

.event-card__excerpt {
  max-width: 54ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.event-card__actions {
  margin-top: auto;
  padding-top: 10px;
}

.event-card__actions .btn-iso-global {
  width: auto;
  align-self: flex-start;
}

.events-empty {
  margin: 40px 0;
  text-align: center;
  color: var(--muted);
}

.past-events-section {
  margin-top: 70px;
}

.section-divider {
  margin: 0 0 36px;
  border: 0;
  border-top: 1px solid var(--border);
}

.past-events-title {
  margin: 0 0 24px;
  font-family: "Outfit", sans-serif;
  font-size: var(--fs-xl);
  color: var(--glp-blue);
}

.past-events-list {
  display: grid;
  gap: 18px;
}

.past-event-item {
  margin: 0;
}

.past-event-item a:hover {
  color: var(--glp-blue);
}

.p-event .event-meta-line {
  display: table;
  max-width: 860px;
  margin: 0 auto 26px;
  padding: 8px 16px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--glp-blue);
  background: var(--bg-l-bl);
  border: 1px solid rgba(0, 159, 227, 0.08);
  border-radius: 10px;
  text-align: center;
}

.event-downloads {
  max-width: var(--reading-max);
  margin: 46px auto 0;
  padding-top: 10px;
}

.event-downloads h2 {
  margin-top: 0;
}

.downloads-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-extra-content {
  max-width: var(--reading-max);
  margin: 56px auto 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;    
}

/* DAS ist der entscheidende Teil */
.event-extra-content p,
.event-extra-content ul,
.event-extra-content ol {
  max-width: 42em;
  font-size: 1.06rem;
  line-height: 1.78;
  color: #353535;
}

.event-extra-content a {
  color: var(--glp-blue);
  text-decoration: underline;
  text-underline-offset: 0.14em;
  font-weight: 600;
}

.event-extra-content a:hover {
  color: var(--glp-green);
}

/* ============================================================
   11) HASHTAG
   ============================================================ */
.p-hashtag .headline-glp {
  margin-bottom: 24px;
  color: var(--glp-blue);
}

.p-hashtag .headline-glp .green,
.p-hashtag .headline-glp .blue {
  color: inherit !important;
}

.hashtag-page-content {
  max-width: var(--reading-max);
  margin: 0 auto;
}

.hashtag-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: var(--reading-max);
  margin: 40px auto 0;
}

.hashtag-container {
  margin: 20px auto;
  overflow: hidden;
  text-align: left;
  font-family: "Inter", sans-serif;
  background-color: #f6faeb;
  border: 1px solid #e2eec0;
  border-radius: 10px;
}

.h-header {
  padding: 25px 30px 10px;
}

.h-title {
  margin: 0 !important;
  font-family: "Outfit", sans-serif;
  font-size: var(--fs-xl) !important;
  letter-spacing: -0.01em;
  color: #009fe3 !important;
  border: none !important;
}

.h-sub {
  margin-top: 5px;
  font-size: 1rem;
  font-style: italic;
  color: #8dae10;
}

.h-body {
  padding: 15px 30px;
}

.h-text {
  margin-bottom: 18px;
}

.h-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
}

.h-step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: #8dae10;
  border-radius: 50%;
}

.h-action-zone {
  padding: 30px 20px;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid #e2eec0;
  border-bottom: 1px solid #e2eec0;
}

.h-tag {
  margin-bottom: 15px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #222222;
}

.h-btn {
  padding: 12px 40px;
  font-weight: 700;
  color: #ffffff;
  background: #8dae10;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.h-btn:hover {
  background: #7a960e;
}

.h-footer-box {
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.2);
}

.h-footer-title {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 700;
}

.h-footer-text p + p {
  margin-top: 0.8em;
}

/* ============================================================
   12) FOOTER
   ============================================================ */
.site-footer {
  width: 100%;
  margin: 34px auto 0;
  padding: 28px 28px 32px;
  text-align: center;
  border-top: 1px solid var(--border-soft);
}

.site-footer p {
  margin-bottom: 5px;
  font-size: 0.9rem;
  font-style: italic;
  color: #aaaaaa;
}

.site-footer__credit {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 600;
  color: #999999;
}

.site-footer__credit a {
  color: #888888;
}

/* ============================================================
   13) HELPERS / EXTERNE LINKS
   ============================================================ */
.text-center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

a[target="_blank"]:not(.btn-iso-global)::after {
  content: "↗︎";
  margin-left: 4px;
  font-size: 0.7em;
  opacity: 0.6;
}

a[target="_blank"]:not(.btn-iso-global):hover::after {
  opacity: 1;
}

/* ============================================================
   14) RESPONSIVE
   ============================================================ */
@media (min-width: 780px) {
  .event-featured,
  .p-home .story-card,
  .event-card {
    grid-template-columns: var(--card-media-width) minmax(0, 1fr);
    align-items: stretch;
  }

  .event-featured > a,
  .event-card__image-link {
    height: 100%;
  }

  .event-featured__image,
  .p-home .story-card__image,
  .event-card__image {
    width: 100%;
    height: 100%;
  }

  .p-home .story-card__image-wrap,
  .event-card__image-wrap {
    min-height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 1024px) {
  .logo {
    width: 360px;
    margin-bottom: 20px;
  }

  .home-title-image {
    margin-bottom: 1rem;
    padding: 0 10px;
  }

  .home-title-image img {
    max-width: 460px;
  }
}

@media (max-width: 820px) {
  .story-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .p-story blockquote,
  .p-event blockquote,
  .p-story .k-block-type-quote blockquote,
  .p-event .k-block-type-quote blockquote {
    margin: 2rem 0 !important;
    padding: 1.4rem 1.2rem !important;
    font-size: 1.12rem !important;
    line-height: 1.5 !important;
  }

  .section-head {
    display: block;
    margin-bottom: 14px;
  }

  .section-link {
    display: inline-block;
    margin-top: 6px;
  }

  .search-container form,
  .story-row-hover,
  .event-featured,
  .p-home .story-card,
  .event-card {
    grid-template-columns: 1fr;
  }

  .story-image-box {
    min-height: 210px;
  }

  .p-home .story-card__image-wrap,
  .event-card__image-wrap {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .event-card__image-link,
  .event-card__image,
  .p-home .story-card__image,
  .event-featured__image {
    height: auto;
  }

  .story-content-box,
  .event-featured__body,
  .story-card__body,
  .event-card__body {
    padding: 18px;
  }

  .event-featured__title {
    font-size: 1.28rem;
  }
}

@media (max-width: 700px) {
  .page-wrapper {
    margin: 12px;
    border-radius: 14px;
  }

  .logo {
    width: 240px;
    margin-bottom: 12px;
  }

  .content-frame {
    padding: 16px 14px 0;
  }

  .site-header {
    padding: 14px 16px 14px;
  }

  .main-nav ul {
    gap: 10px 16px;
  }

  .home-events {
    margin: 15px 10px;
    padding: 20px 15px;
  }

  .section-head .headline-glp,
  .home-actions,
  .home-button-grid {
    text-align: left;
  }

  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-title-image {
    margin-bottom: 0.5rem;
    padding: 0 6px;
  }

  .home-title-image img {
    max-width: 280px;
  }

  .p-home .home-intro {
    margin: 0 auto 26px;
    font-size: 1.15rem;
    line-height: 1.28;
  }

  .kompass-teaser {
    margin: 16px auto 18px;
    padding: 14px 16px 16px;
  }

  .kompass-teaser .headline-glp {
    margin: 0 0 4px;
  }

  .kompass-content p,
  .kompass-content ul,
  .kompass-content ol,
  .kompass-content blockquote {
    margin: 0 0 0.5rem;
    line-height: 1.45;
  }

  .kompass-pdf {
    margin-top: 8px;
  }

  .kompass-pdf .btn-iso-global {
    min-height: 44px;
    padding: 12px 14px;
  }
  
  .p-home h1,
  .p-home .headline-glp {
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  }
  
  .kompass-after {
    margin-top: 12px;
  }

  .kompass-teaser .headline-glp::after {
    display: none;
  }

  .kompass-pdf .btn-iso-global {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 12px 14px;
  }

  .p-event .headline-glp {
    font-size: 1.6rem;
    line-height: 1.1;
  }

  .p-event .event-meta-line {
    display: block;
    margin: 0 auto 20px;
    padding: 8px 12px;
    font-size: 0.95rem;
  }

  .p-event .event-hero-image {
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .p-event .event-page-content {
    font-size: 1rem;
  }

  .p-event .story-intro {
    margin-bottom: 24px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .event-extra-links {
    margin-bottom: 22px;
    padding: 14px;
  }

  .event-downloads {
    margin-top: 34px;
  }

  .downloads-list {
    flex-direction: column;
    align-items: stretch;
  }

  .downloads-list .btn-iso-global {
    width: 100%;
  }
}

/* Kompass Mobile Feinschliff */
.p-home .kompass {
  padding: 18px 16px;
}

.p-home .kompass h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.p-home .kompass .btn-iso-global {
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  font-size: 1rem;
}

.p-home .kompass-after blockquote {
  padding: 0.8rem 0.9rem !important;
  font-size: 1rem !important;
}


@media (max-width: 520px) {
  .h-header,
  .h-body,
  .h-footer-box {
    padding-left: 18px;
    padding-right: 18px;
  }

  .h-tag {
    font-size: 1.9rem;
  }

  .h-btn,
  .home-button-grid .btn-iso-global,
  .hashtag-actions .btn-iso-global {
    width: 100%;
  }

  .home-button-grid,
  .hashtag-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-title-image img {
    max-width: 300px;
  }
  
  .event-extra-content {
  margin-top: 32px;
  padding-top: 4px;
  }

}
