/*
Theme Name: sustainablemedia
Theme URI: https://sustainablemedia.de/
Author: Simon
Description: Child Theme für sustainablemedia auf Basis von Twenty Twenty-Five.
Template: twentytwentyfive
Version: 1.0.0
Text Domain: sustainablemedia
*/

main.wp-block-group.has-global-padding {
  margin-top: 0 !important;
}

.sm-page {
  --sm-bg: #08080d;
  --sm-bg-2: #11131c;
  --sm-fg: #f7f4ed;
  --sm-muted: rgba(247, 244, 237, 0.72);
  --sm-soft: rgba(247, 244, 237, 0.58);
  --sm-line: rgba(247, 244, 237, 0.15);
  --sm-line-strong: rgba(247, 244, 237, 0.26);
  --sm-card: rgba(255, 255, 255, 0.055);
  --sm-card-strong: rgba(255, 255, 255, 0.09);
  --sm-cyan: #5ee7d7;
  --sm-gold: #f5c95c;
  --sm-pink: #ff6f91;
  --sm-blue: #89a9ff;
  --sm-shadow: rgba(0, 0, 0, 0.42);
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(30px, 5vw, 72px) max(20px, env(safe-area-inset-left)) clamp(44px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(94, 231, 215, 0.10) 1px, transparent 1px),
    linear-gradient(rgba(247, 244, 237, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(94, 231, 215, 0.16), transparent 34%),
    linear-gradient(215deg, rgba(255, 111, 145, 0.12), transparent 38%),
    linear-gradient(180deg, var(--sm-bg), var(--sm-bg-2));
  background-size: 72px 72px, 72px 72px, 100% 100%, 100% 100%, 100% 100%;
  color: var(--sm-fg);
}

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

.sm-page a {
  color: inherit;
}

.sm-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(56px, 8vw, 112px);
  width: min(1160px, 100%);
  max-width: 1160px !important;
  margin: 0 auto;
}

.sm-shell > :where(.sm-hero, .sm-section, .sm-contact) {
  width: 100%;
  max-width: none !important;
}

.sm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  min-height: min(760px, 82svh);
}

.sm-hero-copy,
.sm-section,
.sm-ai-copy,
.sm-orbit,
.sm-signal-list {
  min-width: 0;
  margin: 0;
}

.sm-kicker,
.sm-section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 18px;
  color: var(--sm-soft);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  font-weight: 720;
  line-height: 1.3;
  text-transform: uppercase;
}

.sm-kicker::before,
.sm-section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--sm-cyan), transparent);
}

.sm-title {
  max-width: 720px;
  margin: 0;
  color: var(--sm-fg);
  font-size: clamp(3.05rem, 6.25vw, 6.15rem);
  font-weight: 820;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.sm-lead,
.sm-section-intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--sm-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.66;
}

.sm-actions {
  margin-top: 34px;
  gap: 14px;
}

.sm-primary .wp-block-button__link {
  min-height: 50px;
  padding: 15px 20px;
  border: 1px solid rgba(94, 231, 215, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(94, 231, 215, 0.96), rgba(245, 201, 92, 0.93));
  color: #071014;
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(94, 231, 215, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.sm-primary .wp-block-button__link:hover,
.sm-primary .wp-block-button__link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(245, 201, 92, 0.82);
  box-shadow: 0 22px 48px rgba(245, 201, 92, 0.18);
  outline: none;
}

.sm-orbit {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 500px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--sm-card-strong), var(--sm-card)),
    linear-gradient(90deg, rgba(94, 231, 215, 0.09), rgba(255, 111, 145, 0.07));
  box-shadow: 0 30px 90px var(--sm-shadow);
  isolation: isolate;
}

.sm-orbit::before {
  content: "";
  position: absolute;
  inset: clamp(26px, 4vw, 48px);
  z-index: -1;
  border: 1px solid rgba(247, 244, 237, 0.12);
  border-radius: 999px;
  transform: rotate(-10deg);
}

.sm-orbit::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(94, 231, 215, 0.15), transparent),
    linear-gradient(180deg, transparent, rgba(137, 169, 255, 0.12), transparent);
  opacity: 0.68;
}

