/* ============================================================
   depositoo — Marketing Website Theme (abgeleitet vom ticketYoo-Theme)
   Mailchimp-inspired: big serif display, pill buttons, flat cards.
   Radius: 0px globally · Buttons: 30px + shadow-xl
   Colors (simple): primary/accent #145dfb (Logo-Blau) · highlight #02d4cb (Logo-Türkis)
   Fonts (self-hosted, DSGVO): Roboto Slab (headings) / Roboto Condensed (body)
   Dark mode: follows system (prefers-color-scheme), set by main.js
   ============================================================ */

@import url("../assets/fonts/fonts.css");

:root {
  --ty-primary: #145dfb;        /* Logo-Blau: Headlines auf hell */
  --ty-accent: #145dfb;         /* Logo-Blau: Buttons, Nummern, Rahmen */
  --ty-accent-ink: #ffffff;     /* Text auf Blau */
  --ty-accent-dark: #0e48d1;    /* Blau hover / Akzent-Text auf hell */
  --dp-turq: #02d4cb;           /* Logo-Türkis: Spray-Highlight, Deko */
  --dp-turq-ink: #1456e4;       /* Text auf Türkis: dunkleres Logo-Blau, Kontrast 3,24:1 */
  --ty-bg: #ffffff;
  --ty-text: #17213a;
  --ty-muted: #5b676d;
  --ty-surface: #e4e7e9;        /* alternate section background */
  --ty-surface-2: #f4f6f7;
  --ty-line: #d8dde0;
  --ty-ink-section: #0d1b3f;    /* dark section bg (mailchimp-style) */
  --ty-shadow-xl: 0 20px 40px -12px rgba(20, 28, 32, .28);
  --ty-shadow-card: 0 1px 0 rgba(20,28,32,.05), 0 18px 40px -28px rgba(20,28,32,.45);
}

.dark {
  --ty-primary: #e7eaeb;
  --ty-accent: #2f6dfc;
  --ty-accent-ink: #ffffff;
  --ty-accent-dark: #7fa6ff;
  --ty-bg: #0e1424;
  --ty-text: #e6eaec;
  --ty-muted: #9ba7c0;
  --ty-surface: #172039;
  --ty-surface-2: #131b30;
  --ty-line: #26304a;
  --ty-ink-section: #0a1330;
  --ty-shadow-xl: 0 20px 44px -12px rgba(0, 0, 0, .6);
  --ty-shadow-card: 0 18px 40px -28px rgba(0,0,0,.8);
}

/* ---- Base ---- */
* { border-radius: 0; }               /* radius 0 globally */
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto Condensed', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--ty-bg);
  color: var(--ty-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, .font-display {
  font-family: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  color: var(--ty-primary);
  letter-spacing: -0.01em;
}
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--ty-accent); color: var(--ty-accent-ink); }

.ty-container { max-width: 1180px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px){ .ty-container { padding-left: 2rem; padding-right: 2rem; } }

.ty-muted { color: var(--ty-muted); }
.ty-accent-text { color: var(--ty-accent-dark); }

