/* Zusätzliche Styles für Interaktivität und Visuelle Verbesserungen */
:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --surface-2: #f2f4ef;
  --border: #dfe4da;
  --text: #1f241c;
  --muted: #6c7466;
  --primary: #2f6b3a;
  --primary-soft: #f1f5ef;
  --shadow: 0 12px 30px rgba(31, 36, 28, .05);
  --radius: 6px;
  --max: 1040px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden
}

a {
  color: inherit;
  text-decoration: none
}

img {
  display: block;
  max-width: 100%
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 50;
  box-shadow: none
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px
}

.brand {
  display: none;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap
}

.brand img {
  width: 26px;
  height: 26px;
  object-fit: contain
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--text);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger.open span:first-child {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 82px;
  left: 0;
  width: 100%;
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 50;
  padding: 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  display: block;
}

/* Animierte Navigation */
.links-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-tabs {
  position: relative;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: center;
}

.nav-tab {
  position: relative;
  z-index: 10;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.nav-tab:hover {
  color: var(--text);
}

.nav-cursor {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--text);
  border-radius: 24px;
  z-index: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.nav-tabs:hover .nav-cursor {
  opacity: 1;
}

.nav-tabs .nav-tab:hover~.nav-cursor {
  opacity: 1;
}

.nav-tab:hover {
  color: var(--surface);
}

.links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--muted)
}

.links a:hover {
  color: var(--primary)
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0
}

main {
  padding-top: 0
}

section {
  padding: 96px 0
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 12px
}

h1,
h2,
h3,
h4,
.serif {
  font-family: Georgia, Times, serif;
  line-height: 1.18
}

h1 {
  font-size: clamp(44px, 6vw, 72px);
  margin: 0
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0
}

h3 {
  font-size: 20px;
  margin: 0 0 12px
}

.hero {
  padding: 120px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  margin: 80px 24px 0;
  box-shadow: 0 20px 50px rgba(31, 36, 28, 0.15);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 36, 28, 0.4) 0%, rgba(31, 36, 28, 0.25) 100%);
  border-radius: 12px;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 4px 12px rgba(31, 36, 28, 0.5), 0 2px 6px rgba(31, 36, 28, 0.3);
  letter-spacing: -0.02em;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sub {
  margin: 12px auto 0;
  max-width: 720px;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 3px 10px rgba(31, 36, 28, 0.4);
}

.tagline {
  margin: 24px auto 0;
  font-style: italic;
  color: #f0f0f0;
  font-family: Georgia, serif;
  font-size: 18px;
  text-shadow: 0 3px 10px rgba(31, 36, 28, 0.4);
}

.actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  z-index: 2;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.18s ease;
  min-height: 44px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.btn.primary:hover {
  background: #1f5a2b;
}

.btn.primary:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.btn.outline {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-weight: 600;
  border: 2px solid #fff;
}

.btn.outline:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn.outline:active {
  transform: scale(0.98);
}

.credit {
  margin-top: 34px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: .01em;
  text-shadow: 0 2px 6px rgba(31, 36, 28, 0.3);
}

.credit strong {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start
}

.white-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, .03);
  box-shadow: var(--shadow);
  border-radius: var(--radius)
}

.article {
  max-width: 820px;
  margin: 0 auto
}

.article p {
  margin: 0 0 18px;
  font-size: 15px;
  text-align: justify
}

.split p,
.article-box .content p,
.sub {
  text-align: justify
}

.article h3 {
  margin-top: 22px;
  font-size: 18px
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start
}

.formula {
  padding: 28px;
  margin: 0;
  max-width: 100%
}

.formula .label,
.mini-label {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: block
}

.formula .line {
  margin-top: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-family: Georgia, serif;
  font-size: 18px
}

.formula-step {
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border)
}

.formula-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0
}

.formula-step .step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 8px
}

.formula-step .step-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px
}

.formula-step .step-calc {
  font-size: 14px;
  font-family: Georgia, serif;
  color: var(--muted);
  margin-bottom: 10px;
  padding: 10px;
  background: var(--surface-2);
  border-radius: var(--radius)
}

.formula-step .step-result {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6
}

.formula-step .step-result strong {
  color: var(--primary);
  font-weight: 700
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px
}

.survey-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px
}

.survey-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.stat {
  padding: 22px;
  min-height: 120px
}

.stat .emoji {
  font-size: 22px
}

.stat .val {
  margin: 10px 0 4px;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700
}

.stat .lbl {
  font-size: 12px;
  color: var(--muted)
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 38px
}

.step {
  padding: 22px;
  min-height: 250px;
  background: transparent
}

.step .num {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(47, 107, 58, .18)
}

.step .title {
  margin-top: 14px;
  font-size: 19px
}

