/* Local Font Faces (GDPR Compliant / DSGVO-konform) */
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit.ttf') format('truetype');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chilanka';
  src: url('fonts/Chilanka-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Shadows Into Light Two';
  src: url('fonts/ShadowsIntoLightTwo-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playwrite CU';
  src: url('fonts/PlaywriteCU.ttf') format('truetype');
  font-weight: 100 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sour Gummy';
  src: url('fonts/SourGummy.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Anta';
  src: url('fonts/Anta-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Luckiest Guy';
  src: url('fonts/LuckiestGuy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-primary: #FAF8F5;
  --bg-secondary: #FFF6E9;
  --text-main: #2D2A26;
  --text-muted: #6A655F;
  --accent-coral: #FF7E5F;
  --accent-coral-hover: #E86B4D;
  --accent-mint: #3B7E6F;
  --accent-mint-light: #E7F3EF;
  --accent-yellow: #FFD25E;
  --accent-yellow-light: #FFF8E6;
  --card-bg: #FFFFFF;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(45, 42, 38, 0.08), 0 4px 6px -2px rgba(45, 42, 38, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(45, 42, 38, 0.1), 0 10px 10px -5px rgba(45, 42, 38, 0.04);
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 32px;
  --font-heading: 'Chilanka', cursive;
  --font-body: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

/* Reset and Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  padding: 20px 0;
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Luckiest Guy', cursive, sans-serif;
  font-size: 42px;
  color: #E65C00;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.logo:hover {
  color: #CC5200;
  transform: scale(1.02);
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--accent-coral);
  border-radius: 50%;
  display: inline-block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
}

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

.cta-nav {
  background-color: var(--accent-mint);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

.cta-nav:hover {
  background-color: #2F6559;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 230px 0 80px 0;
  background: radial-gradient(circle at top right, var(--bg-secondary) 0%, var(--bg-primary) 60%);
  position: relative;
}

.hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent-coral);
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--accent-yellow);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.7;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  font-weight: 400;
}

/* Floating Notepad Drawer Layout */
.notepad-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 380px;
  max-width: 100%;
  background-color: #FFFDF9; /* Warm paper-like background */
  box-shadow: -10px 0 35px rgba(45, 42, 38, 0.12);
  z-index: 31000 !important;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.notepad-drawer.open {
  transform: translateX(0);
}

.notepad-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1.5px dashed rgba(59, 126, 111, 0.15);
}

.notepad-drawer-header h3 {
  font-family: var(--font-heading);
  color: var(--accent-forest);
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.notepad-close-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
  padding: 4px;
}

.notepad-close-btn:hover {
  color: #FF5E50;
}

.notepad-drawer-content {
  padding: 28px;
  flex: 1;
  overflow-y: auto;
  text-align: left;
  box-sizing: border-box;
}

/* Floating FAB Button */
.notepad-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent-mint) 0%, #2F6559 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 8px rgba(59, 126, 111, 0.18);
  z-index: 1000;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.notepad-floating-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 5px 12px rgba(59, 126, 111, 0.25);
}

.notepad-floating-btn .notepad-badge {
  background-color: var(--accent-coral);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  font-family: var(--font-body);
}

/* Backdrop Overlay */
.notepad-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 42, 38, 0.45);
  z-index: 30000 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.notepad-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Shared notepad element styles */
.notepad-column h4 {
  font-family: var(--font-heading);
  color: var(--accent-forest);
  font-size: 14px;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notepad-column h4 .notepad-badge {
  background-color: var(--accent-coral);
  color: white;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 10px;
}

.notepad-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 6px;
}

.notepad-empty {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin: 16px 0;
  line-height: 1.4;
}

/* Pinned Game Item in Notepad */
.notepad-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFFFFF;
  border: 1px solid #EFECE6;
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 2px 6px rgba(45, 42, 38, 0.02);
  transition: all 0.2s ease;
}

.notepad-item:hover {
  border-color: var(--accent-mint);
  box-shadow: 0 4px 10px rgba(59, 126, 111, 0.06);
}

.notepad-item-title {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notepad-item-title:hover {
  color: var(--accent-mint);
}

.btn-notepad-remove {
  background: none;
  border: none;
  color: #FF5E50;
  cursor: pointer;
  font-size: 18px;
  padding: 2px 6px;
  border-radius: 50%;
  transition: background-color 0.15s ease;
}

.btn-notepad-remove:hover {
  background-color: #FFF0EF;
}

/* Textarea for Notes */
#notepad-textarea {
  width: 100%;
  height: 220px;
  background-color: #FFFFFF;
  border: 1.5px solid #EFECE6;
  border-radius: 16px;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.5;
  resize: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#notepad-textarea:focus {
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 3px rgba(59, 126, 111, 0.1);
  outline: none;
}

/* Pin Buttons */
.btn-pin-game {
  background: none;
  border: 1px solid #EFECE6;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pin-game:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
  background-color: #FFFDFB;
}

.btn-pin-game.pinned {
  background-color: var(--accent-coral);
  border-color: var(--accent-coral);
  color: #FFFFFF;
}