/* ---- Section backgrounds ---- */
.section { padding: 5rem 0; }
@media (min-width: 768px){ .section { padding: 6.5rem 0; } }
.section--surface { background: var(--ty-surface-2); }
.dark .section--surface { background: var(--ty-surface); }
.section--ink { background: var(--ty-ink-section); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .ty-muted { color: rgba(255,255,255,.7); }

/* ---- Buttons: 30px radius + shadow-xl ---- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .95rem 1.9rem;
  border-radius: 30px;
  border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn-primary { background: var(--ty-accent); color: var(--ty-accent-ink); box-shadow: var(--ty-shadow-xl); }
.btn-primary:hover { background: var(--ty-accent-dark); box-shadow: var(--ty-shadow-xl); }

.btn-dark { background: var(--ty-primary); color: var(--ty-bg); box-shadow: var(--ty-shadow-xl); }
.dark .btn-dark { background: #fff; color: #14191b; }
.btn-dark:hover { box-shadow: var(--ty-shadow-xl); opacity: .92; }

.btn-outline { background: transparent; color: var(--ty-text); border-color: var(--ty-line); }
.btn-outline:hover { border-color: var(--ty-primary); background: transparent; }
.section--ink .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }

.btn-ghost-light { background: #fff; color: #14191b; box-shadow: var(--ty-shadow-xl); }
.btn-ghost-light:hover { box-shadow: var(--ty-shadow-xl); }

.btn-sm { padding: .6rem 1.2rem; font-size: .9rem; }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.12rem; }

/* ---- Cards (flat, radius 0) ---- */
.ty-card {
  background: var(--ty-bg);
  box-shadow: var(--ty-shadow-card);
  padding: 1.75rem;
}
.dark .ty-card { background: var(--ty-surface-2); }
.ty-card--surface { background: var(--ty-surface-2); border-color: transparent; box-shadow: none; }
.dark .ty-card--surface { background: var(--ty-surface); }

/* highlight bar behind a phrase (mailchimp-style) */
/* Sprayed highlight: organic red "spray paint" behind the word, sweeps in on scroll */
.ty-highlight {
  color: var(--ty-accent-ink);
  padding: .05em .42em;
  background-image: url("../assets/spray.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 103% 112%;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
/* When JS is active, start collapsed and sweep in left→right (like a spray pass) */
html.ty-js .ty-highlight { background-size: 0% 112%; }
html.ty-js .ty-highlight.spray-in { animation: tySprayIn .64s cubic-bezier(.22,.61,.36,1) .12s forwards; }
@keyframes tySprayIn {
  0%   { background-size: 0% 112%; }
  60%  { background-size: 107% 112%; }
  100% { background-size: 103% 112%; }
}
@media (prefers-reduced-motion: reduce) {
  html.ty-js .ty-highlight { background-size: 103% 112%; }
  html.ty-js .ty-highlight.spray-in { animation: none; }
}

/* eyebrow / kicker */
.ty-kicker { font-family:'Roboto Condensed',sans-serif; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .78rem; color: var(--ty-accent-dark); }

/* ============== NAVBAR ============== */
.ty-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--ty-line);
  transition: box-shadow .3s ease;
}
.dark .ty-nav { background: var(--ty-bg); }
.ty-nav.is-solid { box-shadow: 0 6px 22px -12px rgba(20,28,32,.28); }
.ty-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.ty-nav-logo { height: 3.1rem; width: auto; display: block; }
.ty-nav-links { display: none; gap: 1.6rem; align-items: center; position: relative; }
@media (min-width: 900px){ .ty-nav-links { display: flex; } }

/* --- Module mega-dropdown (hover) --- */
.ty-nav-item { position: static; display: flex; align-items: center; }
/* full-height hover target so there is no dead zone between link and dropdown */
.ty-nav-item > .ty-nav-link { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; padding: 1.65rem 0; }
.ty-nav-dd {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  margin-top: 0; width: 880px; max-width: 92vw;
  background: var(--ty-bg); border: 1px solid var(--ty-line); box-shadow: var(--ty-shadow-xl);
  padding: 1rem .8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; align-items: start;
  opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
.ty-dd-col { display: flex; flex-direction: column; }
.ty-dd-col + .ty-dd-col { border-left: 1px solid var(--ty-line); padding-left: 1rem; margin-left: -.5rem; }
.ty-dd-col-title { margin: 0 0 .3rem; padding: 0 .8rem; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ty-muted); }
/* narrower desktop range (900–980px): keep two wider columns so it never overflows */
@media (max-width: 980px){
  .ty-nav-dd { width: 640px; grid-template-columns: 1fr 1fr; row-gap: .6rem; }
  .ty-dd-col:nth-child(3) { border-left: 0; padding-left: 0; margin-left: 0; }
}
/* invisible bridge across the visual gap so hover stays continuous */
.ty-nav-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.ty-nav-item:hover .ty-nav-dd, .ty-nav-item:focus-within .ty-nav-dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.ty-dd-item { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .8rem; text-decoration: none; transition: background .12s; }
.ty-dd-item:hover { background: var(--ty-surface-2); }
.dark .ty-dd-item:hover { background: var(--ty-surface); }
.ty-dd-item svg { width: 22px; height: 22px; color: var(--ty-accent-dark); flex-shrink: 0; margin-top: 2px; }
.ty-dd-item b { display: block; color: var(--ty-text); font-weight: 700; font-size: .95rem; }
.ty-dd-item span { display: block; color: var(--ty-muted); font-size: .82rem; line-height: 1.35; }
.ty-dd-badge { display: inline-block !important; margin-top: .4rem; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--ty-accent); color: var(--ty-accent-ink); padding: .2rem .5rem; }
.ty-nav-link { font-weight: 600; font-size: .98rem; color: var(--ty-text); text-decoration: none; opacity: .82; transition: opacity .15s, color .15s; }
.ty-nav-link:hover, .ty-nav-link.active { opacity: 1; color: var(--ty-accent-dark); }
.ty-nav-right { display: flex; align-items: center; gap: .6rem; }
.ty-lang { background: transparent; border: 0; font-weight: 700; font-size: .82rem; letter-spacing: .04em; color: var(--ty-muted); cursor: pointer; padding: .5rem .55rem; }
.ty-lang:hover { color: var(--ty-text); }
.ty-nav .btn-outline, .ty-nav .btn-primary { padding: .6rem 1.25rem; font-size: .92rem; }
.ty-hide-mobile { display: none; }
@media (min-width: 900px){ .ty-hide-mobile { display: inline-flex; } }

