/*
Theme Name: Draußen wird's gehen
Description: Persönliches Enfold-Child-Theme für Lea.
Template: enfold
Version: 1.4.2
Text Domain: draussenwirdsgehen
*/

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
}

:root {
  --dwg-forest: #27362b;
  --dwg-sand: #fefbf8;
  --dwg-rust: #a4472d;
  --dwg-font: "Atkinson Hyperlegible Next", Arial, sans-serif;
  --dwg-radius: 22px;
  --dwg-shadow: 0 18px 50px rgba(39, 54, 43, 0.14);
}

html { scroll-behavior: smooth; }

body,
body .avia_textblock,
body p {
  color: var(--dwg-forest);
  font-family: var(--dwg-font);
  font-size: 18px;
  line-height: 1.72;
}

#top #wrap_all,
#top #wrap_all p,
#top #wrap_all li,
#top #wrap_all label,
#top #wrap_all input,
#top #wrap_all select,
#top #wrap_all textarea,
#top #wrap_all button,
#top #wrap_all .main_menu,
#top #wrap_all #footer,
#top #wrap_all #socket {
  font-family: var(--dwg-font) !important;
}

body button,
body input,
body select,
body textarea,
body .main_menu,
body #footer,
body #socket {
  font-family: var(--dwg-font);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: var(--dwg-font);
  font-weight: 500;
  text-transform: none !important;
}

#top #wrap_all h1,
#top #wrap_all h2,
#top #wrap_all h3,
#top #wrap_all h4,
#top #wrap_all h5,
#top #wrap_all h6 {
  font-family: var(--dwg-font) !important;
  font-weight: 500;
  text-transform: none !important;
}

.dwg-skip-link {
  background: var(--dwg-rust);
  border-radius: 0 0 10px 10px;
  color: var(--dwg-sand) !important;
  font-family: var(--dwg-font);
  font-weight: 500;
  left: 16px;
  padding: 12px 18px;
  position: fixed;
  top: -120px;
  z-index: 100000;
}

.dwg-skip-link:focus {
  outline: 3px solid var(--dwg-forest);
  outline-offset: 3px;
  top: 0;
}

body,
body #main,
body .main_color,
body .alternate_color,
body .container_wrap {
  background-color: var(--dwg-sand);
}

body a { color: var(--dwg-rust); }
body a:hover { color: var(--dwg-forest); }

body .container_wrap,
body .main_color,
body .alternate_color {
  border: 0;
}

#header,
#header_main {
  background: var(--dwg-sand);
  border: 0;
  box-shadow: 0 1px 0 rgba(39, 54, 43, 0.1);
}

#header .header_bg { background: var(--dwg-sand); }

#header_meta {
  background: var(--dwg-forest);
  border: 0;
  min-height: 36px;
}

#header_meta .container {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-height: 36px;
}

#header_meta .sub_menu {
  align-items: center;
  display: flex;
  float: none;
  top: auto;
}

.dwg-social-strip {
  align-items: center;
  color: var(--dwg-sand);
  display: flex;
  font-size: 0.82rem;
  gap: 14px;
  line-height: 1;
  min-height: 36px;
}

.dwg-social-strip__intro {
  color: rgba(254, 251, 248, 0.82);
}

.dwg-social-strip__item {
  align-items: center;
  color: var(--dwg-sand) !important;
  display: inline-flex;
  gap: 6px;
  text-decoration: none;
}

.dwg-social-strip__item--soon {
  cursor: default;
}

.dwg-social-strip__icon {
  display: block;
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 15px;
}

.dwg-social-strip__icon--brand {
  fill: currentColor;
  stroke: none;
}

.dwg-social-strip__icon-dot {
  fill: currentColor;
  stroke: none;
}

.dwg-social-strip__mark {
  align-items: center;
  border: 1px solid rgba(254, 251, 248, 0.72);
  border-radius: 50%;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 500;
  height: 23px;
  justify-content: center;
  width: 23px;
}

.logo a {
  align-items: center;
  display: flex;
  text-decoration: none;
}

.logo .dwg-full-logo {
  height: 106px;
  max-height: 106px;
  object-fit: contain;
  width: 106px;
}

