@charset "UTF-8";
/* =========================================================
   Tokens / Variablen
========================================================= */
:root {
  --color-text: #111111;
  --color-muted: #666666;
  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f5;
  --color-border: #e5e5e5;
  --color-accent: #ffcc00;
  --color-accent-soft: #ffe27a;
  --color-accent-strong: #e6b800;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --container: 1100px;
  --radius: 14px;
}

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

html {
  font-size: 16px;
}

body.site {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.page-content > section {
  padding-block: var(--space-2xl);
}

/* =========================================================
   Layout
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 20;
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 72px;
}
.site-header__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  border: 2px solid var(--color-text);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.site-nav-toggle__icon {
  display: grid;
  gap: 5px;
  width: 24px;
}
.site-nav-toggle__icon span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav-toggle[aria-expanded=true] .site-nav-toggle__icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.site-nav-toggle[aria-expanded=true] .site-nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}
.site-nav-toggle[aria-expanded=true] .site-nav-toggle__icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav ul, .site-nav__list,
.footer-nav ul,
.footer-nav__list {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
}
.site-nav li,
.footer-nav li {
  margin: 0;
  padding: 0;
}
.site-nav__link,
.footer-nav__link {
  position: relative;
  display: inline-flex;
  color: var(--color-text);
  font-weight: 600;
}
.site-nav__link:hover,
.footer-nav__link:hover {
  color: var(--color-accent);
}

.site-nav a {
  position: relative;
  display: inline-flex;
}
.site-nav .active > a,
.site-nav .current > a,
.site-nav .is-active > a,
.site-nav .active a,
.site-nav .current a,
.site-nav .is-active a,
.site-nav a.active,
.site-nav a.current,
.site-nav a.is-active,
.site-nav a[aria-current=page] {
  color: var(--color-text);
  font-weight: 800;
}
.site-nav .active > a::after,
.site-nav .current > a::after,
.site-nav .is-active > a::after,
.site-nav .active a::after,
.site-nav .current a::after,
.site-nav .is-active a::after,
.site-nav a.active::after,
.site-nav a.current::after,
.site-nav a.is-active::after,
.site-nav a[aria-current=page]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 3px;
  border-radius: 999px;
  background: var(--color-accent);
}

.site-footer {
  padding-block: var(--space-xl);
  background: #ecebe7;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-md) var(--space-2xl);
  align-items: start;
}
.site-footer__brand {
  display: grid;
  gap: var(--space-sm);
}
.site-footer__logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.16em;
  width: fit-content;
  max-width: 100%;
  color: var(--color-text);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.site-footer__logo-mark {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 1.25em;
  transform: translateY(-0.13em);
}
.site-footer__claim {
  max-width: 34rem;
  margin: 0;
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}
.site-footer__links {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: flex-end;
  width: 100%;
  margin-top: 0;
  padding-top: 0.45rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer__meta a,
.footer-nav__link {
  color: var(--color-text);
}

.site-footer__meta a:hover,
.footer-nav__link:hover {
  color: var(--color-accent);
}

.footer-nav ul, .footer-nav__list {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.footer-nav__link {
  font-weight: 700;
}

/* =========================================================
   Buttons
========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 6px;
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
  border: 1px solid var(--color-accent);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.button:hover {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
}
.button--small {
  min-height: 40px;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
}
.button--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.button--secondary:hover {
  background: var(--color-text);
  color: #ffffff;
  border-color: var(--color-text);
}

/* =========================================================
   Generic Section Helpers
========================================================= */
.section__header {
  max-width: 760px;
  margin-bottom: var(--space-xl);
}
.section__eyebrow {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.section__headline {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.15;
}
.section__intro {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin: 0;
}

.section--light {
  background: var(--color-bg-soft);
}

.brick-help {
  position: relative;
  z-index: 5;
  display: grid;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid #b8d7ff;
  border-radius: 6px;
  background: #eef6ff;
  color: #17324d;
  box-shadow: 0 4px 16px rgba(23, 50, 77, 0.08);
}

.brick-help .brick-help {
  margin-top: var(--space-sm);
  margin-bottom: 0;
  background: #fff8dc;
  border-color: #ead27a;
  color: #3d3412;
}

/* =========================================================
   Theme System
========================================================= */
.theme-default,
.theme-light,
.theme-muted,
.theme-accent,
.theme-accent-soft,
.cta--theme-muted {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.theme-default,
.hero--theme-default,
.rich-text--theme-default,
.image-text--theme-default,
.icon-list--theme-default,
.card-grid--theme-default,
.project-hero-cases--theme-default,
.project-compact-cases--theme-default,
.project-topics-section--theme-default,
.cta--theme-default {
  background: transparent;
  color: var(--color-text);
}

.theme-light,
.hero--theme-light,
.rich-text--theme-light,
.image-text--theme-light,
.icon-list--theme-light,
.card-grid--theme-light,
.project-hero-cases--theme-light,
.project-compact-cases--theme-light,
.project-topics-section--theme-light,
.cta--theme-light {
  background: #fafafa;
  color: var(--color-text);
}

.theme-muted,
.hero--theme-muted,
.rich-text--theme-muted,
.image-text--theme-muted,
.icon-list--theme-muted,
.card-grid--theme-muted,
.project-hero-cases--theme-muted,
.project-compact-cases--theme-muted,
.project-topics-section--theme-muted,
.cta--theme-muted {
  background: var(--color-bg-soft);
  color: var(--color-text);
}

.theme-accent,
.hero--theme-accent,
.rich-text--theme-accent,
.image-text--theme-accent,
.icon-list--theme-accent,
.card-grid--theme-accent,
.project-hero-cases--theme-accent,
.project-compact-cases--theme-accent,
.project-topics-section--theme-accent,
.cta--theme-accent {
  background: var(--color-accent);
  color: var(--color-text);
}

.theme-accent-soft,
.hero--theme-accent-soft,
.rich-text--theme-accent-soft,
.image-text--theme-accent-soft,
.icon-list--theme-accent-soft,
.card-grid--theme-accent-soft,
.project-hero-cases--theme-accent-soft,
.project-compact-cases--theme-accent-soft,
.project-topics-section--theme-accent-soft,
.cta--theme-accent-soft {
  background: var(--color-accent-soft);
  color: var(--color-text);
}

.theme-light .section__intro,
.theme-light .hero__text,
.theme-light .rich-text__text,
.theme-light .image-text__text,
.theme-light .image-text__caption,
.theme-light .card__text,
.theme-light .icon-list__item-text,
.theme-light .cta__text,
.theme-light .cta__secondary,
.theme-muted .section__intro,
.theme-muted .hero__text,
.theme-muted .rich-text__text,
.theme-muted .image-text__text,
.theme-muted .image-text__caption,
.theme-muted .card__text,
.theme-muted .icon-list__item-text,
.theme-muted .cta__text,
.theme-muted .cta__secondary,
.theme-accent .section__intro,
.theme-accent .hero__text,
.theme-accent .rich-text__text,
.theme-accent .image-text__text,
.theme-accent .image-text__caption,
.theme-accent .card__text,
.theme-accent .icon-list__item-text,
.theme-accent .cta__text,
.theme-accent .cta__secondary,
.theme-accent-soft .section__intro,
.theme-accent-soft .hero__text,
.theme-accent-soft .rich-text__text,
.theme-accent-soft .image-text__text,
.theme-accent-soft .image-text__caption,
.theme-accent-soft .card__text,
.theme-accent-soft .icon-list__item-text,
.theme-accent-soft .cta__text,
.theme-accent-soft .cta__secondary {
  color: var(--color-muted);
}

.theme-light .card,
.theme-light .icon-list__item,
.theme-light .cta__box {
  background: #ffffff;
}

.theme-muted .card,
.theme-muted .icon-list__item,
.theme-muted .cta__box {
  background: #ffffff;
  border-color: #dcdcdc;
}

.theme-accent .card,
.theme-accent .icon-list__item,
.theme-accent .cta__box,
.theme-accent-soft .card,
.theme-accent-soft .icon-list__item,
.theme-accent-soft .cta__box {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(17, 17, 17, 0.12);
}
.theme-accent .section__eyebrow,
.theme-accent .card__tag,
.theme-accent .card__link,
.theme-accent-soft .section__eyebrow,
.theme-accent-soft .card__tag,
.theme-accent-soft .card__link {
  color: var(--color-text);
}
.theme-accent .button,
.theme-accent-soft .button {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #ffffff;
}
.theme-accent .button:hover,
.theme-accent-soft .button:hover {
  background: #333333;
  border-color: #333333;
}
.theme-accent .button--secondary,
.theme-accent-soft .button--secondary {
  background: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}
.theme-accent .button--secondary:hover,
.theme-accent-soft .button--secondary:hover {
  background: var(--color-text);
  color: #ffffff;
}

.theme-accent-soft .card,
.theme-accent-soft .icon-list__item,
.theme-accent-soft .cta__box {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(17, 17, 17, 0.12);
}
.theme-accent-soft .section__eyebrow,
.theme-accent-soft .card__tag,
.theme-accent-soft .card__link {
  color: var(--color-text);
}

/* =========================================================
   Special Effects
========================================================= */
.special-effect-frame {
  background: var(--special-effect-frame-bg, var(--color-bg));
}
.special-effect-frame--page, .special-effect-frame--white {
  --special-effect-frame-bg: var(--color-bg);
}
.special-effect-frame--light {
  --special-effect-frame-bg: #fafafa;
}
.special-effect-frame--muted {
  --special-effect-frame-bg: var(--color-bg-soft);
}
.special-effect-frame--accent {
  --special-effect-frame-bg: var(--color-accent);
}
.special-effect-frame--accent-soft {
  --special-effect-frame-bg: var(--color-accent-soft);
}
.special-effect-frame--dark {
  --special-effect-frame-bg: var(--color-text);
}

.special-effect {
  --special-effect-top-depth: 0px;
  --special-effect-bottom-depth: 0px;
  --special-effect-top-left: 0px;
  --special-effect-top-right: 0px;
  --special-effect-bottom-left: 0px;
  --special-effect-bottom-right: 0px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  clip-path: polygon(0 var(--special-effect-top-left), 100% var(--special-effect-top-right), 100% calc(100% - var(--special-effect-bottom-right)), 0 calc(100% - var(--special-effect-bottom-left)));
}

.special-effect-frame > .special-effect:not(.special-effect--none) {
  margin-block: -1px;
}

.special-effect--none {
  clip-path: none;
}

.special-effect:not(.special-effect--none).theme-default,
.special-effect:not(.special-effect--none).hero--theme-default,
.special-effect:not(.special-effect--none).rich-text--theme-default,
.special-effect:not(.special-effect--none).image-text--theme-default,
.special-effect:not(.special-effect--none).icon-list--theme-default,
.special-effect:not(.special-effect--none).card-grid--theme-default,
.special-effect:not(.special-effect--none).project-hero-cases--theme-default,
.special-effect:not(.special-effect--none).project-compact-cases--theme-default,
.special-effect:not(.special-effect--none).project-topics-section--theme-default,
.special-effect:not(.special-effect--none).cta--theme-default {
  background: var(--color-bg);
}

.special-effect.special-effect--has-top {
  --special-effect-top-depth: clamp(0px, calc(var(--special-effect-top-angle, 2) * 1.75vw), 180px);
  padding-top: calc(3rem + var(--special-effect-top-depth));
}

.special-effect.special-effect--has-bottom {
  --special-effect-bottom-depth: clamp(0px, calc(var(--special-effect-bottom-angle, 2) * 1.75vw), 180px);
  padding-bottom: calc(2rem + var(--special-effect-bottom-depth));
}

.special-effect--top-rise {
  --special-effect-top-left: var(--special-effect-top-depth);
}
.special-effect--top-fall {
  --special-effect-top-right: var(--special-effect-top-depth);
}
.special-effect--bottom-rise {
  --special-effect-bottom-right: var(--special-effect-bottom-depth);
}
.special-effect--bottom-fall {
  --special-effect-bottom-left: var(--special-effect-bottom-depth);
}

.special-effect--top-angle-0 {
  --special-effect-top-angle: 0;
}

.special-effect--bottom-angle-0 {
  --special-effect-bottom-angle: 0;
}

.special-effect--top-angle-1 {
  --special-effect-top-angle: 1;
}

.special-effect--bottom-angle-1 {
  --special-effect-bottom-angle: 1;
}

.special-effect--top-angle-2 {
  --special-effect-top-angle: 2;
}

.special-effect--bottom-angle-2 {
  --special-effect-bottom-angle: 2;
}

.special-effect--top-angle-3 {
  --special-effect-top-angle: 3;
}

.special-effect--bottom-angle-3 {
  --special-effect-bottom-angle: 3;
}

.special-effect--top-angle-4 {
  --special-effect-top-angle: 4;
}

.special-effect--bottom-angle-4 {
  --special-effect-bottom-angle: 4;
}

.special-effect--top-angle-5 {
  --special-effect-top-angle: 5;
}

.special-effect--bottom-angle-5 {
  --special-effect-bottom-angle: 5;
}

.special-effect--top-angle-6 {
  --special-effect-top-angle: 6;
}

.special-effect--bottom-angle-6 {
  --special-effect-bottom-angle: 6;
}

.special-effect--top-angle-7 {
  --special-effect-top-angle: 7;
}

.special-effect--bottom-angle-7 {
  --special-effect-bottom-angle: 7;
}

.special-effect--top-angle-8 {
  --special-effect-top-angle: 8;
}

.special-effect--bottom-angle-8 {
  --special-effect-bottom-angle: 8;
}

.special-effect--top-angle-9 {
  --special-effect-top-angle: 9;
}

.special-effect--bottom-angle-9 {
  --special-effect-bottom-angle: 9;
}

.special-effect--top-angle-10 {
  --special-effect-top-angle: 10;
}

.special-effect--bottom-angle-10 {
  --special-effect-bottom-angle: 10;
}

.special-effect--top-angle-11 {
  --special-effect-top-angle: 11;
}

.special-effect--bottom-angle-11 {
  --special-effect-bottom-angle: 11;
}

.special-effect--top-angle-12 {
  --special-effect-top-angle: 12;
}

.special-effect--bottom-angle-12 {
  --special-effect-bottom-angle: 12;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 2rem;
  overflow: hidden;
}
.hero--theme-default {
  background: #f3f3f3;
}
.hero__grid {
  display: grid;
  gap: var(--space-xl);
}
.hero__body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.hero--text-only .hero__body, .hero--text-wide .hero__body, .hero--centered .hero__body {
  grid-template-columns: 1fr;
}
.hero--text-only .hero__content, .hero--centered .hero__content {
  max-width: 720px;
}
.hero.hero--text-wide .hero__content {
  max-width: 1100px;
}
.hero.hero--text-wide .section__headline, .hero.hero--text-image .section__headline {
  max-width: 24ch;
}
.hero.hero--text-wide .section__intro, .hero.hero--text-wide .hero__text {
  max-width: 64rem;
}
.hero--centered .hero__content, .hero--centered .hero__copy {
  margin-inline: auto;
  text-align: center;
}
.hero__copy {
  max-width: 42rem;
}
.hero .section__headline {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin-bottom: 1rem;
}
.hero .section__intro {
  margin-top: 1.25rem;
  font-size: 1.35rem;
  line-height: 1.35;
  color: #2b2b2b;
  max-width: 28ch;
}
.hero .hero__copy .section__intro {
  margin-top: 0;
}
.hero__text {
  margin-top: var(--space-lg);
  color: var(--color-muted);
  font-size: 1.05rem;
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}
.hero__actions--edit {
  display: grid;
  gap: var(--space-sm);
}
.hero__media img {
  border-radius: var(--radius);
}

/* =========================================================
   Rich Text
========================================================= */
.rich-text__inner {
  max-width: 760px;
}
.rich-text--center .rich-text__inner {
  margin-inline: auto;
  text-align: center;
}
.rich-text--wide .rich-text__inner {
  max-width: 960px;
}
.rich-text--has-image .rich-text__inner {
  max-width: var(--container);
}
.rich-text__layout {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}
.rich-text__content, .rich-text__media {
  min-width: 0;
}
.rich-text--has-image .rich-text__layout, .rich-text__layout:has(.rich-text__media) {
  grid-template-columns: 1.2fr 1fr;
}
.rich-text--image-left .rich-text__media {
  order: -1;
}
.rich-text__media {
  margin: 0;
  width: 100%;
  justify-self: end;
}
.rich-text--wide .rich-text__media {
  width: 100%;
}
.rich-text--image-left .rich-text__media {
  justify-self: start;
}
.rich-text__media img, .rich-text__media picture {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.rich-text__text {
  color: var(--color-muted);
  font-size: 1.05rem;
}
.rich-text__text > * {
  margin-top: 0;
}
.rich-text__text > *:last-child {
  margin-bottom: 0;
}
.rich-text__text p {
  margin: 0 0 0.75em;
}
.rich-text__text p:empty {
  margin: 0;
}
.rich-text__text a {
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}
.rich-text__text a:hover {
  border-bottom-color: var(--color-accent-strong);
  color: var(--color-accent-strong);
}
.rich-text__text h3,
.rich-text__text h4,
.rich-text__text h5,
.rich-text__text h6 {
  margin: 1.6em 0 0.55em;
  line-height: 1.18;
  color: var(--color-text);
}
.rich-text__text h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
}
.rich-text__text h4 {
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
}
.rich-text__text h5 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}
.rich-text__text h6 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rich-text__text h3:first-child,
.rich-text__text h4:first-child,
.rich-text__text h5:first-child,
.rich-text__text h6:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .rich-text--has-image .rich-text__layout, .rich-text__layout:has(.rich-text__media) {
    grid-template-columns: 1fr;
  }
  .rich-text--image-left .rich-text__media {
    order: 0;
  }
  .rich-text__media, .rich-text--image-left .rich-text__media {
    justify-self: stretch;
    width: 100%;
  }
}
/* =========================================================
   Icon List
========================================================= */
.icon-list__items {
  display: grid;
  gap: var(--space-lg);
}
.icon-list--2 .icon-list__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.icon-list--3 .icon-list__items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.icon-list--style-default .icon-list__item {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
}
.icon-list__item--has-image-icon {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  column-gap: var(--space-md);
  row-gap: var(--space-sm);
  align-items: start;
}
.icon-list__item--has-image-icon::before {
  content: none;
}
.icon-list__item-image-icon {
  grid-column: 1;
  grid-row: 1;
  width: 3rem;
  min-width: 3rem;
  margin: 0;
  align-self: start;
  justify-self: center;
}
.icon-list__item-image-icon img, .icon-list__item-image-icon picture {
  display: block;
  width: 3rem;
  height: 3rem;
}
.icon-list__item-image-icon .pimcore_editable_image, .icon-list__item-image-icon .pimcore_tag_image, .icon-list__item-image-icon > div:first-child {
  max-width: 3rem;
}
.icon-list__item-image-icon img {
  object-fit: contain;
}
.icon-list__item--has-image-icon .icon-list__item-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  align-self: center;
}
.icon-list--style-problem-list .icon-list__items {
  gap: 24px;
}
.icon-list--style-problem-list .icon-list__item {
  border: none;
  border-left: 4px solid var(--color-accent);
  border-radius: 0;
  padding: 0 0 0 20px;
  background: transparent;
}
.icon-list--style-problem-list .icon-list__item::before {
  content: none;
}
.icon-list--style-checklist .icon-list__items {
  gap: var(--space-sm);
}
.icon-list--style-checklist .icon-list__item {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}
.icon-list--style-checklist .icon-list__item:first-child {
  border-top: 1px solid var(--color-border);
}
.icon-list--style-checklist .icon-list__item::before {
  content: var(--icon-list-symbol, "•");
  display: grid;
  place-items: center;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1;
}
.icon-list--style-checklist .icon-list__item::before {
  grid-column: 1;
  grid-row: 1;
  width: 2.025rem;
  height: 2.025rem;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.22);
  font-size: 1.25rem;
}
.icon-list--style-checklist .icon-list__item-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}
.icon-list--style-checklist .icon-list__item-title, .icon-list--style-checklist .icon-list__item-text {
  max-width: none;
}
.icon-list--style-icon-cards .icon-list__item {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  column-gap: var(--space-md);
  row-gap: var(--space-sm);
  align-items: start;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #faf7ef 100%);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}
.icon-list--style-icon-cards .icon-list__item::before {
  content: var(--icon-list-symbol, "•");
  display: grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--color-accent);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}
