/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  padding-top: 80px; /* Platz für den sticky Header */
}

/* Globale Links */
a {
  color: #ff0516;
  text-decoration: none;
}

a:hover {
  color: #a00025;
}

/* Header & Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.logo-main {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a1a;
  letter-spacing: 2px;
}

.logo-scales {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff0516;
  letter-spacing: 2px;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #333;
  margin-top: 0.2rem;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff0516;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('scr/Images/Hero.webp') center/cover no-repeat;
  padding: 2rem 2rem 6rem;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  max-width: 1200px;
  /* etwas Abstand zur Nav */
  margin: 0.5rem auto 0;
}

.cta-button {
  display: inline-block;
  background: #ffffff;
  color: #ff0516;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 2rem;
  text-decoration: none;
  position: relative;
  z-index: 10;
  transition: 0.3s;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* About Section */
.about {
  padding: 5rem 2rem;
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.about h1 {
  font-size: 3.2rem;
  font-weight: 800;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ff0516;
}

.about p {
  font-size: 1.2rem;
  color: #555;
  max-width: 900px;
  margin: 0 auto 2rem;
}

/* Features Section */
.features {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff0516;
}

.features-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.feature-card {
  background: #fff;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(220,0,50,0.2);
}

.feature-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.4rem;
  margin: 1rem 0 0.75rem;
  min-height: calc(1.4rem * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-card p {
  color: #666;
  line-height: 1.4rem;
  margin: 0 0 1rem;
  min-height: calc(1.4rem * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.feature-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff0516;
  font-weight: bold;
}

@media (max-width: 480px) {
  .feature-image {
    aspect-ratio: 4 / 3;
  }
}

/* Platform Section */
.platform {
  background: #f5f5f5;
  padding: 5rem 2rem;
}

.platform-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.platform-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ff0516;
}

.platform-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
  padding: 5rem 2rem;
  background: #fff;
}

.benefits-content {
  max-width: 1200px;
  margin: 0 auto;
}

.benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff0516;
}

.benefits-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.06);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.benefit-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1.2rem;
  line-height: 1.4rem;
  min-height: calc(1.4rem * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.benefit-item p {
  color: #666;
  line-height: 1.4rem;
  margin: 0 auto;
  min-height: calc(1.4rem * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 480px) {
  .benefit-item p {
    -webkit-line-clamp: 2;
    min-height: calc(1.4rem * 2);
  }
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #ff0516;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: #ff0516;
}

.footer-links {
  display: block;
  padding: 2rem 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  margin: 2rem 0;
  text-align: center;
}

.footer-links a {
  display: block;
  margin: 0.45rem 0;
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ff0516;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ff0516;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: #a00025;
}

.social-icon img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  color: #888;
  padding-top: 2rem;
}

/* Contact Section */
.contact-section {
  background: #fff;
  padding: 5rem 2rem;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff0516;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
  margin-top: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.75rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(220,0,50,0.18);
}

@media (max-width: 520px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
}

.card-media {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f7;
}

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  display: grid;
  gap: 0.4rem;
}

.card-name {
  margin: 0;
  font-size: 1.25rem;
  color: #1a1a1a;
  line-height: 1.25;
}

.card-title {
  margin: 0 0 0.5rem 0;
  color: #666;
  font-size: 1rem;
}

.card-contact {
  display: grid;
  gap: 0.25rem;
}

.contact-line {
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.card-actions {
  margin-top: 0.75rem;
}

.contact-section .card-actions .cta-button {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
}

/* Avatar für Louie (Initialen) */
.avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  background: #ff0516;
}

/* Events Carousel */
.pfc-events {
  padding: 5rem 2rem;
  background: #f5f5f5;
}

.pfc-events .container {
  max-width: 1400px;
  margin: 0 auto;
}

.pfc-events h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ff0516;
}

.pfc-events .subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.pfc-events-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
}