/* Pinned Button in Detail Modal */
.btn-modal-pin {
  background-color: #FAF8F5;
  border: 1.5px solid #EFECE6;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-modal-pin:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
  background-color: #FFFDFB;
}

.btn-modal-pin.pinned {
  background-color: var(--accent-coral);
  border-color: var(--accent-coral);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(255, 94, 80, 0.15);
}

/* Finder Tool Card */
.finder-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F5 100%);
  border-radius: var(--border-radius-lg);
  padding: 32px 32px;
  box-shadow: 0 20px 40px rgba(45, 42, 38, 0.06);
  max-width: 800px;
  margin: 40px auto 0 auto;
  border: 2px solid #F2EFE9;
  text-align: center;
  overflow: visible;
  position: relative;
}

.finder-banner-wrapper {
  margin: -32px -32px 24px -32px;
  overflow: hidden;
  border-bottom: 2px solid #F2EFE9;
  border-radius: calc(var(--border-radius-lg) - 2px) calc(var(--border-radius-lg) - 2px) 0 0;
}

.finder-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 180px;
}

.finder-badge {
  background-color: var(--accent-coral);
  color: white;
  font-size: 10px;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 2px 5px rgba(255, 124, 107, 0.1);
  text-transform: uppercase;
}

.finder-title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--accent-forest);
  margin-top: 4px;
  margin-bottom: 36px;
  text-align: center;
}

/* Premium-Style Tabs (Aktivitäten) */
.finder-tabs {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(45, 42, 38, 0.06);
  padding-bottom: 4px;
}