.icon-list--style-icon-cards .icon-list__item--has-image-icon::before {
  content: none;
}
.icon-list--style-icon-cards .icon-list__item-image-icon {
  width: 3rem;
}
.icon-list--style-icon-cards .icon-list__item-body {
  min-width: 0;
}
.icon-list__item--icon-none::before {
  --icon-list-symbol: "•";
}
.icon-list__item--icon-check::before {
  --icon-list-symbol: "✓";
}
.icon-list__item--icon-arrow::before {
  --icon-list-symbol: "→";
}
.icon-list__item--icon-plus::before {
  --icon-list-symbol: "+";
}
.icon-list__item--icon-warning::before {
  --icon-list-symbol: "!";
}
.icon-list__item-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}
.icon-list__item-text {
  margin: 0;
  color: var(--color-muted);
}

/* =========================================================
   Card Grid
========================================================= */
.card-grid__items {
  display: grid;
  gap: var(--space-lg);
}
.card-grid--2 .card-grid__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-grid--3 .card-grid__items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid--4 .card-grid__items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
}
.card__tag {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}
.card__title {
  margin: 0;
  font-size: 1.2rem;
}
.card__text {
  margin: 0;
  color: var(--color-muted);
}
.card__media img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.card__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}
.card__link::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.32rem solid transparent;
  border-bottom: 0.32rem solid transparent;
  border-left: 0.48rem solid var(--color-accent);
  transition: transform 0.2s ease;
}
.card__link:hover {
  background: transparent;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.card__link:hover::before {
  transform: translateX(0.18rem);
}
.card__edit-link {
  margin-top: auto;
}

.card-grid--style-default .card {
  border-color: transparent;
  border-top: 4px solid var(--color-accent);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.12);
}

