/* ============================================================
   Olivia · Gemeinsame Kopf-/Fußzeile (Header & Footer)
   Identisch auf allen Seiten. Baut auf colors_and_type.css auf.
   ============================================================ */

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 600; font-size: 15px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill);
  border: 2px solid transparent; text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.btn .arr { transition: transform var(--dur-base) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--c-coral); color: #fff; box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--c-coral-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-md); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--c-forest-deep); border-color: var(--c-forest); }
.btn-secondary:hover { background: var(--c-forest); color: var(--c-cream-soft); transform: translateY(-2px); text-decoration: none; }
.btn-secondary.on-dark { color: var(--c-cream-soft); border-color: var(--c-cream-soft); }
.btn-secondary.on-dark:hover { background: var(--c-cream-soft); color: var(--c-forest-deep); }

/* ----- HEADER ----- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 237, 214, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--c-cream-soft); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--c-gold);
  position: relative;
}
.brand-logo img { width: 42px; height: 42px; object-fit: contain; animation: wobble 6s ease-in-out infinite; transform-origin: center; }
@keyframes wobble {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}
.brand:hover .brand-logo img { animation-duration: 1.6s; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--ff-display); font-style: italic; font-weight: 600; font-size: 24px; color: var(--c-forest-deep); }
.brand-sub  { font-size: 10px; letter-spacing: 0.25em; color: var(--c-muted); text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: var(--sp-6); }
@media (max-width: 1080px) { .nav { gap: var(--sp-4); } }
.nav a {
  font-family: var(--ff-body); font-size: 14px; font-weight: 500;
  color: var(--c-forest-deep); text-decoration: none; padding: 6px 2px; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.nav a:hover { color: var(--c-coral); border-bottom-color: var(--c-gold); }
.nav .cta { margin-left: var(--sp-3); min-height: 52px; padding: 0 30px; font-size: 15px; white-space: nowrap; flex-shrink: 0; box-shadow: 0 6px 16px rgba(213,100,74,.34); }
.nav .cta:hover { color: #fff; border-bottom-color: transparent; }
@media (max-width: 1000px) {
  .nav a:not(.cta) { display: none; }
  .brand-sub { display: none; }
}

/* ----- FOOTER ----- */
.foot { background: var(--c-forest); color: var(--c-on-dark); padding: var(--sp-8) 0 var(--sp-6); position: relative; }
.foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 80px;
  background: var(--c-forest);
  -webkit-mask: url("torn-edge-up.svg") no-repeat top/100% 100%;
          mask: url("torn-edge-up.svg") no-repeat top/100% 100%;
  transform: translateY(-100%);
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr 1fr; gap: var(--sp-6); }
.foot .brand-name { color: var(--c-cream-soft); }
.foot .brand-sub { color: var(--c-on-dark-muted); }
.foot .brand-logo { background: rgba(252, 246, 232, 0.08); }
.foot p.intro { color: var(--c-on-dark-muted); font-size: 14px; line-height: 1.65; max-width: 36ch; margin: var(--sp-4) 0 var(--sp-5); }
.foot h5 { font-family: var(--ff-body); font-weight: 600; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-peach); margin: 0 0 var(--sp-4); }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { color: var(--c-on-dark); font-size: 14px; text-decoration: none; transition: padding-left var(--dur-base) var(--ease), color var(--dur-base) var(--ease); }
.foot ul a:hover { color: var(--c-peach); padding-left: 6px; text-decoration: none; }
.foot .contact-block { font-size: 14px; color: var(--c-on-dark); line-height: 1.7; }
.foot .contact-block .lbl { color: var(--c-peach); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 3px; }
.foot .contact-block a { color: var(--c-on-dark); text-decoration: none; }
.foot .contact-block a:hover { color: var(--c-peach); }
.foot .socials { display: flex; gap: 12px; margin-top: var(--sp-3); }
.foot .socials a {
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(252, 246, 232, 0.08); display: grid; place-items: center;
  color: var(--c-cream-soft); border: 1px solid rgba(244, 236, 218, 0.18);
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.foot .socials a:hover { background: var(--c-coral); border-color: var(--c-coral); color: #fff; transform: scale(1.1); }
.foot .socials svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.foot-bottom {
  border-top: 1px solid rgba(244, 236, 218, 0.12);
  margin-top: var(--sp-8); padding-top: var(--sp-5);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  font-size: 12px; color: var(--c-on-dark-muted); flex-wrap: wrap;
}
.foot-bottom a { color: var(--c-on-dark-muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--c-peach); }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-6); } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
