/*
Theme Name:    Derjosef-Child
Theme URI:     http://childtheme-generator.com/
Description:   Derjosef-Child is a child theme of DerJosef
Author:       Josef Gerhardter
Author URI:    https://derjosef.com
Template:      derjosef
Version:      1.0.0
Text Domain:   derjosef-child
*/

/*
    Add your custom styles here
*/

:root {
  /* WIR.SCHLADMING – Farben */
  --dark: #062c2b;
  --dark-deep: #031b1a;
  --petrol: #17332f;
  --cream: #f3ecdf;
  --cream-soft: #fff8ed;
  --lime: #bdcb13;
  --purple: #918ce2;
  --purple-deep: #686ca2;
  --ink: #092623;
  --line: rgba(243, 236, 223, 0.18);
  --line-dark: rgba(6, 44, 43, 0.16);

  /* Layout */
  --max: 1240px;

  /* Schriftgrößen */
  --font-size-base: 14px;
  --font-size-h1: 3.96vw;
  --font-size-h2: 3.3vw;
  --font-size-h3: 3.3vw;
  --font-size-h4: 2.5vw;
  --font-size-h5: 1.71vw;
  --font-size-h6: 3.3vw;
  --line-height: 1.6;

  /* Abstände */
  --spacing-small: 8px;
  --spacing-medium: 16px;
  --spacing-large: 32px;
  --spacing-xlarge: 150px;

  /* Border Radius */
  --corner-size-small: 25px;
  --corner-size-big: 50px;
}

/* ========================================
   FONTS – LATO
======================================== */

/* Thin – 100 */
@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-ThinItalic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

/* Light – 300 */
@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-LightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Regular – 400 */
@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Bold – 700 */
@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Black – 900 */
@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-BlackItalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ========================================
   GLOBAL TYPOGRAPHY
======================================== */

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: fit-content;
  overflow-x: hidden;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

body {
  margin: 0;
  font-family: "Lato", sans-serif !important;
  font-weight: 400;
  background-color: var(--cream-soft) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headlines */

h1,
.h1,
h1 p {
  font-size: calc(1.5rem + 1vw) !important;
  line-height: 1.2;
  font-family: "Lato", sans-serif !important;
  font-weight: 700;
  margin-bottom: 0.5em;
}

h2,
.h2 {
  font-size: calc(1.4rem + 0.8vw) !important;
  line-height: 1.3;
  font-family: "Lato", sans-serif !important;
  font-weight: 700;
  margin-bottom: 0.5em;
}

h3,
.h3 {
  font-size: calc(1.3rem + 0.4vw) !important;
  line-height: 1.4;
  font-family: "Lato", sans-serif !important;
  font-weight: 700;
  margin-bottom: 0.5em;
}

h4,
.h4 {
  font-size: calc(1.2rem + 0.3vw) !important;
  line-height: 1.5;
  font-family: "Lato", sans-serif !important;
  font-weight: 700;
  margin-bottom: 0.5em;
}

h5,
.h5 {
  font-size: calc(1.1rem + 0.2vw) !important;
  line-height: 1.6;
  font-family: "Lato", sans-serif !important;
  font-weight: 700;
  margin-bottom: 0.5em;
}

h6,
.h6 {
  font-size: calc(1rem + 1vw) !important;
  line-height: 1.7;
  font-family: "Lato", sans-serif !important;
  font-weight: 700;
  margin-bottom: 0.5em;
}

/* Headlines Strong */

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
  color: var(--lime);
  font-family: "Lato", sans-serif !important;
  font-weight: 900 !important;
}

/* Subheadline */

.subheadline {
  font-family: "Lato", sans-serif !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: calc(0.9rem + 0.2vw) !important;
}

/* Extra Large Headline */

.h1-xl {
  font-size: calc(2rem + 1vw) !important;
  font-family: "Lato", sans-serif !important;
  font-weight: 900;
  margin-bottom: 0.2em;
}

/* Paragraphs & Lists */

p,
li {
  margin-bottom: 1em;
  font-family: "Lato", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400;
  line-height: var(--line-height);
}

/* Links */

main a {
  font-family: "Lato", sans-serif !important;
  color: var(--ink) !important;
}
#main {
  margin-top: 0 !important;
}
/* Small */

