/* =========================================================
   PETZ NACHHILFE — ZENTRALES STYLESHEET
   ========================================================= */

:root {
  --background: #f3f6fa;
  --white: #ffffff;
  --black: #172231;
  --gray: #647184;
  --light-gray: #d9e0e8;
  --blue: #2563a6;
  --dark-blue: #174a7a;
  --light-blue: #e8f1fa;

  --max-width: 1180px;
  --radius: 24px;
}

/* =========================================================
   GRUNDLAGEN
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--black);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: rgba(243, 246, 250, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

  transition: box-shadow 0.2s ease;
}

nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--dark-blue);
}

.nav-contact {
  border: 1px solid var(--black);
  border-radius: 100px;
  padding: 10px 20px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-contact:hover {
  background: var(--black);
  color: var(--white);
}

.mobile-menu {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

/* =========================================================
   ALLGEMEINE ELEMENTE
   ========================================================= */

.eyebrow {
  margin-bottom: 18px;
  color: var(--dark-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--black);
  border-radius: 100px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--black);
  color: var(--white);
}

.button-primary:hover {
  background: #333;
}

.button-secondary:hover {
  background: var(--white);
}

section {
  padding: 105px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--gray);
  font-size: 18px;
}

/* =========================================================
   STARTSEITE — HERO
   ========================================================= */

.hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(37, 99, 166, 0.20),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 85%,
      rgba(37, 99, 166, 0.10),
      transparent 30%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-description {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--gray);
  font-size: 19px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  min-height: 440px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;

  color: var(--white);
  background: var(--black);
  border-radius: 34px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -100px;
  top: -100px;
  border-radius: 50%;
  background: var(--blue);
}