.pfc-events-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 500ms ease;
  will-change: transform;
}

.pfc-event-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  padding: 2rem;
  min-height: 260px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.pfc-event-media {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  background: #f5f5f7;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pfc-event-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pfc-event-body {
  display: grid;
  gap: 0.5rem;
}

.pfc-event-badge {
  justify-self: start;
  background: #ff0516;
  color: #fff;
  border-radius: 18px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pfc-event-title {
  margin: 0.25rem 0 0;
  font-size: 1.4rem;
  color: #1a1a1a;
}

.pfc-event-meta {
  color: #666;
  font-size: 0.98rem;
}

.pfc-event-meta p {
  margin: 0.15rem 0;
}

.pfc-event-desc {
  color: #555;
  margin: 0.25rem 0 0.5rem;
  line-height: 1.5;
}

.pfc-event-cta {
  justify-self: start;
  display: inline-block;
  background: #ff0516;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 24px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.pfc-event-cta:hover {
  background: #a00025;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(195,45,64,0.25);
}

.pfc-events-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #ff0516;
  font-size: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.pfc-events-prev {
  left: 12px;
}

.pfc-events-next {
  right: 12px;
}

.pfc-events-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.pfc-events-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.pfc-events-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #d9d9d9;
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.pfc-events-dot.is-active {
  width: 26px;
  background: #ff0516;
}

@media (max-width: 900px) {
  .pfc-event-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 1.5rem;
  }

  .pfc-event-media {
    height: 140px;
  }
}

@media (max-width: 520px) {
  .pfc-events-nav {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

/* Screenreader only */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive allgemein */
@media (max-width: 968px) {
  .logo {
    align-items: flex-start;
  }

  .logo-main,
  .logo-scales {
    font-size: 2rem;
  }

  .logo-tagline {
    font-size: 0.65rem;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 2rem 0;
  }

  .nav-links.active {
    left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .platform-content {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .about h2,
  .features h2,
  .platform-text h2,
  .benefits h2,
  .contact-title {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .platform-image {
    height: 300px;
  }

  .contact-section {
    padding: 4rem 1rem;
  }
}

/* Alternative Contact-Wrapper mit großem Bild (falls genutzt) */
.contact-wrapper {
  max-width: 1200px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  align-self: stretch;
}

.contact-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Clean Contact Cards */
.contact-card-clean {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: grid;
  gap: 0.5rem;
}

.contact-card-clean:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220,0,50,0.12);
}

.card-icon-header {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ff0516 0%, #c00020 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 0.25rem;
}

.contact-card-clean .card-name {
  font-size: 1.2rem;
  color: #1a1a1a;
  margin: 0;
  font-weight: 700;
}

.contact-card-clean .card-title {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.contact-card-clean .card-contact {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.contact-card-clean .contact-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.875rem;
  color: #333;
}

.contact-card-clean .contact-line svg {
  flex-shrink: 0;
  color: #ff0516;
}

.contact-card-clean .contact-line a {
  color: #333;
  word-break: break-word;
}

.contact-card-clean .contact-line a:hover {
  color: #ff0516;
}

.cta-button-clean {
  display: inline-block;
  background: #ff0516;
  color: #fff;
  padding: 0.6rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s;
  margin-top: 0.25rem;
}

.cta-button-clean:hover {
  background: #a00025;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,5,22,0.25);
  color: #fff;
}

/* Responsive für Contact-Wrapper */
@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-hero-image {
    aspect-ratio: 3 / 4;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
  }
}

@media (max-width: 600px) {
  .contact-wrapper {
    gap: 1.5rem;
  }

  .contact-hero-image {
    aspect-ratio: 4 / 3;
  }

  .contact-card-clean {
    padding: 1rem 1.25rem;
  }
}

/* Events-Nav ausblenden (wie von dir gewünscht) */
.pfc-events .pfc-events-nav {
  display: none !important;
}