/* Color customization */
:root {
  --accent-color: #E74E52;
  --secondary-color: #30B2A1;
  --primary-color: #ED9055;
  --background-color: #181818;
  --accent-background-color: #282828;
  --text-color:#eee;
  --font-family-accent: 'Press Start 2P', monospace;
}

/*
  Make image rasterization lazy. This means that e.g. the cost of the
  blurry placeholder is never paid if images load before entering
  the viewport.
  Context
  - https://web.dev/content-visibility/#skipping-rendering-work-with-content-visibility
 */
main img {
  content-visibility: auto;
}

.event-hero {
  border-radius: 0;                         /* keine Rundungen */
  border: 2px solid var(--primary-color);   /* klare Kante */
  box-shadow: 4px 4px 0 var(--accent-color); /* Retro-Schatten */
}

/* Icon-Größe */
.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Avoid the header hiding the content on anchor scroll. */
article * {
  scroll-margin-top: 50px;
}

/* [ON BIG SCREEN] */
/* (A) WRAPPER */
#hamnav {
  background: var(--background-color);
}

/* (B) HORIZONTAL MENU ITEMS */
#hamitems { 
  display: flex; 
  justify-content: center;
  text-overflow: clip;
  white-space: nowrap;
}
#hamitems a {
  float: left;
  display: block;
  text-align: left;
  padding: 0px 16px;
  text-decoration: none;
  font-family: var(--font-family-accent);
  font-size: 1rem;   /* sonst ist die Schrift SEHR groß */
  letter-spacing: 1px;  /* besser lesbar */
  text-transform: uppercase; /* wirkt „arcadiger“ */

}
#hamitems a:hover { 
  background: var(--background-color); 
}

/* (C) HIDE HAMBURGER */
#hamnav label, #hamburger { display: none; }

/* [ON SMALL SCREENS] */
@media screen and (max-width: 700px){
  #hamitems {
    display: none; /* Standard: unsichtbar */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9); /* Hintergrund abdunkeln */
    z-index: 999;
  }

  /* Menü öffnen */
  #hamnav input:checked ~ #hamitems {
    display: block;
  }

  /* Links absolut zentriert */
  #hamitems a {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-family: var(--font-family-accent);
    color: var(--text-color);
    text-align: center;
    padding: 0.5rem;
  }
 
  /* (B) SHOW HAMBURGER ICON */
  #hamnav label { 
    display: inline-block; 
    background: transparent;
    font-style: normal;
    font-size: 1.2em;
    padding: 10px 20px 10px 20px;
    margin-right: 25px;
    position: absolute;
    right: 0;
  }
  /* Jeder Menüpunkt auf eigene vertikale Position */
  #hamitems a:nth-child(1) { top: 30%; }
  #hamitems a:nth-child(2) { top: 40%; }
  #hamitems a:nth-child(3) { top: 50%; }
  #hamitems a:nth-child(4) { top: 60%; }
  #hamitems a:nth-child(5) { top: 70%; }

  /* (C) TOGGLE SHOW/HIDE MENU */
  #hamitems { display: none; }
  #hamnav input:checked ~ #hamitems { display: block; }
}
:root {
  --main-width: calc(100vw - 3em);
}

@media (min-width: 37.5em) {
  :root {
    --main-width: calc(37.5em - 3em);
  }
}

dialog {
  background-color: #8dff80;
  position: fixed;
  opacity: 0.9;
  z-index: 1000;
}

#nav {
  z-index: 2;
  position: relative;
}

#posts ul {
  list-style-type: none;
}

#posts li {
  margin-bottom: 0.5em;
}

/* https://github.com/rsms/inter/blob/master/LICENSE.txt

Copyright (c) 2016-2020 The Inter Project Authors.
"Inter" is trademark of Rasmus Andersson.
https://github.com/rsms/inter

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION AND CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

*/
/* --------------------------------------------------------------------------
Single variable font.

Note that you may want to do something like this to make sure you're serving
constant fonts to older browsers:
html {
  font-family: 'Inter UI', sans-serif;
}
@supports (font-variation-settings: normal) {
  html {
    font-family: 'Inter UI var', sans-serif;
  }
}
*/
@font-face {
  font-family: "Inter UI";
  font-weight: 100 900;
  font-style: oblique 0deg 10deg;
  src: url("/fonts/Inter-3.19.var.woff2") format("woff2");
}

