/* Responsive Ergänzungen für About, Kontakt und Rechtliches.
   Nach css/style.css laden; Desktop-Regeln bleiben unangetastet. */
@media (max-width: 1024px),
       (max-width: 1366px) and (orientation: landscape) and (pointer: coarse) {
  .about-section { box-sizing: border-box; width: 100%; max-width: 100%; padding: 42px 28px 65px; }
  .about-container { display: flex; flex-direction: column; align-items: stretch; gap: 32px; max-width: 740px; margin: 0 auto; }
  .about-image, .about-text { flex: none; width: 100%; min-width: 0; }
  .about-image img { display: block; width: 100%; height: auto; object-fit: contain; }
  .about-text { font-size: 1rem; line-height: 1.85; }
  .about-text p { margin-bottom: 12px; }
  .legal-page { box-sizing: border-box; width: 100%; max-width: 800px; padding: 48px 28px 72px; }
  .legal-page h1 { font-size: clamp(38px, 5vw, 52px); margin-bottom: 28px; }
  .legal-page h4 { font-size: clamp(26px, 3.5vw, 32px); margin-top: 35px; margin-bottom: 15px; }
  .legal-page p, .legal-page li { overflow-wrap: anywhere; line-height: 1.8; }
  .contact-section { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 50vh; padding: 60px 28px 75px; }
  .contact-container { width: 100%; max-width: 650px; margin: 0 auto; transform: none; }
  .contact-email { max-width: 100%; overflow-wrap: anywhere; }
  .footer-content { box-sizing: border-box; max-width: 100%; padding-left: 18px; padding-right: 18px; }
  .footer-links { flex-wrap: wrap; row-gap: 10px; }
}
@media (max-width: 600px) {
  .about-section { padding: 26px 20px 55px; }
  .about-container { gap: 22px; }
  .about-text { font-size: 15px; line-height: 1.8; }
  .legal-page { padding: 34px 22px 55px; }
  .legal-page h1 { font-size: 38px; }
  .legal-page h4 { font-size: 27px; }
  .legal-page p, .legal-page li { font-size: 15px; line-height: 1.75; }
  .contact-section { padding: 42px 22px 65px; }
  .contact-text h1 { font-size: 40px; }
  .contact-text p { font-size: 15px; }
  .contact-email { font-size: 16px; }
}


/* Phase 13 – letzte responsive Korrektur für die About-Lesefläche */
@media (max-width: 1024px) {
  .about-section {
    width: min(100% - 36px, 850px);
    max-width: 850px;
    margin: 20px auto 64px;
    padding: 38px clamp(20px, 5vw, 54px) 56px;
  }
  .about-container { align-items: center; }
  .about-image {
    width: min(62vw, 300px);
    height: auto;
    aspect-ratio: 1;
    margin-inline: auto;
  }
  .about-image img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 600px) {
  .about-section {
    width: calc(100% - 24px);
    margin: 16px auto 44px;
    padding: 28px 20px 42px;
  }
  .about-image { width: min(68vw, 260px); }
}

/* Tablet-Fix: Portrait unabhängig von allgemeinen Responsive-Regeln kreisrund. */
@media (max-width: 1024px), (max-width: 1366px) and (orientation: landscape) and (pointer: coarse) {
  .about-container .about-image {
    width: min(62vw, 300px);
    height: auto;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    align-self: center;
    border-radius: 50%;
    overflow: hidden;
  }
  .about-container .about-image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
}
@media (max-width: 600px) {
  .about-container .about-image { width: min(68vw, 260px); }
}
