/* ----------------------------------------
   Basis / Reset
---------------------------------------- */

@font-face {
    font-family: "Raleway";
    src: url("fonts/Raleway-VariableFont_wght.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    color: #171717;
    background-color: #f5f5f5;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p,
h1,
h2,
h3 {
    hyphens: auto;
    margin-top: 0;
}

/* Tastatur-Fokus sichtbar */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
label:focus-visible {
    outline: 2px solid #e20338;
    outline-offset: 3px;
}

/* ----------------------------------------
   Layout-Helfer
---------------------------------------- */

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
    }

.paragraph {
    line-height: 1.6;
    font-size: 1rem;
    max-width: 1224px;
}

/* ----------------------------------------
   Buttons
---------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    background-color: #e20338;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease,
        opacity 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
    background-color: #c40231;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.btn_2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    background-color: #e20338;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease,
        opacity 0.15s ease;
}

.btn_2:hover,
.btn_2:focus-visible {
    background-color: #c40231;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn_2:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* ----------------------------------------
   Navigation
---------------------------------------- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo {
    max-height: 52px;
}

/* Checkbox für Burger-Menü verstecken */
.nav-toggle-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Burger-Icon */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 32px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background-color: #171717;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Menü-Container (mobile) */
.nav-menu {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    margin-top: 8px;
    padding: 20px 16px;
    background-color: #171717;
    color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    display: none;
}

/* Nav-Listen */
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.main-nav a {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.main-nav a:hover {
    opacity: 0.85;
}

.contact-info {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-link {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.9rem;
}

.contact-label {
    font-weight: 600;
}

/* Checkbox:checked → Menü anzeigen */
.nav-toggle-checkbox:checked ~ .nav-menu {
    display: block;
}

/* Checkbox:checked → Burger zu „X“ */
.nav-toggle-checkbox:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle-checkbox:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-checkbox:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------
   Hero (FIX: mobile-first, Desktop bleibt korrekt)
---------------------------------------- */

.hero {
    background-color: #ffffff;
    padding: 32px 0 48px;
}

/* Mobile: untereinander */
.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Mobile: Bild volle Breite */
.hero-image {
    width: 102%;
    border-radius: 16px;
    
}

.hero-content {
    padding-top: 8px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.hero .paragraph {
    margin-bottom: 24px;
}



/* ----------------------------------------
   Section: About ProEgo (Was wir machen)
---------------------------------------- */

.about-proego {
    padding: 64px 0;
    background-color: #e20338;
    color: #fdfdfd;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text .paragraph + .paragraph {
    margin-top: 10px;
}

.about-text .btn_2 {
    margin-top: 24px;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 24px;
    color: #0d0d0d;
}
/* ----------------------------------------
   Was wir machen – Collage
---------------------------------------- */

/* Desktop / Default */
.about-images-collage{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.about-images-collage img{
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* Mobile */
@media (max-width: 768px){

  /* Text oben, Bilder darunter */
  .about-layout{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 2 Bilder nebeneinander */
  .about-images-collage{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  /* Bild 3 und 4 ausblenden */
  .about-images-collage img:nth-child(n+3){
    display: none;
  }
}


/* ----------------------------------------
   Angebote-Teaser
---------------------------------------- */

.offers {
    background-color: #fdfdfd;
    color: #090909;
    padding: 56px 0;
}

.section-head .paragraph {
    max-width: 632px;
}

.offers-grid {
    display: grid;
    gap: 24px;
    margin-top: 12px;
}

.offer-card {
    background-color: #797979;
    border-radius: 16px;
    padding: 20px 18px 24px;
    color: #ffffff;
}

.offer-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

.offer-card h3 {
    margin: 0 0 8px;
}

.offer-card p {
    font-size: 0.98rem;
    margin: 0 0 18px;
    color:#ffffff;
}
/* ===== ÜBER PROEGO (nur diese Seite) ===== */

.page-ueber-proego .hero-images{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0 12px;
  border-radius: 20px;
    
}

.page-ueber-proego .hero-images img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* Mobile */
@media (max-width: 768px){
  .page-ueber-proego .hero-images{
    grid-template-columns: 1fr;
  }

  .page-ueber-proego .hero-images img{
    height: auto;
  }
}


/* ----------------------------------------
   Kontakt-Teaser
---------------------------------------- */

section:last-of-type {
    background-color: #ffffff;
    padding: 56px 0 72px;
}

/* ----------------------------------------
   Footer
---------------------------------------- */

footer {
    background-color: #292929;
    color: #ffffff;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    text-align: center;
}

.footer-text {
    margin: 0;
    font-size: 0.9rem;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

footer a:hover {
    opacity: 0.8;
}

/* ----------------------------------------
   Über ProEgo – Info Sections
---------------------------------------- */

.info-section {
    background-color: #ffffff;
    padding: 56px 0;
}

.info-section + .info-section {
    border-top: 1px solid #e3e3e3;
}

.info-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 16px;
}

.info-section h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

/* ----------------------------------------
   Steps-Liste (Wie funktionieren die Kurse)
---------------------------------------- */

.steps-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    counter-reset: step-counter;
}

.steps-list li {
    counter-increment: step-counter;
    margin-bottom: 18px;
    padding-left: 42px;
    position: relative;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background-color: #e20338;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----------------------------------------
   Zielgruppen-Karten (Kinder, Frauen, Teams)
---------------------------------------- */

.target-grid {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.target-card {
    background-color: #f5f5f5;
    border-radius: 16px;
    padding: 20px 18px 24px;
}

.target-card p {
    font-size: 0.98rem;
    margin-bottom: 18px;
}

/* ----------------------------------------
   Werte / Ansatz-Karten
---------------------------------------- */

.values-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.value-card {
    background-color: #e20338;
    border-radius: 14px;
    padding: 18px 18px 20px;
    font-size: 0.98rem;
    color:#f5f5f5;
}

/* ----------------------------------------
   CTA-Buttons am Ende der Seite
---------------------------------------- */

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* ----------------------------------------
   Breakpoints
---------------------------------------- */

/* Tablet */
@media (min-width: 768px) {

    /* Hero: ab Tablet nebeneinander */
    .hero-grid {
        flex-direction: row;
        align-items: center;
    }

    .hero-image {
        width: 50%;
        padding-bottom: 24px;
    }

    .hero-content {
        padding-top: 0;
    }

    .about-layout {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    section {
        padding: 64px 0;
    }

    .target-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

/* Desktop */
@media (min-width: 1024px) {

    /* Nav: Menü immer sichtbar, Burger weg */
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        display: flex;
        align-items: center;
        background: none;
        color: inherit;
        box-shadow: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
        gap: 32px;
    }

    .main-nav {
        flex-direction: row;
        gap: 28px;
        margin: 0;
    }

    .main-nav a {
        color: #171717;
        padding: 4px 0;
        font-size: 0.95rem;
        font-weight: 500;
    }

    /* letzter Menüpunkt = Kontakt-Button */
    .main-nav li:last-child a {
        padding: 8px 20px;
        border-radius: 999px;
        background-color: #e20338;
        color: #ffffff;
        font-weight: 600;
        text-decoration: none;
    }

    .main-nav li:last-child a:hover {
        background-color: #c40231;
    }

    .contact-info {
        display: none;
    }

    .about-layout {
        grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
        align-items: center;
    }

    .offers-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero {
        padding: 48px 0 64px;
    }

    section {
        padding: 72px 0;
    }

    .target-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .values-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .info-section {
        padding: 72px 0;
    }
}

/* ----------------------------------------
   Trainer-Seite
---------------------------------------- */

.trainer-hero {
    background-color: #ffffff;
    padding: 32px 0 48px;
}

.trainer-layout {
    display: grid;
    gap: 24px;
    align-items: center;
}

.trainer-text .paragraph {
    margin-bottom: 16px;
}

.badge-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px;
}

.badge-list li {
    font-size: 0.95rem;
    margin-bottom: 4px;
    position: relative;
    padding-left: 18px;
}

.badge-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #e20338;
    font-weight: 700;
}

.trainer-photo-wrap {
    max-width: 360px;
    margin: 0 auto;
}

.trainer-photo {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

/* Background-Karten */
.bg-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.bg-card {
    background-color: #e20338;
    border-radius: 14px;
    padding: 18px 18px 20px;
    font-size: 0.98rem;
    color:#f5f5f5;
}

/* Bereits vorhandene Werte-Grid wiederverwenden, aber leicht anpassen */
.trainer-values {
    margin-top: 20px;
}

/* Vertrauen-Karten */
.trust-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.trust-card {
    background-color: #e20338;
    border-radius: 14px;
    padding: 18px 18px 20px;
    font-size: 0.98rem;
    color:#f5f5f5;
}

/* Optional: Zitatblock */
.quote-block {
    margin-top: 28px;
    padding: 20px 18px;
    border-left: 4px solid #e20338;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.quote {
    margin: 0 0 6px;
    font-style: italic;
}

.quote-author {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Responsive: Tablet */
@media (min-width: 700px) {

    .trainer-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .bg-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .trust-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .trainer-hero {
        padding: 48px 0 64px;
    }
}

/* ----------------------------------------
   Angebote-Seite
---------------------------------------- */

.offers-hero {
    background-color: #ffffff;
    padding: 32px 0 48px;
}

/* Inline-Navigation im Hero (Anker zu Kinder/Frauen/Workshops) */
.offers-nav-inline {
    list-style: none;
    padding-left: 0;
    margin: 18px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
}

.offers-nav-inline a {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #d0d0d0;
    text-decoration: none;
}

.offers-nav-inline a:hover {
    border-color: #e20338;
    color: #e20338;
}

/* Einzelne Angebots-Sektionen */
.offer-section {
    border-top: 1px solid #e3e3e3;
}

.offer-layout {
    display: grid;
    gap: 24px;
    align-items: flex-start;
}

.offer-text h3 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.offer-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 14px;
}

.offer-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.offer-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #e20338;
    font-weight: 700;
}

.offer-meta {
    font-size: 0.95rem;
    margin: 8px 0 18px;
}

.offer-meta p {
    margin: 2px 0;
}

/* Bildspalte */
.offer-image-wrap {
    max-width: 520px;
    margin: 0 auto;
}

.offer-image-wrap img {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    object-fit: cover;
}

/* Responsive für Angebote */
@media (min-width: 700px) {

    .offer-layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 32px;
        align-items: center;
    }

    .offers-hero {
        padding: 40px 0 56px;
    }
    
    
    
}

@media (min-width: 1024px) {

    .offers-hero {
        padding: 48px 0 64px;
    }

    .offer-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
}

/* ----------------------------------------
   Kontakt-Seite
---------------------------------------- */

.contact-hero {
    background-color: #ffffff;
    padding: 32px 0 48px;
}

.contact-section {
    background-color: #ffffff;
}

.contact-layout {
    display: grid;
    gap: 32px;
}

/* Linke Spalte: Infos */
.contact-info-block h2 {
    margin-bottom: 12px;
}

.contact-details {
    margin: 18px 0;
    font-size: 0.98rem;
}

.contact-details p {
    margin: 4px 0 10px;
}

.contact-details a {
    text-decoration: underline;
}

.contact-hints h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.contact-hints ul {
    padding-left: 18px;
    margin: 0;
    font-size: 0.96rem;
}

/* Rechte Spalte: Formular */
.contact-form-wrap h2 {
    margin-bottom: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95rem;
}

.form-field label {
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
    outline: 2px solid #e20338;
    outline-offset: 1px;
    border-color: #e20338;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* DSGVO-Checkbox */
.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
}

.form-consent a {
    text-decoration: underline;
}

/* Responsive für Kontakt */
@media (min-width: 700px) {

    .contact-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
        align-items: flex-start;
    }

    .form-row {
        flex-direction: row;
    }

    .form-row .form-field {
        flex: 1;
    }

    .contact-hero {
        padding: 40px 0 56px;
    }
}

@media (min-width: 1024px) {

    .contact-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
        gap: 40px;
    }

    .contact-hero {
        padding: 48px 0 64px;
    }
}
