/* ==========================================================================
   sac. — Agentur-Website
   ========================================================================== */

:root {
  /* Farben */
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-200: #dfe3e8;
  --gray-300: #c7ccd4;
  --gray-500: #6b7280;
  --gray-600: #4b5261;
  --gray-700: #333844;
  --gray-900: #14161b;
  --black: #0a0a0c;

  --blue-50: #edf2ff;
  --blue-100: #dbe6ff;
  --blue-200: #b3c6ff;
  --blue-300: #8aa6fe;
  --blue-500: #3461fd;
  --blue-600: #2a4fd6;
  --blue-700: #23409f;

  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --text: var(--gray-900);
  --text-muted: var(--gray-600);
  --border: var(--gray-200);

  /* Typografie */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radius / Schatten */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 10, 12, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 10, 12, 0.08);
  --shadow-lg: 0 20px 48px rgba(10, 10, 12, 0.12);

  --container-width: 1160px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Layout Helfer
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 10vw, 112px);
}

.section--alt {
  background: var(--bg-alt);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--gray-900);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Baustellen-Hinweis
   ========================================================================== */

.build-notice {
  background: var(--black);
  color: var(--white);
}

.build-notice .container {
  padding-block: 8px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.build-notice strong {
  color: var(--blue-200);
  font-weight: 600;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(10, 10, 12, 0.02);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 18px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.logo .dot {
  color: var(--blue-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s var(--ease);
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--blue-500);
  transition: width 0.25s var(--ease);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 80px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .main-nav a:hover {
    background: var(--gray-50);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 12vw, 132px) clamp(56px, 8vw, 96px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.hero-chips li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-chips svg {
  flex-shrink: 0;
  color: var(--blue-500);
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  z-index: 0;
  background: radial-gradient(
      480px 320px at 15% 20%,
      var(--blue-100) 0%,
      transparent 70%
    ),
    radial-gradient(420px 320px at 85% 10%, var(--gray-100) 0%, transparent 70%),
    radial-gradient(360px 280px at 60% 60%, var(--blue-50) 0%, transparent 75%);
  filter: blur(10px);
  animation: drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, 24px, 0) scale(1.04);
  }
}

/* ==========================================================================
   Grids & Cards
   ========================================================================== */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.style-showcase {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.sw {
  position: absolute;
  top: var(--top, 10%);
  left: var(--left, 10%);
  transform: rotate(var(--rot, 0deg));
  opacity: var(--op, 0.16);
  color: var(--gray-900);
  line-height: 1;
  white-space: nowrap;
}

.sw-glyph {
  font-size: var(--size, 4.5rem);
  font-weight: 600;
}

.sw-word {
  font-size: var(--size, 1.4rem);
  letter-spacing: 0.04em;
}

.sw-icon svg {
  display: block;
}

.leistungen-carousel {
  margin-top: 8px;
}

.carousel-viewport {
  position: relative;
}

.carousel-stage {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.carousel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.carousel-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.carousel-bg-layer.is-active {
  opacity: 1;
}

.carousel-bg-layer .sw {
  transition: transform 0.6s var(--ease);
  transform: rotate(var(--rot, 0deg)) scale(0.8) translateY(12px);
}

.carousel-bg-layer.is-active .sw {
  transform: rotate(var(--rot, 0deg)) scale(1) translateY(0);
}

.carousel-bg-layer .sw:nth-child(-n + 4) {
  transition-delay: 0ms;
}

.carousel-bg-layer .sw:nth-child(n + 5):nth-child(-n + 9) {
  transition-delay: 60ms;
}

.carousel-bg-layer .sw:nth-child(n + 10):nth-child(-n + 14) {
  transition-delay: 120ms;
}

.carousel-bg-layer .sw:nth-child(n + 15) {
  transition-delay: 180ms;
}

.carousel-panel {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
  padding: 56px 44px;
  text-align: left;
  gap: 0;
}

.panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

.panel-visual .device-morph-wrap {
  margin: 0;
}

.panel-visual-icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .carousel-stage {
    height: 480px;
  }

  .carousel-panel {
    max-width: 1080px;
    flex-direction: row;
    align-items: center;
    gap: 64px;
    padding: 0 64px;
  }

  .panel-text {
    flex: 1 1 50%;
    min-width: 0;
  }

  .panel-visual {
    flex: 0 0 auto;
    width: 340px;
    margin-top: 0;
  }

  .panel-visual-icon {
    width: 240px;
    height: 240px;
  }
}

.carousel-panel p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 14px;
}

.carousel-panel p:last-child {
  margin-bottom: 0;
}

.carousel-panel strong {
  color: var(--text);
}

.carousel-panel ul {
  margin: 4px 0 14px;
  padding-left: 20px;
  list-style: disc;
}

.carousel-panel li {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 8px;
}

.carousel-panel.is-active {
  display: flex;
  animation: carousel-panel-in 0.5s var(--ease);
}

@keyframes carousel-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.carousel-panel .card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.carousel-panel h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.carousel-arrow:hover {
  background: var(--gray-50);
  box-shadow: var(--shadow-md);
}

.carousel-arrow--prev {
  left: 20px;
}

.carousel-arrow--next {
  right: 20px;
}

@media (max-width: 640px) {
  .carousel-arrow--prev {
    left: 8px;
  }
  .carousel-arrow--next {
    right: 8px;
  }
  .carousel-panel {
    padding: 56px 24px;
  }
}

/* Kompaktes Layout, damit das Leistungen-Karussell auf einen Handy-Bildschirm passt */
@media (max-width: 480px) {
  .leistungen-carousel .carousel-bg .sw:nth-child(even) {
    display: none;
  }

  .carousel-panel {
    padding: 28px 20px 24px;
  }

  .carousel-panel .card-icon {
    display: none;
  }

  .carousel-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .carousel-panel p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .carousel-panel .panel-text p:nth-of-type(n + 2),
  .carousel-panel .panel-text ul {
    display: none;
  }

  .panel-visual {
    margin-top: 4px;
  }

  .device-morph-wrap,
  .webdesign-morph-wrap,
  .hosting-network-wrap,
  .pflege-morph-wrap {
    height: 190px;
    justify-content: center;
    overflow: hidden;
  }

  .device-morph,
  .webdesign-morph,
  .hosting-network,
  .pflege-morph {
    transform: scale(0.62);
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-dots .dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.carousel-dots .dot.is-active {
  background: var(--blue-500);
  transform: scale(1.3);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-600);
}

.card-link svg {
  transition: transform 0.2s var(--ease);
}

.card:hover .card-link svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Warum-Karussell (kompakt, neben dem Text)
   ========================================================================== */

.warum-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

@media (max-width: 860px) {
  .warum-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.warum-carousel-viewport {
  position: relative;
}

.warum-carousel-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
}

.warum-panel {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.warum-panel.is-active {
  display: flex;
  animation: carousel-panel-in 0.5s var(--ease);
}

.warum-panel .card-icon {
  margin-bottom: 18px;
}

.warum-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.warum-panel p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.warum-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
}

.warum-arrow--prev {
  left: -20px;
}

.warum-arrow--next {
  right: -20px;
}

@media (max-width: 560px) {
  .warum-arrow--prev {
    left: -8px;
  }
  .warum-arrow--next {
    right: -8px;
  }
  .warum-carousel-card {
    padding: 40px 32px;
  }
}

.warum-carousel .carousel-dots {
  margin-top: 18px;
}

.hero-thread-label {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--blue-600);
}

.offer-box {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.offer-box .section-eyebrow {
  display: block;
}

.offer-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 14px;
}

.offer-box .section-lead {
  margin-bottom: 28px;
}

/* ==========================================================================
   Portfolio (Browser-Mockups)
   ========================================================================== */

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.browser-frame {
  background: var(--gray-100);
  padding: 10px 10px 0;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 10px;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-300);
}

.browser-viewport {
  background: var(--white);
  border-radius: 10px 10px 0 0;
  padding: 22px 20px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.mock-nav span {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
}

.mock-nav span:first-child {
  width: 34px;
  background: var(--blue-500);
}

.mock-nav span:nth-child(2) {
  width: 22px;
}

.mock-nav span:nth-child(3) {
  width: 22px;
}

.mock-title {
  height: 16px;
  width: 70%;
  border-radius: 4px;
  background: var(--gray-900);
  opacity: 0.85;
}

.mock-lines span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--gray-200);
  margin-top: 8px;
}