.card-grid--style-compact .card-grid__items {
  gap: var(--space-md);
}

.card-grid--style-compact .card {
  position: relative;
  gap: var(--space-sm);
  padding: 1rem 1rem 1rem 1.35rem;
  border: 0;
  border-left: 6px solid var(--color-accent);
  border-radius: 8px;
  background: var(--color-bg-soft);
  box-shadow: none;
}

.card-grid--style-compact .card__media {
  display: none;
}

.card-grid--style-compact .card__tag {
  font-size: 0.78rem;
}

.card-grid--style-compact .card__title {
  font-size: 1.05rem;
}

.card-grid--style-compact .card__text {
  font-size: 0.95rem;
}

.card-grid--style-outlined .card {
  border: 3px solid var(--color-accent);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: none;
}

.card-grid--style-outlined .card__tag {
  color: currentColor;
  opacity: 0.72;
}

.card-grid--style-outlined .card__text {
  color: inherit;
  opacity: 0.78;
}

.card-grid--style-outlined .card__link {
  background: transparent;
  color: currentColor;
  border-color: transparent;
}

/* =========================================================
   Image Text
========================================================= */
.image-text__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.image-text--left .image-text__media {
  order: -1;
}
.image-text__content, .image-text__media {
  min-width: 0;
}
.image-text__media {
  margin: 0;
}
.image-text__media picture, .image-text__media img {
  display: block;
  width: 100%;
  max-width: 100%;
}
.image-text__media img {
  border-radius: var(--radius);
}
.image-text__caption {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* =========================================================
   Project Cases
========================================================= */
.project-hero-cases {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.project-cases__header {
  max-width: 860px;
}

.project-hero-cases__list {
  display: grid;
  gap: 2rem;
}

.project-case {
  display: grid;
  gap: var(--space-xl);
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}
.project-case--large {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: stretch;
  min-height: 420px;
}
.project-case__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-block: 0.35rem;
}
.project-case__kicker {
  width: fit-content;
  margin-bottom: var(--space-md);
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}
.project-case__category,
.project-case .project-compact-card__category {
  color: var(--color-accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.project-case__title {
  max-width: 13ch;
  margin: 0.45rem 0 1.5rem;
  font-size: clamp(1.8rem, 4.2vw, 3.45rem);
  line-height: 1.02;
}
.project-case__text-grid {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.project-case__text-grid h4 {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.project-case__text-grid p {
  margin: 0;
  color: var(--color-muted);
}
.project-case__challenge p {
  font-size: 0.96rem;
  line-height: 1.55;
}
.project-case__solution {
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--color-accent);
  background: #fafafa;
}
.project-case__solution h4 {
  color: var(--color-text);
}
.project-case__solution p {
  color: #333333;
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.5;
}
.project-case__tags,
.project-case .project-compact-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}
.project-case__tags span,
.project-case .project-compact-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: var(--color-bg-soft);
  color: #333333;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.project-case__tags span.is-primary {
  background: var(--color-text);
  color: #ffffff;
}
.project-case__visual {
  display: grid;
  align-items: stretch;
  min-width: 0;
}
.project-case__browser {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f7f4;
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.1);
}
.project-case__browser-bar {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  min-height: 42px;
  padding-inline: 1rem;
  border-bottom: 1px solid #deded9;
  background: #ffffff;
}
.project-case__browser-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #d7d7d2;
}
.project-case__mock {
  display: grid;
  gap: 1.2rem;
  align-content: center;
  min-height: 360px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.project-case__screenshot {
  display: grid;
  place-items: center;
  gap: 0.65rem;
  min-height: 360px;
  margin: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: #fbfaf6;
}
.project-case__screenshot img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}
.project-case__screenshot-caption {
  max-width: 44rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}