@font-face {
  font-family: 'Press Start 2P';
  src: url('/fonts/PressStart2P-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/*

The Bahunya CSS framework https://kimeiga.github.io/bahunya/

https://github.com/Kimeiga/bahunya/blob/master/LICENSE

MIT License

Copyright (c) 2018 Hakan Alpay

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--background-color);
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
  font-family: var(--font-family-accent);
}

h2 {
  font-size: 1.5em;
  margin: 0.5em 0;
  font-family: var(--font-family-accent);
}

.logo {
  height: 1em; /* Setzt die Höhe des Logos auf die Höhe der Textzeile */
  margin-right: 10px; /* Abstand zwischen Logo und Text */
}

.text {
  font-size: 1em; /* Definiert die Textgröße, die als Grundlage für die Logogröße dient */
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
a {
  background-color: transparent;
  color: var(--accent-color);
}
a:hover {
  color: var(--primary-color);
}
b,
strong {
  font-weight: 700;
}
code {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
img {
  border-style: none;
}
button,
input,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button {
  text-transform: none;
}
[type="button"],
[type="submit"],
button {
  -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
textarea {
  overflow: auto;
}
[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
[hidden] {
  display: none;
}

body,
p,
ul {
  font-size: 1rem;
  line-height: 1.6;
}

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

.hero-cta{
  display:flex;
  gap:.5rem;
  justify-content:center;
  margin-top:.5rem;
  margin-bottom:1rem;
  z-index: 10;
}

@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;    /* Center align the buttons */
    gap: 1rem;              /* Add more space between buttons */
  }

  .hero-cta .btn {
    width: 100%;            /* Make buttons full width */
    text-align: center;     /* Center the text inside the buttons */
  }
}

@media (min-width: 1200px) {
  h1 {
    font-family: var(--font-family-accent);
  }
  h2 {
    line-height: 4rem;
    font-family: var(--font-family-accent);
  }
  h3 {
    line-height: 2.5rem;
  }
  body,
  p,
  ul {
    font-size: 1.2rem;
    line-height: 1.6;
    
  }
  
  p,
  ul {
    margin-bottom: 1.632rem;
  }
}
th {
  font-weight: 600;
}
td,
th {
  border-bottom: 1px solid;
  overflow: auto;
  padding: 0.75em;
  text-align: left;
  vertical-align: top;
}
thead th {
  border-bottom: 1px solid --accent-color;
}
table {
  display: table;
}
code,
table {
  overflow-x: auto;
}
code {
  border-radius: 0.3em;
  color: var(--secondary-color);
  padding: 0 0.3em;
  font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace;
  font-size: 90%;
}
code {
  background: #2d2d2d;
}

small {
  color: #ccc;
}
hr {
  border-bottom: 1px solid --text-color;
}
dt {
  font-weight: 600;
}
@media (max-width: 767px) {
  fieldset {
    min-width: 0;
  }
  fieldset * {
    flex-grow: 1;
    page-break-before: auto;
  }
}
html {
  font-family: Inter UI, sans-serif;
  --font-family: Inter UI, sans-serif;
}
form {
  padding: 1.5em 1.5em 0;
  border: 0.2rem solid #202020;
  margin-bottom: 1.5em;
}
form small {
  font-style: italic;
}
fieldset {
  padding: 0;
  margin: 0;
}
fieldset legend {
  font-size: 150%;
  margin-bottom: 0.75em;
}
button,
input,
textarea {
  border-radius: 0.3em;
  display: inline-block;
  padding: 0.75em;
  max-width: 100%;
}
.btn{border-radius:0;border:2px solid var(--accent-color);background:var(--primary-color);color:#181818;box-shadow:3px 3px 0 var(--accent-color);padding:.5rem .9rem;font-family:"Press Start 2P",monospace;font-size:.7rem;letter-spacing:1px;text-transform:uppercase}
.btn:hover{background:var(--secondary-color);color:#000}
button + input[type="checkbox"],
button + label,
input + input[type="checkbox"],
input + label,
textarea + input[type="checkbox"],
textarea + label {
  page-break-before: always;
}
input,
textarea {
  margin-bottom: 1.5em;
}
textarea {
  min-height: 7.5em;
  min-width: 15em;
}
label {
  display: inline-block;
}
label + * {
  page-break-before: always;
}
fieldset > * {
  display: block;
}
input {
  display: inline;
}
fieldset > *,
form > :not(fieldset) {
  margin-right: 0.75em;
}
button,
input[type="submit"],
.event-hero__cta,
.event-hero__ghost {
  border-radius: 0;              /* statt rund → eckig */
  border: 2px solid var(--accent-color);
  background: var(--accent-background-color);
  color: var(--text-color);
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  box-shadow: 3px 3px 0 var(--primary-color); /* „Pixel-Schatten“ */
}

button:hover,
input[type="submit"]:hover,
.event-hero__cta:hover,
.event-hero__ghost:hover {
  background: var(--secondary-color);
  color: #000;
  box-shadow: 3px 3px 0 var(--accent-color);
}
button[disabled],
input[type="submit"][disabled] {
  background: #e6e6e6;
  color: #404040;
  cursor: not-allowed;
}
button:not([disabled]),
button[type="submit"],
input[type="submit"] {
  background: #f9c412;
  color: #181818;
}
button:not([disabled]):hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--accent-color);
  color: #000;
}
input[type="color"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="time"],
input[type="url"],
textarea {
  border: 1px solid #595959;
  padding: 0.75em;
}
input[type="checkbox"] {
  flex-grow: 0;
  margin: 0.75em 0.375em 0.75em 0;
  vertical-align: middle;
}
input[type="checkbox"] + label {
  page-break-before: avoid;
}
* {
  border: 0;
  box-sizing: border-box;
}
img {
  max-width: 100%;
}
body {
  font-family: var(--font-family);
  background: #181818;
  color: var(--text-color);
  padding-top: var(--nav-h);
}
section {
  margin-left: auto;
  margin-right: auto;
  width: 900px;
}
header label {
  display: block;
}

/* 1) Höhe der Top-Navi zentral festlegen */
:root { --nav-h: 56px; }               /* Desktop */
@media (max-width: 700px){ :root { --nav-h: 64px; } }  /* Mobile/Hamburger */

header {
  background: var(--accent-background-color);
  text-align: center;
  margin-top: 2rem;       /* Abstand zur Navbar */
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  position: relative;
  display: flex;              /* Flexbox aktivieren */
  flex-direction: column;
  justify-content: center;    /* vertikal mittig */
  align-items: center;        /* horizontal mittig */
}

/* Farbband hinter der Überschrift */
header::before {
  content: "";
  position: absolute;
  inset: 0; /* füllt header */
  background: linear-gradient(
    0deg,
    var(--accent-color) 0%,
    var(--secondary-color) 40%,
    var(--primary-color) 80%
  );
  opacity: 0.15;          /* dezent, nicht störend */
  z-index: 0;
}

header h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0.25rem 0;
  letter-spacing: 1px;
  padding: 0em 1em 0em 1em;
}

header h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.9rem;
  font-weight: normal;
  color: var(--secondary-color);
  margin: 0.25rem 0;
}

