/*
Theme Name: iTStuff Light
Theme URI: https://itstuff.at
Author: iTStuff
Description: Helles Child Theme fuer iTStuff auf Basis von Linea Blog.
Template: linea-blog
Requires at least: 6.1
Requires PHP: 7.4
Version: 0.1.0
Text Domain: itstuff-light
*/

:root {
  --itstuff-bg: #ffffff;
  --itstuff-surface: #f5f7fa;
  --itstuff-surface-strong: #edf2f7;
  --itstuff-text: #111827;
  --itstuff-muted: #5b6675;
  --itstuff-border: #d9e1ea;
  --itstuff-accent: #2563eb;
  --itstuff-accent-soft: #dbeafe;
  --itstuff-green: #10a37f;
}

body {
  background: var(--itstuff-bg);
  color: var(--itstuff-text);
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.itstuff-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--itstuff-border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.itstuff-header__inner {
  min-height: 76px;
}

.itstuff-logo {
  color: var(--itstuff-text);
  display: inline-flex;
  align-items: baseline;
  gap: 0.03em;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.itstuff-logo__i {
  position: relative;
}

.itstuff-logo__dot {
  background: var(--itstuff-accent);
  border-radius: 999px;
  box-shadow: 0 0 0 5px var(--itstuff-accent-soft);
  display: block;
  height: 0.3em;
  left: 50%;
  position: absolute;
  top: -0.34em;
  transform: translateX(-50%);
  width: 0.3em;
}

.itstuff-logo__t {
  color: var(--itstuff-accent);
}

.itstuff-logo__rest {
  font-weight: 620;
}

.itstuff-nav-note {
  color: var(--itstuff-muted);
  font-size: 0.95rem;
}

.itstuff-hero {
  background:
    radial-gradient(circle at 82% 12%, rgba(37, 99, 235, 0.1), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  border-bottom: 1px solid var(--itstuff-border);
  overflow: hidden;
}

.itstuff-hero__grid {
  align-items: center;
}

.itstuff-eyebrow {
  color: var(--itstuff-accent);
  font-size: 0.86rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.itstuff-hero h1,
.itstuff-section h2,
.itstuff-card h3 {
  color: var(--itstuff-text);
  letter-spacing: 0;
}

.itstuff-lead {
  color: var(--itstuff-muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.75;
  max-width: 720px;
}

.itstuff-portrait-flow {
  min-height: 420px;
  position: relative;
}

.itstuff-flow-shape {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92), transparent 5.6rem),
    radial-gradient(circle at 66% 26%, rgba(37, 99, 235, 0.18), transparent 0.8rem),
    radial-gradient(circle at 34% 66%, rgba(16, 163, 127, 0.16), transparent 0.7rem),
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(16, 163, 127, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 34% 66% 58% 42% / 42% 36% 64% 58%;
  height: clamp(280px, 30vw, 440px);
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 30vw, 440px);
}

.itstuff-flow-shape span {
  display: none;
}

.itstuff-flow-shape::before,
.itstuff-flow-shape::after {
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  content: "";
  position: absolute;
}

.itstuff-flow-shape::before {
  height: 72%;
  left: -8%;
  top: 14%;
  transform: rotate(-18deg);
  width: 118%;
}

.itstuff-flow-shape::after {
  height: 44%;
  right: -12%;
  top: 24%;
  transform: rotate(24deg);
  width: 88%;
}

.itstuff-portrait {
  background: #ffffff;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 999px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
  display: block;
  height: clamp(168px, 18vw, 236px);
  object-fit: cover;
  opacity: 0.88;
  padding: 8px;
  position: absolute;
  right: clamp(24px, 8vw, 112px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(168px, 18vw, 236px);
  z-index: 2;
}

.itstuff-flow-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 225, 234, 0.88);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
  color: var(--itstuff-muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.72rem 0.86rem;
  position: absolute;
  z-index: 3;
}

.itstuff-flow-card::before {
  background: var(--itstuff-green);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 0.55rem;
  margin-right: 0.5rem;
  width: 0.55rem;
}

.itstuff-flow-card--top {
  right: clamp(12px, 6vw, 74px);
  top: 58px;
}

.itstuff-flow-card--bottom {
  bottom: 56px;
  right: clamp(84px, 14vw, 170px);
}

.itstuff-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.itstuff-button .wp-block-button__link,
.wp-block-button.itstuff-button .wp-block-button__link {
  background: var(--itstuff-accent);
  border: 1px solid var(--itstuff-accent);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 1.2rem;
}

.itstuff-button-secondary .wp-block-button__link,
.wp-block-button.itstuff-button-secondary .wp-block-button__link {
  background: #ffffff;
  border: 1px solid var(--itstuff-border);
  border-radius: 8px;
  color: var(--itstuff-text);
  font-weight: 700;
  padding: 0.85rem 1.2rem;
}

.itstuff-service-grid {
  align-items: stretch;
}

.itstuff-card {
  background: #ffffff;
  border: 1px solid var(--itstuff-border);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
  height: 100%;
}

.itstuff-card p {
  color: var(--itstuff-muted);
}

.itstuff-chip {
  background: var(--itstuff-accent-soft);
  border-radius: 999px;
  color: var(--itstuff-accent);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
}

.itstuff-quiet {
  background: var(--itstuff-surface);
  border-top: 1px solid var(--itstuff-border);
  border-bottom: 1px solid var(--itstuff-border);
}

.itstuff-note {
  background: #ffffff;
  border-left: 4px solid var(--itstuff-green);
  color: var(--itstuff-muted);
}

.itstuff-footer {
  background: #111827;
  color: #d1d5db;
}

.itstuff-footer a {
  color: #ffffff;
}

.itstuff-footer h2,
.itstuff-footer h3 {
  color: #ffffff;
}

@media (max-width: 781px) {
  .itstuff-header__inner {
    gap: 1rem;
    min-height: auto;
  }

  .itstuff-logo {
    font-size: 1.55rem;
  }

  .itstuff-nav-note {
    display: none;
  }

  .itstuff-portrait-flow {
    min-height: 300px;
  }

  .itstuff-flow-shape {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  .itstuff-portrait {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  .itstuff-flow-card--top {
    right: 18px;
    top: 20px;
  }

  .itstuff-flow-card--bottom {
    bottom: 22px;
    left: 18px;
    right: auto;
  }
}