.project-case__mock-title {
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
}
.project-case__mock-text {
  max-width: 34rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}
.project-case__empty {
  padding: var(--space-lg);
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  background: #fafafa;
  color: var(--color-muted);
}
.project-case__mock--gallery {
  background: linear-gradient(90deg, rgba(255, 204, 0, 0.18) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 204, 0, 0.18) 1px, transparent 1px), #fbfaf6;
  background-size: 58px 58px;
}
.project-case__relation-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 520px;
}
.project-case__relation-map span, .project-case__filter-row span, .project-case__steps span {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 0.65rem;
  border: 2px solid #111111;
  border-radius: 6px;
  background: #ffffff;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}
.project-case__relation-map span:nth-child(1) {
  grid-column: span 2;
  background: var(--color-accent);
}
.project-case__relation-map span:nth-child(4) {
  background: #111111;
  color: #ffffff;
}
.project-case__mock--portal {
  background: #efefea;
}
.project-case__filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.project-case__filter-row span {
  min-height: 48px;
  border-width: 1px;
  background: #ffffff;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.project-case__result-list {
  display: grid;
  gap: 0.75rem;
}
.project-case__result-list span {
  display: block;
  height: 54px;
  border-left: 6px solid var(--color-accent);
  border-radius: 6px;
  background: #ffffff;
}
.project-case__result-list span:nth-child(2) {
  width: 88%;
}
.project-case__result-list span:nth-child(3) {
  width: 72%;
}
.project-case__result-list span:nth-child(4) {
  width: 94%;
}
.project-case__mock--product {
  background: linear-gradient(135deg, #ffffff 0%, #f1f1ed 100%);
}
.project-case__product-layout {
  display: grid;
  grid-template-columns: minmax(110px, 0.75fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: center;
}
.project-case__product-layout > span {
  display: block;
  aspect-ratio: 1;
  border: 3px solid #111111;
  border-radius: 8px;
  background: radial-gradient(circle at 34% 32%, var(--color-accent) 0 18%, transparent 19%), radial-gradient(circle at 68% 62%, #111111 0 12%, transparent 13%), #ffffff;
}
.project-case__product-layout div {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem;
  border-left: 6px solid var(--color-accent);
  background: #ffffff;
}
.project-case__product-layout strong {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.1;
}
.project-case__product-layout small {
  color: var(--color-muted);
  font-size: 0.95rem;
}
.project-case__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.project-case__steps span {
  min-height: 52px;
  border-width: 1px;
}

.project-compact-cases {
  padding-top: 0;
  padding-bottom: 2rem;
}

.project-compact-cases__grid {
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid var(--color-border);
}

.project-compact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.24fr) minmax(12rem, 0.3fr) minmax(0, 0.46fr);
  gap: var(--space-lg);
  align-items: start;
  min-width: 0;
  padding: 1.55rem 0 1.55rem 1.35rem;
  border-bottom: 1px solid var(--color-border);
}
.project-compact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 0.32rem rgba(255, 204, 0, 0.22);
}
.project-compact-card h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.18;
}
.project-compact-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.project-compact-card__category {
  color: var(--color-accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.project-compact-card__tags {
  grid-column: 2/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.15rem;
}
.project-compact-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: var(--color-bg-soft);
  color: #333333;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.project-topics {
  display: grid;
  grid-template-columns: minmax(12rem, 0.32fr) minmax(0, 0.68fr);
  gap: var(--space-lg);
  align-items: start;
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-accent);
  border-radius: 8px;
  background: #fafafa;
}
.project-topics__intro {
  display: grid;
  gap: 0.15rem;
}
.project-topics__intro strong {
  color: var(--color-text);
  line-height: 1.2;
}
.project-topics__intro span {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}
.project-topics__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project-topics__items span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.65rem;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  background: #ffffff;
  color: #333333;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.project-topics-section {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.project-topics-section .project-topics {
  margin-top: 0;
}