#site-intro {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;   /* kleiner Abstand unter h2 */
}

header p {
  margin-top: 0;
  padding: 5px;
}

header nav{
  position: fixed;
  top: 1em; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 1.5em;                    /* vertikal 0, sonst doppelte Höhe */
  background: hsla(0,0%,100%,0.9);
  z-index: 1000;                        /* über allem */
}

header nav h1 {
  float: none;            /* Float aufheben */
  margin: 0 1rem 0 0;     /* kleiner Abstand zu den Links */
  text-align: center;
}

header nav a {
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-family);
}

header nav a:last-of-type {
  margin-right: 1.5em;
}
header nav label {
  cursor: pointer;
  margin: 0;
  font-style: normal;
  text-align: right;
}
main {
  max-width: 70rem;
  margin: 0 auto;
}

article {
  max-width: 100%;
  padding: 0.5em;
  width: 40.5em;
  margin: 0 auto;
}

ul {
  list-style: none; /* Standard Bullets entfernen */
  padding-left: 1.2rem;
  margin: 1rem 0;
}

ul li {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 1.6rem;
  line-height: 1.6;
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  image-rendering: pixelated; /* Schöner Retro-Look */
  box-shadow: 2px 2px 0 var(--accent-color); /* Pixel-Kante */
}
dt {
  padding-top: 0.75em;
  padding-left: 0.75em;
}
img {
  height: auto;
  margin: 0 auto;
}