.sm-orbit-item {
  align-self: center;
  width: min(100%, 360px);
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background: rgba(8, 8, 13, 0.68);
  backdrop-filter: blur(14px);
}

.sm-orbit-item-one {
  justify-self: start;
}

.sm-orbit-item-two {
  justify-self: end;
}

.sm-orbit-item-three {
  justify-self: center;
}

.sm-index,
.sm-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin: 0 0 14px;
  border: 1px solid rgba(94, 231, 215, 0.54);
  border-radius: 8px;
  color: var(--sm-cyan);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1;
}

.sm-orbit-item-two .sm-index {
  border-color: rgba(245, 201, 92, 0.56);
  color: var(--sm-gold);
}

.sm-orbit-item-three .sm-index {
  border-color: rgba(255, 111, 145, 0.56);
  color: var(--sm-pink);
}

.sm-orbit h2,
.sm-card h3,
.sm-step h3 {
  margin: 0 0 10px;
  color: var(--sm-fg);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.sm-orbit p,
.sm-card p,
.sm-step p {
  margin-top: 0;
  color: var(--sm-muted);
  line-height: 1.58;
}

.sm-orbit p:last-child,
.sm-card p:last-child,
.sm-step p:last-child {
  margin-bottom: 0;
}

.sm-section {
  display: grid;
  gap: 0;
}

.sm-section-title {
  max-width: 880px;
  margin: 0;
  color: var(--sm-fg);
  font-size: clamp(2.05rem, 3.65vw, 4rem);
  font-weight: 780;
  line-height: 1.06;
  letter-spacing: 0;
}

.sm-service-grid,
.sm-steps {
  gap: 18px;
  margin-top: 24px;
}

.sm-service-grid + .sm-service-grid {
  margin-top: 18px;
}

.sm-card,
.sm-step {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.sm-card {
  min-height: 215px;
}

.sm-card:nth-child(2),
.sm-step:nth-child(2) {
  border-color: rgba(245, 201, 92, 0.30);
}

.sm-card:nth-child(3),
.sm-step:nth-child(3) {
  border-color: rgba(255, 111, 145, 0.30);
}

.sm-ai {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--sm-line-strong);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(94, 231, 215, 0.10), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.sm-signal-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-signal-list li {
  position: relative;
  margin: 0;
  padding: 16px 16px 16px 48px;
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background: rgba(8, 8, 13, 0.48);
  color: var(--sm-muted);
  line-height: 1.55;
}

.sm-signal-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(94, 231, 215, 0.76);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sm-cyan), var(--sm-blue));
}

.sm-contact {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--sm-line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(94, 231, 215, 0.13), rgba(245, 201, 92, 0.10) 48%, rgba(255, 111, 145, 0.11)),
    rgba(255, 255, 255, 0.045);
}

@media (max-width: 920px) {
  .sm-hero,
  .sm-ai {
    grid-template-columns: 1fr;
  }

  .sm-hero {
    min-height: 0;
    padding: 30px 0 0;
  }

  .sm-orbit {
    min-height: auto;
  }

  .sm-orbit-item,
  .sm-orbit-item-one,
  .sm-orbit-item-two,
  .sm-orbit-item-three {
    justify-self: stretch;
    width: 100%;
  }
}

@media (min-width: 921px) and (max-width: 1120px) {
  .sm-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  }

  .sm-title {
    font-size: clamp(3rem, 5.75vw, 5rem);
  }

  .sm-ai {
    grid-template-columns: 1fr;
  }

  .sm-ai .sm-section-title {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .sm-page {
    padding-inline: 18px;
  }

  .sm-title {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .sm-service-grid,
  .sm-steps {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .sm-card,
  .sm-step {
    min-height: 0;
  }

  .sm-primary,
  .sm-primary .wp-block-button__link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-primary .wp-block-button__link {
    transition: none;
  }

  .sm-primary .wp-block-button__link:hover,
  .sm-primary .wp-block-button__link:focus-visible {
    transform: none;
  }
}