/* 
 * Pirates Park FKK Saunaclub
 * Hauptstildatei
 */

/* ======= VARIABLEN ======= */
:root {
    --gold: #D4AF37;
    --mahogany: #C04000;
    --dark-green: #006400;
    --silver: #C0C0C0;
    --black: #121212;
    --gold-gradient: linear-gradient(145deg, #D4AF37, #AA8C2C, #FFDF00);
}

/* ======= BASIS-STILE ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cinzel', serif;
}

h1, h2, h3, .logo {
    font-family: 'IM Fell English SC', serif;
    letter-spacing: 1px;
}

body {
    background-color: var(--black);
    color: var(--gold);
    background-image: url('../img/backgrounds/main-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ======= HEADER & NAVIGATION ======= */
header {
    background: linear-gradient(to bottom, var(--black), transparent);
    padding: 0.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(to right, #FFD700, #D4AF37, #B8860B, #DAA520, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.7);
    display: flex;
    align-items: center;
    animation: shipRocking 3s infinite ease-in-out;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo img {
    height: 60px;
    margin-right: 1rem;
    animation: shipRocking 3s infinite ease-in-out;
}

/* Navigation - ohne Schatzkisten-Hintergrund */
nav {
    padding: 0.8rem 1.2rem;
    position: relative;
    z-index: 100;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

nav a {
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

nav a:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

nav a:hover::after {
    width: 100%;
}

/* ======= HAMBURGER-MENÜ ======= */
/* Hamburger-Icon nur auf mobilen Geräten anzeigen */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 150;
  position: relative;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--gold);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ======= MAIN CONTENT ======= */
.main-content {
    max-width: 1200px;
    margin: 0rem auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.lens-flare-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20 !important; /* Höherer z-index */
	opacity: 1 !important;
    pointer-events: none;
    border: 2px solid black;  /* Temporäre Grenze zum Testen */
}

.lens-flare {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: screen;
    filter: blur(3px);
    z-index: 10;
    animation: flareMotion 15s infinite linear;
}

#lensFlare2 {
    width: 120px;
    height: 120px;
}

#lensFlare3 {
    width: 200px;
    height: 200px;
}

.hero-section h1 {
    font-size: 4.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #FFD700, #E6BE8A, #DAA520, #B8860B, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
    animation: textGlow 3s infinite alternate;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10' fill='none'%3E%3Cpath d='M0 5H120M280 5H400M200 0L190 5L200 10L210 5L200 0Z' stroke='%23D4AF37' stroke-width='2'/%3E%3Ccircle cx='130' cy='5' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='140' cy='5' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='150' cy='5' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='160' cy='5' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='170' cy='5' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='230' cy='5' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='240' cy='5' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='250' cy='5' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='260' cy='5' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='270' cy='5' r='2' fill='%23D4AF37'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
}

.hero-section p {
    font-size: 1.5rem;
    max-width: 800px;
    color: var(--silver);
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--gold-gradient);
    color: var(--black);
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: cannonShot 1s ease-out forwards;
    opacity: 0;
    transform: scale(0.1) rotate(15deg);
}

.cta-button:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    animation: buttonGlow 2s infinite alternate;
}

/* Section Titles */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin: 3rem 0 4rem;
    background: linear-gradient(to right, #FFD700, #E6BE8A, #DAA520, #B8860B, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 18' fill='none'%3E%3Cpath d='M0 9H75M175 9H250M125 0L110 9L125 18L140 9L125 0Z' stroke='%23D4AF37' stroke-width='2'/%3E%3Ccircle cx='85' cy='9' r='3' fill='%23D4AF37'/%3E%3Ccircle cx='95' cy='9' r='3' fill='%23D4AF37'/%3E%3Ccircle cx='105' cy='9' r='3' fill='%23D4AF37'/%3E%3Ccircle cx='145' cy='9' r='3' fill='%23D4AF37'/%3E%3Ccircle cx='155' cy='9' r='3' fill='%23D4AF37'/%3E%3Ccircle cx='165' cy='9' r='3' fill='%23D4AF37'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ======= FEATURE CARDS ======= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.feature-card {
    background-image: url('../img/backgrounds/pergament.png');
    background-size: cover;
    background-position: top;
    border: none;
    padding: 2rem 1.5rem;
    border-radius: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    transform: rotate(-1deg);

    /* Maske für den Transparenzverlauf */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}