.main_menu ul:first-child > li > a {
  color: var(--dwg-forest);
  font-weight: 500;
}

.main_menu ul:first-child > li.current-menu-item > a,
.main_menu ul:first-child > li > a:hover {
  color: var(--dwg-rust);
}

.dwg-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 28px;
}

.dwg-hero {
  background:
    linear-gradient(90deg, rgba(254, 251, 248, 0.98) 0%, rgba(254, 251, 248, 0.9) 34%, rgba(254, 251, 248, 0.28) 66%, rgba(254, 251, 248, 0.04) 100%),
    url("assets/images/dwg-startbild-kueste-web.jpg") center / cover no-repeat;
  align-items: center;
  display: flex;
  min-height: clamp(600px, 68vw, 760px);
  overflow: hidden;
  padding: clamp(72px, 10vw, 138px) 0 clamp(70px, 9vw, 120px);
  position: relative;
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

.dwg-hero::after {
  background: var(--dwg-rust);
  border-radius: 999px;
  content: "";
  height: 10px;
  left: 0;
  opacity: 0.9;
  position: absolute;
  right: 42%;
  transform: rotate(-2deg);
  bottom: 25px;
}

.dwg-eyebrow {
  color: var(--dwg-rust);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  text-transform: none;
}

.dwg-hero h1 {
  color: var(--dwg-forest);
  font-size: clamp(3.4rem, 8.8vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.91;
  margin: 0;
  max-width: 680px;
}

.dwg-hero h1 span {
  color: var(--dwg-rust);
  display: block;
}

.dwg-hero__lead {
  font-size: clamp(1.22rem, 2.4vw, 1.65rem);
  font-weight: 500;
  line-height: 1.42;
  margin: 34px 0 0;
  max-width: 740px;
}

.dwg-hero__note {
  background: var(--dwg-forest);
  border-radius: 999px;
  color: var(--dwg-sand);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 30px;
  padding: 12px 18px;
  transform: rotate(-1deg);
}

.dwg-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.dwg-section--tint {
  background: linear-gradient(135deg, rgba(39, 54, 43, 0.06), rgba(164, 71, 45, 0.05));
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

.home .container_wrap_first .content {
  padding-bottom: 0;
  padding-top: 0;
}

/* Enfold's default page sidebar obscured wide content and the start image. */
.page .sidebar {
  display: none;
}

.archive .sidebar,
.blog .sidebar {
  display: none;
}

.page .content {
  border: 0;
  float: none;
  width: 100%;
}

.archive .content,
.blog .content {
  border: 0;
  float: none;
  width: 100%;
}

.page .container_wrap_first > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.page:not(.home) .container_wrap_first .entry-content-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
  padding-left: 28px;
  padding-right: 28px;
}

.home .title_container { display: none; }

/* These topic pages already carry their own, more expressive H1. */
.page-id-5 .title_container,
.page-id-6 .title_container,
.page-id-7 .title_container,
.page-id-8 .title_container {
  display: none;
}

.dwg-kicker {
  color: var(--dwg-rust);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  text-transform: none;
}

.dwg-section h2 {
  color: var(--dwg-forest);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 0 0 26px;
  max-width: 920px;
}

.dwg-intro {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  max-width: 800px;
}

.dwg-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.dwg-card {
  background: var(--dwg-sand);
  border: 1px solid rgba(39, 54, 43, 0.13);
  border-radius: var(--dwg-radius);
  box-shadow: var(--dwg-shadow);
  color: var(--dwg-forest);
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dwg-card:hover,
.dwg-card:focus-visible {
  box-shadow: 0 24px 60px rgba(39, 54, 43, 0.2);
  transform: translateY(-6px) rotate(-0.4deg);
}

.dwg-card__number {
  color: var(--dwg-rust);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.dwg-card h2,
.dwg-card h3 {
  color: var(--dwg-forest);
  font-size: 1.85rem;
  font-weight: 500;
  hyphens: auto;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 40px 0 16px;
  max-width: 100%;
  overflow-wrap: break-word;
}

.dwg-card p { color: rgba(39, 54, 43, 0.82); }

.dwg-card__link {
  color: var(--dwg-rust);
  font-weight: 500;
  margin-top: auto;
}

.dwg-quote {
  background: var(--dwg-forest);
  border-radius: calc(var(--dwg-radius) + 8px);
  box-shadow: var(--dwg-shadow);
  color: var(--dwg-sand);
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0;
  padding: clamp(34px, 6vw, 74px);
  position: relative;
}

.dwg-quote strong {
  color: var(--dwg-sand);
  text-decoration: underline;
  text-decoration-color: var(--dwg-rust);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.12em;
}

.dwg-signoff {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.dwg-signoff__dot {
  align-items: center;
  background: var(--dwg-rust);
  border-radius: 50%;
  color: var(--dwg-sand);
  display: inline-flex;
  font-size: 1.45rem;
  font-weight: 500;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.dwg-button {
  background: var(--dwg-rust);
  border-radius: 999px;
  color: var(--dwg-sand) !important;
  display: inline-block;
  font-weight: 500;
  margin-top: 24px;
  padding: 14px 22px;
  text-decoration: none;
}

.dwg-button:hover,
.dwg-button:focus-visible { background: var(--dwg-forest); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--dwg-rust);
  outline-offset: 4px;
}

#footer,
#socket,
.footer_color,
.socket_color {
  background: var(--dwg-sand) !important;
  border: 0;
  color: var(--dwg-forest);
}

#socket { border-top: 3px solid var(--dwg-rust); }

#footer,
#footer p,
#footer h3,
#socket,
#socket .copyright {
  color: var(--dwg-forest);
}

#footer a,
#socket a { color: var(--dwg-rust); }

#footer a:hover,
#socket a:hover { color: var(--dwg-forest); }

#socket,
#socket .copyright,
#socket .sub_menu_socket a {
  font-size: 1rem;
}

#socket .sub_menu_socket a {
  display: inline-block;
  padding-bottom: 12px;
  padding-top: 12px;
}

.menu-item-search-dropdown > a,
.av-burger-menu-main > a {
  min-width: 44px;
}

/* The four automatic demo-widget columns are intentionally not used. */
#footer { display: none; }

/* Einheitliche Beitragsansicht */
.single-post .title_container,
.single-post .sidebar,
.single-post .comment-entry,
.single-post .av-social-sharing-box {
  display: none;
}

.single-post .dwg-post-wrap {
  background: var(--dwg-sand);
}

.single-post .dwg-post-container {
  max-width: 1180px;
  padding: 0 28px;
}

.single-post .dwg-post-main {
  border: 0;
  float: none;
  padding: 0;
  width: 100%;
}

.dwg-post-header {
  margin: 0 auto;
  max-width: 920px;
  padding: clamp(68px, 9vw, 116px) 0 clamp(38px, 6vw, 64px);
  text-align: center;
}

.dwg-post-topics {
  color: var(--dwg-rust);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.dwg-post-topics a {
  color: inherit;
  text-decoration: none;
}

.dwg-post-header h1 {
  color: var(--dwg-forest);
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  font-weight: 500;
  hyphens: none;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.dwg-post-lead {
  font-size: clamp(1.18rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  margin: 30px auto 0;
  max-width: 760px;
}

.dwg-post-meta {
  align-items: center;
  color: rgba(39, 54, 43, 0.72);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 9px;
  justify-content: center;
  margin-top: 28px;
}

.dwg-post-image {
  margin: 0 0 clamp(44px, 7vw, 78px);
}

.dwg-post-image img {
  border-radius: calc(var(--dwg-radius) + 8px);
  box-shadow: var(--dwg-shadow);
  display: block;
  height: auto;
  max-height: 720px;
  object-fit: cover;
  width: 100%;
}

.dwg-post-image figcaption,
.dwg-post-content figcaption {
  color: rgba(39, 54, 43, 0.72);
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}

.dwg-post-content {
  font-size: 19px;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 780px;
}

.dwg-post-content > p:first-child,
.dwg-post-content > .has-large-font-size:first-child {
  font-size: clamp(1.2rem, 2.2vw, 1.48rem) !important;
  line-height: 1.58;
}

.dwg-post-content h2 {
  color: var(--dwg-forest);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.12;
  margin: 2.2em 0 0.65em;
}

.dwg-post-content h3 {
  color: var(--dwg-forest);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.2;
  margin: 1.9em 0 0.55em;
}

.dwg-post-content a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.dwg-post-content blockquote,
.dwg-post-content .is-style-dwg-praxisbox {
  background: rgba(39, 54, 43, 0.07);
  border: 0;
  border-left: 6px solid var(--dwg-rust);
  border-radius: 0 var(--dwg-radius) var(--dwg-radius) 0;
  color: var(--dwg-forest);
  margin: 2.4em 0;
  padding: 24px 28px;
}

.dwg-post-content blockquote p:last-child,
.dwg-post-content .is-style-dwg-praxisbox > :last-child {
  margin-bottom: 0;
}

.dwg-post-content img {
  border-radius: var(--dwg-radius);
}

.dwg-post-tags {
  color: var(--dwg-rust);
  margin: 0 auto 28px;
  max-width: 780px;
}

.dwg-post-tags a {
  color: inherit;
}

.dwg-post-footer {
  margin: clamp(58px, 9vw, 100px) auto 0;
  max-width: 780px;
}

.dwg-post-signoff {
  align-items: center;
  background: var(--dwg-forest);
  border-radius: calc(var(--dwg-radius) + 4px);
  color: var(--dwg-sand);
  display: flex;
  gap: 20px;
  padding: 25px 28px;
}

.dwg-post-signoff p {
  color: var(--dwg-sand);
  margin: 0;
}

.dwg-post-signoff__mark {
  align-items: center;
  background: var(--dwg-rust);
  border-radius: 50%;
  color: var(--dwg-sand);
  display: inline-flex;
  flex: 0 0 54px;
  font-size: 1.35rem;
  font-weight: 500;
  height: 54px;
  justify-content: center;
}

.dwg-post-signoff .dwg-post-signoff__name {
  font-weight: 500;
  margin-bottom: 3px;
}

.dwg-post-navigation {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 44px 0 clamp(72px, 10vw, 118px);
}

.dwg-post-navigation > div:empty {
  display: none;
}

.dwg-post-navigation a {
  background: rgba(39, 54, 43, 0.06);
  border-radius: var(--dwg-radius);
  color: var(--dwg-forest);
  display: block;
  height: 100%;
  padding: 22px 24px;
  text-decoration: none;
}

.dwg-post-navigation a:hover,
.dwg-post-navigation a:focus-visible {
  background: rgba(164, 71, 45, 0.1);
}

.dwg-post-navigation span {
  color: var(--dwg-rust);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.dwg-post-navigation strong {
  color: var(--dwg-forest);
  font-weight: 500;
}

.dwg-post-navigation__next {
  text-align: right;
}

.dwg-checklist {
  list-style: none;
  margin: 1.3em 0 2.1em;
  padding: 0;
}

.dwg-checklist li {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.dwg-checklist li::marker {
  content: "";
}

.dwg-checklist label {
  align-items: start;
  background: rgba(39, 54, 43, 0.055);
  border: 1px solid rgba(39, 54, 43, 0.13);
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 26px minmax(0, 1fr);
  min-height: 58px;
  padding: 15px 17px;
}

.dwg-checklist label:hover {
  background: rgba(164, 71, 45, 0.07);
  border-color: rgba(164, 71, 45, 0.3);
}

.dwg-checklist input[type="checkbox"] {
  accent-color: var(--dwg-rust);
  height: 24px;
  margin: 4px 0 0;
  width: 24px;
}

.dwg-checklist input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--dwg-focus);
  outline-offset: 3px;
}

.dwg-checklist span,
.dwg-checklist strong {
  display: block;
}

.dwg-checklist strong {
  color: var(--dwg-forest);
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 2px;
}

.dwg-checklist input[type="checkbox"]:checked + span {
  opacity: 0.68;
}

.dwg-checklist input[type="checkbox"]:checked + span strong {
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
}

@media (max-width: 900px) {
  body,
  #top #wrap_all p,
  #top #wrap_all li,
  #top #wrap_all label,
  #top #wrap_all input,
  #top #wrap_all select,
  #top #wrap_all textarea,
  #top #wrap_all button {
    font-size: 20px;
    line-height: 1.65;
  }

  .dwg-grid { grid-template-columns: 1fr; }
  .dwg-card { min-height: 260px; }
  .dwg-hero h1 { font-size: clamp(3.25rem, 15vw, 5.4rem); }
  .dwg-post-header h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
  .dwg-post-content > p:first-child,
  .dwg-post-content > .has-large-font-size:first-child {
    font-size: 1.3rem !important;
  }
  .dwg-post-topics a {
    align-items: center;
    display: inline-flex;
    min-height: 46px;
  }
  .dwg-eyebrow,
  .dwg-kicker,
  .dwg-card__number,
  .dwg-post-topics,
  .dwg-post-meta {
    font-size: 1rem;
  }

  #header_meta,
  #header_meta .container,
  .dwg-social-strip {
    min-height: 44px;
  }

  #header_meta .container { justify-content: center; }
  .dwg-social-strip {
    gap: 12px;
  }
  .dwg-social-strip__intro,
  .dwg-social-strip__item span:last-child { display: none; }
  .dwg-social-strip__mark {
    font-size: 0.72rem;
    height: 32px;
    width: 32px;
  }

  #socket,
  #socket .copyright,
  #socket .sub_menu_socket a {
    font-size: 18px;
    line-height: 20px !important;
  }

  #socket .sub_menu_socket a {
    align-items: center;
    display: inline-flex;
    min-height: 46px;
  }

  #socket .sub_menu_socket a {
    min-height: 44px;
    padding-bottom: 12px;
    padding-top: 12px;
  }
}

@media (max-width: 600px) {
  .dwg-shell { padding: 0 20px; }
  .dwg-hero {
    background:
      linear-gradient(90deg, rgba(254, 251, 248, 0.96) 0%, rgba(254, 251, 248, 0.82) 100%),
      url("assets/images/dwg-startbild-kueste-web.jpg") 68% center / cover no-repeat;
    min-height: 610px;
    padding-top: 58px;
  }
  .dwg-hero__note { border-radius: 16px; }
  .logo .dwg-full-logo {
    height: 74px;
    max-height: 74px;
    width: 74px;
  }


  .single-post .dwg-post-container { padding: 0 20px; }
  .dwg-post-header { text-align: left; }
  .dwg-post-header h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
    hyphens: none;
    letter-spacing: -0.035em;
    line-height: 1.03;
    overflow-wrap: normal;
    word-break: normal;
  }
  .dwg-post-meta { justify-content: flex-start; }
  .dwg-post-image img { border-radius: var(--dwg-radius); }
  .dwg-post-content { font-size: 20px; }
  #top .dwg-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image {
    flex-basis: 100%;
    width: 100%;
  }
  #top .dwg-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image img {
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    width: 100%;
  }
  .dwg-post-signoff { align-items: flex-start; }
  .dwg-post-navigation { grid-template-columns: 1fr; }
  .dwg-post-navigation__next { text-align: left; }
  #top .dwg-checklist strong { font-size: 20px; }
  .dwg-post-navigation span { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dwg-card { transition: none; }
}

@media print {
  #header,
  #socket,
  .dwg-post-navigation,
  .dwg-post-signoff,
  .dwg-post-topics,
  .dwg-post-meta {
    display: none !important;
  }

  .single-post .dwg-post-wrap,
  #main {
    background: #fff !important;
  }

  .single-post .dwg-post-container {
    max-width: none;
    padding: 0;
  }

  .dwg-post-header {
    padding: 0 0 22px;
    text-align: left;
  }

  .dwg-post-header h1 {
    font-size: 28pt;
  }

  .dwg-post-content {
    font-size: 12pt;
    line-height: 1.45;
    max-width: none;
  }

  .dwg-checklist label {
    background: #fff;
    border: 1px solid #777;
    break-inside: avoid;
    min-height: 0;
    padding: 9px 11px;
  }
}
