:root {
  --pink: #e5007d;
  --pink-dark: #bd0067;
  --navy: #111a3d;
  --navy-soft: #263053;
  --cream: #f6f2ed;
  --white: #fff;
  --muted: #73788b;
  --line: #dedde3;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  height: 94px;
  max-width: var(--max);
  margin: auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; line-height: 1; }
.brand strong {
  display: block; font: 800 28px/1.1 "Manrope", sans-serif;
  letter-spacing: -.055em;
}
.brand-dot { color: var(--pink); }
.brand small {
  display: block; margin-top: 5px; color: var(--muted);
  font-size: 10px; text-transform: uppercase; letter-spacing: .2em;
}
nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 600; }
nav a { position: relative; }
nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--pink);
}
.write-link {
  border: 0; background: var(--navy); color: white; padding: 14px 18px;
  font-weight: 700; cursor: pointer;
}
.write-link span { color: #ff55af; margin-left: 10px; }
.menu-button { display: none; border: 0; background: transparent; padding: 10px; }

.hero {
  min-height: 650px; background: var(--navy); color: white;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}
.hero-copy { padding: 105px max(30px, calc((100vw - var(--max)) / 2 + 30px)); padding-right: 30px; }
.eyebrow {
  display: flex; align-items: center; gap: 11px;
  text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 700;
}
.eyebrow > span:first-child { width: 34px; height: 2px; background: var(--pink); }
.hero h1, .section-heading h2, .about-copy h2 {
  margin: 25px 0 26px; font: 800 clamp(48px, 6vw, 82px)/.98 "Manrope", sans-serif;
  letter-spacing: -.055em;
}
em { color: var(--pink); font-style: normal; }
.hero-copy > p {
  max-width: 555px; color: #c9ccda; font-size: 18px; line-height: 1.65; margin-bottom: 38px;
}
.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
  border: 0; background: var(--pink); color: white;
  padding: 17px 20px; font-weight: 700; cursor: pointer;
}
.primary-button:hover { background: var(--pink-dark); }
.primary-button span { font-size: 19px; }
.hero-visual {
  position: relative; min-height: 520px; background: var(--pink);
  overflow: hidden; isolation: isolate;
}
.hero-visual::before {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: #f42599; right: -110px; top: -125px; z-index: -1;
}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; right: -20px; top: 80px; }
.orbit-two { width: 310px; height: 310px; right: 45px; top: 140px; }
.speech { position: absolute; border-radius: 52% 48% 48% 9%; display: flex; align-items: center; justify-content: center; gap: 10px; }
.speech span { width: 11px; height: 11px; border-radius: 50%; }
.speech-light { width: 220px; height: 160px; background: var(--cream); top: 130px; right: 160px; transform: rotate(-7deg); }
.speech-light span { background: var(--pink); }
.speech-pink { width: 175px; height: 125px; background: var(--navy); top: 260px; right: 65px; transform: rotate(8deg); }
.speech-pink span { width: 35px; height: 5px; border-radius: 0; background: var(--pink); }
.visual-label { position: absolute; bottom: 55px; left: 52px; font: 600 25px/1.3 "Manrope", sans-serif; }
.visual-label strong { font-size: 36px; }