.project-hero-cases--theme-default,
.project-compact-cases--theme-default,
.project-topics-section--theme-default {
  background: transparent;
}

.project-hero-cases--theme-light,
.project-compact-cases--theme-light,
.project-topics-section--theme-light {
  background: #fafafa;
}

.project-hero-cases--theme-muted,
.project-compact-cases--theme-muted,
.project-topics-section--theme-muted {
  background: var(--color-bg-soft);
}

.project-hero-cases--theme-accent,
.project-compact-cases--theme-accent,
.project-topics-section--theme-accent {
  background: var(--color-accent);
}

.project-hero-cases--theme-accent-soft,
.project-compact-cases--theme-accent-soft,
.project-topics-section--theme-accent-soft {
  background: var(--color-accent-soft);
}

/* =========================================================
   Contact Form
========================================================= */
.contact-form__header {
  margin-bottom: var(--space-lg);
}
.contact-form__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(24rem, 1.15fr);
  gap: var(--space-2xl);
  align-items: start;
}
.contact-form--form-left .contact-form__intro {
  order: 2;
}
.contact-form--form-left .contact-form__form, .contact-form--form-left .contact-form__success {
  order: 1;
}
.contact-form__text {
  color: var(--color-muted);
  max-width: 42rem;
  font-size: 1.05rem;
}
.contact-form__text > * {
  margin-top: 0;
}
.contact-form__text > *:last-child {
  margin-bottom: 0;
}
.contact-form__text p {
  margin: 0 0 0.75em;
}
.contact-form__text h3,
.contact-form__text h4 {
  margin: var(--space-xl) 0 var(--space-sm);
  line-height: 1.2;
}
.contact-form__text ul {
  margin: var(--space-md) 0 0;
  padding-left: 1.35rem;
}
.contact-form__text a {
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}
.contact-form__text a:hover {
  border-bottom-color: var(--color-accent-strong);
  color: var(--color-accent-strong);
}
.contact-form__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  padding: var(--space-xl);
  border: 3px solid var(--color-accent);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.1);
}
.contact-form__success {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-xl);
  border: 3px solid var(--color-accent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-accent) 10%, #ffffff);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.1);
}
.contact-form__success-mark {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--color-accent);
}
.contact-form__success-mark::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.78rem;
  width: 0.85rem;
  height: 1.35rem;
  border-right: 4px solid var(--color-text);
  border-bottom: 4px solid var(--color-text);
  transform: rotate(45deg);
}
.contact-form__success-title {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.15;
}
.contact-form__success-text {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}
.contact-form__success-note {
  margin: var(--space-md) 0 0;
  color: var(--color-muted);
}
.contact-form__field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}
.contact-form__field--wide, .contact-form__notice, .contact-form__privacy, .contact-form__actions {
  grid-column: 1/-1;
}
.contact-form__field--honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__notice {
  padding: 0.9rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.4;
}
.contact-form__notice--success {
  border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 18%, #ffffff);
}
.contact-form__notice--error {
  border-color: #c73526;
  background: #fff1ef;
  color: #8f2117;
}
.contact-form__label {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}
.contact-form__input, .contact-form__select, .contact-form__textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.9rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  line-height: 1.35;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form__textarea {
  min-height: 10rem;
  resize: vertical;
}
.contact-form__input:focus, .contact-form__select:focus, .contact-form__textarea:focus {
  border-color: var(--color-accent-strong);
  box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.22);
  outline: 0;
}
.contact-form__input[aria-invalid=true], .contact-form__select[aria-invalid=true], .contact-form__textarea[aria-invalid=true] {
  border-color: #c73526;
}
.contact-form__input::placeholder {
  color: var(--color-muted);
}
.contact-form__error {
  margin: 0;
  color: #8f2117;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}
.contact-form__check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.contact-form__check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.16rem;
  accent-color: var(--color-accent);
}
.contact-form__check p {
  margin: 0;
}
.contact-form__privacy a {
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}
.contact-form__privacy a:hover {
  border-bottom-color: var(--color-accent-strong);
  color: var(--color-accent-strong);
}
.contact-form__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: var(--space-xs);
}
.contact-form__actions .button {
  min-width: 12rem;
}