.step p {
  font-size: 15px;
  margin-top: 14px;
  color: #30362f
}

.press-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px
}

.badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 34px
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 14px 18px;
  min-width: 280px;
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f7f2dd;
  display: grid;
  place-items: center;
  color: #c89a10;
  font-size: 18px
}

.badge strong {
  display: block;
  font-family: Georgia, serif
}

.badge span {
  display: block;
  font-size: 12px;
  color: var(--muted)
}

.quote {
  border-left: 2px solid rgba(47, 107, 58, .35);
  padding: 4px 0 4px 22px;
  margin: 0 0 28px
}

.quote blockquote {
  margin: 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.45
}

.article-box {
  padding: 34px 34px 28px;
  max-width: 1000px
}

.article-box .content {
  font-size: 15px;
  line-height: 1.95
}

.article-box .content h4 {
  margin: 24px 0 12px;
  font-size: 18px
}

.article-box .content p {
  margin-bottom: 18px
}

.article-box .footer {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border)
}

.outlook {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 50px;
  align-items: start
}

.highlight {
  background: var(--primary-soft);
  padding: 22px;
  border-radius: var(--radius);
  margin-bottom: 26px
}

.highlight .kicker {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary)
}

.highlight .date {
  margin-top: 8px;
  font-size: 30px;
  font-family: Georgia, serif;
  font-weight: 700
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px
}

.list .arrow {
  color: var(--primary);
  line-height: 1.8
}

.supporters {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.supporter {
  padding: 16px 18px;
  background: #f4f6f1;
  border-radius: var(--radius)
}

.supporter strong {
  display: block;
  font-size: 13px
}

.supporter span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px
}

footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--muted)
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0)
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0)
}

.reveal-delay-1 {
  transition-delay: .12s
}

.reveal-delay-2 {
  transition-delay: .24s
}

.reveal-delay-3 {
  transition-delay: .36s
}

.reveal-delay-4 {
  transition-delay: .48s
}

details summary::-webkit-details-marker {
  display: none
}

details[open] summary span:last-child {
  transform: rotate(45deg)
}

details summary span:last-child {
  transition: transform .2s ease
}

details p {
  text-align: justify;
  font-size: 15px;
  line-height: 1.8
}

.press-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px
}

.press-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #050608
}

.press-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, opacity .45s ease
}

.press-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent 55%);
  opacity: .85;
  pointer-events: none
}

.press-image-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  font-size: 12px;
  color: #f7f7f5;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .75)
}

.press-image--hero {
  grid-column: span 2;
  min-height: 260px;
  max-height: 360px
}

.press-image--small {
  min-height: 220px;
  max-height: 280px
}

/* Kleinere Thumbnails für Bilder innerhalb des ausgeklappten Zeitungsberichts */
.article-box .press-images .press-image--small {
  min-height: 120px;
  max-height: 160px;
}

/* Portrait-Bilder ohne Beschnitt anzeigen (zentriert, vollständig sichtbar) */
.press-image--portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050608;
}

.press-image--portrait img {
  width: auto;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
}

.press-image:hover img {
  transform: scale(1.04);
  opacity: .96
}

