/*
Theme Name: Sonnensegel Austria Landingpage
Theme URI: https://pixxl.eu
Author: Projektteam pixxl.eu und saschabrandstoetter.com
Description: Schlankes Full-Site-Editing Landingpage-Theme für Sonnensegel Austria.
Version: 1.0.0 SEO GEO AdminUI
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sonnensegel-austria
*/

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./assets/raleway-variable.woff2") format("woff2-variations");
}

:root {
  --blue: #1775bc;
  --blue-dark: #07548e;
  --blue-deep: #053b66;
  --yellow: #fec20d;
  --yellow-soft: #ffdc66;
  --charcoal: #231f20;
  --gray: #6f777f;
  --light-gray: #eef3f5;
  --warm-white: #fbfaf7;
  --white: #ffffff;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: "Raleway Variable", "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
  padding: 0;
}

.wp-site-blocks > * {
  margin-block-start: 0;
}

.wp-theme .hero {
  overflow: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Inhaltsseiten (Impressum, Datenschutz) */
.simple-page {
  padding-block: 80px 120px;
  max-width: 760px;
}

.simple-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  color: var(--charcoal);
}

.simple-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--charcoal);
}

.simple-page h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--charcoal);
}

.simple-page p,
.simple-page li {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 16px;
}

.simple-page ul,
.simple-page ol {
  margin: 0 0 24px;
  padding-left: 1.4em;
}

.simple-page a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.simple-page a:hover {
  color: var(--blue-dark);
}

.section {
  padding-block: 128px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgb(35 31 32 / 9%);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: 255px;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding-block: 12px;
}

.desktop-nav a::after {
  position: absolute;
  right: 100%;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  transition: right 180ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 92px);
  align-items: center;
  overflow: hidden;
  background: var(--blue-deep);
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
  animation: hero-in 1.25s ease-out both;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgb(4 35 57 / 94%) 0%, rgb(4 40 67 / 82%) 37%, rgb(3 38 65 / 26%) 70%, rgb(3 38 65 / 7%) 100%),
    linear-gradient(0deg, rgb(4 38 63 / 35%) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 100px 160px;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 2px;
  background: var(--yellow);
  content: "";
}

.eyebrow-light {
  color: rgb(255 255 255 / 82%);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.25rem, 6.6vw, 6.7rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-copy {
  max-width: 660px;
  margin: 30px 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 420;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-yellow {
  background: var(--yellow);
  box-shadow: 0 14px 40px rgb(254 194 13 / 26%);
  color: var(--charcoal);
}

.button-yellow:hover {
  background: var(--yellow-soft);
  box-shadow: 0 18px 50px rgb(254 194 13 / 34%);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgb(35 31 32 / 25%);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 2;
}

.text-link-light {
  border-color: rgb(255 255 255 / 36%);
  color: var(--white);
}

.hero-note {
  position: absolute;
  z-index: 2;
  top: 42%;
  right: max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  width: 230px;
  gap: 16px;
  align-items: flex-start;
  color: rgb(255 255 255 / 86%);
}

.hero-note p {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 560;
  line-height: 1.6;
}

.hero-note-line {
  width: 3px;
  height: 62px;
  flex: 0 0 auto;
  background: var(--yellow);
}

.hero-facts {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(760px, 58vw);
  grid-template-columns: repeat(3, 1fr);
  padding: 25px 34px;
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 -10px 35px rgb(0 0 0 / 12%);
  color: var(--charcoal);
}

.hero-facts div {
  display: grid;
  gap: 5px;
  padding-inline: 24px;
  border-right: 1px solid rgb(35 31 32 / 12%);
}

.hero-facts div:first-child {
  padding-left: 0;
}

.hero-facts div:last-child {
  padding-right: 0;
  border: 0;
}

.hero-facts strong {
  color: var(--blue);
  font-size: 1.02rem;
  font-weight: 780;
}

.hero-facts span {
  color: var(--gray);
  font-size: 0.74rem;
  line-height: 1.4;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.83fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}

.story-image-wrap,
.process-image-wrap {
  position: relative;
}

.story-image-wrap > img {
  width: 100%;
  height: 650px;
  border-radius: 2px 100px 2px 2px;
  object-fit: cover;
}

.sun-disc {
  position: absolute;
  z-index: -1;
  top: -55px;
  left: -55px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--yellow);
}

.story-image-wrap blockquote {
  position: absolute;
  right: -52px;
  bottom: -42px;
  width: 285px;
  margin: 0;
  padding: 34px 34px 34px 44px;
  background: var(--blue);
  box-shadow: 0 25px 60px rgb(4 69 111 / 22%);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 520;
  line-height: 1.45;
}

.story-image-wrap blockquote span {
  position: absolute;
  top: 2px;
  left: 14px;
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
}

.story-copy h2,
.section-heading h2,
.process-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.55rem, 4.5vw, 4.7rem);
  font-weight: 530;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.story-copy .lead {
  margin: 30px 0;
  color: var(--gray);
  font-size: 1.08rem;
  line-height: 1.8;
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}