@media (max-width: 900px) {
  .contact-form__layout, .contact-form__form {
    grid-template-columns: 1fr;
  }
  .contact-form--form-left .contact-form__intro, .contact-form--form-left .contact-form__form, .contact-form--form-left .contact-form__success {
    order: initial;
  }
}
@media (max-width: 640px) {
  .contact-form__form {
    padding: var(--space-lg);
  }
  .contact-form__success {
    grid-template-columns: 1fr;
    padding: var(--space-lg);
  }
  .contact-form__actions .button {
    width: 100%;
  }
}
/* =========================================================
   CTA
========================================================= */
.cta__box {
  padding: var(--space-xl);
  border-radius: var(--radius);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  text-align: center;
}
.cta__headline {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}
.cta__text {
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  color: var(--color-muted);
}
.cta__secondary {
  margin-top: var(--space-md);
  color: var(--color-muted);
  font-size: 0.95rem;
}

.cta--default .cta__box {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cta--left .cta__box {
  text-align: left;
}

.cta--left .cta__text {
  margin-inline: 0;
}

.cta--boxed .cta__box {
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.1);
}

.cta--accent .cta__box {
  border: 0;
  background: var(--color-accent);
  color: var(--color-text);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.14);
}

.cta--accent .cta__text,
.cta--accent .cta__secondary {
  color: rgba(17, 17, 17, 0.72);
}