.formula {
  position: relative;
  z-index: 1;
  font-size: 65px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.hero-card-text {
  position: relative;
  z-index: 1;
  max-width: 320px;
  color: #d5d5d5;
}

/* =========================================================
   STARTSEITE — FÄCHER
   ========================================================= */

.subjects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.subject {
  min-height: 250px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subject:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

.subject-number,
.step-number,
.mode-number {
  color: var(--dark-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.subject h3 {
  margin: 50px 0 12px;
  font-size: 25px;
}

.subject p,
.mode p,
.step p {
  color: var(--gray);
}

/* =========================================================
   STARTSEITE — ÜBER MICH
   ========================================================= */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.portrait {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(145deg, #252525, #918575);
}

.portrait-person {
  width: 64%;
  height: 74%;
  background: #dedede;
  border-radius: 48% 48% 0 0;
  opacity: 0.9;
}

.about-content h2 {
  margin-bottom: 25px;
  font-size: clamp(40px, 5vw, 63px);
  line-height: 1;
}

.about-content p {
  margin-bottom: 17px;
  color: var(--gray);
  font-size: 17px;
}

/* =========================================================
   STARTSEITE — ABLAUF
   ========================================================= */

.steps {
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--light-gray);
}

.step:last-child {
  border-bottom: 1px solid var(--light-gray);
}

.step h3 {
  margin-bottom: 3px;
  font-size: 25px;
}

.step-label {
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step p {
  max-width: 850px;
}

/* =========================================================
   STARTSEITE — PRÄSENZ / ONLINE
   ========================================================= */

.learning-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 25px;
}

.mode {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 22px;
}

.mode h3 {
  margin: 14px 0 8px;
  font-size: 24px;
}

/* =========================================================
   STARTSEITE — FAQ
   ========================================================= */

.faq {
  background: var(--white);
}

.faq-list {
  max-width: 900px;
}

details {
  padding: 22px 0;
  border-top: 1px solid var(--light-gray);
}

details:last-child {
  border-bottom: 1px solid var(--light-gray);
}

summary {
  position: relative;
  padding-right: 40px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -5px;
  font-size: 25px;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 800px;
  padding-top: 15px;
  color: var(--gray);
}

/* =========================================================
   STARTSEITE — KONTAKT
   ========================================================= */

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 70px;
  color: var(--white);
  background: var(--black);
  border-radius: 34px;
}

.contact-box h2 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
}

.contact-box p {
  max-width: 550px;
  color: #c9c9c9;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.contact-link {
  padding-bottom: 12px;
  border-bottom: 1px solid #555;
  font-size: 20px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--blue);
}

.contact-button {
  width: max-content;
  color: var(--white);
  border-color: #777;
}

.contact-button:hover {
  background: var(--white);
  color: var(--black);
}

/* =========================================================
   PREISSEITE
   ========================================================= */

.prices-page {
  padding-top: 20px;
}

.prices-intro {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.prices-intro h1 {
  margin-bottom: 16px;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.prices-intro p {
  color: var(--gray);
  font-size: 18px;
}

.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

.price-card h3 {
  margin-bottom: 15px;
  font-size: 23px;
  line-height: 1.2;
}

.description {
  color: var(--gray);
}

.price {
  margin-top: 30px;
  color: var(--black);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.intensive {
  margin-top: 18px;
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.intensive .price {
  margin-top: 0;
  white-space: nowrap;
}

.note {
  margin-top: 18px;
  padding: 30px;
  background: var(--black);
  color: #c9c9c9;
  border-radius: var(--radius);
}

.note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 35px 0;
  color: var(--gray);
  font-size: 13px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .prices {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .mobile-menu {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--background);
    border-bottom: 1px solid var(--light-gray);
  }

  .nav-links.active {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 320px;
  }

  .subjects {
    grid-template-columns: 1fr 1fr;
  }

  .intensive {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .intensive .price {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  section {
    padding: 75px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-description {
    font-size: 17px;
  }

  .formula {
    font-size: 48px;
  }

  .subjects,
  .prices,
  .learning-modes {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .portrait {
    min-height: 400px;
  }

  .contact-box {
    padding: 35px 28px;
    border-radius: 25px;
  }

  .contact-link {
    font-size: 17px;
  }

  .prices-page {
    padding-top: 105px;
  }

  .price-card {
    min-height: 250px;
  }

  footer .container {
    flex-direction: column;
  }
}


/* =========================================================
   BLAU-AKZENTE
   ========================================================= */

.nav-contact:hover {
  background: var(--dark-blue);
}

.button-primary {
  background: var(--dark-blue);
}

.button-primary:hover {
  background: #123b62;
}

.subject:hover,
.price-card:hover {
  border-color: #c3d5e7;
}

.price {
  color: var(--dark-blue);
}

.note {
  background: var(--dark-blue);
}

.mode:hover {
  border-color: #c3d5e7;
}

.contact-link:hover {
  color: var(--blue);
}

/* =========================================================
   PREISSEITE 
   ========================================================= */

.prices-site .prices-page {
    padding-top: 25px;
    padding-bottom: 10px;
}

.prices-site .prices-intro {
    margin-bottom: 10px;
    padding: 0;
}

.prices-site .prices {
    padding: 0;
}

/* Intensivkurs */
.prices-site .intensive {
    margin-top: 18px;
    min-height: 0;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: end;
}

/* Preis beim Intensivkurs */
.prices-site .intensive .price {
    margin: 0;
    white-space: nowrap;
    align-self: end;
}

/* Hinweisbox */
.prices-site .note {
    margin-top: 18px;
    padding: 22px 30px;
    border-radius: 25px;
}

/* Überschrift der Hinweisbox */
.prices-site .note strong {
    display: block;
    margin-bottom: 8px;
}

/* Footer etwas näher an den Inhalt */
.prices-site footer {
    margin-top: 5px;
}

/* Auf kleinen Bildschirmen */
@media (max-width: 700px) {
    .prices-site .intensive {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .prices-site .intensive .price {
        justify-self: start;
    }
}

/* =========================================================
   MODERNES MENÜBAND
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #d9e0e8;

    box-shadow: 0 4px 18px rgba(23, 34, 49, 0.06);
}

.site-header .nav {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

/* Logo */

.site-header .logo {
    color: #172231;
    text-decoration: none;

    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;

    white-space: nowrap;
}

.site-header .logo span {
    color: #2563a6;
}

/* Menü */

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    position: relative;

    color: #526174;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    padding: 11px 15px;
    border-radius: 10px;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover {
    color: #174a7a;
    background: #e8f1fa;
    transform: translateY(-1px);
}

/* Aktive Seite */

.main-nav a.active {
    color: #ffffff;
    background: #2563a6;
    box-shadow: 0 4px 10px rgba(37, 99, 166, 0.20);
}

/* Kontakt hervorheben */

.main-nav .nav-contact {
    color: #ffffff;
    background: #174a7a;

    margin-left: 8px;
    padding-left: 19px;
    padding-right: 19px;
}

.main-nav .nav-contact:hover {
    color: #ffffff;
    background: #2563a6;
}


/* =========================================================
   MENÜ – HANDY
   ========================================================= */

@media (max-width: 850px) {

    .site-header .nav {
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;

        flex-direction: column;
        gap: 12px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-nav a {
        padding: 8px 11px;
        font-size: 14px;
    }

    .main-nav .nav-contact {
        margin-left: 0;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* =========================================================
   PREISSEITE - ABSTÄNDE
   ========================================================= */

.prices-site .prices-page {
    padding-top: 25px;
    padding-bottom: 10px;
}

.prices-site .prices-intro {
    padding: 0;
    margin: 0 auto 10px;
}

.prices-site .prices {
    padding: 0;
    margin: 0;
}