.check-list svg {
  width: 23px;
  padding: 4px;
  border-radius: 50%;
  background: rgb(23 117 188 / 10%);
  color: var(--blue);
}

.benefits {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
}

.benefits::after {
  position: absolute;
  top: -290px;
  right: -210px;
  width: 600px;
  height: 600px;
  border: 95px solid rgb(23 117 188 / 5%);
  border-radius: 50%;
  content: "";
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 64px;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

.benefit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-grid article {
  position: relative;
  min-height: 390px;
  padding: 40px;
  border-top: 4px solid transparent;
  background: var(--white);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.benefit-grid article:hover {
  transform: translateY(-8px);
  border-color: var(--yellow);
  box-shadow: 0 24px 65px rgb(5 67 107 / 12%);
}

.benefit-grid .featured-card {
  transform: translateY(-18px);
  background: var(--blue);
  color: var(--white);
}

.benefit-grid .featured-card:hover {
  transform: translateY(-26px);
}

.icon-wrap {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: rgb(23 117 188 / 9%);
  color: var(--blue);
}

.featured-card .icon-wrap {
  background: rgb(255 255 255 / 12%);
  color: var(--yellow);
}

.icon-wrap svg {
  width: 34px;
  stroke-width: 1.5;
}

.card-number {
  margin: 36px 0 12px;
  color: var(--yellow);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.benefit-grid h3 {
  margin: 0 0 16px;
  font-size: 1.42rem;
  font-weight: 650;
  line-height: 1.25;
}

.benefit-grid article > p:last-child {
  margin: 0;
  color: var(--gray);
  font-size: 0.96rem;
  line-height: 1.75;
}

.benefit-grid .featured-card > p:last-child {
  color: rgb(255 255 255 / 73%);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.steps {
  display: grid;
  gap: 0;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgb(35 31 32 / 14%);
}

.steps li:last-child {
  border-bottom: 1px solid rgb(35 31 32 / 14%);
}

.steps li > span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  font-weight: 720;
}

.steps p {
  margin: 0;
  color: var(--gray);
  font-size: 0.94rem;
  line-height: 1.7;
}

.process-image-wrap img {
  width: 100%;
  height: 680px;
  border-radius: 100px 2px 2px 2px;
  object-fit: cover;
}

.process-image-wrap::before {
  position: absolute;
  z-index: -1;
  right: -45px;
  bottom: -45px;
  width: 68%;
  height: 68%;
  background: var(--yellow);
  content: "";
}

.process-badge {
  position: absolute;
  top: 34px;
  right: -34px;
  display: grid;
  width: 145px;
  height: 145px;
  place-content: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 18px 48px rgb(6 61 96 / 18%);
  text-align: center;
}

.process-badge strong {
  color: var(--blue);
  font-size: 1.03rem;
}

.process-badge span {
  margin-top: 4px;
  color: var(--gray);
  font-size: 0.73rem;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  color: var(--white);
}

.contact::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--yellow) 0 28%, var(--blue) 28% 100%);
  content: "";
}

