@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 650;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --bg: #f5f2ec;
  --surface: #fffdf8;
  --surface-muted: #ebe3d6;
  --surface-cool: #e8ece8;
  --text: #2d2822;
  --muted: #655d54;
  --muted-strong: #4d4740;
  --accent: #842f36;
  --accent-dark: #5f2027;
  --gold: #9a7437;
  --sage: #5d6c66;
  --blue: #536f77;
  --line: rgba(45, 40, 34, 0.15);
  --line-strong: rgba(45, 40, 34, 0.3);
  --shadow-soft: 0 18px 44px rgba(45, 40, 34, 0.1);
  --shadow-deep: 0 30px 70px rgba(45, 40, 34, 0.18);
  --header-height: 96px;
  --content-width: 1160px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(83, 111, 119, 0.06), transparent 420px),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: 5rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 28px;
  font-size: 3.2rem;
  line-height: 1.02;
}

h3 {
  margin-bottom: 18px;
  font-size: 1.55rem;
  line-height: 1.12;
}

p {
  margin-bottom: 18px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 9px;
}

::selection {
  background: rgba(132, 47, 54, 0.18);
}

.container {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 10px 14px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(45, 40, 34, 0.12);
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: auto;
  max-width: min(354px, 34vw);
  height: 72px;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.95rem;
  font-weight: 520;
}

.site-nav a {
  color: var(--muted-strong);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.nav-button,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease;
}

.nav-button,
.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fffaf0 !important;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 253, 248, 0.34);
  color: var(--text);
}

.button:hover,
.button:focus-visible,
.nav-button:hover,
.nav-button:focus-visible {
  transform: translateY(-1px);
}

.button-primary:hover,
.nav-button:hover,
.button-primary:focus-visible,
.nav-button:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 253, 248, 0.72);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, 0.6);
  color: var(--text);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 170ms ease, opacity 170ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(45, 40, 34, 0.13);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.84) 56%, rgba(232, 236, 232, 0.52) 100%),
    linear-gradient(135deg, #f6f1e8 0%, #eee5d8 48%, #dfe8e2 100%);
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 118px;
}

.hero-subtitle {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 1.06rem;
  font-weight: 720;
  line-height: 1.42;
}

.hero-intro {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted-strong);
  font-size: 1.2rem;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.quick-info {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(45, 40, 34, 0.1);
  background: var(--bg);
  padding: 44px 0 86px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card,
.list-panel,
.step-card,
.contact-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-soft);
}

.info-card {
  min-height: 176px;
  padding: 28px 28px 30px;
}

.info-card:nth-child(2) {
  border-top-color: rgba(83, 111, 119, 0.32);
}

.info-card:nth-child(3) {
  border-top-color: rgba(93, 108, 102, 0.32);
}

.label {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.info-card p:not(.label) {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.58;
}

.content-section {
  padding: 94px 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 68px;
}

.section-copy p,
.application-intro p {
  max-width: 650px;
  color: var(--muted);
}

.purpose-panel {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(154, 116, 55, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(232, 236, 232, 0.68)),
    var(--surface);
  box-shadow: var(--shadow-deep);
  padding: 36px;
}

.panel-kicker {
  margin-bottom: 40px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-statement {
  max-width: 360px;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 2.05rem;
  font-weight: 600;
  line-height: 1.05;
}

.compact-facts {
  margin-top: 34px;
  padding: 0;
  list-style: none;
}

.compact-facts li {
  border-top: 1px solid rgba(45, 40, 34, 0.14);
  padding: 13px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.support-section {
  background:
    linear-gradient(90deg, rgba(83, 111, 119, 0.08), transparent 46%),
    #e6ded0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  align-items: stretch;
  gap: 34px;
}

.discipline-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  min-height: 520px;
  border: 1px solid rgba(45, 40, 34, 0.18);
  background: rgba(45, 40, 34, 0.18);
  box-shadow: var(--shadow-deep);
}

.discipline-panel span {
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(232, 236, 232, 0.78));
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 600;
  line-height: 1.02;
}

.discipline-panel span:nth-child(2),
.discipline-panel span:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(45, 40, 34, 0.92), rgba(83, 111, 119, 0.78));
  color: #fffaf0;
}

