/* ==========================================================================
   Hallo-Seite — eigenständiger Hero, bewusst ohne Header/Footer-Chrome
   ========================================================================== */

.hallo-hero {
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  padding: 6vh 0;
}

.hallo-inner {
  max-width: 46rem;
}

.hallo-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.2vw, 3.75rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 1.75rem;
}

.hallo-avatar {
  display: inline-flex;
  vertical-align: middle;
  width: clamp(60px, 6vw, 88px);
  height: clamp(60px, 6vw, 88px);
  margin: -0.6em 0.2em 0 0.2em;
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid var(--color-bg);
  box-shadow: 0 14px 30px -8px rgba(27, 24, 18, 0.2);
  animation: hallo-float 4.5s ease-in-out infinite;
}

.hallo-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes hallo-float {
  0%,
  100% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hallo-avatar {
    animation: none;
  }
}

.hallo-wave {
  display: inline-block;
}

.hallo-subtitle {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: var(--color-muted);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.hallo-subtitle a {
  color: var(--color-muted);
  text-decoration: none;
  background-position: 0 100%;
  background-size: 0% 3px;
  transition: background-size 0.25s ease;
}

.hallo-subtitle a:hover {
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 100% 0.1em;
  background-image: linear-gradient(var(--color-yellow), var(--color-yellow));
}


.hallo-lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 32rem;
  margin-bottom: 2.25rem;
}

.hallo-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  background: var(--color-ink);
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-b {
  background-color: var(--color-yellow) !important;
  color: var(--color-text);
  margin-left:1em;
}

.hallo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(27, 24, 18, 0.28);
}

.scroll-indicator {
    position: absolute;
    top: 92vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-arrow {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--color-text));
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(20px);
        opacity: 1;
    }
}

@media (max-width: 600px) {
  .hallo-hero {
    padding: 8vh 6vw;
  }

  .hallo-avatar {
    display: block;
    margin: 0.75rem 0;
  }
}

/* --- Drei Kästen am Seitenende: Blog / Newsletter / Projekte ------------ */

.hallo-more {
  padding: 7vh 0 12vh;
}

.hallo-more-inner {

  margin: 0 auto;
}

.hallo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.85rem 1.85rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-hairline);
  border-radius: 18px;
}

.hallo-card h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.hallo-card p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.hallo-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.hallo-card-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--color-hairline);
}

.hallo-card-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.hallo-card-list a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.hallo-card-list a:hover {
  border-color: var(--color-yellow);
}

.hallo-card-list span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.hallo-card-link {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 2px solid var(--color-yellow);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}

.hallo-card-link:hover {
  border-color: var(--color-yellow-deep);
}

@media (max-width: 767.98px) {
  .hallo-more {
    padding: 6vh 6vw 10vh;
  }
}