.contact-glow {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
}

.contact-glow-one {
  top: -220px;
  left: -210px;
  width: 600px;
  height: 600px;
}

.contact-glow-two {
  right: -160px;
  bottom: -280px;
  width: 680px;
  height: 680px;
  border-width: 90px;
  border-color: rgb(23 117 188 / 20%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 70%);
  font-size: 1.06rem;
  line-height: 1.8;
}

.contact-promise {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 38px;
  color: rgb(255 255 255 / 84%);
  font-size: 0.85rem;
  font-weight: 680;
}

.contact-promise span {
  width: 32px;
  height: 3px;
  background: var(--yellow);
}

.contact-form {
  display: grid;
  gap: 21px;
  padding: clamp(30px, 4vw, 54px);
  background: var(--white);
  box-shadow: 0 40px 90px rgb(0 0 0 / 20%);
  color: var(--charcoal);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label:not(.consent) {
  display: grid;
  gap: 8px;
}

.contact-form label > span {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form small {
  color: var(--gray);
  font-size: 0.68rem;
  font-weight: 550;
  text-transform: none;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgb(35 31 32 / 22%);
  outline: none;
  background: transparent;
  color: var(--charcoal);
  font-size: 0.94rem;
  transition: border-color 180ms ease;
}

.contact-form input:not([type="checkbox"]) {
  height: 44px;
}

.contact-form textarea {
  padding-top: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--gray);
  cursor: pointer;
}

.consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.consent span {
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.55;
  text-transform: none !important;
}

.form-button {
  justify-self: start;
}

.form-note {
  margin: -8px 0 0;
  color: var(--gray);
  font-size: 0.7rem;
  line-height: 1.5;
}

/* ---- WPForms-Anpassung (CI-gleich zum bisherigen Kontaktformular) ---- */
.wp-theme .contact-form {
  /* WPForms-CSS-Variablen auf CI-Werte überschreiben */
  --wpforms-button-background-color: var(--yellow);
  --wpforms-button-background-color-hover: var(--yellow-soft);
  --wpforms-button-text-color: var(--charcoal);
  --wpforms-button-border-radius: 999px;
  --wpforms-button-border: 0;
  --wpforms-label-color: var(--charcoal);
  --wpforms-label-size-font-size: 0.78rem;
  --wpforms-label-size-line-height: 1.4;
  --wpforms-field-size-input-spacing: 8px;
  --wpforms-field-size-border-radius: 0;
  --wpforms-field-size-border-color: rgb(35 31 32 / 22%);
  --wpforms-field-size-background-color: transparent;
  --wpforms-field-size-text-color: var(--charcoal);
  --wpforms-field-size-input-height: 44px;
}

.wp-theme .contact-form .wpforms-container,
.wp-theme .contact-form .wpforms-container-full {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.wp-theme .contact-form .wpforms-form {
  display: grid;
  gap: 21px;
  margin: 0;
}

.wp-theme .contact-form .wpforms-field-container {
  display: grid;
  gap: 21px;
}

/* Erstes Feldpaar (Name + E-Mail) zweispaltig wie .field-grid */
.wp-theme .contact-form .wpforms-field-name,
.wp-theme .contact-form .wpforms-field-email {
  margin: 0;
}

@media (min-width: 600px) {
  .wp-theme .contact-form .wpforms-field-container {
    grid-template-columns: 1fr 1fr;
  }
  /* Name → linke Spalte, E-Mail → rechte Spalte */
  .wp-theme .contact-form .wpforms-field-name {
    grid-column: 1;
  }
  .wp-theme .contact-form .wpforms-field-email {
    grid-column: 2;
  }
  /* Alle weiteren Felder über die volle Breite */
  .wp-theme .contact-form .wpforms-field-container > .wpforms-field:not(.wpforms-field-name):not(.wpforms-field-email) {
    grid-column: 1 / -1;
  }
  .wp-theme .contact-form .wpforms-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

.wp-theme .contact-form .wpforms-field {
  padding: 0;
  margin: 0;
}

.wp-theme .contact-form .wpforms-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 0px;
}

.wp-theme .contact-form .wpforms-field-label .wpforms-required-label {
  display: inline;
  margin-left: 3px;
  color: var(--blue);
}

.wp-theme .contact-form .wpforms-field-sublabel {
  color: var(--gray);
  font-size: 0.68rem;
  font-weight: 550;
  text-transform: none;
  margin-top: 4px;
}

.wp-theme .contact-form .wpforms-field input[type="text"],
.wp-theme .contact-form .wpforms-field input[type="email"],
.wp-theme .contact-form .wpforms-field input[type="tel"],
.wp-theme .contact-form .wpforms-field input[type="number"],
.wp-theme .contact-form .wpforms-field input[type="url"],
.wp-theme .contact-form .wpforms-field textarea,
.wp-theme .contact-form .wpforms-field select {
  width: 100%;
  height: 44px;
  border: 0;
  border-bottom: 1px solid rgb(35 31 32 / 22%);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--charcoal);
  font-size: 0.94rem;
  font-family: inherit;
  padding: 0 0 4px;
  transition: border-color 180ms ease;
}

.wp-theme .contact-form .wpforms-field textarea {
  height: auto;
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.wp-theme .contact-form .wpforms-field input:focus,
.wp-theme .contact-form .wpforms-field textarea:focus,
.wp-theme .contact-form .wpforms-field select:focus {
  border-color: var(--blue);
}

.wp-theme .contact-form .wpforms-field input::placeholder,
.wp-theme .contact-form .wpforms-field textarea::placeholder {
  color: rgb(35 31 32 / 38%);
}

/* Checkbox / Consent */
.wp-theme .contact-form .wpforms-field-checkbox,
.wp-theme .contact-form .wpforms-field-consent,
.wp-theme .contact-form .wpforms-field-radio {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--gray);
}

.wp-theme .contact-form .wpforms-field-checkbox ul,
.wp-theme .contact-form .wpforms-field-consent ul,
.wp-theme .contact-form .wpforms-field-radio ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.wp-theme .contact-form .wpforms-field-checkbox li,
.wp-theme .contact-form .wpforms-field-consent li,
.wp-theme .contact-form .wpforms-field-radio li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.wp-theme .contact-form .wpforms-field-checkbox input,
.wp-theme .contact-form .wpforms-field-consent input,
.wp-theme .contact-form .wpforms-field-radio input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--blue);
  flex: 0 0 auto;
}