.section-content-events .feature-card {
    background-image: url('../img/backgrounds/papyrus.png');
}

.feature-card:nth-child(even) {
    transform: rotate(1deg);
}

.feature-card.ghost-effect {
    animation: scrollFloat 8s infinite ease-in-out;
}

/* Scroll knobs 
.feature-card::before,
.feature-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #5A3921;
    border-radius: 50%;
    top: -10px;
    border: 2px solid #3A2512;
}*/

.feature-card::before {
    left: 20px;
}

.feature-card::after {
    right: 20px;
}

.feature-card h3 {
    color: #5A3921;
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(139, 69, 19, 0.3);
    background-color: rgba(248, 240, 221, 0.8);
    /*padding: 0.5rem;*/
    display: inline-block;
    border-radius: 4px;
}

.feature-card p {
    color: #5A3921;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'MedievalSharp', cursive;
    background-color: rgba(248, 240, 221, 0.4);
    padding: 0.5rem;
	margin: 2rem;
    border-radius: 4px;
}

/* ======= GALLERY ======= */
.gallery-section {
    position: relative;
    margin: 4rem 0;
    perspective: 1000px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    perspective: 1000px;
}

.gallery-item {
    height: 300px;
    border: 3px solid var(--mahogany);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    animation: rockShip 10s infinite ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

/* ======= FOOTER ======= */
footer {
    background: linear-gradient(to top, var(--black), transparent);
    padding: 3rem 0;
    text-align: center;
    border-top: 2px solid var(--gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' fill='none'%3E%3Cpath d='M0 3H45M55 3H100' stroke='%23D4AF37' stroke-width='1'/%3E%3Ccircle cx='50' cy='3' r='3' fill='%23D4AF37'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

.footer-section a, .footer-section p {
    color: var(--silver);
    margin-bottom: 0.5rem;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    opacity: 0;
    animation: bulletShot 0.5s forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-section a::before {
    content: '★';
    color: var(--gold);
    margin-right: 8px;
    display: inline-block;
    transform: scale(0);
    animation: bulletSpin 0.5s forwards;
    animation-delay: calc((var(--item-index) * 0.1s) - 0.1s);
}

.footer-section p::before {
    content: '☠';
    color: var(--gold);
    margin-right: 8px;
    display: inline-block;
    transform: scale(0);
    animation: bulletSpin 0.5s forwards;
    animation-delay: calc((var(--item-index) * 0.1s) - 0.1s);
}

.copyright {
    margin-top: 2rem;
    color: var(--silver);
    font-size: 0.9rem;
}

/* ======= SPECIAL EFFECTS ======= */
.skull-popup {
    position: fixed;
    width: 150px;
    height: 150px;
    background-image: url('../img/skull.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
}

.coins-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
    animation: coinFall 1s forwards;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coins-effect::after {
    content: '';
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.9) inset;
}

/* ======= EVENT POPUP ======= */
.event-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.event-popup.active {
  display: flex;
  animation: fadeIn 0.5s ease-in-out;
}

.event-popup-container {
  width: 90%;
  max-width: 600px;
  background-color: #0a0a0a;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 30px rgba(230, 0, 0, 0.6);
  color: #fff;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.event-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.event-close:hover {
  opacity: 1;
}

.event-header {
  padding: 20px 20px 5px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #111, transparent);
}

.event-header h2 {
  margin: 0;
  color: #e60000;
  font-size: 24px;
}

.event-date {
  font-size: 16px;
  margin-top: 5px;
  opacity: 0.8;
}

.event-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.event-image img:hover {
  transform: scale(1.05);
}

.event-content {
  padding: 20px;
  overflow-y: auto;
}

.event-content h3 {
  margin-top: 0;
  font-size: 20px;
  color: #e60000;
}

.event-content p {
  margin-bottom: 20px;
  line-height: 1.5;
}

.event-details {
  margin-bottom: 20px;
}

.event-detail {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.event-detail i {
  color: #e60000;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.event-actions {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.btn-event-details, .btn-event-reserve {
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  flex: 1;
}

.btn-event-details {
  background-color: #333;
  color: white;
}

.btn-event-reserve {
  background-color: #e60000;
  color: white;
}

.btn-event-details:hover {
  background-color: #444;
}

.btn-event-reserve:hover {
  background-color: #ff0000;

}

.event-footer {
  padding: 15px;
  border-top: 1px solid #333;
  text-align: center;
}

.event-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  color: white;
  font-size: 18px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.social-icon:hover {
  opacity: 1;
  color: #e60000;
}

/* Ghost effect für spezielle Events */
.ghost-effect {
  animation: ghostPulse 2s infinite;
}

@keyframes ghostPulse {
  0% { box-shadow: 0 0 20px rgba(230, 0, 0, 0.6); }
  50% { box-shadow: 0 0 40px rgba(230, 0, 0, 0.8); }
  100% { box-shadow: 0 0 20px rgba(230, 0, 0, 0.6); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 576px) {
  .event-actions {
    flex-direction: column;
  }
  
  .event-image {
    height: 150px;
  }
}

/* ======= PRELOADER ======= */
/* Verbesserter Preloader mit Logo und Animation */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-in-out;
}

.preloader-container {
  width: 80%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  max-width: 200px;
  margin-bottom: 30px;
}

.preloader-animation {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.preloader-animation img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.loading-bar-container {
  width: 100%;
  height: 6px;
  background-color: #333;
  margin: 20px 0;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.loading-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, #D4AF37, #FFD700);
  transition: width 0.5s;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  position: relative;
}

.loading-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.loading-text {
  color: var(--gold, #D4AF37);
  font-size: 16px;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  margin-top: 10px;
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.dot-animation {
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

.preloader-fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ======= AGE VERIFICATION ======= */
.age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.age-verification-container {
  width: 90%;
  max-width: 500px;
  background-color: #111;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 20px rgba(230, 0, 0, 0.5);
  border: 1px solid #e60000;
}

.age-logo {
  margin-bottom: 20px;
}

.age-verification h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #e60000;
}

.age-verification p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.age-verification-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 25px 0;
}

.btn-confirm, .btn-leave {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-confirm {
  background-color: #e60000;
  color: white;
}

.btn-confirm:hover {
  background-color: #ff0000;
}

.btn-leave {
  background-color: #333;
  color: white;
}

.btn-leave:hover {
  background-color: #555;
}

.age-verification-notice {
  margin-top: 15px;
  font-size: 12px;
  opacity: 0.7;
}

.age-verification-notice a {
  color: #e60000;
  text-decoration: none;
}

.age-verification-notice a:hover {
  text-decoration: underline;
}

/* ======= COOKIE BANNER ======= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  color: #fff;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cookie-header h3 {
  margin: 0;
  color: #e60000;
}

.cookie-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}

.cookie-close:hover {
  color: #e60000;
}

.cookie-message {
  margin-bottom: 20px;
  line-height: 1.5;
}

.cookie-message a {
  color: #e60000;
  text-decoration: none;
}

.cookie-message a:hover {
  text-decoration: underline;
}

.cookie-settings {
  margin-bottom: 20px;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 15px 0;
}

.cookie-option {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #333;
}

.cookie-option:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-option label {
  font-weight: bold;
  margin-left: 10px;
  cursor: pointer;
}

.cookie-description {
  margin: 5px 0 0 30px;
  font-size: 0.9em;
  opacity: 0.8;
}

.cookie-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-primary {
  background-color: #e60000;
  color: white;
}

.btn-primary:hover {
  background-color: #ff0000;
}

.btn-secondary {
  background-color: #333;
  color: white;
}

.btn-secondary:hover {
  background-color: #444;
}

.btn-tertiary {
  background-color: transparent;
  color: #ccc;
  text-decoration: underline;
  border: none;
}

.btn-tertiary:hover {
  color: #fff;
}

.cookie-settings-link {
  text-align: center;
  margin: 10px 0;
}

.cookie-settings-link a {
  color: #888;
  font-size: 12px;
  text-decoration: none;
}

.cookie-settings-link a:hover {
  color: #e60000;
  text-decoration: underline;
}

/* ======= ANIMATIONS ======= */
@keyframes shipRocking {
    0% {
        transform: rotate(-2deg) translateY(0px);
    }
    25% {
        transform: rotate(0deg) translateY(-3px);
    }
    50% {
        transform: rotate(2deg) translateY(0px);
    }
    75% {
        transform: rotate(0deg) translateY(3px);
    }
    100% {
        transform: rotate(-2deg) translateY(0px);
    }
}

@keyframes flareMotion {
    0% {
        opacity: 0;
        transform: translate(10%, 20%) scale(0.8);
    }
    20% {
        opacity: 0.4;
        transform: translate(30%, 15%) scale(1.2);
    }
    40% {
        opacity: 0.2;
        transform: translate(70%, 50%) scale(0.7);
    }
    60% {
        opacity: 0.3;
        transform: translate(40%, 30%) scale(1);
    }
    80% {
        opacity: 0.5;
        transform: translate(20%, 60%) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: translate(10%, 20%) scale(0.8);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
    }
    100% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 1), 0 0 40px rgba(212, 175, 55, 0.5);
    }
}

@keyframes cannonShot {
    0% {
        opacity: 0;
        transform: scale(0.1) rotate(15deg) translate(-300px, 0);
    }
    30% {
        opacity: 1;
        transform: scale(1.2) rotate(5deg) translate(10px, 0);
    }
    50% {
        transform: scale(0.9) rotate(-2deg) translate(-5px, 0);
    }
    70% {
        transform: scale(1.05) rotate(1deg) translate(2px, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg) translate(0, 0);
    }
}

@keyframes buttonGlow {
    0% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.9);
        transform: scale(1.05);
    }
}

@keyframes rockShip {
    0% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(-5px);
    }
}

@keyframes scrollFloat {
    0% {
        transform: rotate(-1deg) translateY(0);
    }
    50% {
        transform: rotate(-2deg) translateY(-10px);
    }
    100% {
        transform: rotate(-1deg) translateY(0);
    }
}

@keyframes scrollFloatEven {
    0% {
        transform: rotate(1deg) translateY(0);
    }
    50% {
        transform: rotate(2deg) translateY(-10px);
    }
    100% {
        transform: rotate(1deg) translateY(0);
    }
}

@keyframes coinFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    15% {
        transform: translateY(-30px) translateX(var(--coin-x-direction)) rotate(90deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100px) translateX(calc(var(--coin-x-direction) * 1.5)) rotate(360deg);
        opacity: 0;
    }
}

@keyframes coinHover {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.7;
    }
    40% {
        transform: translateY(-40px) translateX(var(--coin-x-direction)) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translateY(50px) translateX(calc(var(--coin-x-direction) * 1.5)) rotate(360deg);
        opacity: 0;
    }
}

@keyframes bulletShot {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    70% {
        opacity: 1;
        transform: translateX(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bulletSpin {
    0% {
        transform: scale(0) rotate(0deg);
    }
    70% {
        transform: scale(1.5) rotate(360deg);
    }
    100% {
        transform: scale(1) rotate(720deg);
    }
}

@keyframes skullAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-20deg);
    }
    10% {
        opacity: 1;
        transform: scale(1.2) rotate(10deg);
    }
    20% {
        transform: scale(1) rotate(-5deg);
    }
    90% {
        opacity: 1;
        transform: rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: scale(1.2) rotate(10deg);
    }
}

/* ======= RESPONSIVE DESIGN ======= */
@media screen and (max-width: 1024px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* Header-Container korrigieren */
    .header-container {
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }
    
    .logo-container {
        flex: 0 0 auto;
    }
    
    .hamburger-menu {
        display: flex;
        flex: 0 0 auto;
        margin-left: auto;
    }
    
    /* Navigation standardmäßig ausblenden */
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 80%;
        max-width: 300px;
        height: 100vh;
        padding: 70px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 140;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    /* Navigation anzeigen, wenn aktiv */
    nav ul.active {
        right: 0;
    }
    
    /* Menüanimation wenn aktiv */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Navigationslinks anpassen */
    nav a {
        font-size: 1.2rem;
        padding: 12px 0;
        width: 100%;
        display: block;
    }
    
    /* Allgemeine mobile Styles */
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cookie-footer {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-tertiary {
        width: 100%;
    }
}
/* Anpassung für CTA-Buttons und Coin-Trigger-Elemente */
.cta-button, .coin-trigger {
    position: relative; /* Stellt sicher, dass die Position relativ ist */
    display: inline-block;
    transform-origin: center;
}

/* Anpassung für die Preiskarten auf der Preisseite */
.offer-card .cta-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.offer-card:hover .cta-button {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
}

/* Für andere Buttons, die die cannonShot-Animation verwenden */
.cta-button.animated {
    animation: cannonShot 1s ease-out forwards;
    opacity: 0; /* Standardmäßig ausgeblendet */
}

/* Globales Styling für Coin-Trigger ohne spezifische Positionierung */
.coin-trigger {
    cursor: pointer;
}