.article-section { max-width: var(--max); margin: auto; padding: 110px 30px 125px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.eyebrow.dark { color: var(--pink); }
.section-heading h2 { font-size: clamp(42px, 5vw, 66px); margin-bottom: 0; color: var(--navy); }
.section-heading > p { max-width: 410px; margin: 0 0 10px; color: var(--muted); line-height: 1.7; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 52px 0 35px; }
.filter {
  border: 1px solid var(--line); background: white; color: var(--navy);
  padding: 11px 17px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.filter:hover, .filter.active { color: white; background: var(--navy); border-color: var(--navy); }

.featured-article {
  display: grid; grid-template-columns: 1.08fr 1fr; min-height: 410px;
  background: var(--cream); margin-bottom: 25px; cursor: pointer;
}
.feature-art { display: block; position: relative; overflow: hidden; min-height: 360px; }
.feature-art::after {
  content: ""; position: absolute; width: 310px; height: 310px; border: 80px solid rgba(255,255,255,.18);
  border-radius: 50%; right: -80px; top: -70px;
}
.feature-art.has-cover::after, .card-art.has-cover::before { display: none; }
.cover-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.featured-article:hover .cover-image, .card:hover .cover-image { transform: scale(1.025); }
.art-digital { background: #6c36be; }
.art-bildung { background: #e5007d; }
.art-kremsmünster { background: #ec6941; }
.art-europa { background: #2365b3; }
.art-demokratie { background: #1b9a8a; }
.art-icon { position: absolute; left: 55px; bottom: 45px; color: white; font: 800 88px/1 "Manrope"; letter-spacing: -.08em; }
.art-icon small { display: block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.featured-content { padding: 58px; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; text-transform: uppercase; font-size: 10px; letter-spacing: .14em; font-weight: 700; color: var(--muted); }
.article-meta .category { color: var(--pink); }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #b5b4bd; }
.featured-content h3 { margin: 23px 0 17px; font: 800 clamp(27px, 3vw, 39px)/1.16 "Manrope"; letter-spacing: -.035em; }
.featured-content p, .card p { color: var(--muted); line-height: 1.65; }
.read-more { margin-top: 18px; font-weight: 700; font-size: 13px; border-bottom: 2px solid var(--pink); padding-bottom: 5px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.card { border: 1px solid var(--line); cursor: pointer; transition: transform .2s, box-shadow .2s; background: white; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(17,26,61,.1); }
.card-art { display: block; height: 210px; position: relative; overflow: hidden; }
.card-art::before {
  content: ""; position: absolute; width: 180px; height: 180px; border: 50px solid rgba(255,255,255,.17);
  border-radius: 50%; right: -35px; top: -60px;
}
.card-art span { position: absolute; left: 28px; bottom: 24px; color: white; font: 800 40px "Manrope"; }
.card-content { padding: 28px; }
.card h3 { font: 800 22px/1.25 "Manrope"; letter-spacing: -.025em; margin: 17px 0 12px; }
.card p { font-size: 14px; margin-bottom: 22px; }
.empty-state { padding: 80px 20px; text-align: center; background: var(--cream); }
.empty-state span { color: var(--pink); font-size: 28px; }
.empty-state h3 { font: 800 25px "Manrope"; }
.hidden { display: none !important; }

.about-section {
  background: var(--navy); color: white;
  padding: 90px max(30px, calc((100vw - var(--max)) / 2 + 30px));
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px 90px; align-items: center;
  scroll-margin-top: 30px;
}
.about-copy h2 { font-size: clamp(38px, 4.6vw, 61px); line-height: 1.08; margin-bottom: 28px; }
.about-copy > p, .about-text p { max-width: 540px; color: #c9ccda; font-size: 17px; line-height: 1.8; }
.about-link { display: inline-flex; align-items: center; gap: 28px; margin-top: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--pink); font-size: 14px; font-weight: 700; }
.about-link > span[aria-hidden] { color: #ff55af; font-size: 22px; }
.about-link:hover { color: #ff75bf; }
.about-link:focus-visible { outline: 2px solid #ff75bf; outline-offset: 6px; }
.about-portrait { margin: 0; position: relative; width: 100%; max-width: 420px; justify-self: end; }
.about-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; background: var(--navy-soft); }
.about-portrait figcaption { position: absolute; inset: auto 0 0; padding: 36px 28px 24px; background: linear-gradient(transparent, rgba(17,26,61,.95)); font-weight: 700; font-size: 18px; }
.about-portrait figcaption span { display: block; margin-top: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: #c9ccda; }
.about-quote { grid-column: 1 / -1; margin: 0; padding: 40px 0 0 48px; border-top: 1px solid #39415d; position: relative; }
.about-quote::before { content: "“"; position: absolute; top: 20px; left: 0; color: var(--pink); font: 90px/1 Georgia, serif; }
.about-quote p { max-width: 1030px; margin: 0; font: 800 clamp(30px, 4.4vw, 58px)/1.2 "Manrope", sans-serif; letter-spacing: -.04em; }
.about-quote em, .about-copy h2 em { color: #ff55af; }

footer {
  max-width: var(--max); margin: auto; padding: 55px 30px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.footer-links { text-align: right; display: flex; flex-wrap: wrap; justify-content: end; gap: 18px; color: var(--muted); font-size: 11px; }

dialog { border: 0; padding: 0; max-width: none; }
dialog::backdrop { background: rgba(7,12,32,.72); backdrop-filter: blur(4px); }
.dialog-close {
  position: sticky; float: right; top: 16px; margin: 16px 16px -50px 0; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: white; font-size: 26px; cursor: pointer;
}
.editor-dialog { width: min(1040px, calc(100% - 30px)); max-height: 94vh; overflow: auto; background: #f8f7f9; }
.editor-header { display: flex; justify-content: space-between; align-items: center; padding: 30px 38px; background: var(--navy); color: white; }
.editor-header h2 { margin: 5px 0 0; font: 800 26px "Manrope"; }
.editor-kicker { color: #ff65b9; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; }
.editor-close { position: static; float: none; margin: 0; background: rgba(255,255,255,.1); }
#editorForm { padding: 32px 38px 38px; }
.editor-meta { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.editor-meta label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.editor-meta label.wide { grid-column: 1 / -1; }
.editor-meta input, .editor-meta select, .editor-meta textarea {
  display: block; width: 100%; margin-top: 8px; border: 1px solid #d8d6dd; background: white; padding: 13px; outline: 0; resize: vertical; text-transform: none;
}
.cover-input-row { display: flex; gap: 10px; align-items: stretch; margin-top: 8px; }
.cover-input-row > input { margin-top: 0; }
.file-button {
  flex: 0 0 auto; display: grid; place-items: center; padding: 0 17px;
  background: var(--navy); color: white; cursor: pointer; text-transform: none;
  letter-spacing: 0; font-size: 12px;
}
.file-button input { display: none; }
.field-help { display: block; margin-top: 7px; color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.editor-meta input:focus, .editor-meta textarea:focus, .editor-meta select:focus { border-color: var(--pink); }
.wysiwyg { border: 1px solid #d8d6dd; background: white; margin-top: 22px; }
.toolbar { display: flex; align-items: center; gap: 3px; border-bottom: 1px solid #e5e3e8; padding: 8px 10px; background: #f0eef2; }
.toolbar button { min-width: 37px; height: 34px; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.toolbar button:hover { background: white; color: var(--pink); }
.toolbar > span { height: 20px; width: 1px; background: #d6d3dc; margin: 0 6px; }
.editor-body { min-height: 310px; padding: 24px; outline: 0; line-height: 1.7; color: #343a53; }
.editor-body:empty::before { content: attr(data-placeholder); color: #a8a5af; }
.editor-body h2 { font: 800 26px "Manrope"; color: var(--navy); }
.editor-body blockquote { border-left: 3px solid var(--pink); margin-left: 0; padding: 15px 22px; background: var(--cream); }
.editor-body figure { margin: 30px 0; padding: 14px; border: 1px dashed #c6c3cc; background: #fbfafc; }
.editor-body figure img { display: block; max-width: 100%; margin: auto; }
.editor-body figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }
.editor-chart-preview { padding: 18px; color: var(--navy); font-weight: 700; text-align: center; background: #f0eef2; }
.editor-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; }
.editor-actions > span { font-size: 11px; color: var(--muted); }
.editor-actions > div { display: flex; gap: 10px; }
.secondary-button { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.compact { padding: 13px 17px; }
.toast {
  position: fixed; z-index: 20; left: 50%; bottom: 25px; transform: translate(-50%, 30px);
  background: var(--navy); color: white; padding: 14px 20px; box-shadow: 0 8px 35px rgba(0,0,0,.2);
  opacity: 0; pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 850px) {
  .site-header { height: 76px; }
  nav {
    display: none; position: absolute; z-index: 10; top: 76px; left: 0; right: 0;
    background: white; padding: 25px 30px 30px; flex-direction: column; align-items: stretch; box-shadow: 0 12px 30px rgba(17,26,61,.12);
  }
  nav.open { display: flex; }
  nav a.active::after { display: none; }
  .menu-button { display: grid; gap: 7px; }
  .menu-button span { display: block; width: 25px; height: 2px; background: var(--navy); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 80px; padding-bottom: 80px; }
  .hero-visual { min-height: 420px; }
  .section-heading, .editor-actions { align-items: start; flex-direction: column; }
  .featured-article { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: 1fr; gap: 40px; padding-top: 65px; padding-bottom: 65px; }
  .about-portrait { justify-self: start; max-width: 420px; }
  .about-quote { padding-left: 32px; }
  .about-quote::before { font-size: 65px; }
  footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 48px; }
  .hero-visual { min-height: 350px; }
  .speech-light { right: 100px; top: 70px; transform: scale(.8) rotate(-7deg); }
  .speech-pink { right: 25px; top: 190px; transform: scale(.8) rotate(8deg); }
  .visual-label { left: 30px; bottom: 30px; }
  .article-section { padding-top: 80px; padding-bottom: 90px; }
  .section-heading { align-items: start; }
  .article-grid { grid-template-columns: 1fr; }
  .featured-content { padding: 32px 27px 40px; }
  .feature-art { min-height: 250px; }
  .art-icon { left: 28px; bottom: 28px; font-size: 65px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; text-align: left; }
  .editor-meta { grid-template-columns: 1fr; }
  .editor-meta label.wide { grid-column: auto; }
  #editorForm { padding: 24px 18px; }
  .editor-header { padding: 25px 20px; }
  .editor-actions > div { flex-direction: column; width: 100%; }
  .editor-actions button { width: 100%; }
}

@media (max-width: 560px) { .brand strong { font-size: 25px; } }

.about-text p { white-space: pre-line; }
.about-copy, .about-quote { overflow-wrap: anywhere; }

#aboutQuote { white-space: pre-line; }