.finder-tab {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 14px 12px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.finder-tab::after {
  content: "";
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.finder-tab:hover {
  opacity: 1;
}

.finder-tab:hover::after {
  background-color: #DDDDDD;
}

.finder-tab.active {
  opacity: 1;
  font-weight: 700;
  color: var(--text-main) !important;
}

.finder-tab[data-val="all"].active::after { background-color: var(--accent-mint); }
.finder-tab[data-val="1-3"].active::after { background-color: #FFD25E; }
.finder-tab[data-val="4-6"].active::after { background-color: #3B7E6F; }
.finder-tab[data-val="7-9"].active::after { background-color: #7B1FA2; }
.finder-tab[data-val="10-13"].active::after { background-color: #FF7C6B; }

.tab-icon {
  font-size: 26px;
  transition: transform 0.2s ease;
}

.finder-tab:hover .tab-icon {
  transform: scale(1.12);
}

.tab-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-main);
  font-weight: 700;
}

/* Premium-Style 2-Field Searchbar Layout */
/* Premium-Style Restructured Search Layout */
.finder-search-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-row-main {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 2px solid rgba(59, 126, 111, 0.35);
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(45, 42, 38, 0.06), 0 2px 6px rgba(59, 126, 111, 0.03);
  padding: 8px 10px 8px 24px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  width: 100%;
}

.search-row-main:hover {
  border-color: rgba(59, 126, 111, 0.6);
  box-shadow: 0 10px 30px rgba(45, 42, 38, 0.1), 0 4px 10px rgba(59, 126, 111, 0.05);
}

.search-row-main:focus-within {
  border-color: var(--accent-mint);
  box-shadow: 0 12px 32px rgba(45, 42, 38, 0.12), 0 4px 12px rgba(59, 126, 111, 0.08);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-grow: 1;
}

.search-lens-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.btn-finder-search-action {
  background-color: var(--accent-coral);
  color: #FFFFFF;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 126, 95, 0.25);
}

.btn-finder-search-action:hover {
  background-color: var(--accent-coral-hover);
  box-shadow: 0 6px 16px rgba(255, 126, 95, 0.35);
  transform: scale(1.02);
}

.search-row-bottom {
  display: flex;
  gap: 16px;
  width: 100%;
}

.search-row-bottom .searchbar-field {
  flex: 1;
  background-color: #FFFFFF;
  border: 2px solid rgba(59, 126, 111, 0.22);
  border-radius: 20px;
  padding: 12px 20px;
  box-shadow: 0 4px 12px rgba(45, 42, 38, 0.03);
  transition: all 0.25s ease;
}

.search-row-bottom .searchbar-field:hover {
  border-color: rgba(59, 126, 111, 0.45);
  background-color: #FFFFFF;
}

.search-row-bottom .searchbar-field.active-field {
  border-color: var(--accent-mint);
  box-shadow: 0 6px 16px rgba(59, 126, 111, 0.08);
  z-index: 1001;
}

.search-row-bottom .searchbar-field::after {
  display: none !important;
}

.searchbar-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  padding: 10px 24px;
  border-radius: 40px;
  transition: all 0.25s ease;
  text-align: left;
}

#search-input::placeholder {
  color: #7A756E;
  font-weight: 500;
  font-family: var(--font-body);
}

/* Vertical Divider Lines */
.searchbar-field:not(:last-of-type)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1.5px;
  background-color: #EFECE6;
}

.searchbar-field:hover {
  background-color: #FAF8F5;
}

.searchbar-field:hover::after,
.active-field::after,
.active-field + .searchbar-field::after {
  background-color: transparent !important;
}

.active-field {
  background-color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(45, 42, 38, 0.04);
  z-index: 1001;
}

.field-trigger {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.field-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  color: var(--accent-forest);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.field-value {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dropdown Menu Overlay */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border: 2px solid rgba(59, 126, 111, 0.25);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(45, 42, 38, 0.14);
  padding: 8px;
  min-width: 220px;
  display: none;
  z-index: 1000;
  box-sizing: border-box;
}

.dropdown-menu.open {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: dropdownFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dropdown Option Buttons */
.dropdown-option {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-option:hover {
  background-color: #FAF8F5;
  color: var(--accent-coral);
}

.dropdown-option.active {
  background-color: #EDF7F5;
  color: var(--accent-forest);
}

/* Premium-Style Circular Search Button */
.btn-finder-circle {
  background: linear-gradient(135deg, var(--accent-coral) 0%, #FF5E50 100%);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 94, 80, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  margin-left: 12px;
}

.btn-finder-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(255, 94, 80, 0.25);
}

.btn-finder-circle svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .finder-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 4px !important;
    margin-bottom: 20px !important;
    overflow-x: visible !important;
    white-space: normal !important;
    padding-bottom: 0 !important;
  }
  
  .finder-tab {
    padding: 6px 2px 10px 2px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }
  
  .tab-icon {
    font-size: 20px !important;
  }
  
  .tab-label {
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  .finder-search-container {
    gap: 12px;
  }

  .search-row-main {
    flex-direction: column;
    border-radius: 24px;
    padding: 16px 14px 14px 14px;
    gap: 12px;
  }

  .search-input-wrapper {
    width: 100%;
  }

  .btn-finder-search-action {
    width: 100%;
    padding: 10px;
  }

  .search-row-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .search-row-bottom .searchbar-field {
    width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    background-color: #FFFFFF;
  }

  .dropdown-menu {
    position: relative;
    top: 6px;
    left: 0;
    width: 100%;
    box-shadow: none;
    border: 1px solid #EFECE6;
    margin-bottom: 4px;
  }

  .btn-finder-circle {
    width: 100%;
    border-radius: 24px;
    height: 48px;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* Finder Results (Dynamic Sektion) */
.finder-results {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px dashed #EFECE6;
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.result-item {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  border: 1px solid #EFECE6;
  border-top: 4px solid var(--accent-coral);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.result-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.result-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background-color: var(--accent-yellow-light);
  color: #B28300;
  font-weight: 700;
  font-size: 11px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.result-item h4 {
  font-family: var(--font-heading);
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--text-main);
}

.result-item p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.result-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-mint);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.result-link:hover {
  color: #2F6559;
  text-decoration: none;
  transform: translateX(4px);
}

/* Motto Sektion */
.mottos {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px auto;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
}

.motto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.motto-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(45, 42, 38, 0.02);
  display: flex;
  flex-direction: column;
}

.motto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.motto-img-placeholder {
  aspect-ratio: 16 / 9;
  height: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.motto-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.motto-card.dino .motto-img-placeholder { background-color: #E6F0EC; color: #3B7E6F; }
.motto-card.space .motto-img-placeholder { background-color: #EAE6F0; color: #6E539B; }
.motto-card.detective .motto-img-placeholder { background-color: #FFF2E6; color: #E08A3C; }

.motto-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

/* Modal and Result Card Image Layouts */
.modal-banner-image-container {
  width: 100%;
  height: 240px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(45, 42, 38, 0.08);
}

.modal-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-img-container {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  background-color: #FAF8F5;
}

.result-img-container.no-image {
  background: linear-gradient(135deg, #FFFDFB 0%, #F5F1EB 100%);
  border: 1.5px dashed rgba(59, 126, 111, 0.12);
  box-sizing: border-box;
}

.result-img-container.no-image::after {
  content: '🎈';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  opacity: 0.15;
}

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

.result-item:hover .result-img {
  transform: scale(1.04);
}

.result-item .result-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--accent-mint-light);
  color: var(--accent-mint);
  border: 1px solid rgba(59, 126, 111, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
  margin: 0;
  box-shadow: 0 2px 6px rgba(59, 126, 111, 0.1);
}

.motto-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.motto-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 10px;
}

.motto-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.motto-features {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.motto-tag {
  background: white;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #EFECE6;
}

.btn-motto {
  display: block;
  text-align: center;
  background-color: var(--accent-mint);
  color: white;
  text-decoration: none;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.btn-motto:hover {
  background-color: #2F6559;
}

/* Timeline/Checklist Sektion */
.timeline-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.timeline-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.timeline-nav {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #F3F1EC;
  margin-bottom: 32px;
  padding-bottom: 8px;
  overflow-x: auto;
  gap: 16px;
}

.timeline-tab {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: var(--transition);
}

.timeline-tab:hover {
  color: var(--accent-coral);
}

.timeline-tab.active {
  color: var(--accent-coral);
}

.timeline-tab.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-coral);
  border-radius: 2px;
}

.timeline-content-pane {
  display: none;
  animation: fadeIn 0.3s ease-out forwards;
}

.timeline-content-pane.active {
  display: block;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #FAF8F5;
  cursor: pointer;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checkbox-custom {
  width: 24px;
  height: 24px;
  border: 2px solid #EFECE6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.checklist-item:hover .checkbox-custom {
  border-color: var(--accent-coral);
}

.checklist-item.checked .checkbox-custom {
  background-color: var(--accent-mint);
  border-color: var(--accent-mint);
}

.checklist-item.checked .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.checklist-text {
  flex-grow: 1;
}

.checklist-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  transition: var(--transition);
}

.checklist-item.checked .checklist-text h4 {
  text-decoration: line-through;
  color: var(--text-muted);
}

.checklist-text p {
  font-size: 14px;
  color: var(--text-muted);
}

.affiliate-badge {
  font-size: 11px;
  background-color: var(--accent-yellow-light);
  color: #B28300;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  margin-top: 6px;
}

/* Call to Action Sektion (Downloads) */
.cta-banner {
  max-width: 960px;
  margin: 60px auto;
  padding: 50px 60px;
  background: linear-gradient(135deg, var(--accent-mint) 0%, #26544A 100%);
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px rgba(59, 126, 111, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 992px) {
  .cta-banner {
    margin: 40px 24px;
    padding: 40px 32px;
  }
}


.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-content {
  max-width: 600px;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.cta-price {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 18px; /* Mehr Padding für bessere Proportionen */
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  white-space: nowrap; /* Verhindert hässlichen Umbruch auf Mobilgeräten */
}

.btn-cta-light {
  background-color: var(--accent-yellow);
  color: var(--text-main);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(255, 210, 94, 0.3);
  transition: var(--transition);
  display: inline-block;
}

.btn-cta-light:hover {
  background-color: #E6BD50;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 210, 94, 0.4);
}

/* Newsletter Section */
.newsletter {
  padding: 60px 0;
  background-color: var(--bg-primary);
  border-top: 1px solid #EFECE6;
}

.newsletter-card {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 12px;
}

.newsletter-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  border: 2px solid #EFECE6;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  min-width: 250px;
}

.newsletter-form input:focus {
  border-color: var(--accent-coral);
}

.btn-submit {
  background-color: var(--accent-coral);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--accent-coral-hover);
}

/* Footer */
footer {
  background-color: #2D2A26;
  color: #FAF8F5;
  padding: 40px 0;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #D3CEB9;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------
   Planner Setup Card & Print Styles
   ------------------------------------------------------------- */
.planner-setup-card {
  background: linear-gradient(135deg, var(--accent-yellow-light) 0%, #FFEBE6 100%);
  border-radius: var(--border-radius-md);
  padding: 32px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 126, 95, 0.15);
  box-shadow: var(--shadow-md);
}

.planner-setup-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--accent-mint);
  margin-bottom: 16px;
}

.planner-setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.setup-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setup-field label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}

.setup-field input {
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 2px solid #EFECE6;
  background-color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.setup-field input:focus {
  border-color: var(--accent-coral);
}

.planner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-calculate {
  background-color: var(--accent-coral);
  color: white;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 126, 95, 0.3);
  transition: var(--transition);
  animation: pulse-light 2s infinite;
}

@keyframes pulse-light {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 126, 95, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 126, 95, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 126, 95, 0);
  }
}

.btn-calculate:hover {
  background-color: var(--accent-coral-hover);
  transform: translateY(-2px);
}

.btn-print {
  background-color: var(--accent-mint);
  color: white;
  border: none;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(59, 126, 111, 0.3);
  transition: var(--transition);
}

.btn-print:hover {
  background-color: #2F6559;
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
   Motto Detail Modal Styles
   ------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 42, 38, 0.5);
  backdrop-filter: blur(8px);
  z-index: 20000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Custom Scrollbars for premium look (no browser default arrows overflowing rounded corners) */
.modal-card::-webkit-scrollbar,
.notepad-drawer-content::-webkit-scrollbar,
.notepad-list::-webkit-scrollbar {
  width: 8px;
}

.modal-card::-webkit-scrollbar-track,
.notepad-drawer-content::-webkit-scrollbar-track,
.notepad-list::-webkit-scrollbar-track {
  background: transparent;
}

.modal-card::-webkit-scrollbar-thumb,
.notepad-drawer-content::-webkit-scrollbar-thumb,
.notepad-list::-webkit-scrollbar-thumb {
  background-color: rgba(45, 42, 38, 0.15);
  border-radius: 10px;
  border: 2px solid #FFFFFF;
}

.modal-card::-webkit-scrollbar-thumb:hover,
.notepad-drawer-content::-webkit-scrollbar-thumb:hover,
.notepad-list::-webkit-scrollbar-thumb:hover {
  background-color: rgba(45, 42, 38, 0.3);
}

.modal-card,
.notepad-drawer-content,
.notepad-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 42, 38, 0.15) transparent;
}

.modal-card {
  background-color: #FFFFFF;
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(45, 42, 38, 0.05);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  padding: 40px;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: sticky;
  top: 0px;
  float: right;
  margin-right: -16px;
  margin-top: -16px;
  background-color: #FFFFFF;
  border: 2px solid #EFECE6;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
  color: var(--accent-coral);
  border-color: var(--accent-coral);
  transform: scale(1.05);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px dashed #EFECE6;
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.modal-emoji {
  font-size: 56px;
}

.modal-badge {
  background-color: var(--accent-yellow-light);
  color: #B28300;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-main);
}

.modal-section {
  margin-bottom: 32px;
}

.modal-section h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--accent-mint);
  margin-bottom: 14px;
}

.story-section p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Downloads Grid */
.download-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-mint-light);
  color: var(--accent-mint);
  border: 1px solid rgba(59, 126, 111, 0.15);
  text-decoration: none;
  padding: 14px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.btn-download:hover {
  background-color: var(--accent-mint);
  color: white;
  transform: translateY(-2px);
}

