@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baumans&display=swap');



/* CSS RESET 2025 */

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:where(html) {
  color-scheme: light dark;
  scroll-behavior: smooth;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

:where(html.translated-rtl) {
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  :where(html) {
    scroll-behavior: auto;
  }
}

:where(body) {
  min-block-size: 100svb;
  min-inline-size: 300px;
}

:where(canvas, img, picture, svg, video) {
  block-size: auto;
  border: none;
  display: block;
  max-inline-size: 100%;
}

:where(button, input, progress, select, textarea) {
  appearance: none;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  hanging-punctuation: none;
  line-height: inherit;
  text-align: start;
  touch-action: manipulation;
  
}

:where(button) {
  cursor: pointer;
  user-select: none;
}

:where(textarea) {
  resize: vertical;
}

:where(fieldset, iframe) {
  border: none;
}

:where(p, li, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

:where(abbr[title]) {
  border: none;
  text-decoration: none;
}

:where(cite) {
  font-style: inherit;
}

:where(small) {
  font-size: inherit;
}

:where(li, ol, ul) {
  list-style: none;
}

:where(dialog, [popover]) {
  background: transparent;
  border: none;
  color: inherit;
  margin: auto;
  max-block-size: none;
  max-inline-size: none;
  position: fixed;
}

:where([popover]) {
  inset: auto;
}

:where([hidden]:not([hidden="until-found"])) {
  display: none !important;
}

/* END CSS RESET 2025 */

/* Global Variables */

/* Colors */

:root {
  /* BACKGROUNDS & NEUTRALS */
  --color-background-secondary: #7c99b4;     /* Stage Fog Blue */
  --color-background-primary: #F5F5F5;   /* Ivory/Soft White (For Content Boxes) */
  --color-text-dark: #ffffff;              /* Deep Charcoal (Main body text) */
  --color-text-light: #000000;             /* White (For text on dark backgrounds) */
  
  /* BRAND ACCENTS (THEATRICAL) */
  --color-accent-primary: #ffffff;         /* Rich Plum/Burgundy */
  --color-accent-secondary: #eebd40;       /* Antique Gold/Mustard */


  /* FONT FAMILIES */
  --font-family-body: 'TT Travels Trial', sans-serif;
  --font-family-header: 'TT Travels Trial', sans-serif;
  
  /* FONT WEIGHTS */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* SPACING & SIZING */
    --font-size-base: 16px;
    --line-height-base: 1.5;
    --spacing-base: 1rem;
    --border-radius-base: 4px;
    --transition-duration: 0.3s;
    --box-shadow-base: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@font-face {
  font-family: 'TT Travels Trial'; /* Dieser Name wird später benutzt */
  src: url('assets/fonts/TT Travels Trial Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400; /* Regular */
  font-display: swap;
}

@font-face {
  font-family: 'TT Travels Trial'; /* Dieser Name wird später benutzt */
  src: url('assets/fonts/TT Travels Trial Medium.otf') format('opentype');
  font-style: normal;
  font-weight: 500; /* Medium */
  font-display: swap;
}

@font-face {
  font-family: 'TT Travels Trial'; /* Dieser Name wird später benutzt */
  src: url('assets/fonts/TT Travels Trial Semibold.otf') format('opentype');
  font-style: normal;
  font-weight: 600; /* Semibold */
  font-display: swap;
}

@font-face {
  font-family: 'TT Travels Trial'; /* Dieser Name wird später benutzt */
  src: url('assets/fonts/TT Travels Trial Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700; /* Bold */
  font-display: swap;
}

@font-face {
  font-family: 'TT Travels Trial'; /* Dieser Name wird später benutzt */
  src: url('assets/fonts/TT Travels Trial ExtraBold.otf') format('opentype');
  font-style: normal;
  font-weight: 800; /* Extra Bold */
}

/* Global Styles */

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  background-color: var(--color-background-primary);
  margin: 0;
  padding: 0;
}

main {
  border-radius: 0;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-header);
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent-primary);
}

h1 {
    font-size: 1.48rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.3rem;
}

a {
  color: var(--color-accent-secondary);
  text-decoration: none;
  transition: color var(--transition-duration);
}

a:hover {
  color: var(--color-accent-primary);
}

button {
  font-family: var(--font-family-body);
  background-color: var(--color-accent-secondary);
  color: var(--color-text-light);
  border: none;
  border-radius: var(--border-radius-base);
  padding: calc(var(--spacing-base) / 2) var(--spacing-base);
  cursor: pointer;
  height: fit-content;

  /* box-shadow: var(--box-shadow-base); */
  transition: background-color var(--transition-duration) , box-shadow var(--transition-duration), transform var(--transition-duration);
}

button[type="submit"]:hover {
  background-color: var(--color-accent-primary);
  transform: scale(1.05);
}

.submit-button-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

section {
  padding: calc(var(--spacing-base) * 1);
  margin-bottom: calc(var(--spacing-base) * 2);
  margin-top: calc(var(--spacing-base) * 2);
  box-shadow: var(--box-shadow-base);
}


p {
  margin-bottom: var(--spacing-base);
  transition: color var(--transition-duration);
}

section.newsletter-section>h1>p {
  max-width: 400px;
}

/* for checkboxes, text inputs */

input[type="checkbox"] {
    appearance: auto;
    accent-color: var(--color-accent-primary);
    cursor: pointer;
}
input[type="checkbox"]:hover {
    accent-color: var(--color-accent-primary);
    filter: brightness(0.9);
}

input[type="text"], input[type="email"] {
    border: 1px solid #ccc;
    border-radius: var(--border-radius-base);
    padding: calc(var(--spacing-base) / 2);
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: var(--spacing-base);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="text"]:hover,
input[type="email"]:hover { 
    border-color: var(--color-accent-primary);
    outline: none;
    box-shadow: 0 0 5px var(--color-accent-primary);
}

/* End of Global Styles */


/* Newsletter Section Styles */

section.newsletter-section {
    background-color: var(--color-background-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    position: relative;
    z-index: 10;

    /* Abrundung der unteren Ecken */
    border-bottom-left-radius: calc(var(--border-radius-base) * 8);
    border-bottom-right-radius: calc(var(--border-radius-base) * 8);
}

.newsletter-section p {
      max-width: 400px;
    }

.credentials-box {
    max-width: 400px;
    margin: 0 auto;
}

.date-selection {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form label {
    display: block;
    margin-bottom: calc(var(--spacing-base) / 4);
    font-weight: var(--font-weight-semibold);
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    margin-bottom: var(--spacing-base);
}

.newsletter-form button {
    font-size: 1rem;
    /* margin-top: var(--spacing-base); */
}

.subscription-checkbox label {
  font-weight: var(--font-weight-regular);
}

p.acknowledge {
  font-size: 0.75rem;
  color: var(--color-text-dark);
  margin-top: calc(var(--spacing-base) / 2);
  text-align: left;
}


/* START OF NEW DROPDOWN STYLES */

.checkbox-dropdown-container {
    position: relative;
    display: inline-block;
    width: 100%; 
    margin-bottom: var(--spacing-base);
}

.dropdown-toggle {
    font-family: var(--font-family-body);
    background-color: transparent;
    color: var(--color-text-dark);
    border: 1px solid #ccc;
    border-radius: var(--border-radius-base);
    padding: calc(var(--spacing-base) / 2) var(--spacing-base);
    cursor: pointer;
    transition: all var(--transition-duration);
    text-align: left;
    width: 100%;
    
    /* Custom Dropdown Arrow Icon (using SVG data URI) */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="%232E3A47" d="M8 12l-6-6h12l-6 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right calc(var(--spacing-base) / 2) center;
    padding-right: calc(var(--spacing-base) * 2); /* Space for the arrow */
}

/* 2. Der Hover-Effekt (Exakt deine Werte aus dem Screenshot) */
.dropdown-toggle:hover,
.dropdown-toggle:focus {
    border-color: var(--color-accent-primary);
    outline: none;
    box-shadow: 0 0 5px var(--color-accent-primary);
    
    transform: none; /* Verhindert, dass er hüpft, falls du das woanders definiert hast */
}

.dropdown-list {
    position: absolute;
    top: 100%; /* Place it right below the toggle button */
    left: 0;
    z-index: 1000; /* Ensure it stays above other content */
    border: 1px solid var(--color-accent-primary);
    background-color: var(--color-background-secondary);
    box-shadow: var(--box-shadow-base);
    border-radius: var(--border-radius-base);
    padding: calc(var(--spacing-base) / 4) 0;
    max-height: 250px; /* Limits height, making it scrollable */
    overflow-y: auto;
    width: 100%; 

    /* Initially hide the list */
    display: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

/* Style for individual checkbox labels inside the list */

.dropdown-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-list li.date-item label {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    cursor: pointer;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't break the layout */
}


.dropdown-list li.date-item:hover {
    background-color: var(--color-accent-secondary);
}


.dropdown-list input[type="checkbox"] {
    /* Space between checkbox and text */
    margin-right: 8px; 
    flex-shrink: 0;
}

/* Show the list when the 'active' class is added by JavaScript */
.dropdown-list.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-list .category-header {
    /* Styles for the section titles */
    font-family: var(--font-family-body);
    font-size: 0.9em;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-primary); 
    padding: 8px 15px 4px; /* Adjust padding for spacing */
    margin-top: 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    pointer-events: none; /* Make sure clicking the header doesn't select an item */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Remove hover effect from the header to avoid confusion */
.dropdown-list .category-header:hover {
    background-color: transparent; 
}

/* END OF NEW DROPDOWN STYLES */

/* End of Newsletter Section Styles */


/* Thank You Section Styles */

/* Hide the Thank You section by default */
section.thank-you-section {
    display: none;
    opacity: 0;
    max-height: 0; /* Collapse the section to zero height */
    overflow: hidden;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--color-background-secondary);
    
    transition: opacity 0.6s ease-in-out, max-height 0.8s ease-in-out, padding 0.8s ease-in-out;
}

/* Class to reveal the Thank You section */
section.thank-you-section.visible {
    display: block; /* Ensure it's displayed */
    opacity: 1;
    max-height: 500px; /* Needs to be larger than the content's actual height */
    padding: var(--spacing-base); /* Restore the original padding */
    margin-bottom: calc(var(--spacing-base) * 4);
}

/* Class to hide the Newsletter section */
section.newsletter-section.hidden {
    opacity: 0;
    max-height: 0; /* Collapse the section to zero height */
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    
    transition: opacity 0.6s ease-out, max-height 0.8s ease-out, padding 0.8s ease-out, margin-bottom 0.8s ease-out;
}

/* End of Thank You Section Styles */


/* Pictures Between Text Styles */

section.hanging-pictures {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 80%;
  padding: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-radius: calc(var(--border-radius-base) * 8);
  box-shadow: none;
}

.left, .right {
  margin-right: auto;
  margin-left: auto;
}

.image {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-radius: calc(var(--border-radius-base) * 8);
  width: 100%;
  z-index: 1;
}

img {
  scale: 1.0;
  transition: transform var(--transition-duration) cubic-bezier(.62,.05,.46,1);
}

img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* End of Pictures Between Text Styles */


/* Introduction Section, Info-section and Statement Section common Styles */
.introduction-section, .info-section, .statement-section {
  background-color: var(--color-background-secondary);
  max-width: 80%;
  box-shadow: var(--box-shadow-base);
}

.left-section {
  margin-inline-end: auto; /* Align to left */
  margin-inline-end: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: calc(var(--border-radius-base) * 8);
  border-bottom-right-radius: calc(var(--border-radius-base) * 8);
  padding-right: calc(var(--spacing-base) * 2);
} 

.right-section{
  margin-inline-start: auto; /* Align to right */
  margin-inline-end: 0;
  border-top-left-radius: calc(var(--border-radius-base) * 8);
  border-bottom-left-radius: calc(var(--border-radius-base) * 8);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding-left: calc(var(--spacing-base) * 2);
}


/* Zielt genau auf die Listen in deiner Info-Sektion */
.info-section ul li {
    list-style: none; /* Standard-Browser-Bullets entfernen, da du eigene hast */
    
    /* Der Trick für den hängenden Einzug: */
    padding-left: 0.75rem; /* 1. Schiebt ALLES nach rechts */
    text-indent: -0.75rem; /* 2. Zieht NUR die erste Zeile wieder nach links */
    
    /* Optional: Etwas Abstand zwischen den Zeilen für Lesbarkeit */
    margin-bottom: 0.5rem; 
}


/* End of Introduction Section Styles */

/* Flex Grid for Info section */

.flex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-base);
}

.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-base);
}