.mock-lines span:nth-child(1) {
  width: 92%;
}
.mock-lines span:nth-child(2) {
  width: 80%;
}

.mock-btn {
  margin-top: auto;
  width: 64px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--blue-500);
  opacity: 0.9;
}

.browser-viewport--live {
  padding: 0;
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

.iframe-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 400%;
  border: 0;
  transform: scale(0.25);
  transform-origin: top left;
  pointer-events: none;
}

.live-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10, 10, 12, 0.72);
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

.live-badge span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.portfolio-body {
  padding: 22px 24px 26px;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-600);
}

.portfolio-link svg {
  transition: transform 0.2s var(--ease);
}

.portfolio-card:hover .portfolio-link svg {
  transform: translate(2px, -2px);
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.portfolio-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.portfolio-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Farbvarianten der Mockups je Branche */
.portfolio-card--restaurant .mock-nav span:first-child,
.portfolio-card--restaurant .mock-btn {
  background: #c2410c;
}
.portfolio-card--handwerk .mock-nav span:first-child,
.portfolio-card--handwerk .mock-btn {
  background: #15803d;
}
.portfolio-card--bar .mock-nav span:first-child,
.portfolio-card--bar .mock-btn {
  background: #7c3aed;
}
.portfolio-card--cafe .mock-nav span:first-child,
.portfolio-card--cafe .mock-btn {
  background: #b45309;
}

/* ==========================================================================
   Preise
   ========================================================================== */

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border-color: var(--gray-900);
  background: var(--gray-900);
  color: var(--white);
}

