/* =====================================
Landingpage Container
===================================== */
.lp-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================
Navigation auf normalen Pages ausblenden – Logo bleibt sichtbar
===================================== */
body.page nav,
body.page .main-navigation,
body.page .site-navigation,
body.page .menu,
body.page .primary-menu {
  display: none !important;
}

/* Header sichtbar lassen (für Logo) */
body.page .site-header,
body.page .header-wrap,
body.page .header-container {
  display: block !important;
}

/* Abstand unter dem Header entfernen */
body.page .site-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Falls das Menü Platz reserviert */
body.page .nav-wrapper,
body.page .menu-wrapper {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =====================================
Header komplett ausblenden (nur bestimmte Landingpages)
===================================== */
body.page-id-7009 .site-header,
body.page-id-7296 .site-header {
  display: none !important;
}

/* Seitentitel ausblenden (nur bestimmte Landingpages) */
body.page-id-7009 .page-title,
body.page-id-7296 .page-title,
body.page-id-7009 .entry-title,
body.page-id-7296 .entry-title,
body.page-id-7009 header.entry-header,
body.page-id-7296 header.entry-header {
  display: none !important;
}

/* Sicherstellen, dass kein Leerraum oben bleibt */
body.page-id-7009 #content,
body.page-id-7296 #content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Falls das Theme zusätzlichen Top-Abstand setzt */
body.page-id-7009 .container,
body.page-id-7296 .container {
  padding-top: 0 !important;
}

/* =====================================
GLOBAL TYPOGRAPHY – BEREINIGT
===================================== */

/* Headlines allgemein */
h1, h2, h3, h4 {
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.6em;
}

/* Blog- & Editorial-Titel (schmaler Look) */
.single-post .entry-title,
.blog .entry-title {
  line-height: 1.2;
  max-width: 20ch;
  margin-bottom: 0.8em;
}

/* Normale Seiten (AGB, Datenschutz, Info-Seiten) */
.page .entry-title,
.page .page-title {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  h1,
  .entry-title,
  .page-title {
    line-height: 1.25;
    max-width: 100%;
  }
}

/* Sehr kleine Geräte */
@media (max-width: 480px) {
  h1,
  .entry-title,
  .page-title {
    line-height: 1.3;
    max-width: 100%;
  }
}

/* Fließtext */
p {
  line-height: 1.7;
  margin-bottom: 1.4em;
}

/* =====================================
Patricia Theme – Logo auf Mobile verkleinern
===================================== */
@media (max-width: 768px) {
  .site-branding img,
  .custom-logo {
    max-width: 120px;
    height: auto;
  }
}

/* Überschriften: keine automatische Großschreibung */
h1, h2, h3, h4, h5, h6 {
  text-transform: none !important;
}