small {
  font-size: 0.8em !important;
}

/* Strong */

strong,
b {
  font-weight: 700;
}

/* Buttons */

button,
.btn {
  font-family: "Lato", sans-serif !important;
  font-weight: 700;
  font-size: 0.8em !important;
}

/* Captions */

.caption {
  font-family: "Lato", sans-serif !important;
  font-weight: 400;
}

/* Spacer */

.spacer-none {
  margin: 0px 0px;
}
.spacer-small {
  margin: 32px 0px;
}
.spacer-middle {
  margin: 64px 0px;
}
.spacer-big {
  margin: 128px 0px;
}
.spacer-biggest {
  margin: 200px 0px;
}

/* contact form */

/* ==========================================
   WIR.SCHLADMING
   MITGLIEDSCHAFT – ERWEITERUNGEN
========================================== */

/* Beitragsübersicht */

.ws-betrieb-form .ws-form-fee {
  background: var(--cream-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--corner-size-small);
  padding: clamp(24px, 3vw, 40px);
  margin-bottom: 30px;
}

.ws-form-fee-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--purple-deep);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.ws-form-fee-price {
  font-size: clamp(36px, 4vw, 55px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 18px;
}

.ws-form-fee-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--petrol);
}

.ws-form-fee p {
  font-size: 14px !important;
  line-height: 1.7;
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink);
}

/* Mitgliedschaft & Datenschutz */

.ws-betrieb-form .ws-form-privacy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 0;
}

.ws-betrieb-form .ws-form-terms {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}

.ws-betrieb-form .ws-form-terms .wpcf7-list-item-label {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.ws-betrieb-form .ws-form-footer {
  padding-top: 35px;
}

.ws-betrieb-form .ws-form-hint {
  max-width: 700px;
  line-height: 1.7;
}

/* Mobile */

@media (max-width: 767px) {
  .ws-betrieb-form .ws-form-fee {
    padding: 24px;
  }

  .ws-form-fee-price {
    font-size: 38px;
  }
}

/* form */

/* ==========================================
   WIR.SCHLADMING – BETRIEBSANMELDUNG
========================================== */

.ws-betrieb-form {
  background: var(--cream);
  padding: clamp(24px, 5vw, 70px);
  border-radius: var(--corner-size-big);
  color: var(--ink);
  font-family: "Lato", sans-serif;
}

/* Intro */

.ws-form-intro {
  margin-bottom: 45px;
}

.ws-form-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin-bottom: 14px;
}

.ws-betrieb-form .ws-form-intro h3 {
  color: var(--dark);
  margin-bottom: 15px;
}

.ws-form-intro p {
  max-width: 620px;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 0;
}

/* Sections */

.ws-form-section {
  padding-top: 35px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line-dark);
}

.ws-betrieb-form .ws-form-section h4 {
  font-size: 19px !important;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 25px;
}

/* Labels */

.ws-betrieb-form .ws-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.ws-betrieb-form .ws-label span {
  color: var(--purple-deep);
}

/* CF7 wrappers */

.ws-betrieb-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Inputs */

.ws-betrieb-form .form-control,
.ws-betrieb-form .form-select {
  width: 100%;
  min-height: 56px;
  padding: 15px 20px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background-color: var(--cream-soft);
  color: var(--dark);
  font-family: "Lato", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ws-betrieb-form .form-control::placeholder {
  color: var(--ink);
  opacity: 0.45;
}

.ws-betrieb-form .form-control:focus,
.ws-betrieb-form .form-select:focus {
  background-color: var(--cream-soft);
  color: var(--dark);
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px var(--line-dark);
  outline: none;
}

.ws-betrieb-form textarea.form-control {
  min-height: 145px;
  resize: vertical;
}

/* Datenschutz */

.ws-form-footer {
  border-top: 1px solid var(--line-dark);
  padding-top: 30px;
}

.ws-form-privacy {
  margin-bottom: 28px;
}

.ws-betrieb-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.ws-betrieb-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.ws-betrieb-form .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 21px;
  height: 21px;
  min-width: 21px;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  background: var(--cream-soft);
  cursor: pointer;
  position: relative;
  margin: 1px 0 0;
}

.ws-betrieb-form .wpcf7-acceptance input[type="checkbox"]:checked {
  background: var(--lime);
  border-color: var(--lime);
}