.pricing-card--featured .pricing-card-lead,
.pricing-card--featured .price-period,
.pricing-card--featured .pricing-features li {
  color: var(--gray-300);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--blue-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.pricing-card-lead {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pricing-features svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue-500);
}

.pricing-card--featured .pricing-features svg {
  color: var(--blue-100);
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 32px;
}

.addon-offer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 36px 40px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}

.addon-offer-text {
  flex: 1 1 320px;
}

.addon-badge {
  position: static;
  display: inline-block;
  background: var(--gray-900);
  margin-bottom: 14px;
}

.addon-offer-text h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.addon-offer-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.addon-offer-price {
  flex: 0 0 220px;
  text-align: center;
}

@media (max-width: 640px) {
  .addon-offer {
    padding: 28px 24px;
  }
  .addon-offer-price {
    flex-basis: 100%;
  }
}

/* ==========================================================================
   Über uns
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gray-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.about-card h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.about-card .role {
  color: var(--blue-600);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}

.about-values svg {
  flex-shrink: 0;
  color: var(--blue-500);
  margin-top: 2px;
}

/* ==========================================================================
   Kontakt
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  background: var(--gray-50);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-600);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #c0392b;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--gray-300);
}

.contact-info-list strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue-100);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--black);
  color: var(--gray-300);
  padding-block: 56px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 280px;
  color: var(--gray-500);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-500);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ==========================================================================
   Scroll-Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ==========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================== */

.legal-page {
  padding-block: 56px 96px;
}

.legal-page .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 10px;
}

.legal-page ul {
  padding-left: 4px;
}

.legal-page a.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-weight: 600;
  color: var(--text);
}