input[type="submit"],
button[type="submit"],
button:not([disabled]) {
  background: var(--primary-color);
}
input[type="submit"]:hover,
button[type="submit"]:hover,
button:not([disabled]):hover {
  background: var(--secondary-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.site-logo {
  float: left;
  max-width:70px;
  margin: 7px 10px 0 0;
}

/* Posts Carousel Styles */
.posts-carousel {
  margin: 2rem 0;
  position: relative;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-direction: row;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  border-radius: 0.5rem;
  flex: 1;
  min-width: 0;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 1rem;
  align-items: stretch;
  padding: 0;
}

.carousel-slide {
  min-width: calc(33.333% - 0.67rem);
  flex-shrink: 0;
  display: flex;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .carousel-slide {
    min-width: calc(33.333% - 0.67rem);
    max-width: calc(33.333% - 0.67rem);
  }
}

/* Navigation Buttons - Über den Bildern positioniert */
.posts-carousel .carousel-nav {
  background: rgba(231, 78, 82, 0.5) !important;
  color: white !important;
  border: none !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 50% !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  z-index: 20 !important;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 2.5rem !important;
  max-width: 2.5rem !important;
  position: absolute !important;
  top: 30% !important;
  transform: translateY(-50%) !important;
  backdrop-filter: blur(4px) !important;
}

.posts-carousel .carousel-nav:hover {
  background: rgba(237, 144, 85, 0.7) !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5) !important;
}

.posts-carousel .carousel-nav:active {
  transform: translateY(-50%) scale(0.95) !important;
}

.posts-carousel .carousel-nav:disabled {
  background: rgba(102, 102, 102, 0.7) !important;
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  transform: translateY(-50%) !important;
}

.carousel-nav-prev {
  left: 0.5rem !important;
}

.carousel-nav-next {
  right: 0.5rem !important;
}

/* Post Card Styles */
.post-card {
  background: var(--accent-background-color);
  border-radius: 0.5rem;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
  min-height: 420px;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.post-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 0.5em;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.post-title {
  margin: 0 0 0.875rem 0;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6rem;
}

.post-description {
  margin: 0 0 1rem 0;
  color: #ccc;
  line-height: 1.5;
  flex: 1;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-date {
  font-size: 0.85rem;
  color: #999;
  margin-top: auto;
  flex-shrink: 0;
}

.post-actions {
  padding: 0 0.5em 0.5em;
  flex-shrink: 0;
}

.read-more {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--primary-color);
}

/* Carousel Indicators */

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-slide {
    min-width: calc(50% - 0.5rem);
  }
  
  .carousel-track {
    gap: 0.75rem;
  }
  
  .posts-carousel .carousel-nav {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 1rem !important;
    min-width: 2rem !important;
    max-width: 2rem !important;
    top: 35% !important;
  }
  
  .carousel-nav-prev {
    left: 0.25rem !important;
  }

  .carousel-nav-next {
    right: 0.25rem !important;
  }
  
  .post-content {
    padding: 0.5em;
  }
  
  .post-image {
    height: 180px;
  }
  
  .post-card {
    min-height: 380px;
  }
  
  .post-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    min-height: 2.2rem;
    -webkit-line-clamp: 2;
  }
  
  .post-description {
    font-size: 0.9rem;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    margin: 0 0 0.75rem 0;
  }
  
  .post-date {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    min-width: 100%;
    max-width: 100%;
  }
  
  .carousel-track {
    gap: 0;
  }
  
  .posts-carousel .carousel-nav {
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 1.1rem !important;
    min-width: 2.5rem !important;
    max-width: 2.5rem !important;
    top: 30% !important;
  }
  
  .carousel-nav-prev {
    left: 0.5rem !important;
  }

  .carousel-nav-next {
    right: 0.5rem !important;
  }
  
  .post-image {
    height: 200px;
  }
  
  .post-image img {
    object-fit: cover;
    object-position: center;
  }
  
  .post-card {
    min-height: 400px;
    margin: 0;
  }
  
  .post-content {
    padding: 0.75em;
  }
  
  .post-title {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0 0 0.75rem 0;
    min-height: auto;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .post-description {
    font-size: 0.95rem;
    line-height: 1.5;
    -webkit-line-clamp: 4;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .post-date {
    font-size: 0.85rem;
  }
  
  .post-actions {
    padding: 0 0.75em 0.75em;
  }
}

@media (min-width: 1200px) {
  .carousel-slide {
    min-width: calc(33.333% - 0.67rem);
  }
  
  .carousel-track {
    gap: 1rem;
  }
}

.event-hero {
  display: block;               /* statt flex */
  border-radius: 0;
  margin: 16px 0;
  color: #fff;
  border: 2px solid var(--primary-color);
  box-shadow: 4px 4px 0 var(--accent-color);
  overflow: hidden;
}


/* Thumbnail über volle Breite */
.event-hero__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.event-hero__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* Textblock unterhalb, über volle Breite */
.event-hero__content {
  padding: 16px 24px;
}

.event-hero__eyebrow {
  letter-spacing: .08em;
  font-size: .8rem;
  opacity: .8;
  text-transform: uppercase;
}

.event-hero__title {
  margin: .25rem 0 0;
}

.event-hero__meta {
  margin: .4rem 0 1rem;
  opacity: .9;
}

.event-hero__desc {
  margin: 0 0 1rem;
  opacity: .95;
}

/* Buttons */
.event-hero__cta,
.event-hero__ghost {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;     /* kleiner gemacht */
  letter-spacing: 1px;    /* gibt Luft, bleibt lesbar */
  text-transform: uppercase;
  padding: 0.45rem 0.8rem; /* Höhe/Padding angepasst */
}

.event-hero__cta:hover,
.event-hero__ghost:hover {
  box-shadow: 5px 5px 0 var(--accent-color); /* größerer Retro-Schatten */
  transform: translate(-2px, -2px);          /* Button springt leicht raus */
}

/* Event-Box Buttons dichter setzen */
.event-hero__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: 0.75rem;
}

/* 3) Retro-Scanline-Effekt im Header */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.05) 0px,
      rgba(255,255,255,0.05) 1px,
      transparent 2px,
      transparent 4px
    ),
    linear-gradient(
      0deg,
      var(--accent-color) 0%,
      var(--secondary-color) 40%,
      var(--primary-color) 80%
    );
  opacity: 0.2;   /* etwas sichtbarer als vorher */
  z-index: 0;
}
footer {
  text-align: center;
  padding: 1.5rem 1rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem; /* Abstand zwischen den Zeilen */
}

.footer-nav a,
.footer-social a {
  color: inherit;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-nav a:hover,
.footer-social a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1.5rem; /* Abstand zwischen Discord und Insta */
  justify-content: center;
}

.social-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 4px;
}

.footer-meta {
  margin-top: 0.5rem;
}