.ws-betrieb-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid var(--dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ws-betrieb-form .wpcf7-acceptance input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--purple-deep);
  outline-offset: 3px;
}

.ws-betrieb-form .wpcf7-list-item-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}

main .ws-betrieb-form .ws-form-privacy a {
  color: var(--dark) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Button */

.ws-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.ws-betrieb-form .ws-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 32px;
  border: 1px solid var(--lime);
  border-radius: 100px;
  background: var(--lime);
  color: var(--dark);
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.ws-betrieb-form .ws-form-submit:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--cream-soft);
  transform: translateY(-2px);
}

.ws-form-required {
  font-size: 12px;
  color: var(--petrol);
  opacity: 0.8;
}

.ws-betrieb-form .ws-form-hint {
  font-size: 12px !important;
  margin-top: 22px;
  margin-bottom: 0;
  color: var(--petrol);
  opacity: 0.75;
}

/* Fehlermeldungen */

.ws-betrieb-form .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 7px;
  font-weight: 700;
}

.ws-betrieb-form .wpcf7-not-valid {
  border-color: #c43b42;
}

.ws-betrieb-form .wpcf7-spinner {
  margin: 0;
}

/* Responsive */

@media (max-width: 767px) {
  .ws-betrieb-form {
    border-radius: var(--corner-size-small);
    padding: 30px 22px;
  }

  .ws-form-intro {
    margin-bottom: 30px;
  }

  .ws-form-section {
    padding-top: 25px;
    padding-bottom: 30px;
  }

  .ws-betrieb-form .form-control,
  .ws-betrieb-form .form-select {
    min-height: 52px;
    font-size: 16px;
  }

  .ws-form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .ws-betrieb-form .ws-form-submit {
    width: 100%;
  }
}

/* ==========================================
   WIR.SCHLADMING
   MITGLIEDSCHAFT – ERWEITERUNGEN
========================================== */

/* Beitragsübersicht */

.ws-betrieb-form .ws-form-fee {
  background: var(--cream-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--corner-size-small);
  padding: clamp(24px, 3vw, 40px);
  margin-bottom: 30px;
}

.ws-form-fee-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--purple-deep);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.ws-form-fee-price {
  font-size: clamp(36px, 4vw, 55px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 18px;
}

.ws-form-fee-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--petrol);
}

.ws-form-fee p {
  font-size: 14px !important;
  line-height: 1.7;
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink);
}

/* Mitgliedschaft & Datenschutz */

.ws-betrieb-form .ws-form-privacy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 0;
}

.ws-betrieb-form .ws-form-terms {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}

.ws-betrieb-form .ws-form-terms .wpcf7-list-item-label {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.ws-betrieb-form .ws-form-footer {
  padding-top: 35px;
}

.ws-betrieb-form .ws-form-hint {
  max-width: 700px;
  line-height: 1.7;
}

/* Mobile */

@media (max-width: 767px) {
  .ws-betrieb-form .ws-form-fee {
    padding: 24px;
  }

  .ws-form-fee-price {
    font-size: 38px;
  }
}

/* =========================================
   WIR.SCHLADMING – KONTAKTFORMULAR
========================================= */

.ws-kontakt-form {
  width: 100%;
  padding: clamp(24px, 5vw, 70px);

  border: 1px solid var(--line-dark);
  border-radius: var(--corner-size-big, 24px);

  background: var(--cream-soft);
  color: var(--ink);
}

/* =========================================
   INTRO
========================================= */

.ws-kontakt-form .ws-form-section {
  margin: 0;
  padding: 0 0 35px;
  border-bottom: 1px solid var(--line-dark);
}

.ws-kontakt-form .ws-form-intro {
  margin-bottom: clamp(28px, 4vw, 45px);
}

.ws-kontakt-form .ws-form-eyebrow {
  margin-bottom: 15px;
  color: var(--purple-deep);
}

.ws-kontakt-form .ws-form-intro h3 {
  margin: 0 0 15px;
  color: var(--dark);
}

.ws-kontakt-form .ws-form-intro > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--petrol);
}

/* =========================================
   LABELS
========================================= */

.ws-kontakt-form .ws-label {
  display: block;
  margin-bottom: 10px;
  color: var(--dark);
}