/* End of Flex Grid for Info section */


/* Statement Section Styles */

blockquote{
  margin-bottom: var(--spacing-base);
}

blockquote p{
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text-dark);
  margin: 0;
  padding: 0;
}

/* End of Statement Section Styles */


/* Bottom Newsletter Section Styles */

section.newsletter-section-bottom {
    /* Deaktivierung der Abrundung der oberen Ecken */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

    /* Abrundung der oberen Ecken */
    border-top-left-radius: calc(var(--border-radius-base) * 8);
    border-top-right-radius: calc(var(--border-radius-base) * 8);

    margin-bottom: 5px;
}

/* Footer Styles */
footer {
    background-color: var(--color-background-secondary);
    padding: var(--spacing-base);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-media a {
    color: var(--color-accent-primary);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-media a:hover {
    color: var(--color-accent-secondary);
}

.privacy-section{
  background-color: var(--color-background-secondary);
  margin: 0;
}


/* End of footer styles */


/* Animation Styles */

.quote-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.quote-image {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: var(--spacing-base);
}

.quote-text {
  font-style: italic;
}

.banner {
  background-color: var(--color-accent-secondary);
  color: var(--color-text-light);
  text-align: center;
  padding: calc(var(--spacing-base) / 2);
  font-weight: var(--font-weight-semibold);
  margin: 0;
}

/* --- IMAGE SCROLL ANIMATIONS --- */
.animate-picture {
  opacity: 0;
  transform: scale(0.8);
  border-radius: calc(var(--border-radius-base) * 15);
  transition: opacity 0.7s cubic-bezier(.62,.05,.46,1), transform 0.7s cubic-bezier(.62,.05,.46,1), border-radius 0.7s cubic-bezier(.62,.05,.46,1);
  will-change: opacity, transform, border-radius;
}
.animate-picture.active {
  opacity: 1;
  transform: scale(1);
  border-radius: calc(var(--border-radius-base) * 8);
}
.animate-picture.fading-out {
  opacity: 0;
  transform: scale(0.8);
  border-radius: calc(var(--border-radius-base) * 15);
}

/* --- TEXT SECTION SLIDE/FADE IN ANIMATIONS --- */
.animated-text-section {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.62,.05,.46,1), transform 0.7s cubic-bezier(.62,.05,.46,1);
  will-change: opacity, transform;
}
.animated-text-section.left-aligned {
  transform: translateX(-35px);
}
.animated-text-section.right-aligned {
  transform: translateX(35px);
}
.animated-text-section.active {
  opacity: 1;
  transform: translateX(0);
}

/* --- TYPEWRITER HEADING ANIMATION --- */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid transparent;
  animation: typing 1.8s steps(18, end), blink-caret 0.75s step-end 4;
}
/* Only trigger animation the first time */
.typewriter.typed {
  animation-play-state: running;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}


/* Media Queries for Desktop */

@media (min-width: 1023px) {
    body {
      font-size: calc(var(--font-size-base) * 1.2);
      background-color: var(--color-background-primary);
    } 
    
    main {
      /* max-width: 960px; */
      margin-left: auto;
      margin-right: auto;
      background-color: var(--color-background-primary);

    }

    section {
      box-shadow: none;

    }

    section.hanging-pictures {
      justify-content: center;
      max-width: 40%;
    }

    .introduction-section, .info-section, .statement-section {
      box-shadow: none;
      max-width: 50%;
    }

    .newsletter-section h1 {
    font-size: 2rem;
    }

  }