/* Accordions */
.accordion-item {
  border: 2px solid #EFECE6;
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background-color: #FAF8F5;
  border: none;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: #FFF6E9;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 1500px; /* Erhöht von 600px, um Abschneiden bei langen Listen zu verhindern */
  border-top: 2px solid #EFECE6;
}

.accordion-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-content li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-muted);
}

.accordion-content li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent-coral);
}

/* Amazon Box */
.amazon-card {
  background: linear-gradient(135deg, var(--accent-yellow-light) 0%, #FFF2CC 100%);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  text-align: center;
  border: 2px dashed #E6BD50;
}

.amazon-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #B28300;
  margin-bottom: 8px;
}

.amazon-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-amazon {
  background-color: var(--accent-yellow);
  color: var(--text-main);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(255, 210, 94, 0.3);
}

.btn-amazon:hover {
  background-color: #E6BD50;
  transform: translateY(-2px);
}

/* Amazon Dynamic Product Card Styles */
.amazon-products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  text-align: left;
}

.amazon-product-item {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  border: 1px solid #EFECE6;
  gap: 16px;
  align-items: center;
  transition: var(--transition);
}

.amazon-product-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 42, 38, 0.05);
  border-color: #E6BD50;
}

.amazon-product-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #FAF8F5;
  padding: 4px;
  flex-shrink: 0;
}