.ws-kontakt-form .ws-form-required {
  color: var(--purple-deep);
}

.ws-kontakt-form .ws-form-optional {
  color: var(--petrol);
  opacity: 0.7;
}

/* =========================================
   FORM FIELDS
========================================= */

.ws-kontakt-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.ws-kontakt-form .form-control,
.ws-kontakt-form .form-select {
  display: block;
  width: 100%;
  min-height: 56px;

  padding: 15px 20px;

  border: 1px solid var(--line-dark);
  border-radius: 14px;

  background-color: #fff;
  color: var(--ink);

  box-shadow: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.ws-kontakt-form .form-control::placeholder {
  color: #87958f;
  opacity: 1;
}

.ws-kontakt-form .form-control:hover,
.ws-kontakt-form .form-select:hover {
  border-color: rgba(6, 44, 43, 0.35);
}

.ws-kontakt-form .form-control:focus,
.ws-kontakt-form .form-select:focus {
  outline: none;

  border-color: var(--purple-deep);
  background-color: #fff;

  box-shadow: 0 0 0 3px rgba(145, 140, 226, 0.2);
}

/* =========================================
   SELECT
========================================= */

.ws-kontakt-form .form-select {
  padding-right: 45px;
  cursor: pointer;
}

.ws-kontakt-form .form-select:invalid {
  color: #87958f;
}

/* =========================================
   TEXTAREA
========================================= */

.ws-kontakt-form textarea.form-control {
  min-height: 175px;
  resize: vertical;
}

/* =========================================
   VALIDATION
========================================= */

.ws-kontakt-form .wpcf7-not-valid {
  border-color: #c65353;
}

.ws-kontakt-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  color: #a33131;
}

.ws-kontakt-form .wpcf7-response-output {
  margin: 22px 0 0 !important;
  padding: 16px 20px !important;

  border-radius: 10px;
  color: var(--ink);
}

/* =========================================
   FORM FOOTER
========================================= */

.ws-kontakt-form .ws-form-footer {
  margin-top: 30px;
  padding: 0;
}

/* =========================================
   DATENSCHUTZ
========================================= */

.ws-kontakt-form .ws-form-privacy {
  margin-bottom: 30px;
}

.ws-kontakt-form .ws-form-privacy .wpcf7-form-control-wrap {
  display: block;
}

.ws-kontakt-form .ws-form-privacy .wpcf7-form-control {
  display: block;
}

.ws-kontakt-form .ws-form-privacy .wpcf7-list-item {
  display: block;
  margin: 0;
}

.ws-kontakt-form .ws-form-privacy .wpcf7-list-item > label {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  margin: 0;

  color: var(--ink);
  cursor: pointer;
}

.ws-kontakt-form .ws-form-privacy input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  position: relative;

  display: block;
  flex: 0 0 22px;

  width: 22px;
  height: 22px;

  margin: 2px 0 0;
  padding: 0;

  border: 1px solid rgba(6, 44, 43, 0.35);
  border-radius: 5px;

  background: #fff;

  cursor: pointer;
}

.ws-kontakt-form .ws-form-privacy input[type="checkbox"]:checked {
  border-color: var(--dark);
  background: var(--dark);
}

.ws-kontakt-form .ws-form-privacy input[type="checkbox"]:checked::after {
  content: "";

  position: absolute;
  top: 3px;
  left: 7px;

  width: 6px;
  height: 11px;

  border: solid var(--lime);
  border-width: 0 2px 2px 0;

  transform: rotate(45deg);
}

.ws-kontakt-form .ws-form-privacy input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.ws-kontakt-form .ws-form-privacy .wpcf7-list-item-label {
  display: block;
  flex: 1;
}

.ws-kontakt-form .ws-form-privacy a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ws-kontakt-form .ws-form-privacy a:hover {
  color: var(--purple-deep);
}

/* =========================================
   SUBMIT
========================================= */

.ws-kontakt-form .ws-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.ws-kontakt-form .ws-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;
  min-width: 240px;
  max-width: 100%;

  padding: 14px 32px;

  border: 1px solid var(--lime);
  border-radius: 100px;

  background: var(--lime);
  color: var(--dark);

  cursor: pointer;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.ws-kontakt-form .ws-form-submit:hover:not(:disabled) {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--cream-soft);

  transform: translateY(-2px);
}