.wp-theme .contact-form .wpforms-container-full .wpforms-field-checkbox label,
.wp-theme .contact-form .wpforms-container-full .wpforms-field-consent label,
.wp-theme .contact-form .wpforms-container-full .wpforms-field-radio label,
.wp-theme .contact-form .wpforms-container-full .wpforms-field-label-inline,
.wp-theme .contact-form .wpforms-container-full .wpforms-field-checkbox .wpforms-field-label-inline,
.wp-theme .contact-form .wpforms-container-full .wpforms-field-consent .wpforms-field-label-inline,
.wp-theme .contact-form .wpforms-container-full li .wpforms-field-label-inline {
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.55 !important;
  text-transform: none !important;
  color: var(--gray) !important;
}

/* Submit-Button als button-yellow */
.wp-theme .contact-form .wpforms-submit-container {
  justify-self: start;
  margin: 0;
}

.wp-theme .contact-form .wpforms-container-full .wpforms-form .wpforms-submit-container .wpforms-submit,
.wp-theme .contact-form .wpforms-container-full .wpforms-form .wpforms-submit-container .wpforms-submit-button,
.wp-theme .contact-form .wpforms-container-full .wpforms-form .wpforms-submit-container .wpforms-submit-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  background: var(--yellow) !important;
  background-color: var(--yellow) !important;
  color: var(--charcoal) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 18px 34px !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0 14px 40px rgb(254 194 13 / 26%) !important;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