.amazon-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.amazon-product-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.amazon-product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amazon-product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.amazon-product-price {
  font-size: 16px;
  font-weight: 800;
  color: #B28300;
}

.amazon-product-prime {
  background: #00A8E8;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.amazon-product-rating {
  font-size: 12px;
  color: var(--accent-yellow);
}

.btn-amazon-buy {
  background-color: var(--accent-yellow);
  color: var(--text-main);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-amazon-buy:hover {
  background-color: #E6BD50;
}

/* Mobile responsive */
@media (max-width: 768px) {
  /* Sleeker Amazon Card and Buttons on Mobile */
  .amazon-card {
    padding: 16px !important;
    border-radius: 12px !important;
  }
  .amazon-card h4 {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }
  .amazon-card p {
    font-size: 12.5px !important;
    margin-bottom: 12px !important;
  }
  .btn-amazon {
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    border-radius: 10px !important;
  }
  
  .amazon-products-list {
    gap: 10px !important;
  }
  .amazon-product-item {
    flex-direction: row !important;
    text-align: left !important;
    padding: 10px 12px !important;
    gap: 12px !important;
    align-items: center !important;
    border-radius: 10px !important;
  }
  .amazon-product-img {
    width: 54px !important;
    height: 54px !important;
    border-radius: 6px !important;
  }
  .amazon-product-info {
    gap: 2px !important;
  }
  .amazon-product-brand {
    font-size: 10px !important;
  }
  .amazon-product-title {
    font-size: 12.5px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
  }
  .amazon-product-price {
    font-size: 14px !important;
    font-weight: 800;
  }
  .amazon-product-meta {
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-top: 0 !important;
  }
  .amazon-product-prime {
    font-size: 8px !important;
    padding: 1px 4px !important;
  }
  .btn-amazon-buy {
    width: auto !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
    margin-left: auto;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Print CSS */
@media print {
  body > *:not(#timeline-modal) {
    display: none !important;
  }
  #timeline-modal {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: white !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #timeline-modal .modal-card {
    position: static !important;
    max-width: 100% !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: white !important;
    transform: none !important;
  }
  #timeline-modal-close-btn, 
  #timeline-modal button, 
  #btn-print-timeline-modal, 
  #timeline-modal .modal-header .modal-badge {
    display: none !important;
  }
  #timeline-modal .modal-body {
    max-height: none !important;
    overflow-y: visible !important;
    padding: 0 !important;
  }
  
  /* Print PDF Scaling Overrides (Enlarges everything for DIN-A4 page) */
  #timeline-modal .modal-card h2#timeline-modal-title {
    font-size: 34px !important;
    color: #E65C00 !important;
    margin-bottom: 6px !important;
  }
  #timeline-modal .modal-card p#timeline-modal-subtitle {
    font-size: 18px !important;
    color: #2D2A26 !important;
    margin-bottom: 24px !important;
  }
  #timeline-modal .print-phase-group {
    page-break-inside: avoid;
    margin-bottom: 36px !important;
    padding-bottom: 24px !important;
    border-bottom: 1.5px dashed #D2B48C !important;
  }
  #timeline-modal .print-phase-group h4 {
    font-size: 21px !important;
    margin-bottom: 16px !important;
  }
  #timeline-modal .print-phase-group h4 span:last-child {
    font-size: 15px !important;
  }
  #timeline-modal .print-phase-group h5 {
    font-size: 17px !important;
    margin-bottom: 4px !important;
  }
  #timeline-modal .print-phase-group p {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  /* Make the empty checkbox boxes larger on print */
  #timeline-modal .print-phase-group div[style*="width: 18px"] {
    width: 22px !important;
    height: 22px !important;
    border: 2.5px solid #2D2A26 !important;
    border-radius: 5px !important;
    margin-top: 3px !important;
  }
  #timeline-modal .print-phase-group div[style*="gap: 12px"] {
    gap: 16px !important;
  }
}

