/* ═══════════════════════════════════════════════════
   AGENTUR LANDING — style.css
   Tokens mirror polyvault brand (pv-dark body class)
   ═══════════════════════════════════════════════════ */

:root {
  --al-bg:       #090909;
  --al-surface:  #111111;
  --al-surface2: #161616;
  --al-fg:       #ffffff;
  --al-muted:    #888888;
  --al-muted2:   #555555;
  --al-accent:   #3b82f6;
  --al-accent-2: #7c3aed;
  --al-border:   rgba(255, 255, 255, 0.07);
  --al-glow:     rgba(59, 130, 246, 0.18);
  --al-glow-v:   rgba(124, 58, 237, 0.18);
  --al-radius:   12px;
  --al-ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --al-font:     -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ── Layout ──────────────────────────────────────── */

.al-container {
  max-width: 1280px;
  margin:    0 auto;
  padding:   0 clamp(20px, 5vw, 80px);
}

/* ── Scroll fade-in ──────────────────────────────── */

.al-fade {
  opacity:   0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--al-ease), transform 0.65s var(--al-ease);
}

.al-fade.al-visible {
  opacity:   1;
  transform: translateY(0);
}

/* ── Shared label ────────────────────────────────── */

.al-section-label {
  font-family:    var(--al-font);
  font-size:      11px;
  font-weight:    600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--al-accent);
  margin-bottom:  18px;
}

/* ════════════════════════════════════════════════════
   VIDEO SECTION
   ════════════════════════════════════════════════════ */

.al-video-section {
  padding: clamp(60px, 8vw, 120px) 0;
}

.al-video-wrap {
  position:      relative;
  width:         100%;
  aspect-ratio:  16 / 9;
  border-radius: var(--al-radius);
  overflow:      hidden;
  border:        1px solid var(--al-border);
  background:    var(--al-surface);
}

.al-video {
  width:       100%;
  height:      100%;
  object-fit:  cover;
  display:     block;
}

/* ════════════════════════════════════════════════════
   DIFFERENTIATOR SECTION
   ════════════════════════════════════════════════════ */

.al-diff-section {
  padding: clamp(80px, 10vw, 160px) 0;
}

/* ── Header ──────────────────────────────────────── */

.al-diff-header {
  max-width:     680px;
  margin-bottom: 64px;
}

.al-diff-heading {
  font-family:    'Stardom', var(--pv-font-d, Georgia, serif);
  font-size:      clamp(36px, 5vw, 64px);
  font-weight:    400;
  letter-spacing: -0.02em;
  line-height:    1.07;
  color:          var(--al-fg);
  margin:         0 0 20px;
}

.al-diff-sub {
  font-size:   18px;
  line-height: 1.6;
  color:       var(--al-muted);
  margin:      0;
  max-width:   500px;
}

/* ── Cards grid ──────────────────────────────────── */

.al-diff-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   24px;
}

@media (max-width: 768px) {
  .al-diff-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Individual card ─────────────────────────────── */

.al-diff-card {
  position:      relative;
  background:    var(--al-surface);
  border:        1px solid var(--al-border);
  border-radius: var(--al-radius);
  padding:       36px;
  overflow:      hidden;
  transition:    border-color 0.3s var(--al-ease), box-shadow 0.3s var(--al-ease);
}

/* Gradient glow top edge */
.al-diff-card::before {
  content:    '';
  position:   absolute;
  top:        0; left: 0; right: 0;
  height:     1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.6), transparent);
  opacity:    0;
  transition: opacity 0.3s var(--al-ease);
}

.al-diff-card--design::before {
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
}

.al-diff-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:   0 0 48px rgba(124, 58, 237, 0.08);
}

.al-diff-card:hover::before {
  opacity: 1;
}

.al-diff-card--design:hover {
  box-shadow: 0 0 48px rgba(59, 130, 246, 0.08);
}

/* Subtle gradient background */
.al-diff-card--api {
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.06) 0%, var(--al-surface) 50%);
}

.al-diff-card--design {
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.06) 0%, var(--al-surface) 50%);
}

/* ── Card top row ─────────────────────────────────── */