.placeholder {
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ==========================================================================
   Device-Morph (Desktop / Laptop / Smartphone)
   ========================================================================== */

.device-morph-wrap {
  width: 100%;
  margin-top: 48px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-morph {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 300px;
}

.device-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  background: var(--gray-900);
  box-shadow: var(--shadow-lg);
  animation: device-cycle 7s ease-in-out infinite;
}

@keyframes device-cycle {
  0%,
  8% {
    width: 300px;
    height: 186px;
    border-radius: 10px;
    padding: 10px;
  }
  20%,
  42% {
    width: 250px;
    height: 168px;
    border-radius: 14px 14px 5px 5px;
    padding: 8px;
  }
  54%,
  76% {
    width: 140px;
    height: 260px;
    border-radius: 30px;
    padding: 12px 8px;
  }
  88%,
  100% {
    width: 300px;
    height: 186px;
    border-radius: 10px;
    padding: 10px;
  }
}

.device-screen {
  flex: 1;
  width: 100%;
  background: var(--white);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}

.device-stand {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 64px;
  height: 16px;
  background: var(--gray-700);
  border-radius: 0 0 6px 6px;
  opacity: 0;
  animation: device-acc-desktop 7s ease-in-out infinite;
}

.device-base {
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 112%;
  height: 9px;
  background: var(--gray-700);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  animation: device-acc-laptop 7s ease-in-out infinite;
}

.device-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 6px;
  background: var(--gray-700);
  border-radius: 4px;
  opacity: 0;
  animation: device-acc-phone 7s ease-in-out infinite;
}

.device-home {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  background: var(--gray-700);
  border-radius: 4px;
  opacity: 0;
  animation: device-acc-phone 7s ease-in-out infinite;
}