@media (max-width:900px) {
  .press-images {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:768px) {
  .press-images {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px
  }

  .press-image--hero,
  .press-image--small {
    min-height: 220px
  }
}


@media (max-width: 900px) {
  .links-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-inner {
    justify-content: space-between;
    padding: 0 20px;
  }

  .brand {
    display: flex;
  }

  .brand span {
    display: none;
  }

  .split,
  .project-grid,
  .outlook,
  .steps,
  .stats,
  .survey-stats {
    grid-template-columns: 1fr
  }

  .hero {
    padding: 92px 0 84px
  }

  .brand span {
    font-size: 15px
  }

  .article-box {
    padding: 24px
  }

  .white-card {
    border-radius: 4px
  }
}

@media (max-width: 768px) {
  body {
    line-height: 1.68
  }

  .container {
    padding: 0 18px
  }

  section {
    padding: 72px 0
  }

  .nav {
    height: 62px;
    top: 10px;
    width: 62px;
    border-radius: 50%;
    left: 10px;
    transform: none;
  }

  .nav-inner {
    padding: 0;
    gap: 0
  }

  main {
    padding-top: 68px
  }

  .brand {
    gap: 10px;
    min-height: 44px
  }

  .brand img {
    width: 30px;
    height: 30px
  }

  .brand span {
    display: none
  }

  h1 {
    font-size: clamp(34px, 11vw, 52px)
  }

  h2 {
    font-size: clamp(28px, 8vw, 40px)
  }

  .sub {
    font-size: 17px;
    max-width: 34ch
  }

  .tagline {
    font-size: 17px;
    padding: 0 8px
  }

  .hero-logo {
    width: 148px;
    height: 148px
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-inline: auto;
    margin-top: 28px
  }

  .btn {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    padding: 14px 18px
  }

  .badge {
    min-width: 0;
    width: 100%;
    padding: 16px
  }

  .badges {
    gap: 12px
  }

  .quote {
    padding-left: 16px
  }

  .quote blockquote {
    font-size: 20px;
    line-height: 1.4
  }

  .article-box {
    padding: 22px 18px 20px
  }

  .article-box .content {
    font-size: 16px;
    line-height: 1.85
  }

  .highlight {
    padding: 18px
  }

  .highlight .date {
    font-size: 25px
  }

  .supporter {
    padding: 15px 16px
  }

  details summary {
    padding: 18px 18px !important;
    min-height: 52px
  }

  details summary .title {
    font-size: 19px !important;
    line-height: 1.3
  }

  details p {
    font-size: 16px;
    line-height: 1.75
  }

  footer {
    font-size: 13px;
    padding: 24px 18px
  }

  input,
  textarea,
  button,
  a {
    touch-action: manipulation
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px
  }

  section {
    padding: 64px 0
  }

  .impressum-grid {
    grid-template-columns: 1fr !important;
    gap: 4px 0 !important
  }

  .hero {
    padding: 76px 0 70px
  }

  .hero-logo {
    width: 132px;
    height: 132px;
    margin-bottom: 22px
  }

  .brand span {
    font-size: 16px
  }

  .eyebrow {
    font-size: 10px
  }

  .sub {
    font-size: 16px
  }

  .tagline {
    font-size: 16px
  }

  .credit {
    font-size: 14px
  }

  .credit strong {
    font-size: 15px
  }

  .stat {
    padding: 18px;
    min-height: 102px
  }

  .stat .val {
    font-size: 20px
  }

  .badge strong {
    font-size: 17px
  }

  .badge span {
    font-size: 13px;
    line-height: 1.45
  }

  .article-box .content h4 {
    font-size: 20px
  }

  .outlook {
    gap: 28px
  }

  .list li {
    font-size: 16px;
    line-height: 1.65
  }
}

/* Verbesserte Button Hover-Effekte */
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn.outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox .close:hover {
  color: #bbb;
}



/* Weitere Animationen */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    /* Parallax deaktivieren auf Mobile */
  }

  main {
    padding-top: 82px;
  }
}

/* Zeitungsartikel Ausklappbar */
.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 6px 0;
}

.article-toggle-icon {
  transition: transform 0.3s ease;
  display: inline-block;
  width: 20px;
  text-align: center;
}

.article-collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.article-collapsible.open {
  transition: max-height 0.4s ease-in;
}

/* CO2 Rechner Styling */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.input-with-unit input[type="number"] {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.input-with-unit input[type="number"]:focus {
  border-color: var(--primary);
}

/* Custom Slider Styling */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  margin: 15px 0;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: transform 0.1s;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* Preset buttons active state */
.preset-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- Unterstützer Sektion --- */
#unterstuetzer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 38px;
}

.sponsor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(31, 36, 28, .08);
}

/* Logo-Box (Rahmenlos) */
.sponsor-logo-box {
  width: 100%;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.sponsor-logo-box img {
  max-width: 100%;
  max-height: 85px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-logo-box img {
  transform: scale(1.06);
}

/* Action-Bereich */
.sponsor-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.sponsor-name {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
  max-width: calc(100% - 44px);
  flex-shrink: 1;
}

/* Chevron Button */
.sponsor-btn {
  background: var(--surface);
  border: 1px solid var(--text);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  flex-shrink: 0;
}

.sponsor-btn:hover {
  background: var(--text);
  color: var(--surface);
  transform: scale(1.08);
}

.sponsor-btn:active {
  transform: scale(0.95);
}

.sponsor-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sponsor-card.expanded .sponsor-chevron {
  transform: rotate(180deg);
}

/* Collapsible description box */
.sponsor-desc-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sponsor-desc-content {
  padding-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  margin-top: 14px;
  text-align: left;
}

/* Responsive Grid overrides */
@media (max-width: 900px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .sponsor-card {
    padding: 16px;
  }

  .sponsor-logo-box-inner.placeholder {
    font-size: 13px;
  }
}

/* Preset Button Active State */
.preset-btn.active {
  background: var(--primary) !important;
  color: #fff !important;
}

/* Dropdown Navigation */
.nav-tab.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  padding: 8px 0;
  margin: 12px 0 0;
  min-width: 190px;
  z-index: 100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.dropdown-menu li {
  padding: 0;
  border: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: all 0.2s ease;
  text-align: center;
}

.dropdown-menu li a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-tab.dropdown:hover .dropdown-menu {
  display: block;
}