﻿/* Privacy page enhancements align datenschutz.html with the cart shell */
.privacy-page {
  scroll-behavior: smooth;
}

/* Gives the privacy container extra spacing to breathe */
.privacy-app {
  gap: clamp(24px, 4vw, 48px);
}

/* Aligns the hero copy next to the metadata cards responsively */
.privacy-hero__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ui-space-lg);
  align-items: flex-start;
}

.privacy-hero__copy {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: var(--ui-space-sm);
}

/* Styles the hero statistic cards with translucent surfaces */
.privacy-meta-grid {
  flex: 1 1 280px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--ui-space-sm);
}

.privacy-meta-card {
  border-radius: var(--ui-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.privacy-meta-card p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--ui-text-muted);
}

.privacy-meta-card strong {
  font-size: 1.35rem;
  color: var(--ui-text-strong);
}

.privacy-meta-card span {
  font-size: 0.9rem;
  color: var(--ui-text-muted);
}

/* Keeps each privacy layout grid aligned with the cart baseline */
.privacy-layout {
  gap: var(--ui-section-gap);
}

/* Enhances each privacy card with a soft gradient highlight */
.privacy-card {
  position: relative;
  overflow: hidden;
}

.privacy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 12% 20%,
      rgba(255, 122, 24, 0.1),
      transparent 55%
    );
  opacity: 0.8;
  pointer-events: none;
}

.privacy-card > * {
  position: relative;
  z-index: 1;
}

/* Allows selected cards to span both columns */
.privacy-card--full {
  grid-column: 1 / -1;
}

/* Adds extra spacing for dense content stacks */
.privacy-card--stacked {
  gap: var(--ui-space-md);
}

/* Highlights the introductory paragraph with a tinted panel */
.privacy-lead {
  margin: 0 0 var(--ui-space-sm);
  padding: var(--ui-space-sm);
  border-radius: var(--ui-radius-lg);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 249, 255, 0.9)
  );
  border: 1px solid var(--ui-border);
  font-size: 1.05rem;
  color: var(--ui-text-strong);
}

/* Lists the key promises as pill badges */
.privacy-pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.privacy-pill {
  border-radius: var(--ui-radius-pill);
  border: 1px solid rgba(67, 56, 202, 0.25);
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(67, 56, 202, 0.08);
  color: var(--ui-accent);
}

/* Aligns phone and email into responsive badges */
.privacy-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--ui-space-sm);
  font-weight: 600;
  color: var(--ui-text-strong);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
}

.privacy-contact-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--ui-radius-md);
  background: rgba(17, 17, 17, 0.04);
  flex-wrap: wrap;
  font-size: inherit;
  line-height: 1.35;
}

.privacy-contact-grid i {
  color: var(--ui-accent);
  font-size: 1em;
}

/* Provides a muted helper note below the contacts */
.privacy-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ui-text-muted);
}

/* Separates each subsection with consistent spacing */
.privacy-subsection {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: var(--ui-space-sm);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.privacy-subsection:first-of-type {
  border-top: none;
  padding-top: 0;
}

.privacy-subsection h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--ui-text-strong);
}

.privacy-subsection p {
  margin: 0;
  color: var(--ui-text-muted);
}

/* Styles unordered lists to read like modern bullet points */
.privacy-icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-icon-list li {
  padding: 10px 12px;
  border-radius: var(--ui-radius-md);
  background: rgba(17, 17, 17, 0.035);
  border: 1px dashed rgba(17, 17, 17, 0.08);
  font-size: 0.95rem;
  color: var(--ui-text);
}

.privacy-icon-list strong {
  color: var(--ui-text-strong);
}

/* Displays the list of DSGVO rights as responsive cards */
.privacy-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--ui-space-sm);
  margin-top: var(--ui-space-sm);
}

.privacy-rights-card {
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  padding: var(--ui-space-sm);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.privacy-rights-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--ui-accent);
}

.privacy-rights-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ui-text-muted);
}

/* Highlights the final contact block with a solid fill */
.privacy-contact-card {
  border-radius: var(--ui-radius-lg);
  border: 1px solid var(--ui-border);
  padding: var(--ui-space-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(
    150deg,
    rgba(99, 102, 241, 0.08),
    rgba(255, 255, 255, 0.95)
  );
}

/* Keeps the footer lightweight and aligned with the hero styling */
.privacy-footer {
  margin-top: var(--ui-section-gap);
  text-align: center;
  padding: 24px 12px 36px;
  color: var(--ui-text-muted);
}

.privacy-footer a {
  color: var(--ui-accent);
  text-decoration: none;
  font-weight: 600;
}

.privacy-footer a:hover {
  text-decoration: underline;
}

/* Responsive refinements keep the layout readable on small screens */
@media (max-width: 768px) {
  .privacy-hero__grid {
    flex-direction: column;
  }

  .privacy-meta-grid {
    grid-template-columns: 1fr;
  }

  .privacy-rights-grid {
    grid-template-columns: 1fr;
  }

  .privacy-card--full {
    grid-column: 1 / -1;
  }
}

/* Cookie info banner – shared style for privacy page */
.cookie-info-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: none;
  padding: 12px 16px;
  background: #111827;
  color: #e5e7eb;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.35);
}

.cookie-info-banner--visible {
  display: block;
}

.cookie-info-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-info-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-info-text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-info-text a:hover {
  color: #bfdbfe;
}

.cookie-info-button {
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.2);
  background: #f97316;
  color: #111827;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-info-button:hover {
  background: #fb923c;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cookie-info-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-info-button {
    width: 100%;
    text-align: center;
  }
}
