:root {
    --bg-body: #2B2F36;
    --surface-card: #1F2329;
    --surface-elevated: #242930;
    --surface-tag: #171A1E;
    
    --border-subtle: #3D4450;
    --border-highlight: #525B6C;

    --text-heading: #F1F5F9;
    --text-body: #CBD5E1;
    --text-muted: #94A3B8;

    --accent-orange: #E05A1B;
    --accent-green: #10B981;
    --accent-pink: #EC4899;
    --accent-yellow: #EAB308;
    --accent-blue: #0EA5E9;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.45;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    touch-action: pan-x pan-y pinch-zoom;
}

header {
    text-align: center;
    padding: 20px 12px 12px;
    max-width: 860px;
    margin: 0 auto;
}

.brand-badge {
    display: inline-block;
    font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: white;
    background: var(--accent-orange);
    border: 1px solid var(--border-subtle);
    padding: 0px 7px;
    border-radius: 7px;
    margin-bottom: 1px;
}

h1 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 8px;
}

.welcome-text {
    font-size: 0.88rem;
    color: var(--text-body);
    background: var(--surface-card);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    margin-bottom: 8px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.team {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--surface-tag);
    border: 1px solid var(--border-subtle);
    padding: 4px 12px;
    border-radius: 20px;
}

.container {
    width: 100%;
    padding: 0 10px 70px;
    max-width: 1160px;
    margin: 0 auto;
}

.section-header {
    margin: 18px 0 10px;
    padding: 10px 14px;
    background: var(--surface-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.section-header.green { border-left-color: var(--accent-green); }
.section-header.pink { border-left-color: var(--accent-pink); }
.section-header.yellow { border-left-color: var(--accent-yellow); }
.section-header.blue { border-left-color: var(--accent-blue); }

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.banner-container {
    width: 100%;
    max-width: 1200px;
    margin: 15px auto 0;
    padding: 0 0px;
}

.banner-wrapper {
    width: 100%;
    aspect-ratio: 3 / 1; 
    background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-highlight-box {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-blue);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin: 16px 0 10px;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.info-highlight-box strong {
    color: var(--text-heading);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.media-card {
    background: var(--surface-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.media-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--surface-tag);
    overflow: hidden;
    cursor: pointer;
}

.media-wrapper img, .media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.media-label {
    padding: 7px 9px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-heading);
    text-align: left;
    background: var(--surface-elevated);
    border-top: 1px solid var(--border-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta {
    text-align: center;
    margin: 24px 0 16px;
    padding: 20px 16px;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    border-top: 3px solid #25D366;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.cta h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.cta p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: #0F172A;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta-whatsapp-btn:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.cta-whatsapp-btn img {
    height: 18px;
    width: auto;
}

.whatsapp-small-float {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    background-color: var(--surface-card);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border: 1px solid var(--border-subtle);
}

.whatsapp-small-float img {
    width: 26px;
    height: 26px;
}

/* Animations-Badge (Zweizeilig) */
.badge-new {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
    color: #FFFFFF;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    pointer-events: none;
    animation: badgePulse 2s infinite;
    text-align: center;
    line-height: 1.2;
}

@keyframes badgePulse {
    0% { transform: scale(1) rotate(3deg); }
    50% { transform: scale(1.08) rotate(3deg); }
    100% { transform: scale(1) rotate(3deg); }
}

/* Lightbox mit Pinch-to-Zoom Unterstützung */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(15, 18, 22, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    touch-action: pan-x pan-y pinch-zoom;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 20px;
    color: var(--text-heading);
    font-size: 34px;
    font-weight: 300;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 92%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    touch-action: pan-x pan-y pinch-zoom;
}

.lightbox-content-wrapper img,
.lightbox-content-wrapper video {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border: 1px solid var(--border-subtle);
    border-bottom: none;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    touch-action: pan-x pan-y pinch-zoom;
}

.lightbox-caption {
    width: 100%;
    max-width: 100%;
    background: var(--surface-card);
    color: var(--text-heading);
    border: 1px solid var(--border-subtle);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@media (min-width: 600px) {
    .masonry-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .card-wide { grid-column: span 2; }
    .card-wide .media-wrapper { aspect-ratio: 8 / 3; }
    h1 { font-size: 2.1rem; }
    .section-title { font-size: 1.35rem; }
}

@media (min-width: 1024px) {
    .masonry-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

footer {
    text-align: center;
    padding: 1.6rem 1rem;
    background: #171A1E;
    color: var(--text-muted);
    font-size: 0.78rem;
    border-top: 1px solid var(--border-subtle);
}

/* Link-Zeile im Footer */
.legal-links {
  text-align: center;
  padding: 12px 0 0;
  font-size: 0.85rem;
}
.legal-links a {
  color: var(--text-muted);
  text-decoration: underline;
  margin: 0 8px;
  cursor: pointer;
}
.legal-links a:hover {
  color: var(--text-heading);
}

/* Modal Hintergrund */
.legal-modal-backdrop {
  display: none !important;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.legal-modal-backdrop.show {
  display: flex !important;
}

/* Modal Fenster */
.legal-modal-content {
  background: var(--surface-card);
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 24px 24px 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  text-align: left;
  box-sizing: border-box;
}

/* Schließen-Knopf */
.legal-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.legal-modal-close:hover {
  color: var(--text-heading);
}

/* Tab Umschalter */
.legal-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-subtle);
  margin-bottom: 18px;
  padding-right: 30px;
}
.legal-tab-btn {
  background: none;
  border: none;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.legal-tab-btn.active {
  color: var(--text-heading);
  border-bottom: 2px solid var(--accent-orange);
}

/* Pane-Sichtbarkeit */
.legal-tab-pane {
  display: none !important;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
}
.legal-tab-pane.active {
  display: block !important;
}
.legal-tab-pane h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--text-heading);
}
.legal-tab-pane h4 {
  margin: 14px 0 4px;
  font-size: 0.92rem;
  color: var(--text-heading);
}
.legal-tab-pane a {
  color: var(--accent-blue);
  text-decoration: underline;
}
.legal-tab-pane p {
  margin-bottom: 10px;
}