/* ============ NRPieceS Footer Styles (no circles) ============ */
:root{
  --footer-bg: #DBB173;
  --ink:       #1B1B1B;
    --footer-gap: 150px;

  /* Innenbreite & Ränder */
  --inner-max: 1560px;
  --right-pad: clamp(24px, 5vw, 72px);
  --left-offset: clamp(40px, 8vw, 140px);

  /* Buttons – fixe Größe (immer gleich groß) */
  --cta-w: 180px;
  --cta-h: 56px;

  /* Abstand des linken Blocks von oben (Buttons+Lizenz) */
  --top-gap: 44px;
}

/* ===== Grundcontainer ===== */
.nrp-footer{
  position: relative;
  z-index: 10;
  overflow: visible;
  background: var(--footer-bg);
  color: var(--ink);
  padding: 48px 32px 36px;
  box-shadow: inset 0px 6px 5px -1px #0000001f;
}

.nrp-footer__inner{
  max-width: var(--inner-max);
  margin: 0 auto;
  display: flex;
  grid-template-columns: 1.7fr 1fr;
  align-items: start;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: space-around;
}

/* ===== linke Seite ===== */
.left-block{
  margin-top: var(--top-gap);        /* Buttons+Lizenz weiter unten */
  margin-left: var(--left-offset);
}
.left-content{ max-width: 60ch; }

/* Buttons: immer gleiche Größe, unabhängig vom Text */
.cta-row{
  display: grid;
  grid-template-columns: repeat(4, var(--cta-w));
  grid-auto-rows: var(--cta-h);
  gap: 18px;
  justify-content: start;
  margin: 0 0 24px;
}
.cta{
  display: grid;
  place-items: center;
  inline-size: var(--cta-w);
  block-size: var(--cta-h);
  border-radius: 14px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity .15s ease;
}

/* Hover/Focus: leicht gedrückt */
.cta:is(:hover, :focus-visible){
  transform: scale(0.95) translateY(2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.20);
  opacity: .96;
  cursor: pointer;
  outline: none;
}

/* Active: stärker gedrückt */
.cta:active{
  transform: scale(0.92) translateY(3px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.20);
}
/* Button-Farben */
.cta:nth-child(1){ background:#7C4A73; }
.cta:nth-child(2){ background:#5C8675; }
.cta:nth-child(3){ background:#B64C56; }
.cta:nth-child(4){ background:#C8942B; }

/* Typo */
.nrp-footer p, .nrp-footer a, .nrp-footer address{
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}
.nrp-footer .license p{ margin: 0 0 10px; }
.nrp-footer .license a{ text-decoration: underline; color: inherit; }

/* Lizenz-Abstand (deutlich weiter unten als Buttons) */
.license-desktop{ 
  display:block;
  margin-top: 72px;   /* ↑ Abstand zu den Buttons vergrößert */
  width: max-content;
}
.license-mobile { display: none; }

/* ===== rechte Seite ===== */
.nrp-footer__right{
  position: relative;               /* Anker für mobile Socials unten rechts */
  justify-self: end;
  text-align: right;

}

/* Desktop: Logo über Adresse (mobil nebeneinander per .brand-row) */
.brand-row{ display: block; }
.brand{
  width: 170px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-bottom: 12px;
}
.addr{ font-style: normal; margin: 10px 0 14px; }

/* Socials – flach */
.social{
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
}
.social a{ display: inline-grid; place-items: center; text-decoration: none; }
.social img{
  width: 24px;
  height: auto;                /* keine Verzerrung */
  object-fit: contain;
  image-rendering: auto;
}

#email-icon {
  padding-top: 4px;
}

/* Gudrun unten links (immer sichtbar) */
.gudrun{
  position: absolute;
  left: 20px;
  bottom: 16px;
  width: 58px;
  height: auto;
  pointer-events: none;
}

/* ============ Responsive ============ */
@media (max-width: 1100px){
  .brand{ width: 150px; }
}

@media (max-width: 960px){
  /* Buttons kleiner, 2×2 */
  :root{ --cta-w: 160px; --cta-h: 48px; }

  .nrp-footer__inner{
    grid-template-columns: 1fr;
    gap: 28px;
    padding-right: 16px;
  }

  /* Logo links neben Adresse */
  .brand-row{
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .brand{ width: 200px; margin: 0; }
  .addr{ text-align: left; margin: 0; }

  /* Socials ganz unten rechts (absolut) */
  .nrp-footer__right{
    padding-bottom: 56px;   /* Platz für Icons am Boden */
  }
  .social{
    position: absolute;
    right: 16px;
    bottom: 8px;
    justify-content: flex-end;
  }

  /* Buttons 2×2, mittig */
  .cta-row{
    grid-template-columns: repeat(2, var(--cta-w));
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
  }


  /* Lizenz: mobile-Version linksbündig unter Brand/Adresse
     und weiter unten als zuvor */
  .license-desktop{ display: none; }
  .license-mobile{
    display: block;
    margin-top: 28px;       /* ↑ Abstand zu Buttons vergrößert */
    max-width: 60ch;
    text-align: left;
  }

  /* Gudrun bleibt sichtbar links unten, etwas kleiner */
  .gudrun{
    left: 12px;
    bottom: 12px;
    width: 48px;
  }

  /* Footer kompakter */
  .nrp-footer{ padding: 40px 20px 28px; }

}


@media (max-width: 520px){
  :root{ --cta-w: 148px; --cta-h: 46px; }
  .brand{ width: 190px; }


    .cta-row { grid-template-columns: 1fr; }
    }



.footer-circle {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius:50%;
  top: 0;                        /* an die Oberkante */
  /*transform: translateY(-75%);   /* Mittelpunkt liegt auf der Kante */
  z-index: 2;
  pointer-events: none;          /* nicht anklickbar */
}

#footer-circle-1 {
  background: #dcb173;
  left: 10em;
  box-shadow: inset 0px 6px 5px -1px #0000001f;
    transform: translateY(-70%);
}

#footer-circle-2 {
  background: #f0ebd5;
  left: 50%;
  box-shadow: 0px 6px 5px -1px #0000001f;
    transform: translateY(-40%);
}
#footer-circle-3 {
  background: #dcb173;
  right: 10em;
  box-shadow: inset 0px 6px 5px -1px #0000001f;
    transform: translateY(-75%);
}

.footer-rectangle {
    position: absolute;
    width: 42.5px;
    height: 20px;
    top: 0;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1100px) {
  .footer-rectangle, #footer-circle-3 {
    visibility: hidden;
  }
  #footer-circle-1 {
    left: 25%;
  }
  #footer-circle-2 {
    left: unset;
    right: 25%;
  }
}

#footer-rectangle-1 {
    background: #dcb173;
    left: 10.25em;
}
#footer-rectangle-2 {
    background: #dcb173;
    right: 10.25em;
}