/*
Theme Name: Oppenlaender Blue Child (v3)
Template: hello-elementor
Version: 2.4.4
Description: Bestehendes blau-goldenes Design mit responsiven Inhalts- und Galeriebausteinen.
*/

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/roboto.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nothing You Could Do";
  src: url("assets/fonts/nothing-you-could-do.ttf") format("truetype");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --obc-blue: #123f73;
  --obc-light-blue: #2d78a7;
  --obc-gold: #c59a45;
  --obc-red: #a3372f;
  --obc-ink: #132034;
  --obc-muted: #5f6875;
  --obc-paper: #f7f5ef;
  --obc-line: rgba(19, 32, 52, .16);
}

body {
  letter-spacing: 0;
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    var(--e-global-color-4baf461, #123f73) 19%,
    var(--e-global-color-2a95165, #071c35) 46%
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

body > .elementor,
.site-main,
#content {
  background: transparent;
}

body.home #site-header,
body.home .site-header,
body.page:not(.home) #site-header,
body.page:not(.home) .site-header {
  display: none !important;
}

body.page:not(.home) .page-header {
  display: none !important;
}

body.page:not(.home):not([class*="elementor-page-"]) .site-main {
  max-width: none !important;
  padding: 0 !important;
}

body.page:not(.home) .page-content {
  margin: 0;
}

body.page-id-1225137 {
  background-image:
    linear-gradient(180deg, rgba(8, 20, 39, .82), rgba(8, 20, 39, .72)),
    url("/wp-content/themes/oppenlaender-blue-child-v3/assets/original/bilder/kritzeleien/original/20210320_6_Ubi-lumen-ibi-spes_Acryl-(30-x-30-cm)_TO2021_6.jpg") !important;
  background-attachment: fixed, fixed !important;
  background-position: center center !important;
  background-size: cover !important;
}

body.home .elementor-1153783 .elementor-element-2b4ad5c,
body.home .elementor-1153783 .elementor-element-862fafc,
body.home .elementor-1153783 .elementor-element-d3e56ed,
body.home .elementor-1153783 .elementor-element-4de875f,
body.home .elementor-1153783 .elementor-element-2b86e33,
body.home .elementor-1153783 .elementor-element-2ac2923,
body.home .elementor-1153783 .elementor-element-4acfd14 {
  display: none !important;
}

.obc-home-design-head {
  width: 100%;
}

.color-stripes {
  display: grid;
  grid-template-columns: 1.2fr .9fr .7fr 1fr;
  height: 10px;
  background: linear-gradient(90deg, var(--obc-blue), var(--obc-light-blue), var(--obc-gold), var(--obc-red));
}

.gold-nav-wrap {
  padding: 12px clamp(16px, 4vw, 48px);
  background: #123f73;
}

.gold-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gold-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 6px;
  color: #fff;
  background: rgba(197, 154, 69, .18);
  border: 1px solid rgba(197, 154, 69, .4);
  font-weight: 700;
  text-decoration: none;
}

.gold-nav a:hover,
.gold-nav a:focus {
  background: var(--obc-gold);
  color: #10233f;
}

.obc-design-head {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 clamp(22px, 4vw, 36px);
  color: var(--e-global-color-3521e1d, #f1f5fb);
  overflow: visible;
}

.obc-color-bands {
  display: grid;
  grid-template-rows: 15px 15px 15px 15px 25px;
  width: 100%;
  height: 85px;
}

.obc-color-bands span:nth-child(1) { background: #d4a943; }
.obc-color-bands span:nth-child(2) { background: #a9473b; }
.obc-color-bands span:nth-child(3) { background: #76546b; }
.obc-color-bands span:nth-child(4) { background: #b02c69; }
.obc-color-bands span:nth-child(5) { background: #0b5b8b; border-bottom: 1px solid rgba(0, 0, 0, .35); }

.obc-corner-art {
  position: absolute;
  left: 14px;
  top: 8px;
  z-index: 5;
  width: clamp(96px, 10vw, 150px);
  overflow: hidden;
  border-radius: 14px;
}

.obc-corner-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .32);
}

.obc-corner-art span {
  position: absolute;
  left: 63%;
  top: 44%;
  z-index: 2;
  color: #ffe45e;
  font-family: "Roboto", Sans-serif;
  font-size: clamp(.48rem, .68vw, .7rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .75), 0 0 6px rgba(255, 228, 94, .55);
  transform: translate(-50%, -50%) rotate(33deg);
  white-space: nowrap;
  pointer-events: none;
}

.obc-brand-row {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 620px) 1fr;
  align-items: center;
  gap: clamp(18px, 5vw, 74px);
  max-width: 1180px;
  min-height: 210px;
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 48px) 0;
}

.obc-brand-title {
  grid-column: 2;
  text-align: center;
}

.obc-brand-portrait {
  grid-column: 3;
  justify-self: center;
}

.obc-brand-portrait img {
  width: clamp(138px, 15vw, 192px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}

.obc-brand-title h1 {
  margin: 0;
  color: var(--e-global-color-3521e1d, #f1f5fb);
  font-family: "Roboto", Sans-serif;
  font-size: clamp(2.25rem, 3.2vw, 3.3rem);
  font-weight: 400;
  line-height: 1.1;
}

.obc-secret-o,
.obc-secret-o:hover,
.obc-secret-o:focus {
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-shadow: inherit !important;
}

.obc-brand-title p {
  margin: 30px 0 0;
  color: var(--e-global-color-3521e1d, #f1f5fb);
  font-family: "Nothing You Could Do", Sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
}

.obc-main-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 4vw, 58px);
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 clamp(18px, 4vw, 46px);
}

.obc-main-buttons .obc-nav-item:nth-child(2) {
  margin-right: clamp(90px, 14vw, 318px);
}

.obc-nav-item {
  position: relative;
  display: inline-flex;
}

.obc-main-buttons a,
.obc-nav-item > a {
  color: var(--e-global-color-72cf707, #e39b50);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  min-height: 40px;
  padding: 6px 10px;
  font-family: "Roboto", Sans-serif;
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
  font-weight: 500;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, text-shadow .18s ease;
}

.obc-main-buttons a:hover,
.obc-main-buttons a:focus,
.obc-main-buttons a.is-active,
.obc-nav-item:hover > a,
.obc-nav-item:focus-within > a {
  color: #ffd485;
  border-color: rgba(255, 212, 133, .72);
  background: rgba(227, 155, 80, .16);
  box-shadow: 0 0 0 1px rgba(255, 212, 133, .2), 0 0 18px rgba(227, 155, 80, .5);
  text-shadow: 0 0 12px rgba(255, 212, 133, .72);
}

.obc-submenu {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  z-index: 30;
  display: grid;
  min-width: 290px;
  padding: 10px;
  background: rgba(9, 25, 48, .96);
  border: 1px solid rgba(227, 155, 80, .35);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease;
}

.obc-nav-item:hover .obc-submenu,
.obc-nav-item:focus-within .obc-submenu,
.obc-nav-item.is-open .obc-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.obc-submenu a {
  justify-content: flex-start;
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  font-size: .98rem;
  border-radius: 6px;
}

.obc-admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: auto;
  padding: clamp(16px, 4vw, 42px);
  background: rgba(4, 12, 24, .88);
}

.obc-admin-panel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
  color: #f4f7fb;
  background: rgba(9, 25, 48, .98);
  border: 1px solid rgba(227, 155, 80, .38);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
  font-family: "Roboto", Sans-serif;
}

.obc-admin-close {
  position: absolute;
  top: 12px;
  right: 14px;
  color: #e39b50;
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
}

.obc-admin-panel h2,
.obc-admin-panel h3 {
  color: #f4f7fb;
}

.obc-admin-form {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(227, 155, 80, .22);
  border-radius: 8px;
}

.obc-admin-form label {
  display: grid;
  gap: 5px;
  color: #f4f7fb;
}

.obc-admin-form input,
.obc-admin-form select {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  color: #10233f;
  background: #fff;
  border: 1px solid rgba(19, 32, 52, .22);
  border-radius: 4px;
}

.obc-admin-form button {
  justify-self: start;
  min-height: 40px;
  padding: 8px 14px;
  color: #10233f;
  background: #e39b50;
  border: 1px solid rgba(255, 212, 133, .55);
  border-radius: 6px;
  font-weight: 700;
}

.obc-admin-row {
  display: grid;
  gap: 10px;
}

.obc-admin-art {
  display: grid;
  grid-template-columns: 90px repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.obc-admin-art img {
  width: 90px;
  height: 70px;
  object-fit: contain;
  background: rgba(255, 255, 255, .08);
}

.obc-admin-delete {
  align-self: center;
}

.obc-admin-delete input {
  width: auto;
  min-height: auto;
}

.obc-back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #e39b50;
  background: rgba(9, 25, 48, .78);
  border: 1px solid rgba(227, 155, 80, .45);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 212, 133, .12), 0 0 14px rgba(227, 155, 80, .28);
  font-family: "Roboto", Sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255, 212, 133, .42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, text-shadow .18s ease, transform .18s ease, opacity .18s ease;
}

.obc-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.obc-back-to-top:hover,
.obc-back-to-top:focus {
  color: #ffd485;
  background: rgba(227, 155, 80, .16);
  border-color: rgba(255, 212, 133, .72);
  box-shadow: 0 0 0 1px rgba(255, 212, 133, .2), 0 0 18px rgba(227, 155, 80, .5);
  text-shadow: 0 0 12px rgba(255, 212, 133, .72);
  transform: translateY(-2px);
}

.obc-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 32px);
  color: var(--e-global-color-3521e1d, #f4f7fb);
  font-family: "Roboto", Sans-serif;
  font-size: 21px;
  line-height: 30px;
}

.obc-content h1,
.obc-content h2,
.obc-content h3 {
  letter-spacing: 0;
  line-height: 1.18;
}

.obc-content h1 {
  color: var(--e-global-color-3521e1d, #f4f7fb);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-family: "Roboto", Sans-serif;
  font-weight: 400;
  text-align: center;
}

.obc-content h2 {
  margin-top: 42px;
  color: var(--e-global-color-3521e1d, #f4f7fb);
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  font-family: "Roboto", Sans-serif;
  font-weight: 600;
}

.obc-kicker {
  display: none;
}

.obc-lede {
  max-width: 880px;
  margin-inline: auto;
  color: var(--e-global-color-3521e1d, #f4f7fb);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  text-align: center;
}

.obc-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 4px;
  justify-content: center;
}

.obc-topic-nav a,
.obc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 750;
}

.obc-topic-nav a {
  color: var(--e-global-color-72cf707, #e39b50);
  background: transparent;
  border: 1px solid rgba(227, 155, 80, .35);
}

.obc-button {
  color: #10233f;
  background: var(--obc-gold);
  border: 1px solid rgba(19, 32, 52, .15);
}

.obc-gallery-section {
  scroll-margin-top: 90px;
  padding-top: 18px;
}

.obc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.obc-art-card {
  margin: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.obc-art-card a {
  display: block;
  background: transparent;
}

.obc-art-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
}

.obc-art-card figcaption {
  padding: 11px 4px 18px;
  color: var(--e-global-color-3521e1d, #f4f7fb);
  font-size: .94rem;
  line-height: 1.45;
  text-align: center;
}

.obc-image-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 26px 0;
}

.obc-image-row figure,
.obc-text-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.obc-image-row figure {
  margin: 0;
  overflow: hidden;
}

.obc-image-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.obc-image-row figcaption {
  padding: 13px 14px 16px;
  color: var(--e-global-color-3521e1d, #f4f7fb);
  font-size: .94rem;
}

.obc-text-panel {
  padding: clamp(22px, 4vw, 42px);
  color: var(--e-global-color-3521e1d, #f4f7fb);
}

.obc-text-panel a,
.obc-content a {
  color: var(--e-global-color-72cf707, #e39b50);
}

.obc-text-panel strong {
  color: var(--e-global-color-3521e1d, #f4f7fb);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(8, 16, 24, .88);
}

.lightbox.is-visible {
  display: flex;
  flex-direction: column;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 82vh;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.lightbox p {
  max-width: min(900px, 92vw);
  color: #fff;
  text-align: center;
}

.lightbox button {
  position: fixed;
  top: clamp(34px, 5vh, 58px);
  right: clamp(18px, 3vw, 34px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 32px;
  line-height: 0;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

@media (max-width: 900px) {
  .obc-gallery-grid,
  .obc-image-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .obc-admin-art {
    grid-template-columns: 90px 1fr;
  }
}

@media (max-width: 620px) {
  .gold-nav {
    justify-content: stretch;
  }

  .gold-nav li,
  .gold-nav a,
  .obc-topic-nav a {
    width: 100%;
  }

  .obc-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 330px);
  }

  .obc-gallery-grid,
  .obc-image-row {
    grid-template-columns: 1fr;
  }

  .obc-brand-row {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-top: 28px;
  }

  .obc-brand-title,
  .obc-brand-portrait {
    grid-column: 1;
    justify-self: center;
  }

  .obc-main-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 0 18px;
  }

  .obc-main-buttons .obc-nav-item:nth-child(2) {
    margin-right: 0;
  }

  .obc-main-buttons .obc-nav-item:nth-child(1) {
    order: 2;
  }

  .obc-main-buttons .obc-nav-item:nth-child(2) {
    order: 3;
  }

  .obc-main-buttons .obc-nav-item:nth-child(3) {
    order: 1;
  }

  .obc-main-buttons .obc-nav-item:nth-child(4) {
    order: 4;
  }

  .obc-main-buttons .obc-nav-item:nth-child(5) {
    order: 5;
  }

  .obc-main-buttons a {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .obc-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    display: none;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transform: none;
    margin: 6px auto 10px;
    padding: 8px;
    background: rgba(9, 25, 48, .92);
    border-color: rgba(227, 155, 80, .28);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
  }

  .obc-nav-item.is-open .obc-submenu {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .obc-submenu a {
    width: 100%;
    min-height: 32px;
    padding: 6px 8px;
    justify-content: center;
    font-size: .95rem;
    line-height: 1.2;
    white-space: normal;
  }
}