.wp-theme .contact-form .wpforms-container-full .wpforms-form .wpforms-submit-container .wpforms-submit:hover,
.wp-theme .contact-form .wpforms-container-full .wpforms-form .wpforms-submit-container .wpforms-submit-button:hover,
.wp-theme .contact-form .wpforms-container-full .wpforms-form .wpforms-submit-container .wpforms-submit:focus {
  background: var(--yellow-soft) !important;
  background-color: var(--yellow-soft) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 50px rgb(254 194 13 / 34%) !important;
}

.wp-theme .contact-form .wpforms-submit-spinner {
  display: none !important;
}

/* Hinweistext unter dem Formular (optional via WPForms-Confirmation oder Feldbeschreibung) */
.wp-theme .contact-form .wpforms-field-description,
.wp-theme .contact-form .wpforms-confirmation-scroll {
  margin: -8px 0 0;
  color: var(--gray);
  font-size: 0.7rem;
  line-height: 1.5;
}

footer {
  padding: 62px 0 24px;
  background: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 44px;
}

.footer-brand {
  width: 225px;
}

.footer-inner > p {
  margin: 0;
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 650;
}

.footer-links {
  display: flex;
  gap: 22px;
  justify-self: end;
  color: var(--gray);
  font-size: 0.74rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgb(35 31 32 / 10%);
  color: rgb(111 119 127 / 82%);
  font-size: 0.68rem;
}

@keyframes hero-in {
  from {
    transform: scale(1.035);
    opacity: 0.25;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero-note {
    display: none;
  }

  .hero-facts {
    width: min(780px, 76vw);
  }

  .story,
  .process,
  .contact-inner {
    gap: 65px;
  }

  .story-image-wrap blockquote {
    right: -20px;
  }

  .process-badge {
    right: -16px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 36px, 680px);
  }

  .section {
    padding-block: 88px;
  }

  .site-header {
    min-height: 76px;
    padding: 10px 18px;
  }

  .brand {
    width: 205px;
  }

  .header-cta {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    overflow: hidden;
    color: transparent;
    white-space: nowrap;
  }

  .header-cta svg {
    position: absolute;
    width: 20px;
    color: var(--white);
  }

  .hero {
    min-height: calc(100svh - 76px);
    align-items: flex-end;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgb(4 35 57 / 96%) 0%, rgb(4 40 67 / 80%) 56%, rgb(3 38 65 / 15%) 100%),
      linear-gradient(90deg, rgb(4 35 57 / 62%), transparent);
  }

  .hero-content {
    padding-block: 185px 168px;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5.1rem);
  }

  .hero-copy {
    max-width: 600px;
  }

  .hero-facts {
    width: 100%;
  }

  .story,
  .process,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .story-image-wrap {
    width: calc(100% - 28px);
  }

  .story-image-wrap > img {
    height: 540px;
  }

  .story-image-wrap blockquote {
    right: -28px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    min-height: auto;
  }

  .benefit-grid .featured-card {
    transform: none;
  }

  .benefit-grid .featured-card:hover {
    transform: translateY(-8px);
  }

  .process-copy {
    order: 1;
  }

  .process-image-wrap {
    width: calc(100% - 28px);
    margin-left: 28px;
  }

  .process-image-wrap img {
    height: 560px;
  }

  .contact-copy {
    max-width: 620px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner > p {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .section {
    padding-block: 72px;
  }

  .brand {
    width: 176px;
  }

  .header-cta {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    padding-block: 150px 185px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.66rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13.8vw, 4.2rem);
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
  }

  .button {
    min-height: 54px;
    padding-inline: 21px;
    font-size: 0.82rem;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
    padding: 19px 18px;
  }

  .hero-facts div {
    padding-inline: 14px;
  }

  .hero-facts div:nth-child(2) {
    border: 0;
  }

  .hero-facts div:last-child {
    display: none;
  }

  .story-image-wrap > img {
    height: 430px;
    border-radius: 2px 60px 2px 2px;
  }

  .sun-disc {
    top: -24px;
    left: -18px;
    width: 105px;
    height: 105px;
  }

  .story-image-wrap blockquote {
    right: -28px;
    bottom: -34px;
    width: 235px;
    padding: 27px 26px 27px 38px;
    font-size: 1.08rem;
  }

  .story-copy {
    margin-top: 22px;
  }

  .story-copy h2,
  .section-heading h2,
  .process-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .benefit-grid article {
    padding: 30px;
  }

  .process-image-wrap img {
    height: 430px;
    border-radius: 60px 2px 2px 2px;
  }

  .process-image-wrap::before {
    right: -18px;
    bottom: -18px;
  }

  .process-badge {
    top: 18px;
    right: -10px;
    width: 116px;
    height: 116px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .form-button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    width: 215px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

/* WordPress block-theme bridge */
.wp-theme .site-header {
  max-width: none;
  margin: 0;
}

.wp-theme .brand {
  margin: 0;
}

.wp-theme .brand img,
.wp-theme .footer-brand img {
  width: 100%;
  height: auto;
}

.wp-theme .desktop-nav {
  width: auto;
}

.wp-theme .desktop-nav .wp-block-navigation__container {
  gap: 36px;
}

.wp-theme .desktop-nav .wp-block-navigation-item__content {
  padding-block: 12px;
}

.wp-theme .header-cta,
.wp-theme .header-cta:visited {
  color: var(--white);
}

.wp-theme .hero {
  max-width: none;
  margin: 0;
}

.wp-theme .hero-content,
.wp-theme .hero-facts,
.wp-theme .hero-note {
  max-width: none;
}

.wp-theme .hero-content > * {
  margin-inline: 0;
}

.wp-theme .hero-actions {
  justify-content: flex-start;
}

.wp-theme .hero-actions .wp-block-button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.wp-theme .hero-actions .wp-block-button__link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 750;
}

.wp-theme .hero-actions .text-link .wp-block-button__link {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid rgb(255 255 255 / 36%);
  background: transparent;
  box-shadow: none;
  color: var(--white);
}

.wp-theme .hero-facts p,
.wp-theme .process-badge p,
.wp-theme .footer-bottom p {
  margin: 0;
}

.wp-theme .story-image-wrap > .wp-block-image,
.wp-theme .process-image-wrap > .wp-block-image {
  margin: 0;
}

.wp-theme .story-image-wrap > .wp-block-image img {
  width: 100%;
  height: 650px;
  border-radius: 2px 100px 2px 2px;
  object-fit: cover;
}

.wp-theme .story-image-wrap blockquote p {
  margin: 0;
}

.wp-theme .check-list li {
  position: relative;
  padding-left: 36px;
}

.wp-theme .check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: rgb(23 117 188 / 10%);
  color: var(--blue);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 800;
}