/* -------------------------------------------------------------
   Game Detail Modal & Interactive Checklist/Timeline Styles
   ------------------------------------------------------------- */
.game-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background-color: var(--bg-primary);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 28px;
  border: 1px solid rgba(45, 42, 38, 0.03);
}

.game-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

/* Materials list with checkbox */
.materials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.material-item {
  position: relative;
}

.material-checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  user-select: none;
}

.material-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  background-color: #FAF8F5;
  border: 2px solid #EFECE6;
  border-radius: 6px;
  transition: var(--transition);
}

.material-checkbox-container:hover input ~ .checkmark {
  border-color: var(--accent-coral);
}

.material-checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent-mint);
  border-color: var(--accent-mint);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.material-checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.material-checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.material-checkbox-container input:checked ~ .material-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Timeline steps styling */
.steps-timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 16px;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: #EFECE6;
}

.step-timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.step-timeline-item:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: -32px;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--accent-yellow);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-body);
}

.step-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Stressfree Card */
.stressfree-card {
  background: linear-gradient(135deg, #FFF8E6 0%, #FFFDF5 100%);
  border: 1px solid rgba(255, 210, 94, 0.3);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  margin-top: 16px;
}

.stressfree-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--accent-coral);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stressfree-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Action Bar in Results Card */
.result-card-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: nowrap; /* Kein Umbruch mehr */
}

.result-card-actions .btn-game-details,
.result-card-actions .btn-pin-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  height: 40px; /* Identische Höhe */
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-sizing: border-box;
}

.result-card-actions .btn-game-details {
  flex: 1; /* Anleitung nimmt den restlichen Platz ein */
  background-color: var(--accent-mint);
  color: white;
  border: none;
  box-shadow: 0 4px 6px rgba(59, 126, 111, 0.1);
}

.result-card-actions .btn-game-details:hover {
  background-color: #2D6357;
  transform: translateY(-2px);
}

.result-card-actions .btn-pin-game {
  width: 40px; /* Quadratische Form passend zur Höhe */
  min-width: 40px;
  flex: none; /* Verhindert das Ausdehnen */
  background-color: #FAF8F5;
  border: 2px solid #EFECE6;
  color: var(--text-main);
  box-shadow: none;
  font-size: 16px; /* Icon etwas vergrößern */
}

.result-card-actions .btn-pin-game:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
  background-color: #FFFDFB;
  transform: translateY(-2px);
}

.result-card-actions .btn-pin-game.pinned {
  background-color: var(--accent-coral);
  border-color: var(--accent-coral);
  color: #FFFFFF;
}