.ws-kontakt-form .ws-form-submit:focus-visible {
  outline: 3px solid var(--purple-deep);
  outline-offset: 4px;
}

.ws-kontakt-form .ws-form-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.ws-kontakt-form .wpcf7-spinner {
  margin: 0 5px;
}

/* =========================================
   HINWEIS
========================================= */

.ws-kontakt-form .ws-kontakt-form-hint {
  margin: 20px 0 0;
  color: var(--petrol);
  opacity: 0.8;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
  .ws-kontakt-form {
    padding: 24px 20px;
    border-radius: var(--corner-size-small, 16px);
  }

  .ws-kontakt-form .ws-form-section {
    padding-bottom: 26px;
  }

  .ws-kontakt-form .ws-form-footer {
    margin-top: 25px;
  }

  .ws-kontakt-form .form-control,
  .ws-kontakt-form .form-select {
    min-height: 52px;
    padding: 13px 16px;
  }

  .ws-kontakt-form textarea.form-control {
    min-height: 160px;
  }

  .ws-kontakt-form .ws-form-actions {
    display: block;
  }

  .ws-kontakt-form .ws-form-submit {
    width: 100%;
    min-width: 0;
  }

  .ws-kontakt-form .wpcf7-spinner {
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-kontakt-form .form-control,
  .ws-kontakt-form .form-select,
  .ws-kontakt-form .ws-form-submit {
    transition: none;
  }
}

/* =========================================
   WIR.SCHLADMING – FOOTER BOTTOM CREDIT
========================================= */

/* =========================================
   DESKTOP LAYOUT
========================================= */

@media (min-width: 1440px) {
  .ws-footer .ws-footer-bottom {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      auto
      minmax(0, 1fr);

    align-items: center;
    gap: 24px;
  }

  .ws-footer .ws-footer-copyright {
    grid-column: 1;
    justify-self: start;
  }

  .ws-footer .ws-footer-credit {
    grid-column: 2;
    justify-self: center;
  }

  .ws-footer .ws-footer-bottom-links {
    grid-column: 3;
    justify-self: end;
  }
}

/* =========================================
   MAKINGSTUDIO CREDIT
========================================= */

.ws-footer .ws-footer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 7px;

  min-width: 0;

  color: rgba(243, 236, 223, 0.65);
  white-space: nowrap;
}

.ws-footer .ws-footer-credit-label {
  color: inherit;
}

.ws-footer .ws-footer-credit-link,
.ws-footer .ws-footer-credit-link:visited {
  color: var(--cream-soft);

  text-decoration: none;
  border-bottom: 1px solid rgba(243, 236, 223, 0.25);

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.ws-footer .ws-footer-credit-link:hover {
  color: var(--lime);
  border-color: var(--lime);
  text-decoration: none;
}

.ws-footer .ws-footer-credit-link:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

/* =========================================
   SMALL DESKTOP / TABLET
========================================= */

@media (min-width: 768px) and (max-width: 1439.98px) {
  .ws-footer .ws-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 30px;
  }

  .ws-footer .ws-footer-credit {
    order: 3;
    width: 100%;
    text-align: center;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
  .ws-footer .ws-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;

    text-align: center;
  }

  .ws-footer .ws-footer-copyright {
    justify-content: center;
  }

  .ws-footer .ws-footer-credit {
    width: 100%;
    white-space: normal;
  }

  .ws-footer .ws-footer-bottom-links {
    justify-content: center;
  }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  .ws-footer .ws-footer-credit-link {
    transition: none;
  }
}

/* =========================================
   WIR.SCHLADMING – 404 PAGE
========================================= */

.ws-404 {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 65vh;

  padding: clamp(80px, 10vw, 150px) 0;

  background: var(--cream-soft);
  color: var(--dark);
}

/* =========================================
   CONTAINER
========================================= */

.ws-404 .ws-404-container {
  width: 100%;
  max-width: none;

  padding-right: clamp(20px, 4vw, 72px);
  padding-left: clamp(20px, 4vw, 72px);
}

/* =========================================
   CONTENT
========================================= */

.ws-404 .ws-404-content {
  width: 100%;
  max-width: 850px;

  margin: 0 auto;
  text-align: center;
}