.al-diff-card-top {
  display:        flex;
  align-items:    center;
  gap:            12px;
  margin-bottom:  24px;
}

.al-diff-icon {
  width:           36px;
  height:          36px;
  border-radius:   9px;
  background:      var(--al-glow-v);
  border:          1px solid rgba(124, 58, 237, 0.25);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--al-accent-2);
  flex-shrink:     0;
}

.al-diff-icon--blue {
  background: var(--al-glow);
  border-color: rgba(59, 130, 246, 0.25);
  color: var(--al-accent);
}

.al-diff-badge {
  font-size:      10px;
  font-weight:    700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--al-accent-2);
  background:     rgba(124, 58, 237, 0.1);
  border:         1px solid rgba(124, 58, 237, 0.2);
  border-radius:  999px;
  padding:        4px 12px;
}

.al-diff-badge--blue {
  color:        var(--al-accent);
  background:   rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

/* ── Card text ───────────────────────────────────── */

.al-diff-card-title {
  font-size:      22px;
  font-weight:    700;
  letter-spacing: -0.02em;
  line-height:    1.2;
  color:          var(--al-fg);
  margin:         0 0 14px;
}

.al-diff-card-desc {
  font-size:   15px;
  line-height: 1.65;
  color:       var(--al-muted);
  margin:      0 0 28px;
}

/* ── filmmakers.eu preview ───────────────────────── */

.al-fm-preview {
  background:    var(--al-surface2);
  border:        1px solid var(--al-border);
  border-radius: 10px;
  overflow:      hidden;
}

.al-fm-row {
  display:     flex;
  align-items: center;
  gap:         12px;
  padding:     12px 16px;
  border-bottom: 1px solid var(--al-border);
}

.al-fm-row:last-child {
  border-bottom: none;
}

.al-fm-avatar {
  width:            34px;
  height:           34px;
  border-radius:    50%;
  background:       rgba(124, 58, 237, 0.18);
  border:           1px solid rgba(124, 58, 237, 0.3);
  display:          flex;
  align-items:      center;
  justify-content:  center;
  font-size:        10px;
  font-weight:      700;
  letter-spacing:   0.05em;
  color:            var(--al-accent-2);
  flex-shrink:      0;
}

.al-fm-avatar--dim {
  background:  rgba(255, 255, 255, 0.04);
  border-color: var(--al-border);
  color:        var(--al-muted2);
}

.al-fm-info {
  flex: 1;
  min-width: 0;
}

.al-fm-name {
  font-size:   13px;
  font-weight: 600;
  color:       var(--al-fg);
  white-space: nowrap;
  overflow:    hidden;
  text-overflow: ellipsis;
}

.al-fm-meta {
  font-size: 11px;
  color:     var(--al-muted);
  margin-top: 1px;
}

.al-fm-sync {
  font-size:   10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color:       #34d399;
  background:  rgba(52, 211, 153, 0.1);
  border:      1px solid rgba(52, 211, 153, 0.2);
  border-radius: 999px;
  padding:     3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Design preview — metric bars ────────────────── */

.al-design-preview {
  display:        flex;
  flex-direction: column;
  gap:            16px;
}

.al-bar-row {
  display:     flex;
  align-items: center;
  gap:         10px;
}

.al-bar-label {
  font-size:  12px;
  color:      var(--al-muted);
  min-width:  90px;
  flex-shrink: 0;
}

.al-bar-track {
  flex:          1;
  height:        4px;
  background:    rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow:      hidden;
}

.al-bar-fill {
  height:        100%;
  width:         0;
  border-radius: 999px;
  background:    linear-gradient(90deg, var(--al-accent), #818cf8);
  transition:    width 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.al-bar-fill--dim {
  background: linear-gradient(90deg, var(--al-accent-2), var(--al-accent));
}

.al-bar-val {
  font-size:   12px;
  font-weight: 700;
  color:       var(--al-accent);
  min-width:   38px;
  text-align:  right;
  flex-shrink: 0;
}

/* ── Tech stack badges ───────────────────────────── */

.al-tech-stack {
  display:   flex;
  flex-wrap: wrap;
  gap:       6px;
  margin-top: 4px;
}

.al-tech-stack span {
  font-size:      10px;
  font-weight:    600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--al-muted);
  background:     rgba(255, 255, 255, 0.04);
  border:         1px solid var(--al-border);
  border-radius:  6px;
  padding:        4px 10px;
}

/* ════════════════════════════════════════════════════
   CALENDAR / BOOKING SECTION
   ════════════════════════════════════════════════════ */

.al-booking-section {
  padding: clamp(80px, 10vw, 160px) 0 clamp(80px, 10vw, 140px);
}

.al-booking-header {
  text-align:    center;
  margin-bottom: 48px;
}

.al-booking-heading {
  font-family:    var(--al-font);
  font-size:      clamp(32px, 4vw, 52px);
  font-weight:    700;
  letter-spacing: -0.03em;
  color:          var(--al-fg);
  margin:         0 0 12px;
}

.al-booking-sub {
  font-size: 16px;
  color:     var(--al-muted);
  margin:    0;
}

/* ── Card ────────────────────────────────────────── */

.al-booking-card {
  max-width:     520px;
  margin:        0 auto;
  background:    var(--al-surface);
  border:        1px solid var(--al-border);
  border-radius: var(--al-radius);
  overflow:      hidden;
}

/* ── Steps ───────────────────────────────────────── */

.al-step {
  padding: 32px;
}

.al-hidden {
  display: none !important;
}

/* ── Calendar header ─────────────────────────────── */

.al-cal-header {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  margin-bottom:   24px;
}

.al-cal-month {
  font-size:   15px;
  font-weight: 600;
  color:       var(--al-fg);
}

.al-cal-nav {
  width:         30px;
  height:        30px;
  border-radius: 7px;
  border:        1px solid var(--al-border);
  background:    transparent;
  color:         var(--al-muted);
  font-family:   var(--al-font);
  font-size:     15px;
  display:       flex;
  align-items:   center;
  justify-content: center;
  cursor:        pointer;
  transition:    background 0.15s var(--al-ease), color 0.15s var(--al-ease), border-color 0.15s var(--al-ease);
}

.al-cal-nav:hover {
  background:   rgba(59, 130, 246, 0.12);
  color:        var(--al-accent);
  border-color: rgba(59, 130, 246, 0.3);
}

/* ── Weekday labels ──────────────────────────────── */

.al-cal-weekdays {
  display:               grid;
  grid-template-columns: repeat(7, 1fr);
  gap:                   4px;
  margin-bottom:         8px;
}

.al-cal-weekdays span {
  text-align:     center;
  font-size:      10px;
  font-weight:    600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          var(--al-muted2);
  padding:        4px 0;
}

/* ── Day grid ────────────────────────────────────── */

.al-cal-grid {
  display:               grid;
  grid-template-columns: repeat(7, 1fr);
  gap:                   4px;
}

.al-cal-day {
  aspect-ratio:    1;
  border-radius:   7px;
  border:          1px solid transparent;
  background:      transparent;
  color:           var(--al-fg);
  font-family:     var(--al-font);
  font-size:       13px;
  font-weight:     500;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  transition:      background 0.12s var(--al-ease), border-color 0.12s var(--al-ease), color 0.12s var(--al-ease);
}

.al-cal-day:hover:not(:disabled) {
  background:   rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color:        var(--al-accent);
}

.al-cal-day:disabled,
.al-cal-day.al-day-past,
.al-cal-day.al-day-booked,
.al-cal-day.al-day-sunday {
  color:   var(--al-muted2);
  opacity: 0.35;
  cursor:  not-allowed;
}

.al-cal-day.al-day-today {
  border-color: var(--al-border);
}

.al-cal-day.al-day-selected {
  background:   var(--al-accent);
  border-color: var(--al-accent);
  color:        #fff;
}

.al-cal-day.al-day-empty {
  visibility:     hidden;
  pointer-events: none;
}

/* ── Slots ───────────────────────────────────────── */

.al-step-date {
  font-size:     14px;
  font-weight:   600;
  color:         var(--al-fg);
  margin-bottom: 6px;
}

.al-slots-hint {
  font-size:     11px;
  color:         var(--al-muted2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.al-slots-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   8px;
}

.al-slot-btn {
  font-family:  var(--al-font);
  font-size:    13px;
  font-weight:  600;
  background:   var(--al-surface2);
  border:       1px solid var(--al-border);
  border-radius: 9px;
  color:        var(--al-fg);
  padding:      11px 8px;
  cursor:       pointer;
  text-align:   center;
  transition:   background 0.12s var(--al-ease), border-color 0.12s var(--al-ease), color 0.12s var(--al-ease);
}

.al-slot-btn:hover {
  background:   rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color:        var(--al-accent);
}

.al-slots-empty {
  font-size: 14px;
  color:     var(--al-muted);
  padding:   12px 0;
}

/* ── Back button ─────────────────────────────────── */

.al-back-btn {
  display:      inline-flex;
  align-items:  center;
  gap:          6px;
  font-family:  var(--al-font);
  font-size:    12px;
  font-weight:  600;
  color:        var(--al-muted);
  background:   transparent;
  border:       1px solid var(--al-border);
  border-radius: 999px;
  padding:      5px 14px;
  cursor:       pointer;
  margin-bottom: 20px;
  transition:   color 0.12s var(--al-ease), border-color 0.12s var(--al-ease);
}

.al-back-btn:hover {
  color:        var(--al-accent);
  border-color: rgba(59, 130, 246, 0.3);
}

/* ── Form ────────────────────────────────────────── */

.al-time-summary {
  font-size:     13px;
  font-weight:   600;
  color:         var(--al-accent);
  margin-bottom: 20px;
}

.al-input {
  display:       block;
  width:         100%;
  font-family:   var(--al-font);
  font-size:     15px;
  color:         var(--al-fg);
  background:    var(--al-surface2);
  border:        1px solid var(--al-border);
  border-radius: 9px;
  padding:       12px 16px;
  outline:       none;
  margin-bottom: 12px;
  box-sizing:    border-box;
  transition:    border-color 0.15s var(--al-ease);
}

.al-input::placeholder {
  color: var(--al-muted2);
}

.al-input:focus {
  border-color: rgba(59, 130, 246, 0.4);
}

.al-form-error {
  font-size:     13px;
  color:         #f87171;
  margin-bottom: 12px;
}

.al-submit-btn {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  width:           100%;
  font-family:     var(--al-font);
  font-size:       12px;
  font-weight:     700;
  letter-spacing:  0.08em;
  text-transform:  uppercase;
  color:           #000;
  background:      #fff;
  border:          none;
  border-radius:   9px;
  padding:         14px 24px;
  cursor:          pointer;
  margin-top:      4px;
  transition:      opacity 0.15s var(--al-ease), transform 0.15s var(--al-ease), box-shadow 0.15s var(--al-ease);
}

.al-submit-btn:hover:not(:disabled) {
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.35);
  transform:  translateY(-1px);
}

.al-submit-btn:disabled {
  opacity: 0.6;
  cursor:  not-allowed;
}

.al-spinner {
  display:       inline-block;
  width:         14px;
  height:        14px;
  border:        2px solid rgba(0, 0, 0, 0.2);
  border-top:    2px solid #000;
  border-radius: 50%;
  animation:     al-spin 0.6s linear infinite;
}

@keyframes al-spin {
  to { transform: rotate(360deg); }
}

/* ── Confirmation ────────────────────────────────── */

.al-confirm-wrap {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  text-align:     center;
  padding:        12px 0;
}

.al-confirm-check {
  width:            56px;
  height:           56px;
  border-radius:    50%;
  background:       rgba(59, 130, 246, 0.12);
  border:           1px solid rgba(59, 130, 246, 0.3);
  display:          flex;
  align-items:      center;
  justify-content:  center;
  font-size:        22px;
  color:            var(--al-accent);
  margin-bottom:    20px;
}

.al-confirm-title {
  font-size:     20px;
  font-weight:   700;
  letter-spacing: -0.02em;
  color:         var(--al-fg);
  margin:        0 0 12px;
}

.al-confirm-body {
  font-size:   15px;
  line-height: 1.6;
  color:       var(--al-muted);
  margin:      0 0 24px;
}

.al-meet-btn {
  display:         inline-flex;
  align-items:     center;
  gap:             6px;
  font-size:       13px;
  font-weight:     600;
  text-decoration: none;
  color:           var(--al-accent);
  background:      rgba(59, 130, 246, 0.1);
  border:          1px solid rgba(59, 130, 246, 0.25);
  border-radius:   999px;
  padding:         10px 20px;
  transition:      background 0.15s var(--al-ease), border-color 0.15s var(--al-ease);
}

.al-meet-btn:hover {
  background:   rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.4);
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 540px) {
  .al-diff-card {
    padding: 24px;
  }

  .al-step {
    padding: 24px;
  }

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

/* ════════════════════════════════════════════════════
   PROJECTS SECTION — white background, full images,
   info clearly below each card. No card boxes.
   ════════════════════════════════════════════════════ */

.al-proj-section,
body .al-proj-section,
body.pv-dark .al-proj-section {
  padding:          clamp(80px, 10vw, 160px) 0 clamp(100px, 14vw, 200px);
  background:       #f8f7f5 !important;
  background-color: #f8f7f5 !important;
}

.al-proj-section .al-section-label {
  color: var(--al-accent);
}

.al-proj-header {
  margin-bottom: 64px;
}

/* Override white-section heading to dark */
.al-proj-section .al-serif-heading {
  color: #111;
}

/* Shared serif heading */
.al-serif-heading {
  font-family:    'Stardom', var(--pv-font-d, Georgia, serif);
  font-size:      clamp(36px, 5vw, 64px);
  font-weight:    400;
  letter-spacing: -0.02em;
  line-height:    1.07;
  color:          var(--al-fg);
  margin:         0;
}

/* ── 3fr / 2fr asymmetric grid ───────────────────── */

.al-proj-grid {
  display:               grid;
  grid-template-columns: 3fr 2fr;
  gap:                   32px 28px;
}

/* ── Card — no box, image + info below ───────────── */

.al-proj-card {
  display:         block;
  text-decoration: none;
  color:           inherit;
}

/* ── Image wrapper — full natural height ─────────── */

.al-proj-img-wrap {
  position:      relative;
  width:         100%;
  overflow:      hidden;
  border-radius: 8px;
  background:    #e8e6e2;
}

.al-proj-img {
  width:      100%;
  height:     auto;
  display:    block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.al-proj-card:hover .al-proj-img {
  transform: scale(1.03);
}

/* "Ansehen" circle — konzept style */
.al-proj-overlay {
  position:        absolute;
  inset:           0;
  display:         flex;
  align-items:     center;
  justify-content: center;
  opacity:         0;
  transition:      opacity 0.3s var(--al-ease);
}

.al-proj-card:hover .al-proj-overlay {
  opacity: 1;
}

.al-proj-overlay span {
  width:           72px;
  height:          72px;
  border-radius:   50%;
  background:      rgba(17, 17, 17, 0.75);
  border:          1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       9px;
  font-weight:     700;
  letter-spacing:  0.14em;
  text-transform:  uppercase;
  color:           #fff;
}

/* ── Info below image ────────────────────────────── */

.al-proj-body {
  padding: 18px 4px 0;
}

.al-proj-tag {
  display:        inline-block;
  font-size:      9px;
  font-weight:    600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          rgba(0, 0, 0, 0.38);
  margin-bottom:  6px;
}

.al-proj-name {
  font-family:    'Stardom', var(--pv-font-d, Georgia, serif);
  font-size:      clamp(18px, 1.8vw, 26px);
  font-weight:    400;
  letter-spacing: -0.02em;
  line-height:    1.1;
  color:          #111;
  margin:         0 0 5px;
  transition:     color 0.2s var(--al-ease);
}

.al-proj-card:hover .al-proj-name {
  color: rgba(17, 17, 17, 0.5);
}

.al-proj-desc {
  font-size:   13px;
  font-weight: 300;
  color:       rgba(0, 0, 0, 0.5);
  margin:      0;
  line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 768px) {
  .al-proj-grid {
    grid-template-columns: 1fr;
    gap:                   48px;
  }
}