.result-link {
  background-color: #FAF8F5;
  border: 2px solid #EFECE6;
  color: var(--text-main);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.result-link:hover {
  border-color: var(--accent-coral);
  background-color: #FFFFFF;
}

/* Motto Modal Game List Items Clickable */
.modal-games-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-game-item {
  padding: 16px;
  border-bottom: 1px dashed #EFECE6;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-game-item:hover {
  background-color: var(--bg-primary);
  border-bottom-color: var(--accent-coral);
}

.click-indicator {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-mint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-game-item:hover .click-indicator {
  color: var(--accent-coral);
}

/* Color-coded Age Badges (Minimalist & Edles Design) */
.age-1-3 {
  background-color: #FFFDF5 !important;
  color: #B37D1B !important; /* Muted Gold */
  border: 1.5px solid #FFD25E !important;
  font-weight: 700 !important;
}
.age-4-6 {
  background-color: #F4FAF7 !important;
  color: #2F6559 !important; /* Muted Mint */
  border: 1.5px solid #3B7E6F !important;
  font-weight: 700 !important;
}
.age-7-9 {
  background-color: #FAF6FC !important;
  color: #5C3D8C !important; /* Muted Violet */
  border: 1.5px solid #7B1FA2 !important;
  font-weight: 700 !important;
}
.age-10-13 {
  background-color: #FFF6F5 !important;
  color: #C85041 !important; /* Muted Coral */
  border: 1.5px solid #FF7C6B !important;
  font-weight: 700 !important;
}

/* Color-coded Motto Cards Reverted to uniform premium mint */
.motto-card.age-1-3,
.motto-card.age-4-6,
.motto-card.age-7-9,
.motto-card.age-10-13 {
  border-top: none;
}

.result-tag-age {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
  margin: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;  /* Größeres Touch-Ziel für Handys */
  height: 44px; /* Größeres Touch-Ziel für Handys */
  padding: 13px 10px; /* Zentriert die inneren Striche (24x18px) */
  cursor: pointer;
  z-index: 10005 !important; /* Immer ganz oben */
  pointer-events: auto !important;
  box-sizing: border-box;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Responsive Rules */
@media (max-width: 768px) {
  header {
    z-index: 10001 !important; /* Stacking Context für Menü anheben */
  }

  .header-container {
    position: relative;
    justify-content: center;
  }

  .logo {
    margin: 0 auto;
    font-size: 32px;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #FFFFFF;
    box-shadow: -10px 0 30px rgba(45, 42, 38, 0.1);
    z-index: 10000 !important; /* Über allen anderen Inhalten */
    pointer-events: auto !important;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 100px 30px 30px 30px;
    box-sizing: border-box;
    display: block;
  }
  
  header nav.open {
    right: 0;
  }
  
  header nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin: 0;
    padding: 0;
  }
  
  header nav ul li {
    width: 100%;
  }
  
  header nav ul li a {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    padding: 8px 0;
  }
  
  header nav ul li a.cta-nav {
    background-color: var(--accent-mint);
    color: #FFFFFF;
    text-align: center;
    border-radius: 30px;
    padding: 12px 20px;
    margin-top: 10px;
  }
  
  .hero {
    padding: 170px 0 60px 0;
  }
  
  .timeline-card {
    padding: 24px;
  }
  
  .cta-banner {
    margin: 30px 0; /* Entfernt doppelten Außenabstand am Handy */
    padding: 36px 20px; /* Weniger Innenabstand, mehr Platz für Text und Button */
  }

  .cta-flex {
    text-align: center;
    justify-content: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }

  /* Mobile padding and layout fixes */
  .modal-backdrop {
    padding: 10px !important;
  }

  .finder-card {
    padding: 24px 16px;
    border-radius: 14px !important;
    overflow: visible;
  }

  .finder-banner-wrapper {
    margin: -24px -16px 20px -16px;
    border-radius: 12px 12px 0 0;
  }
  
  .modal-card {
    padding: 24px 16px;
    border-radius: var(--border-radius-md);
    max-height: 95vh;
    width: 100% !important;
  }

  .motto-result-card {
    flex-direction: column !important;
    padding: 16px !important;
  }
  
  .motto-result-card .result-img-container {
    width: 100% !important;
    height: 160px !important;
  }
  
  .motto-result-card .motto-result-content {
    min-width: 100% !important;
    gap: 12px !important;
  }

  .motto-amazon-flex {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }
}

/* Altersgruppen-spezifische Schriftarten */
.font-age-1-3 {
  font-family: 'Chilanka', cursive !important;
}
.font-age-4-6 {
  font-family: 'Shadows Into Light Two', cursive !important;
}
.font-age-7-9 {
  font-family: 'Sour Gummy', sans-serif !important;
}
.font-age-10-13 {
  font-family: 'Anta', sans-serif !important;
}

/* Button: Alle Spiele anzeigen */
.btn-all-games {
  background-color: transparent;
  border: 2px solid var(--accent-mint);
  color: var(--accent-mint);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-all-games:hover {
  background-color: var(--accent-mint);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(59, 126, 111, 0.15);
}

/* Altersgruppen-Filter in Ergebnissen */
.results-age-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.age-filter-tab {
  background-color: #FFFFFF;
  border: 2px solid #EFECE6;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.age-filter-tab:hover {
  border-color: var(--accent-mint);
  color: var(--accent-mint);
}

.age-filter-tab.active {
  color: #FFFFFF !important;
}
.age-filter-tab[data-age="all"].active {
  background-color: #3B7E6F !important; /* Keep default brand color for 'All' */
  border-color: #3B7E6F !important;
  box-shadow: 0 4px 10px rgba(59, 126, 111, 0.25) !important;
}
.age-filter-tab[data-age="1-3"].active {
  background-color: #FFD25E !important; /* Solid Yellow */
  border-color: #FFD25E !important;
  color: #2D2A26 !important; /* Dark text for contrast */
  box-shadow: 0 4px 10px rgba(255, 210, 94, 0.25) !important;
}
.age-filter-tab[data-age="4-6"].active {
  background-color: #3B7E6F !important; /* Solid Mint */
  border-color: #3B7E6F !important;
  box-shadow: 0 4px 10px rgba(59, 126, 111, 0.25) !important;
}
.age-filter-tab[data-age="7-9"].active {
  background-color: #7B1FA2 !important; /* Solid Purple */
  border-color: #7B1FA2 !important;
  box-shadow: 0 4px 10px rgba(123, 31, 162, 0.25) !important;
}
.age-filter-tab[data-age="10-13"].active {
  background-color: #FF7C6B !important; /* Solid Coral */
  border-color: #FF7C6B !important;
  box-shadow: 0 4px 10px rgba(255, 124, 107, 0.25) !important;
}

/* Animation für den Notizzettel bei Klick auf "Merken" */
@keyframes bounce-attention {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  15% {
    transform: translateY(4px) scale(1.15, 0.85) rotate(-10deg); /* Vorbereitung / Stauchen */
  }
  45% {
    transform: translateY(-28px) scale(0.85, 1.15) rotate(180deg); /* Hoher Sprung & halbe Drehung */
  }
  70% {
    transform: translateY(0) scale(1.15, 0.85) rotate(360deg); /* Landung & Stauchen */
  }
  85% {
    transform: translateY(-6px) scale(0.95, 1.05) rotate(360deg); /* Kleines Nachfedern */
  }
  100% {
    transform: translateY(0) scale(1) rotate(360deg); /* Zurück zum Ursprung */
  }
}

.notepad-floating-btn.bounce-pop {
  animation: bounce-attention 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Tooltip/Balloon-Popup für den Notizzettel */
.notepad-tooltip {
  position: absolute;
  bottom: calc(100% + 16px);
  right: 0;
  width: 240px;
  background-color: #FFFFFF;
  border: 2px solid var(--accent-mint);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(59, 126, 111, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: left;
  z-index: 1010;
  box-sizing: border-box;
}

.notepad-tooltip h4 {
  font-family: var(--font-heading);
  color: var(--accent-mint);
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: none; /* Verhindert ungewollte Großschreibung */
}

.notepad-tooltip p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
  text-transform: none;
  white-space: normal; /* Zeilenumbruch erlauben */
}

/* Tooltip Pfeil (Arrow) unten rechts */
.notepad-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 32px;
  border-width: 8px;
  border-style: solid;
  border-color: var(--accent-mint) transparent transparent transparent;
}

.notepad-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  right: 33px;
  border-width: 7px;
  border-style: solid;
  border-color: #FFFFFF transparent transparent transparent;
  z-index: 1;
}

/* Hover-Aktivierung */
.notepad-floating-btn:hover .notepad-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Notepad Footer & Print Button */
.notepad-drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(45, 42, 38, 0.05);
  display: flex;
  justify-content: center;
  background-color: #FFFDFB;
}

.btn-print-notepad {
  width: 100%;
  max-width: 240px;
  background-color: var(--accent-mint);
  color: white;
  border: none;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(59, 126, 111, 0.15);
}

.btn-print-notepad:hover {
  background-color: #2D6357;
  transform: translateY(-2px);
}

/* Scroll to Top (UP) Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px; /* Ausgewogen mit dem Notizzettel FAB auf der rechten Seite */
  width: 46px;
  height: 46px;
  background-color: var(--accent-mint);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(59, 126, 111, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background-color: #2D6357;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(59, 126, 111, 0.25);
}

.hero-quick-links {
  position: relative;
  z-index: 15;
}

/* Quick Tooltips for Hero Buttons */
.btn-quick {
  position: relative;
}

.quick-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 220px;
  background-color: #FFFFFF;
  border: 2px solid var(--accent-mint);
  border-radius: var(--border-radius-sm);
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(45, 42, 38, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  z-index: 100;
  box-sizing: border-box;
}

.quick-tooltip h5 {
  font-family: var(--font-heading);
  color: var(--accent-mint);
  font-size: 13px;
  margin: 0 0 4px 0;
  font-weight: 800;
  text-transform: none;
}

.quick-tooltip p {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
  text-transform: none;
}

.quick-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--accent-mint) transparent transparent transparent;
}