.ty-burger { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .6rem; cursor: pointer; }
@media (min-width: 900px){ .ty-burger { display: none; } }
.ty-burger span { display: block; width: 22px; height: 2px; background: var(--ty-text); transition: transform .2s, opacity .2s; }

.ty-mobile { display: none; padding: .5rem 0 1rem; border-top: 1px solid var(--ty-line); }
.ty-mobile.open { display: block; max-height: calc(100vh - 5rem); max-height: calc(100dvh - 5rem); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ty-mobile a { display: block; padding: .7rem .25rem; font-weight: 600; color: var(--ty-text); text-decoration: none; }
.ty-mobile .btn { display: flex; justify-content: center; margin-top: .5rem; }

/* ============== HERO ============== */
.ty-hero { padding-top: 8rem; padding-bottom: 4rem; background: linear-gradient(180deg, var(--ty-surface-2), var(--ty-bg)); overflow: hidden; }
.dark .ty-hero { background: linear-gradient(180deg, var(--ty-surface), var(--ty-bg)); }
@media (min-width: 768px){ .ty-hero { padding-top: 9.5rem; padding-bottom: 5rem; } }
@media (min-width: 900px){ .ty-sub-grid { grid-template-columns: 1fr 1fr; } }
.ty-h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.02; }
.ty-lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--ty-muted); line-height: 1.55; }

/* hero with full-bleed photo background slideshow (mailchimp-style) */
.ty-hero--photo { position: relative; z-index: 2; background: var(--ty-ink-section); box-shadow: var(--ty-shadow-xl); }

