@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/wp-content/themes/demenztelefon/assets/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/wp-content/themes/demenztelefon/assets/fonts/PlusJakartaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/wp-content/themes/demenztelefon/assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/wp-content/themes/demenztelefon/assets/fonts/PlusJakartaSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Axiforma";
  src: url("/wp-content/themes/demenztelefon/assets/fonts/Axiforma-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Axiforma";
  src: url("/wp-content/themes/demenztelefon/assets/fonts/Axiforma-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
:root {
  --color-ink: #080a0a;
  --color-text: #343841;
  --color-muted: #4e535d;
  --color-brand: #b1ff64;
  --color-brand-hover: #a1f64f;
  --color-hero: #e1e5ef;
  --color-surface: #eef0f5;
  --color-line: #d7dce5;
  --color-focus: #245aab;
  --color-link-hover: #386916;
  --font-body: 'Plus Jakarta Sans', Arial, sans-serif;
  --font-heading: Axiforma, 'Plus Jakarta Sans', Arial, sans-serif;
  --page-width: 1224px;
  --page-gutter: 7.5%;
  --header-height: clamp(68px, 7vw, 104px);
  --section-space: clamp(64px, 7.5vw, 112px);
}
@media (max-width: 767px) {
  :root {
    --page-gutter: 6%;
    --header-height: 80px;
    --section-space: 68px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 24px;
  }
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  background: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 767px) {
  body {
    font-size: 17px;
  }
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 500;
}

h2,
h3 {
  letter-spacing: -0.045em;
}

p {
  color: var(--color-text);
}

::selection {
  background: var(--color-brand);
  color: var(--color-ink);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 6px;
  border-radius: 4px;
}

.container {
  width: calc(100% - var(--page-gutter) * 2);
  max-width: var(--page-width);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section-tinted {
  background: var(--color-surface);
}

.section-title {
  font-size: clamp(42px, 6.1vw, 76px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
@media (max-width: 767px) {
  .section-title {
    font-size: clamp(34px, 8.4vw, 50px);
    line-height: 1.15;
  }
}

.eyebrow {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .eyebrow {
    font-size: 12px;
    margin-bottom: 20px;
  }
}

.section-aside .section-title {
  font-size: clamp(36px, 4.5vw, 56px);
}
@media (max-width: 767px) {
  .section-aside .section-title {
    font-size: clamp(34px, 8vw, 49px);
  }
}
.section-aside > p:not(.eyebrow) {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.7;
  max-width: 36ch;
}
@media (max-width: 767px) {
  .section-aside > p:not(.eyebrow) {
    font-size: 17px;
    margin-top: 22px;
  }
}
.section-aside .setup-button {
  margin-top: 32px;
}
@media (max-width: 767px) {
  .section-aside .setup-button {
    margin-top: 26px;
  }
}

@media (max-width: 767px) {
  .desktop-break {
    display: none;
  }
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--color-ink);
  color: #fff;
  padding: 14px 22px;
  z-index: 100;
}
.skip-link:focus {
  top: 16px;
}

.setup-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 7px 9px 7px 29px;
  background: var(--color-brand);
  border: 0;
  border-radius: 100px;
  color: #050704;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.18s, box-shadow 0.18s;
}
.setup-button:hover {
  background: var(--color-brand-hover);
  box-shadow: 0 4px 16px rgba(20, 34, 13, 0.0784313725);
}
.setup-button:hover .button-arrow svg {
  transform: translateX(2px);
}
@media (min-width: 1100px) {
  .setup-button {
    min-height: 68px;
    font-size: 22px;
    gap: 26px;
    padding: 8px 10px 8px 34px;
  }
}
@media (max-width: 767px) {
  .setup-button {
    font-size: 18px;
    min-height: 58px;
    gap: 20px;
    padding-left: 27px;
  }
}

.button-arrow {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #050704;
  color: #fff;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.button-arrow svg {
  width: 29px;
  height: 29px;
  transition: transform 0.18s;
}
@media (min-width: 1100px) {
  .button-arrow {
    width: 52px;
    height: 52px;
  }
  .button-arrow svg {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 767px) {
  .button-arrow {
    width: 44px;
    height: 44px;
  }
}

.setup-note {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
@media (min-width: 1100px) {
  .setup-note {
    font-size: 15px;
  }
}
@media (max-width: 1000px) and (min-width: 768px) {
  .setup-note {
    font-size: 12px;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
  padding-block: 8px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-header {
  position: relative;
  z-index: 5;
}
.site-header:has(+ .hero) {
  background: var(--color-hero);
}
.site-header > .container {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.wordmark img {
  width: clamp(120px, 14vw, 180px);
  height: auto;
}
@media (max-width: 767px) {
  .wordmark img {
    width: 148px;
  }
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.main-navigation a {
  padding-block: 14px;
  position: relative;
}
.main-navigation a::after {
  content: "";
  position: absolute;
  height: 1px;
  background: currentColor;
  bottom: 7px;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s;
}
.main-navigation a:hover::after {
  transform: scaleX(1);
}
@media (max-width: 1000px) and (min-width: 768px) {
  .main-navigation {
    font-size: 11px;
    gap: 25px;
  }
}
@media (max-width: 767px) {
  .main-navigation {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 14px 22px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(19, 26, 45, 0.0784313725);
    border-radius: 12px;
    font-size: 16px;
    z-index: 10;
  }
  .main-navigation.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-navigation a {
    padding-block: 16px;
  }
  .main-navigation a::after {
    display: none;
  }
  .main-navigation a + a {
    border-top: 1px solid var(--color-line);
  }
}

.menu-toggle {
  display: none;
}
@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    padding: 10px 0 10px 12px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
  }
}

.site-footer > .container {
  padding-top: 48px;
  padding-bottom: 30px;
  border-top: 1px solid var(--color-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 30px;
  font-size: 14px;
  line-height: 1.7;
}
.site-footer > .container > p {
  grid-column: 1;
  grid-row: 2;
  font-size: 14px;
  color: var(--color-muted);
}
.site-footer > .container nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.site-footer > .container nav a {
  padding-block: 10px;
}
.site-footer > .container nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer > .container .copyright {
  grid-column: 2;
  grid-row: 2;
  text-align: right;
  align-self: end;
  font-size: 12px;
  color: var(--color-muted);
}
.site-footer > .container .provider-line {
  display: block;
  margin-top: 14px;
  font-size: 12px;
}
.site-footer > .container .provider-line a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 767px) {
  .site-footer > .container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .site-footer > .container > p,
  .site-footer > .container nav,
  .site-footer > .container .copyright {
    grid-column: auto;
    grid-row: auto;
  }
  .site-footer > .container nav {
    justify-content: flex-start;
    gap: 20px;
    font-size: 13px;
    margin-top: 12px;
  }
  .site-footer > .container .copyright {
    text-align: left;
    margin-top: 12px;
  }
}
@media (max-width: 359px) {
  .site-footer > .container nav {
    gap: 14px;
  }
}

.legal {
  max-width: 740px;
  padding: 42px;
  margin-block: 34px 48px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  font-size: 16px;
  line-height: 1.65;
}
.legal h1 {
  font-size: 42px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}
.legal > .eyebrow {
  font-size: 12px;
  margin-bottom: 16px;
}
.legal h2 {
  font-size: 22px;
  margin: 30px 0 12px;
}
.legal p + p {
  margin-top: 16px;
}
.legal address {
  font-style: normal;
  line-height: 1.9;
  font-size: 17px;
  margin-top: 30px;
}
.legal dl {
  margin: 30px 0;
}
.legal dl > div {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
}
.legal dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal .legal-note {
  font-size: 13px;
  color: var(--color-muted);
}
@media (max-width: 540px) {
  .legal {
    width: calc(100% - 40px);
    padding: 28px 22px;
    margin-top: 20px;
  }
  .legal h1 {
    font-size: 34px;
  }
  .legal dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .legal dt {
    font-weight: 700;
  }
}

body:has(.legal, .ob-page) {
  background: var(--color-surface);
}
body:has(.legal, .ob-page) .site-footer > .container {
  border-top-color: #cfd5df;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