.quick-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -1px;
  border-width: 5px;
  border-style: solid;
  border-color: #FFFFFF transparent transparent transparent;
  z-index: 1;
}

.btn-quick:hover .quick-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
  .hero-quick-links {
    gap: 8px !important;
  }
  .btn-quick img {
    height: 38px !important;
  }
}

/* Mobile responsive for Floating Notepad / Merkliste Toggle */
@media (max-width: 768px) {
  .notepad-floating-btn {
    bottom: 16px !important;
    right: 16px !important;
    padding: 0 !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(45, 42, 38, 0.15) !important;
  }
  
  .notepad-floating-btn .fab-text {
    display: none !important;
  }
  
  .notepad-floating-btn .fab-icon {
    margin: 0 !important;
  }
  
  .notepad-floating-btn .notepad-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
    border: 2px solid var(--bg-card) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  }
  
  /* Disable tooltips on mobile since they block clicking and tapping */
  .notepad-floating-btn .notepad-tooltip {
    display: none !important;
  }

  /* Prevent Merken button from overflowing or wrapping badly in modal header */
  .modal-header {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .modal-emoji {
    font-size: 40px !important;
  }
  .btn-modal-pin {
    width: 100% !important;
    justify-content: center !important;
    order: 3 !important;
    margin-top: 4px !important;
  }
}

