/*
 Theme Name: Twenty Twenty-Five Child
 Description: Child Theme für Twenty Twenty-Five
 Author: chde
 Template: twentytwentyfive
 Version: 1.0
*/

/* Eigene CSS-Regeln ab hier */

body, .wp-site-blocks {
    margin: 0;
    padding: 0;
}

.fullscreen-image {
    margin: 0;
    padding: 0;
}

.fullscreen-image img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.fixed-group {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 10000;
}

/* Hintergrundfarbe nur für diese Seite */
.page-id-105 {
    background-color: #cfcfcf;
}

/* -----------------------------------------------------------
   1) Sticky Header (Desktop & Mobile)
----------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  z-index: 999;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* -----------------------------------------------------------
   2) Desktop Navigation (clean, minimal)
----------------------------------------------------------- */
.header-logo .wp-block-navigation__container {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header-logo .wp-block-navigation a {
  font-size: 16px;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.header-logo .wp-block-navigation a:hover {
  color: #007aff; /* Apple Blau */
}

.header-logo .wp-block-navigation .current-menu-item > a {
  color: #007aff;
  font-weight: 500;
}


/* -----------------------------------------------------------
   3) Slim Sidebar Off‑Canvas Menu (Apple Style)
----------------------------------------------------------- */
.wp-block-navigation__responsive-container.is-menu-open {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px; /* schlanker Streifen */
  height: 100vh;

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  padding: 30px 20px;
  box-shadow: -4px 0 12px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  animation: slideIn 0.25s ease;
  z-index: 9999;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}


/* -----------------------------------------------------------
   4) Close Button (X oben rechts)
----------------------------------------------------------- */
.wp-block-navigation__responsive-container-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 28px;
  color: #111;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.wp-block-navigation__responsive-container-close:hover {
  opacity: 1;
}


/* -----------------------------------------------------------
   5) Mobile Menu Links (ohne Kasten, nur Farbe)
----------------------------------------------------------- */
.wp-block-navigation__responsive-container a {
  font-size: 18px;
  color: #111;
  text-decoration: none;
  padding: 10px 0;
  width: 100%;
  display: block;
  transition: color 0.2s ease;
}

.wp-block-navigation__responsive-container a:hover {
  color: #007aff;
}


/* -----------------------------------------------------------
   6) Untermenüs: + / – und Einrückung
----------------------------------------------------------- */

/* Toggle Button (+) */
.wp-block-navigation__submenu-icon {
  margin-left: auto;
  font-size: 20px;
  color: #111;
  transition: transform 0.2s ease;
}

/* Wenn offen → Minus */
.wp-block-navigation__submenu-container.is-open .wp-block-navigation__submenu-icon {
  transform: rotate(45deg); /* + wird zu x */
}

/* Untermenü einrücken */
.wp-block-navigation__submenu-container {
  padding-left: 16px;
  border-left: 1px solid rgba(0,0,0,0.08);
  margin-top: 6px;
}

/* Untermenü Links */
.wp-block-navigation__submenu-container a {
  font-size: 16px;
  padding: 8px 0;
  opacity: 0.85;
}

.wp-block-navigation__submenu-container a:hover {
  color: #007aff;
  opacity: 1;
}


/* -----------------------------------------------------------
   7) Desktop: Untermenüs harmonisch
----------------------------------------------------------- */
@media (min-width: 782px) {
  .wp-block-navigation__submenu-container {
    padding-left: 0;
    border-left: none;
  }
}

/* === Lücke zwischen Footer und oberen Block schließen === */
.wp-block-template-part {
    margin-block-start: 0 !important;
    padding-block-start: 0 !important;
}