.wp-theme .benefit-grid article > * {
  margin-inline: 0;
}

.wp-theme .icon-wrap {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1.8rem;
}

.wp-theme .process-image-wrap > .wp-block-image img {
  width: 100%;
  height: 680px;
  border-radius: 100px 2px 2px 2px;
  object-fit: cover;
}

.wp-theme .process-badge {
  max-width: none;
}

.wp-theme .contact-inner,
.wp-theme .contact-copy,
.wp-theme .contact-form {
  max-width: none;
}

.wp-theme footer {
  max-width: none;
  margin: 0;
}

.wp-theme .footer-brand {
  margin: 0;
}

@media (max-width: 820px) {
  .wp-theme .desktop-nav {
    display: flex;
    justify-self: end;
  }

  .wp-theme .desktop-nav .wp-block-navigation__responsive-container-open {
    display: flex;
  }

  .wp-theme .site-header > .wp-block-buttons {
    display: none;
  }

  .wp-theme .story-image-wrap > .wp-block-image img {
    height: 540px;
  }

  .wp-theme .process-image-wrap > .wp-block-image img {
    height: 560px;
  }
}

@media (max-width: 560px) {
  .wp-theme .story-image-wrap > .wp-block-image img,
  .wp-theme .process-image-wrap > .wp-block-image img {
    height: 430px;
  }
}
