.phone-container {
  position: relative;
  width: 100vh;
  max-width: 430px;
  height: 100dvh;
  max-height: 940px;
  background-color: var(--background-color);
  overflow: hidden;
}


.phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #eef7ff;
  overflow: hidden;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#map {
  position: relative;
}

.hero-image {
  margin: 0.5rem;
  border-radius: 24px;
  overflow: hidden;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url("../images/topteaser.webp");
  background-size: cover;
  background-position: center center;
  height: clamp(60vh, 65vh, 70vh);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  box-sizing: border-box;
  padding-bottom: 2rem;
}

.overlay-content {
  width: 100%;
  color: white;
}

.overlay-content h2 {
  color: white;
  font-weight: bold;
  font-size: 36px;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

#description-text {
  color: white;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-size: 15px;
}

.partnership {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
  padding: 0.5rem 0 1rem 0;
}

.partner-logo {
  max-height: 80px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.partnerheadline {
  text-align: center;
  margin: 0;
  font-size: 12px;
  padding: 0.5rem 0 0 0;
}

.info-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Abstand zwischen den Zeilen */
}

.info-row {
  display: flex;
  align-items: flex-start; /* Icon oben bündig zum Text */
  gap: 12px; /* Abstand zwischen Icon und Text */
}

.info-row img {
  width: 28px; /* nach Wunsch anpassen */
  flex-shrink: 0; /* Icon behält seine Größe */
}

.bullittext {
  max-width: 600px; /* oder was dein Layout erlaubt */
}

.cta-button {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 16px;
  background-color: #0044cc;
  color: white;
  font-size: 20px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: #0b5ed7;
}

.cta-button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
}

.cta-button svg {
  fill: currentColor;
}

.walking-man {
  width: 27px;
  height: 30px;
}

#X {
  font-weight: 100;
}

.content-box {
  background-color: #fff;
  margin-top: 4rem;
  width: 90%;
}

.box-title {
  font-size: 1.25rem;
  margin: 0;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 16px;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-of-type {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  color: #666;
  transition: transform 0.2s ease-in-out;
}

.faq-answer {
  padding: 0 1rem 1rem 0rem;
  color: #555;
  line-height: 1.6;
}

details[open] > summary .faq-arrow {
  transform: rotate(180deg);
}

.paypal-button {
  width: 80%;
  margin-top: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 16px;
  background-color: #f7c657;
  color: white;
  font-size: 20px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid black;
  text-decoration: none;
}

.donate-text {
  color: black;
  font-weight: bold;
  font-size: 20px;
}

#datenschutz {
  padding: 1rem;
}

.legal-section {
  padding: 2.5rem;
  padding-top: 1.5rem;
  background: #faf5f5;
  min-height: 100dvh;
  overflow-y: auto;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.back-button {
  background: #0044cc;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: "Spline Sans", sans-serif;
  width: fit-content;
  max-width: calc(100% - 2rem);
}

.back-button:hover {
  background: #0033aa;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.back-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-button svg {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.back-button:hover svg {
  transform: rotate(180deg) translateX(2px);
}

.legal-content {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  font-family: "Spline Sans", sans-serif;
  color: #333;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.legal-content h1 {
  color: #1e1e1e;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: 3px solid #0044cc;
  padding-bottom: 0.8rem;
  text-align: center;
  word-wrap: break-word;
}

.legal-content h2 {
  color: #1e1e1e;
  font-size: 22px;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
  word-wrap: break-word;
}

.legal-content h3 {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  word-wrap: break-word;
}

.legal-content p {
  margin-bottom: 1.2rem;
  text-align: justify;
  color: #444;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.legal-content ul {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  max-width: 100%;
  box-sizing: border-box;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: #444;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.legal-content a {
  color: #0044cc;
  text-decoration: underline;
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.legal-content a:hover {
  color: #0033aa;
  text-decoration: none;
}

.legal-content strong {
  font-weight: 600;
  color: #1e1e1e;
}

.legal-content em {
  font-style: italic;
  color: #666;
  font-size: 14px;
  display: block;
  text-align: center;
  margin-top: 2rem;
}

/* Cookie Consent Styles */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: "Spline Sans", sans-serif;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent-text {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.cookie-consent-text a {
  color: #0044cc;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-consent-text a:hover {
  color: #0033aa;
  text-decoration: none;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}

.cookie-consent-button {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: "Spline Sans", sans-serif;
  text-align: center;
}

.cookie-consent-accept {
  background: #0044cc;
  color: white;
}

.cookie-consent-accept:hover {
  background: #0033aa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 68, 204, 0.3);
}

.cookie-consent-decline {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
}

.cookie-consent-decline:hover {
  background: #f5f5f5;
  color: #333;
}

.cookie-consent-settings {
  background: transparent;
  color: #0044cc;
  border: 1px solid #0044cc;
}

.cookie-consent-settings:hover {
  background: #0044cc;
  color: white;
}

/* Cookie Settings Modal */
.cookie-settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-settings-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.cookie-settings-modal {
  background: white;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.cookie-settings-overlay.show .cookie-settings-modal {
  transform: translateY(0);
}

.cookie-settings-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 1rem;
  text-align: center;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 24px;
  background: #ddd;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-toggle.active {
  background: #0044cc;
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
}

.cookie-toggle.active::after {
  transform: translateX(24px);
}

.cookie-category-description {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.4;
}

.cookie-settings-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cookie-settings-button {
  flex: 1;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: "Spline Sans", sans-serif;
}

.cookie-settings-save {
  background: #0044cc;
  color: white;
}

.cookie-settings-save:hover {
  background: #0033aa;
}

.cookie-settings-cancel {
  background: #f5f5f5;
  color: #666;
}

.cookie-settings-cancel:hover {
  background: #e0e0e0;
  color: #333;
}

/* Responsive Design */
@media (min-width: 480px) {
  .cookie-consent-buttons {
    flex-direction: row;
  }

  .cookie-settings-buttons {
    flex-direction: row;
  }
}