.support-lists {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.list-panel {
  padding: 34px 36px;
}

.list-panel h3 {
  margin-bottom: 22px;
}

.check-list,
.plain-list {
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 11px;
  height: 1px;
  background: var(--sage);
}

.exclusion-panel {
  border-color: rgba(132, 47, 54, 0.28);
  background: rgba(255, 253, 248, 0.92);
}

.application-section {
  padding: 108px 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.7), rgba(245, 242, 236, 0.92)),
    var(--bg);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.application-inner {
  display: grid;
  gap: 42px;
}

.steps {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 18px;
}

.step-card {
  min-height: 330px;
  padding: 30px;
}

.step-index {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--gold);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1;
}

.step-card p,
.step-card li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.56;
}

.emphasized-step {
  border-color: rgba(132, 47, 54, 0.38);
  background:
    linear-gradient(180deg, rgba(132, 47, 54, 0.045), transparent),
    #fff8ec;
}

.mail-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  font-weight: 750;
  hyphens: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

.application-cta {
  width: fit-content;
  margin-top: -8px;
}

.contact-section {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(83, 111, 119, 0.12), transparent 48%),
    var(--text);
  color: #fffaf0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.contact-section h2 {
  color: #fffaf0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 6px;
  padding: 34px;
  border-color: rgba(255, 250, 240, 0.2);
  background: rgba(255, 250, 240, 0.06);
  color: rgba(255, 250, 240, 0.88);
  font-style: normal;
}

.contact-card strong {
  color: #fffaf0;
}

.contact-mails {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 20px;
}

.contact-mails a {
  color: #eadbbf;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid rgba(45, 40, 34, 0.12);
  background: var(--surface);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--accent);
}

.legal-main {
  padding: 82px 0 100px;
}

.legal-layout {
  max-width: 840px;
}

.legal-layout h1 {
  color: var(--text);
  font-size: 3.6rem;
}

.legal-layout h2 {
  margin-bottom: 16px;
  font-size: 1.9rem;
}

.legal-layout section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-layout address {
  color: var(--muted);
  font-style: normal;
}

.legal-layout p {
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 650;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 3.85rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .site-nav {
    gap: 16px;
  }

  .split-layout,
  .support-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .step-card {
    min-height: auto;
  }

  .purpose-panel,
  .discipline-panel {
    min-height: 360px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 84px;
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 3rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.15rem;
  }

  .container,
  .hero-content {
    width: min(100% - 32px, var(--content-width));
  }

  .header-inner {
    width: calc(100% - 28px);
  }

  .brand-logo {
    max-width: min(230px, 58vw);
    height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(45, 40, 34, 0.08);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 26px 44px rgba(45, 40, 34, 0.16);
    padding: 12px 16px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 170ms ease, opacity 170ms ease, visibility 170ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px 6px;
  }

  .site-nav .nav-button {
    margin-top: 8px;
    padding: 12px 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    margin: 0 auto;
    padding: 68px 0 58px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-intro {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
    max-width: 358px;
  }

  .quick-info {
    margin-top: 0;
    padding-top: 34px;
    padding-bottom: 72px;
  }

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

  .info-card {
    min-height: auto;
    padding: 24px;
  }

  .content-section,
  .application-section,
  .contact-section {
    padding: 70px 0;
  }

  .split-layout {
    gap: 36px;
  }

  .support-layout {
    gap: 24px;
  }

  .support-section .section-heading {
    max-width: 340px;
    margin-bottom: 30px;
  }

  .support-section .section-heading h2 {
    font-size: 2.25rem;
    line-height: 1.06;
  }

  .purpose-panel,
  .discipline-panel {
    min-height: auto;
  }

  .discipline-panel {
    grid-template-columns: 1fr;
  }

  .discipline-panel span {
    min-height: 118px;
    padding: 24px 26px;
  }

  .discipline-panel span:nth-child(odd) {
    background:
      linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(232, 236, 232, 0.78));
    color: var(--text);
  }

  .discipline-panel span:nth-child(even) {
    background:
      linear-gradient(145deg, rgba(45, 40, 34, 0.92), rgba(83, 111, 119, 0.78));
    color: #fffaf0;
  }

  .list-panel,
  .step-card,
  .contact-card {
    padding: 26px;
  }

  .footer-inner {
    min-height: 118px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .legal-layout h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .brand-logo {
    max-width: 205px;
    height: 54px;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions {
    max-width: none;
  }

  .button,
  .nav-button {
    width: 100%;
  }

  .contact-mails {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Lange Kontaktadressen bleiben auch auf kleinen Bildschirmen lesbar. */
.legal-page a[href^="mailto:"] {
  overflow-wrap: anywhere;
}