/* contact page: Chris circle + speech bubble */
.ty-chris { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: var(--ty-shadow-xl); border: 3px solid #fff; }
.dark .ty-chris { border-color: var(--ty-surface-2); }
.ty-bubble { position: relative; background: var(--ty-accent); color: var(--ty-accent-ink); padding: 1.1rem 1.4rem; max-width: 22rem; box-shadow: var(--ty-shadow-xl); }
.ty-bubble:before { content: ""; position: absolute; left: -14px; top: 28px; border: 8px solid transparent; border-right-color: var(--ty-accent); }
@media (max-width: 620px){ .ty-bubble:before { left: 28px; top: -14px; border: 8px solid transparent; border-bottom-color: var(--ty-accent); } }
.ty-bubble b { display: block; font-family: 'Roboto Slab', serif; font-size: 1.1rem; }
.ty-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.ty-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease-in-out; }
.ty-hero-bg img.is-active { opacity: 1; }
.ty-hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,17,19,.78) 0%, rgba(13,17,19,.66) 42%, rgba(13,17,19,.86) 100%); }
.ty-hero--photo .ty-container { position: relative; z-index: 2; }
.ty-hero--photo .ty-h1,
.ty-hero--photo .ty-kicker { color: #fff; }
.ty-hero--photo .ty-lead { color: rgba(255,255,255,.9); }
.ty-hero--photo .ty-trust { color: #fff; }
.ty-hero--photo .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.ty-hero--photo .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ty-hero--photo .ty-muted { color: rgba(255,255,255,.72); }

/* underlined module links inside the hero copy (mailchimp underline) */
.ty-ul { color: inherit; text-decoration: none; font-weight: 600; background-image: linear-gradient(var(--ty-accent), var(--ty-accent)); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% .14em; padding-bottom: .02em; transition: background-size .18s ease, color .18s ease; }
.ty-ul:hover { background-size: 100% 100%; color: var(--ty-accent-ink); }

/* ============== APPLE-STYLE SLIDER ============== */
.ty-slider { position: relative; max-width: 1080px; margin: 0 auto; }
.ty-slider-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ty-surface); box-shadow: var(--ty-shadow-xl); }
.ty-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s ease, transform 4.5s ease; pointer-events: none; }
.ty-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ty-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.ty-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 30px; border: 0; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); box-shadow: var(--ty-shadow-xl); display: none; align-items: center; justify-content: center; cursor: pointer; color: #14191b; }
@media (min-width: 760px){ .ty-slider-btn { display: flex; } }
.ty-slider-btn:hover { background: #fff; }
.ty-slider-btn.prev { left: 16px; } .ty-slider-btn.next { right: 16px; }
.ty-slider-dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 4; display: flex; gap: .5rem; justify-content: center; }
.ty-slider-dot { width: 9px; height: 9px; border-radius: 30px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.5); transition: width .2s, background .2s; }
.ty-slider-dot.active { width: 26px; background: #fff; }

/* ============== FULL-BLEED COVERFLOW SHOWCASE (Apple-style: 1 in focus, sides peek) ============== */
.ty-showcase { position: relative; z-index: 2; width: 100%; overflow: hidden; padding: 1.25rem 0; margin: 0; background: var(--ty-bg); }
.ty-show-track { display: flex; align-items: stretch; will-change: transform; }
.ty-show-slide { flex: 0 0 auto; width: 84vw; max-width: 900px; padding: 0 .625rem; box-sizing: border-box; }
/* accent panel per slide — equal spacing around the image, no drop-shadow on the panel */
.ty-show-panel { background: var(--ty-accent); padding: clamp(1.1rem, 2.4vw, 1.9rem); height: 100%; }
.ty-show-media { position: relative; }
.ty-show-slide img { width: 100%; height: auto; display: block; border-radius: 12px; cursor: pointer;
  box-shadow: 0 18px 44px -18px rgba(0,0,0,.5); }
.ty-show-slide.is-center img { cursor: zoom-in; }
/* caption inside the accent area, white text, no extra box */
.ty-show-cap { text-align: center; margin-top: clamp(1rem, 2.2vw, 1.5rem); color: #fff; }
.ty-show-cap h3 { color: #fff; font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 800; margin: 0 0 .4rem; }
.ty-show-cap p { color: rgba(255,255,255,.9); font-size: 1.02rem; line-height: 1.5; margin: 0; }
/* zoom lupe on the focused slide → opens the lightbox with the full image */
.ty-show-zoom { position: absolute; bottom: .85rem; right: .85rem; z-index: 3; width: 44px; height: 44px; border-radius: 30px; border: 0; background: rgba(255,255,255,.92); box-shadow: var(--ty-shadow-xl); display: none; align-items: center; justify-content: center; cursor: pointer; color: #14191b; }
.ty-show-slide.is-center .ty-show-zoom { display: flex; }
.ty-show-zoom:hover { background: #fff; color: var(--ty-accent-dark); }
.ty-show-zoom svg { width: 22px; height: 22px; }
.ty-show-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 50px; height: 50px; border-radius: 30px; border: 0; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); box-shadow: var(--ty-shadow-xl); display: none; align-items: center; justify-content: center; cursor: pointer; color: #14191b; }
@media (min-width: 760px){ .ty-show-btn { display: flex; } }
.ty-show-btn:hover { background: #fff; }
.ty-show-btn.prev { left: 18px; } .ty-show-btn.next { right: 18px; }

/* ============== BIG SCREENSHOT BAND (under subpage hero) ============== */
.ty-shot { width: 100%; padding: 0; margin: 0; line-height: 0; background: var(--ty-bg); position: relative; z-index: 2; }
.ty-shot img { display: block; width: 100%; max-width: 1200px; height: auto; margin: 0 auto; box-shadow: var(--ty-shadow-xl); }

/* ============== FULL-WIDTH HOME GRID (zoom + caption) ============== */
.ty-gridhome { width: 100%; display: grid; grid-template-columns: 1fr; gap: 4px; }
@media (min-width: 640px) { .ty-gridhome { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ty-gridhome { grid-template-columns: repeat(3, 1fr); } }
.ty-gh-item { position: relative; overflow: hidden; background: var(--ty-ink-section); display: block; text-decoration: none; }
.ty-gh-item img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .55s ease; cursor: zoom-in; }
.ty-gh-item:hover img { transform: scale(1.07); }
.ty-gh-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.15rem 1.25rem; color: #fff;
  background: linear-gradient(to top, rgba(11,15,17,.9), rgba(11,15,17,.5) 55%, rgba(11,15,17,0)); }
.ty-gh-cap h3 { font-size: 1.08rem; font-weight: 800; color: #fff; margin: 0 0 .2rem; }
.ty-gh-cap p { font-size: .85rem; line-height: 1.4; color: rgba(255,255,255,.85); margin: 0; }

/* gridHome zoom (Lupe) */
.ty-gh-zoom { position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 42px; height: 42px;
  border-radius: 30px; border: 0; background: rgba(11,15,17,.55); color: #fff; cursor: zoom-in;
  display: flex; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease; }
.ty-gh-item:hover .ty-gh-zoom, .ty-gh-item:focus-within .ty-gh-zoom { opacity: 1; transform: translateY(0); }
.ty-gh-zoom:hover { background: var(--ty-accent); color: #0c2d2a; }
.ty-gh-zoom svg { width: 20px; height: 20px; }
@media (hover: none) { .ty-gh-zoom { opacity: 1; transform: none; } }

/* lightbox overlay */
.ty-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(8,11,13,.92);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; cursor: zoom-out; }
.ty-lightbox.is-open { opacity: 1; visibility: visible; }
.ty-lightbox img { max-width: min(1400px, 94vw); max-height: 80vh; width: auto; height: auto; object-fit: contain;
  box-shadow: var(--ty-shadow-xl); transform: scale(.96); transition: transform .25s ease; cursor: default; }
.ty-lightbox.is-open img { transform: scale(1); }
.ty-lb-cap { color: #fff; text-align: center; margin-top: 1.25rem; max-width: 46rem; }
.ty-lb-cap h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0 0 .25rem; }
.ty-lb-cap p { font-size: .95rem; line-height: 1.5; color: rgba(255,255,255,.82); margin: 0; }
.ty-lb-close { position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 30px; border: 0;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ty-lb-close:hover { background: rgba(255,255,255,.22); }
.ty-lb-close svg { width: 22px; height: 22px; }

/* hero device mockup */
.ty-mock { background:#fff; border:1px solid var(--ty-line); box-shadow: var(--ty-shadow-xl); overflow:hidden; }
.dark .ty-mock { background: var(--ty-surface-2); }
.ty-mock-bar { display:flex; gap:6px; padding:12px 14px; background: var(--ty-surface-2); border-bottom:1px solid var(--ty-line); }
.dark .ty-mock-bar { background: var(--ty-surface); }
.ty-mock-bar i { width:11px; height:11px; border-radius:50%; display:block; background:var(--ty-line); }

/* trust logos / stat row */
.ty-trust { display:flex; flex-wrap:wrap; gap:1.2rem 2.4rem; align-items:center; justify-content:center; opacity:.85; }

/* ============== FEATURE / MODULE CAROUSEL ============== */
.ty-carousel-wrap { position: relative; }
.ty-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem .25rem 1.25rem; -ms-overflow-style: none; scrollbar-width: none; }
.ty-track::-webkit-scrollbar { display: none; }
.ty-mod-card {
  scroll-snap-align: start; flex: 0 0 320px; min-height: 360px;
  display: flex; flex-direction: column;
  background: var(--ty-primary); color: #fff;
  padding: 1.9rem; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--ty-shadow-card);
}
.dark .ty-mod-card { background: #232a2d; }
.ty-mod-card:nth-child(even){ background: #2b3033; }
.ty-mod-card:hover { transform: translateY(-4px); }
.ty-mod-ico { width: 56px; height: 56px; margin-bottom: 1.1rem; color: var(--ty-accent); }
.ty-mod-card h3 { color:#fff; font-size: 1.4rem; font-weight: 800; line-height: 1.15; margin-bottom: .6rem; min-height: 3.35rem; }
.ty-mod-card p { color: rgba(255,255,255,.78); font-size: .98rem; line-height: 1.55; margin-bottom: 1.75rem; }
.ty-mod-highlights { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.ty-mod-highlights li { display: flex; align-items: center; gap: .5rem; background: rgba(20,93,251,.15); color: #fff; padding: .42rem .7rem; font-size: .9rem; font-weight: 600; line-height: 1.2; }
.ty-mod-highlights li::before { content: "✓"; color: var(--ty-accent); font-weight: 900; flex-shrink: 0; }
.ty-mod-more { display:inline-flex; align-items:center; gap:.45rem; margin-top:1.4rem; font-weight:700; color: var(--ty-accent); }
.ty-mod-card .ty-mod-more { margin-top: 1.2rem; }
.ty-cbtn { position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:44px; height:44px; border-radius:30px; background:var(--ty-bg); border:1px solid var(--ty-line); box-shadow:var(--ty-shadow-xl); display:none; align-items:center; justify-content:center; cursor:pointer; color:var(--ty-text); }
@media (min-width: 900px){ .ty-cbtn { display:flex; } }
.ty-cbtn.prev { left:-18px; } .ty-cbtn.next { right:-18px; }
.ty-dots { display:flex; gap:.5rem; justify-content:center; margin-top:.5rem; }
.ty-dot { width:8px; height:8px; border-radius:30px; background:var(--ty-line); border:0; cursor:pointer; padding:0; }
.ty-dot.active { background: var(--ty-accent-dark); width:22px; }
/* full-bleed module carousel (guestoo-style: first card at content edge, bleeds right) */
.ty-carousel-full .ty-track { padding-left: max(1.25rem, calc(50vw - 590px + 1.25rem)); padding-right: 1.25rem; scroll-padding-left: max(1.25rem, calc(50vw - 590px + 1.25rem)); }
@media (min-width: 768px){ .ty-carousel-full .ty-track { padding-left: max(2rem, calc(50vw - 590px + 2rem)); scroll-padding-left: max(2rem, calc(50vw - 590px + 2rem)); } }
.ty-carousel-full .ty-cbtn.prev { left: 1rem; }
.ty-carousel-full .ty-cbtn.next { right: 1rem; }
.ty-carousel-full .ty-dots { padding-inline: 1.25rem; }

/* ============== GENERIC GRID FEATURE CARDS ============== */
.ty-grid { display:grid; gap:1.1rem; }
.ty-grid-2 { grid-template-columns: 1fr; }
.ty-grid-3 { grid-template-columns: 1fr; }
.ty-grid-4 { grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px){ .ty-grid-2 { grid-template-columns: repeat(2,1fr); } .ty-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px){ .ty-grid-3 { grid-template-columns: repeat(3,1fr); } .ty-grid-4 { grid-template-columns: repeat(4,1fr); } }
.ty-ico { width:44px; height:44px; color: var(--ty-accent-dark); margin-bottom:.9rem; }
.ty-feat h3 { font-size:1.18rem; font-weight:700; margin-bottom:.4rem; }
.ty-feat p { color: var(--ty-muted); font-size:.98rem; line-height:1.55; }

/* badge pills (trust strip) */
.ty-pill { display:flex; align-items:center; gap:.6rem; justify-content:center; padding:1rem; background: rgba(20,93,251,.10); border:1px solid rgba(20,93,251,.30); font-weight:700; color: var(--ty-accent-dark); text-align:center; }
.dark .ty-pill { color: var(--ty-accent); background: rgba(20,93,251,.08); }

/* team */
.ty-team-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:1.5rem; }
@media (min-width: 640px){ .ty-team-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 980px){ .ty-team-grid { grid-template-columns: repeat(4,1fr); } }
.ty-team-card { text-align:center; }
.ty-team-card img { width:120px; height:120px; object-fit:cover; border-radius:50%; margin:0 auto .75rem; display:block; }
/* playful: a cap drops onto each head when the team section scrolls into view */
.ty-avatar { position:relative; display:inline-block; }
.ty-cap {
  position:absolute; left:50%; top:0; width:86px; aspect-ratio:120/74;
  background:url("../assets/cap.svg") center/contain no-repeat;
  transform-origin:50% 90%; pointer-events:none; z-index:3; opacity:0;
  transform:translate(calc(-50% - 16px + var(--dx,0px)), -220%) rotate(calc(var(--rot,0deg) * .5));
  filter:drop-shadow(0 4px 6px rgba(0,0,0,.25));
}
html.ty-js .ty-cap.cap-drop { animation:capDrop .72s cubic-bezier(.34,1.4,.5,1) both; }
@keyframes capDrop {
  0%   { opacity:0; transform:translate(calc(-50% - 16px + var(--dx,0px)), -220%) rotate(calc(var(--rot,0deg) * .4)); }
  30%  { opacity:1; }
  70%  { transform:translate(calc(-50% - 16px + var(--dx,0px)), -42%) rotate(var(--rot,0deg)); }
  82%  { transform:translate(calc(-50% - 16px + var(--dx,0px)), -50%) rotate(var(--rot,0deg)); }
  100% { opacity:1; transform:translate(calc(-50% - 16px + var(--dx,0px)), -46%) rotate(var(--rot,0deg)); }
}
@media (prefers-reduced-motion: reduce) { .ty-cap { display:none; } }

/* ============== FOOTER ============== */
.ty-footer { background: var(--ty-ink-section); color: rgba(255,255,255,.62); padding: 4rem 0 2.5rem; }
.ty-footer h4 { color:#fff; font-family:'Roboto Condensed',sans-serif; text-transform:uppercase; letter-spacing:.12em; font-size:.8rem; margin-bottom:1rem; }
.ty-footer a { color: rgba(255,255,255,.62); text-decoration:none; transition: color .15s; }
.ty-footer a:hover { color:#fff; }
.ty-footer-grid { display:grid; grid-template-columns: 1fr; gap:2.5rem; }
@media (min-width: 768px){ .ty-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ty-footer-cols { display:grid; grid-template-columns: 1fr 1fr; gap:2rem; }
.ty-footer li { margin-bottom:.6rem; font-size:.95rem; }
.ty-footer-bottom { margin-top:3rem; padding-top:2rem; border-top:1px solid rgba(255,255,255,.12); text-align:center; font-size:.9rem; }

/* ============== UTIL ============== */
.fade-in { opacity:0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .fade-in { opacity:1; transform:none; transition:none; } .btn:hover{ transform:none; } html{ scroll-behavior:auto; } }
.logo-light { display:block; } .logo-dark { display:none; }
.dark .logo-light { display:none; } .dark .logo-dark { display:block; }
.ty-legal h2 { margin-top:2rem; } .ty-legal a.ty-accent-text { text-decoration:underline; }
.text-center { text-align:center; }
.mx-auto { margin-left:auto; margin-right:auto; }
.maxw-2xl { max-width: 42rem; } .maxw-3xl { max-width: 50rem; } .maxw-xl { max-width: 36rem; }

/* ============== HIGHLIGHTS ============== */
.ty-hl-ico { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(20,93,251,.12); color: var(--ty-accent-dark); margin-bottom: 1rem; }
.dark .ty-hl-ico { background: rgba(20,93,251,.14); color: var(--ty-accent); }
.ty-hl-ico svg { width: 26px; height: 26px; }

/* ============== MODAL (demo picker) ============== */
.ty-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.ty-modal[hidden] { display: none; }
.ty-modal-backdrop { position: absolute; inset: 0; background: rgba(12,18,20,.55); backdrop-filter: blur(3px); }
.ty-modal-panel { position: relative; z-index: 1; width: 100%; max-width: 34rem; max-height: 85vh; overflow-y: auto; background: var(--ty-bg); border: 1px solid var(--ty-line); box-shadow: var(--ty-shadow-xl); border-radius: 14px; padding: 2rem; animation: tyModalIn .22s ease both; }
@keyframes tyModalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ty-modal-panel { animation: none; } }
.ty-modal-x { position: absolute; top: .9rem; right: .9rem; width: 38px; height: 38px; border: 0; background: var(--ty-surface-2); border-radius: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ty-text); }
.ty-modal-x:hover { background: var(--ty-line); }
.ty-demo-list { display: flex; flex-direction: column; gap: .6rem; }
.ty-demo-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; border: 1px solid var(--ty-line); border-radius: 12px; text-decoration: none; color: var(--ty-text); transition: border-color .15s, background .15s, transform .15s; }
.ty-demo-row:hover { border-color: var(--ty-accent); background: rgba(20,93,251,.06); transform: translateY(-1px); }
.ty-demo-row-txt { display: flex; flex-direction: column; gap: .15rem; }
.ty-demo-row-txt b { font-weight: 700; }
.ty-demo-row-txt .ty-muted { font-size: .9rem; }
.ty-demo-open { color: var(--ty-accent-dark); font-weight: 800; font-size: 1.15rem; flex: 0 0 auto; }
.dark .ty-demo-open { color: var(--ty-accent); }
body.ty-modal-open { overflow: hidden; }

/* ============== RELEASE NOTES ============== */
/* Body = sanitized rich text from the roadmap; restore list styling the reset strips. */
.ty-rn-body p { margin: 0 0 .6rem; }
.ty-rn-body p:last-child { margin-bottom: 0; }
.ty-rn-body ul, .ty-rn-body ol { margin: .4rem 0; padding-left: 1.3rem; }
.ty-rn-body ul { list-style: disc; }
.ty-rn-body ol { list-style: decimal; }
.ty-rn-body li { margin: .25rem 0; }

/* ============== TEAM · PERSON BAND (above the footer) ============== */
.ty-person-band { padding: 2.75rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.ty-person-band .ty-container { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.ty-person-band-avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.ty-person-band-text { flex: 1; min-width: 240px; }
.ty-person-band-name { margin: 0 0 .45rem; font-size: .9rem; color: rgba(255,255,255,.72); }
.ty-person-band-name b { color: #fff; font-weight: 800; }
.ty-person-band-quote { margin: 0; font-size: clamp(1.2rem, 2.3vw, 1.8rem); font-weight: 800; font-style: italic; line-height: 1.28; color: #fff; }
.ty-person-band-link { display: inline-block; margin-top: .85rem; font-size: .9rem; font-weight: 700; color: var(--ty-accent); text-decoration: none; }
.ty-person-band-link:hover { text-decoration: underline; }

/* ============== TEAM · PERSON NOTE (inline, mid-page tip from a face) ============== */
.ty-person-note { display: flex; gap: 1.5rem; align-items: flex-start; max-width: 52rem; margin: 0 auto;
  background: var(--ty-bg); border: 1px solid var(--ty-line); border-radius: 1rem; box-shadow: var(--ty-shadow-xl); padding: 1.75rem; }
.ty-person-note-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ty-person-note-name { margin: 0 0 .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ty-muted); }
.ty-person-note-name b { color: var(--ty-text); }
.ty-person-note-text { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ty-text); }
.ty-person-note-text b { font-weight: 700; }
@media (max-width: 620px){
  .ty-person-note { flex-direction: column; gap: 1rem; padding: 1.5rem; text-align: center; align-items: center; }
  .ty-person-band .ty-container { gap: 1.25rem; }
}

/* ============== TEAM PRESENCE TOPPER (circular photo straddling section top) ============== */
.ty-people-section { position: relative; margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: clamp(5rem, 7vw, 6.25rem); }
/* photo sits mostly in the white area above, dipping into the grey box; labels above the grey edge */
.ty-people-topper { position: absolute; top: 0; left: 0; right: 0; transform: translateY(-62%); display: flex; align-items: center; justify-content: center; gap: clamp(.85rem, 2vw, 2rem); padding: 0 1.25rem; z-index: 3; pointer-events: none; }
.ty-pt-photo { width: clamp(112px, 13vw, 160px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--ty-bg);
  border: 6px solid var(--ty-bg); }
.ty-pt-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ty-pt-label { color: #9aa6ab; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: clamp(.78rem, 1.3vw, 1rem); white-space: nowrap; }
@media (max-width: 720px){ .ty-pt-label { display: none; } .ty-people-section { padding-top: clamp(4.5rem, 20vw, 6rem); } }

/* ============================================================
   depositoo-Ergänzungen
   ============================================================ */
.ty-highlight { color: var(--dp-turq-ink); }
.dp-steps { counter-reset: dpstep; }
.dp-step { position: relative; }
.dp-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--ty-accent); color: var(--ty-accent-ink); display: flex; align-items: center; justify-content: center; font-family: 'Roboto Slab', serif; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.dp-list { list-style: none; padding: 0; margin: .9rem 0 0; }
.dp-list li { position: relative; padding-left: 1.5rem; margin: .45rem 0; color: var(--ty-muted); line-height: 1.5; }
.dp-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border-radius: 50%; border: 2px solid var(--dp-turq); }
.section--ink .dp-list li { color: rgba(255,255,255,.8); }

/* Hero-Illustration: stilisierte Ausleihbestätigung */
.dp-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .dp-hero-grid { grid-template-columns: 1.1fr .9fr; } }
.dp-receipt { max-width: 26rem; margin: 0 auto; width: 100%; }
.dp-receipt-body { padding: 1.5rem 1.6rem 1.7rem; }
.dp-receipt-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--ty-line); font-size: .98rem; }
.dp-receipt-row span:last-child { color: var(--ty-muted); white-space: nowrap; }
.dp-badge { display: inline-block; padding: .2rem .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; background: rgba(20,93,251,.12); color: var(--ty-accent-dark); }
.dp-sign { margin-top: 1.2rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.dp-sign svg.dp-sig { width: 150px; height: 48px; color: var(--ty-primary); }
.dp-qr { width: 64px; height: 64px; flex: 0 0 auto; color: var(--ty-primary); }
.dp-sign-line { border-top: 1px solid var(--ty-line); margin-top: .2rem; padding-top: .3rem; font-size: .8rem; color: var(--ty-muted); }
.dp-price { font-family: 'Roboto Slab', serif; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: var(--ty-primary); line-height: 1; }

/* Navigation: mehr Textlinks als bei ticketYoo → erst ab 1120px einblenden, nicht umbrechen */
.ty-nav-link { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1119px) {
  .ty-nav-links, .ty-hide-mobile { display: none; }
  .ty-burger { display: inline-flex; }
}
/* 4er-Raster: auf dem Handy einspaltig (lange deutsche Komposita sprengen sonst die Breite) */
@media (max-width: 639px) { .ty-grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 979px) { .ty-grid-4 { grid-template-columns: repeat(2,1fr); } }
.ty-feat h3, .ty-feat p { overflow-wrap: break-word; hyphens: auto; }

/* Türkis als zweite Logo-Farbe */
.dp-step:nth-child(even) .dp-step-num { background: var(--dp-turq); color: var(--dp-turq-ink); }
.ty-hl-ico { background: rgba(2,212,203,.14); color: #0a8f89; }
.dark .ty-hl-ico { background: rgba(2,212,203,.14); color: var(--dp-turq); }
.ty-ico { color: var(--ty-accent); }
.dark .ty-ico { color: var(--ty-accent-dark); }
/* Dropdown: zwei Spalten (Funktionen | Einsatzbereiche) */
.ty-nav-dd.dp-dd { width: 680px; grid-template-columns: 1fr 1fr; }
.ty-nav-item { position: relative; }
.ty-nav-dd.dp-dd { left: 0; transform: translateX(-20%) translateY(8px); }
.ty-nav-item:hover .ty-nav-dd.dp-dd, .ty-nav-item:focus-within .ty-nav-dd.dp-dd { transform: translateX(-20%) translateY(0); }

/* Checkliste (Verwaltung) */
.dp-checklist { display: grid; gap: 1.6rem 3rem; max-width: 60rem; margin: 0 auto; }
@media (min-width: 900px) { .dp-checklist { grid-template-columns: 1fr 1fr; } }
.dp-check { display: flex; gap: .8rem; align-items: flex-start; }
.dp-check svg { flex: 0 0 auto; color: #0aa9a1; margin-top: .15rem; }
.dark .dp-check svg { color: var(--dp-turq); }
.dp-check h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .3rem; }
.dp-check p { color: var(--ty-muted); line-height: 1.55; }

/* Querverweise zu anderen Unterseiten */
.dp-rel-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .dp-rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .dp-rel-grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; } }
.dp-rel { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--ty-line); text-decoration: none; transition: border-color .15s, transform .15s; }
.dp-rel:hover { border-color: var(--ty-accent); transform: translateY(-2px); }
.dp-rel svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--ty-accent); }
.dp-rel b { display: block; color: var(--ty-text); }
.dp-rel span span { display: block; color: var(--ty-muted); font-size: .9rem; line-height: 1.4; margin-top: .15rem; }
.dp-more { display: inline-block; margin-top: .9rem; font-weight: 700; color: var(--ty-accent-dark); text-decoration: none; }
.dp-more:hover { text-decoration: underline; }