/* =========================================
   404 NUMBER
========================================= */

.ws-404 .ws-404-number {
  display: block;

  margin-bottom: 12px;

  color: var(--dark);
  font-size: clamp(110px, 17vw, 230px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.ws-404 .ws-404-number span {
  color: var(--lime);
}

/* =========================================
   SUBHEADLINE
========================================= */

.ws-404 .ws-404-subheadline {
  margin: 0 0 22px;

  color: var(--purple-deep);
}

/* =========================================
   HEADLINE
========================================= */

.ws-404 .ws-404-headline {
  margin: 0 0 22px;

  color: var(--dark-deep);
}

/* =========================================
   DESCRIPTION
========================================= */

.ws-404 .ws-404-text {
  max-width: 540px;

  margin: 0 auto 35px;

  color: var(--petrol);
}

/* =========================================
   BUTTONS
========================================= */

.ws-404 .ws-404-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ws-404 .ws-404-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  min-height: 54px;
  padding: 14px 23px;

  border: 1px solid transparent;
  border-radius: 4px;

  text-decoration: none;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

/* =========================================
   PRIMARY BUTTON
========================================= */

.ws-404 .ws-404-button--primary,
.ws-404 .ws-404-button--primary:visited {
  background: var(--dark);
  border-color: var(--dark);

  color: var(--cream-soft);
}

.ws-404 .ws-404-button--primary:hover {
  background: var(--lime);
  border-color: var(--lime);

  color: var(--dark);
}

/* =========================================
   SECONDARY BUTTON
========================================= */

.ws-404 .ws-404-button--secondary,
.ws-404 .ws-404-button--secondary:visited {
  background: transparent;
  border-color: var(--dark);

  color: var(--dark);
}

.ws-404 .ws-404-button--secondary:hover {
  background: var(--cream);
  border-color: var(--dark);

  color: var(--dark);
}

/* =========================================
   ARROW
========================================= */

.ws-404 .ws-404-button svg {
  display: block;
  flex: 0 0 21px;

  width: 21px;
  height: 21px;
}

/* =========================================
   KEYBOARD FOCUS
========================================= */

.ws-404 .ws-404-button:focus-visible {
  outline: 3px solid var(--purple-deep);
  outline-offset: 4px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
  .ws-404 {
    min-height: 60vh;
    padding: 80px 0;
  }

  .ws-404 .ws-404-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .ws-404 .ws-404-number {
    margin-bottom: 25px;
  }

  .ws-404 .ws-404-subheadline {
    margin-bottom: 18px;
  }

  .ws-404 .ws-404-text {
    margin-bottom: 30px;
  }

  .ws-404 .ws-404-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ws-404 .ws-404-button {
    width: 100%;
    justify-content: space-between;
  }

  .ws-404 .ws-404-button--secondary {
    justify-content: center;
  }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  .ws-404 .ws-404-button {
    transition: none;
  }
}

/* =========================================
   WIR.SCHLADMING – BILDNACHWEISE
========================================= */

.single-business .single-business-hero,
.single-business .single-business-gallery-item,
.single-business .single-business-related-media {
  position: relative;
}

.single-business .single-business-image-credit {
  position: absolute;
  z-index: 5;

  bottom: 12px;
  left: 12px;

  display: block;

  max-width: calc(100% - 24px);

  margin: 0;
  padding: 5px 8px;

  border-radius: 3px;

  background: rgba(3, 27, 26, 0.72);
  color: var(--cream-soft, #fff8ed);

  font-size: 0.75rem;
  line-height: 1.35;

  overflow-wrap: anywhere;
  pointer-events: none;
}

/* Titelbild */

.single-business .single-business-image-credit--hero {
  left: clamp(16px, 3vw, 36px);
  bottom: 14px;

  max-width: min(440px, calc(100% - 32px));
}

/* Mobile */

@media (max-width: 767.98px) {
  .single-business .single-business-image-credit {
    bottom: 8px;
    left: 8px;

    max-width: calc(100% - 16px);

    padding: 4px 7px;

    font-size: 0.6875rem;
  }

  .single-business .single-business-image-credit--hero {
    bottom: 12px;
    left: 16px;

    max-width: calc(100% - 32px);
  }
}