@keyframes device-acc-desktop {
  0%,
  8% {
    opacity: 1;
  }
  20%,
  88% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes device-acc-laptop {
  0%,
  8% {
    opacity: 0;
  }
  20%,
  42% {
    opacity: 1;
  }
  54%,
  100% {
    opacity: 0;
  }
}

@keyframes device-acc-phone {
  0%,
  42% {
    opacity: 0;
  }
  54%,
  76% {
    opacity: 1;
  }
  88%,
  100% {
    opacity: 0;
  }
}

.device-caption {
  margin-top: 20px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 420px;
}

@media (prefers-reduced-motion: reduce) {
  .device-frame,
  .device-stand,
  .device-base,
  .device-notch,
  .device-home {
    animation: none;
  }
}

/* ==========================================================================
   Hosting-Netzwerk (PC & Smartphone → Cloud)
   ========================================================================== */

.hosting-network-wrap {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hosting-network {
  width: 100%;
  max-width: 360px;
  height: 300px;
}

.hosting-diagram {
  width: 100%;
  height: 100%;
}

.hosting-link {
  fill: none;
  stroke: var(--gray-300);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
}

.hosting-pulse {
  fill: var(--blue-500);
}

.hosting-node-bg {
  fill: var(--blue-50);
}

.hosting-node-icon {
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hosting-hub-bg {
  fill: var(--gray-900);
  transform-box: fill-box;
  transform-origin: center;
  animation: hosting-hub-pulse 3s ease-in-out infinite;
}

.hosting-hub-icon {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes hosting-hub-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hosting-hub-bg {
    animation: none;
  }
  .hosting-pulse {
    display: none;
  }
}

/* ==========================================================================
   Webdesign-Morph (Blaupause → fertiges Design)
   ========================================================================== */

.webdesign-morph-wrap {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.webdesign-morph {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 300px;
}

.webdesign-browser {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 290px;
  height: 210px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.webdesign-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--border);
}

.webdesign-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-300);
}

.webdesign-content {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.webdesign-block {
  border: 1.5px dashed var(--blue-300);
  background: transparent;
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-name: webdesign-fill;
}

.webdesign-block--fly-left {
  transform: translateX(-140%);
  opacity: 0;
  animation-name: webdesign-fill, webdesign-fly-left;
}

.webdesign-block--fly-right {
  transform: translateX(140%);
  opacity: 0;
  animation-name: webdesign-fill, webdesign-fly-right;
}

.webdesign-block--btn.webdesign-block--fly-left {
  animation-name: webdesign-fill-btn, webdesign-fly-left;
}

.webdesign-block--btn.webdesign-block--fly-right {
  animation-name: webdesign-fill-btn, webdesign-fly-right;
}

.webdesign-block--nav {
  height: 16px;
  width: 70%;
  border-radius: 4px;
}

.webdesign-block--hero {
  height: 56px;
  width: 100%;
  border-radius: 4px;
}

.webdesign-block--line {
  height: 8px;
  width: 90%;
  border-radius: 3px;
}

.webdesign-block--line-short {
  width: 60%;
}

.webdesign-block--btn {
  height: 20px;
  width: 64px;
  border-radius: 4px;
  margin-top: auto;
  animation-name: webdesign-fill-btn;
}

@keyframes webdesign-fill {
  0%,
  30% {
    background: transparent;
    border-color: var(--blue-300);
  }
  45%,
  80% {
    background: var(--fill);
    border-color: transparent;
  }
  95%,
  100% {
    background: transparent;
    border-color: var(--blue-300);
  }
}

@keyframes webdesign-fill-btn {
  0%,
  30% {
    background: transparent;
    border-color: var(--blue-300);
    border-radius: 4px;
  }
  45%,
  80% {
    background: var(--fill);
    border-color: transparent;
    border-radius: 999px;
  }
  95%,
  100% {
    background: transparent;
    border-color: var(--blue-300);
    border-radius: 4px;
  }
}

@keyframes webdesign-fly-left {
  0%,
  30% {
    transform: translateX(-140%);
    opacity: 0;
  }
  45%,
  80% {
    transform: translateX(0);
    opacity: 1;
  }
  95%,
  100% {
    transform: translateX(-140%);
    opacity: 0;
  }
}

@keyframes webdesign-fly-right {
  0%,
  30% {
    transform: translateX(140%);
    opacity: 0;
  }
  45%,
  80% {
    transform: translateX(0);
    opacity: 1;
  }
  95%,
  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

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

/* ==========================================================================
   Pflege-Morph (laufende Pflege, Support, Updates)
   ========================================================================== */

.pflege-morph-wrap {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pflege-morph {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 300px;
}

.pflege-hub-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gray-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: pflege-hub-pulse 3s ease-in-out infinite;
}

.pflege-pencil-pos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(44px, -68px);
}

.pflege-pencil-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transform-origin: 70% 70%;
  animation: pflege-wiggle 3.4s ease-in-out infinite;
}

.pflege-chat-pos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-70px, 56px);
}

.pflege-chat-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: pflege-chat-pop 5.4s ease-in-out infinite;
}

.pflege-headset-pos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-74px, -54px);
}

.pflege-headset-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: pflege-chat-pop 5.4s ease-in-out infinite;
  animation-delay: 2.7s;
}

.pflege-wrench-pos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(58px, 64px);
}

.pflege-wrench-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transform-origin: 30% 70%;
  animation: pflege-wiggle 3.4s ease-in-out infinite;
  animation-delay: 1.7s;
}

@keyframes pflege-hub-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes pflege-wiggle {
  0%,
  100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(12deg);
  }
}

@keyframes pflege-chat-pop {
  0%,
  55% {
    opacity: 0;
    transform: translateY(10px) scale(0.85);
  }
  65%,
  85% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%,
  100% {
    opacity: 0;
    transform: translateY(10px) scale(0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pflege-hub-bg,
  .pflege-pencil-badge,
  .pflege-chat-badge,
  .pflege-headset-badge,
  .pflege-wrench-badge {
    animation: none;
  }
  .pflege-chat-badge,
  .pflege-headset-badge {
    opacity: 1;
  }
}