.cta--accent .button {
  background: var(--color-text);
  color: #ffffff;
  border-color: var(--color-text);
}

.cta--dark .cta__box {
  border: 0;
  background: var(--color-text);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.18);
}

.cta--dark .cta__text,
.cta--dark .cta__secondary {
  color: rgba(255, 255, 255, 0.74);
}

.cta--dark .button {
  background: var(--color-accent);
  color: var(--color-text);
  border-color: var(--color-accent);
}

.cta--dark .button:hover {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 900px) {
  .hero__grid,
  .hero__body,
  .project-case--large,
  .image-text__grid,
  .rich-text__layout,
  .icon-list--2 .icon-list__items,
  .icon-list--3 .icon-list__items,
  .card-grid--2 .card-grid__items,
  .card-grid--3 .card-grid__items,
  .card-grid--4 .card-grid__items {
    grid-template-columns: 1fr;
  }
  .site-header__inner {
    padding-block: var(--space-sm);
  }
  .site-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .site-header__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.16);
  }
  .site-header__menu.is-open {
    display: flex;
  }
  .site-header__menu .site-nav ul, .site-header__menu .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header__menu .site-nav li + li {
    border-top: 1px solid var(--color-border);
  }
  .site-header__menu .site-nav a {
    display: flex;
    padding-block: 0.8rem;
  }
  .site-header__menu .site-nav .active > a::after,
  .site-header__menu .site-nav .current > a::after,
  .site-header__menu .site-nav .is-active > a::after,
  .site-header__menu .site-nav .active a::after,
  .site-header__menu .site-nav .current a::after,
  .site-header__menu .site-nav .is-active a::after,
  .site-header__menu .site-nav a.active::after,
  .site-header__menu .site-nav a.current::after,
  .site-header__menu .site-nav a.is-active::after,
  .site-header__menu .site-nav a[aria-current=page]::after {
    bottom: 0.35rem;
  }
  .site-header__cta {
    justify-content: center;
    width: 100%;
  }
  .footer-nav ul, .footer-nav__list {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__links {
    justify-items: start;
  }
  .footer-nav ul, .footer-nav__list {
    align-items: flex-start;
  }
  .site-footer__meta {
    justify-content: flex-start;
    margin-top: 0;
  }
  .hero {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
  .hero .section__headline {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    max-width: none;
  }
  .hero .section__intro {
    font-size: 1.15rem;
    max-width: none;
  }
  .project-case__title {
    max-width: none;
  }
  .project-case__mock {
    min-height: 300px;
  }
  .project-compact-cases__grid {
    grid-template-columns: 1fr;
  }
  .project-compact-card {
    grid-template-columns: minmax(7.5rem, 0.34fr) minmax(0, 0.66fr);
  }
  .project-compact-card p,
  .project-compact-card__tags {
    grid-column: 2;
  }
  .project-topics {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
@media (max-width: 640px) {
  .section__headline {
    font-size: clamp(1.55rem, 7.5vw, 2.25rem);
  }
  .hero .section__headline {
    font-size: clamp(1.85rem, 8.5vw, 2.7rem);
  }
  .project-hero-cases {
    padding-top: 3rem;
  }
  .project-case__relation-map,
  .project-case__filter-row,
  .project-case__product-layout,
  .project-case__steps,
  .project-compact-cases__grid,
  .project-compact-card {
    grid-template-columns: 1fr;
  }
  .project-compact-card p,
  .project-compact-card__tags {
    grid-column: auto;
  }
  .project-case__relation-map span:nth-child(1) {
    grid-column: auto;
  }
  .project-case__mock {
    min-height: 260px;
  }
}
