:root {
  /* Layout */
  --max-content-width: 1200px;
  --page-horizontal-gap: 24px;
  --header-height: 64px;

  /* Colors */
  --fs: 1 rem;
  --fs-small: 0.85rem;
  --bg: rgba(255, 255, 255, 0.75);
  --muted: #6b6b6b;
  --text: #111111;
  --accent: #f1912a;
  --mutedaccent: #ffd09e;

  --nav-overlay-bg: rgba(255, 255, 255, 0.98);
  --focus: #f1912a;

  /* Spacing */
  --gap-sm: 12px;
  --gap: 24px;
  --gap-lg: 110px;
  --radius: 10px;
}

/* Reset-ish -------------------------------------------------- */
* {
  box-sizing: border-box
}

html, body {
  height: 100%
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--fs);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none
}

p {
  line-height: 1.75rem;
}

h1, h2, h3 {
  font-family: Courier, monospace;
  font-weight: 100;
}


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

.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  padding: 8px;
  background: #000;
  color: #fff;
  z-index: 999;
}

.skip-link:focus {
  top: 8px
}

/* Header ---------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--bg);
  backdrop-filter: blur(7px);
  /*border-bottom: 1px solid rgba(0, 0, 0, 0.06);*/
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--page-horizontal-gap);
}

.header-center {
  flex: 1;
  text-align: center
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logos img {
  margin: 0 var(--gap-sm)
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px
}

.lang-switch {
  display: flex;
  gap: 1px;
  overflow: hidden
}

.lang-btn {
  background: #fff;
  border: 1px solid var(--accent);
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.7rem;
}

.lang-btn[aria-checked="true"] {
  background: var(--accent);
  color: #fff
}

.hamburger {
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer
}

.hamburger svg rect {
  fill: var(--text)
}

/* Navigation (overlay) -------------------------------------- */
.main-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-height);
  transform-origin: top;
  transform: scaleY(0);
  height: 0;
  overflow: hidden;
  transition: transform 450ms;
  background: var(--nav-overlay-bg);
}

.main-nav[data-open="true"] {
  transform: scaleY(1);
  height: max-content;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: var(--gap) calc(var(--page-horizontal-gap));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-nav a {
  padding: 1rem;
  width: 100%;
  border-bottom: 1px solid #f1912a;
}

.main-nav li::before {
  content: '';
  padding-left: 1.5rem;
  background-image: url(images/nav-dot.png);
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 14px 14px;
}

.main-nav a:hover {
  background: #ffc78b;
}



.main-nav .disabled {
  opacity: 0.6;
  color: var(--muted)
}

/* Main content ---------------------------------------------- */

.container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--page-horizontal-gap)
}

.section {
  padding-top: var(--gap-lg);
}

.secStart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2rem 0;
}

.heading {
  margin: 0 0 12px;
  font-size: 1.6rem
}

.lead {
  color: var(--muted);
  margin: 0 0 18px
}

.hero {
  min-height: 100vh;
  width: 100%;
  background: url("images/hero-banner-test.png") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
  position: relative;
  margin-top: 64px;
}

.hero-overlay {
  padding: 0 3rem;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.5rem;
  }
}

/* Contact form */

.form-wrap {
  width: 100%;
}

p.lead {
  color: var(--muted);
  margin: 0 0 18px;
}

form {
  display: flex;
  flex-direction: column;
  gap: var(--gap)
}

.row {
  display: flex;
  gap: var(--gap)
}

.col {
  flex: 1;
  min-width: 0
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  font-size: 1rem;
  background: transparent;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(11, 132, 255, 0.14);
  border-color: var(--accent)
}

textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.45
}

.kontaktSub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted)
}

.charcount {
  font-variant-numeric: tabular-nums
}

.help {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px
}

.error {
  color: var(--error);
  font-size: 0.9rem;
  margin-top: 6px;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px
}

button[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 10px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 200;
  font-size: 1.15rem;
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed
}

.status {
  margin-left: auto;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Success message box */
.notice {
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 12px;
  border: 1px solid rgba(11, 132, 255, 0.12);
  background: rgba(11, 132, 255, 0.04);
  color: var(--text)
}

@media (max-width:720px) {
  .row {
    flex-direction: column
  }
}



/* Footer ---------------------------------------------------- */
.site-footer {
  margin-top: var(--gap-lg);
  border-top: 1px solid var(--mutedaccent);
  background: transparent
}

.footer-inner {
  display: flex;
  padding: var(--gap);
  align-items: center
}

.footer-block {
  flex: 1;
}

.footer-left p {
  margin: 0;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-funders div {
  margin: 0.8rem 0.8rem 0 0;
  text-align: right;
}

.footer-partners div {
  margin: 0 0.8rem 0.8rem 0;
  text-align: right;
}


@media (max-width:900px) {

  .footer-inner {
    gap: 3rem;
    align-items: flex-start
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-funders div,
  .footer-partners div {
    text-align: left;
  }
}

.footer-partners img {
  height: 36px;
  margin-right: 12px
}

.footer-funders img {
  height: max-content;
  margin-right: 12px;
  margin-top: 12px
}

.footer-social {
  background-color: var(--accent);
  padding: 12px 0
}

.social-inner {
  display: flex;
  justify-content: center;
  gap: 24px
}

.social-link img {
  height: 28px;
  width: auto;
  display: block
}

/* Responsiveness ------------------------------------------- */
@media (max-width:900px) {
  .header-center {
    display: none
  }

  .footer-inner {
    flex-direction: column
  }
}

@media (max-width:420px) {
  .header-inner {
    padding: 0 12px
  }
}

/* Language visibility (show only active language) ---------- */
:root {}

html[data-lang="de"] [data-lang-text="en"], html[data-lang="en"] [data-lang-text="de"] {
  display: none
}


/* Focus states for accessibility --------------------------- */
/*button:focus, a:focus {
  outline: 1px solid var(--focus);
  outline-offset: 1px
}
  */