/*
Theme Name: philreises Portfolio
Theme URI: https://philreises.com
Author: philreises
Description: Bold, colorful portfolio theme for philreises — content creator & photographer.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: philreises
*/

/* ===== RESET & VARIABLES ===== */
:root {
  --clr-bg: #0a0a0a;
  --clr-text: #f0ece4;
  --clr-muted: #a09e99;
  --clr-accent-1: #FF6B35;
  --clr-accent-2: #E8FF3A;
  --clr-accent-3: #3ABEFF;
  --clr-accent-4: #FF3A8C;
  --clr-accent-5: #9B5AFF;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

::selection {
  background: var(--clr-accent-2);
  color: var(--clr-bg);
}

/* ===== NOISE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--clr-accent-2);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s ease;
  transform: translate(-50%, -50%);
}
.cursor-dot.hovering {
  transform: translate(-50%, -50%) scale(3);
  opacity: 0.6;
}

/* ===== NAV ===== */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--clr-text);
}
.logo span {
  background: linear-gradient(135deg, var(--clr-accent-1), var(--clr-accent-4), var(--clr-accent-5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--clr-muted);
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent-2);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--clr-text); }
.nav-links a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--clr-text);
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: float 12s ease-in-out infinite;
}
.shape-1 { width: 500px; height: 500px; background: var(--clr-accent-1); top: -10%; right: -5%; animation-delay: 0s; }
.shape-2 { width: 400px; height: 400px; background: var(--clr-accent-4); bottom: 10%; left: -8%; animation-delay: -4s; }
.shape-3 { width: 350px; height: 350px; background: var(--clr-accent-3); top: 40%; right: 30%; animation-delay: -8s; }
.shape-4 { width: 250px; height: 250px; background: var(--clr-accent-5); bottom: -5%; right: 15%; animation-delay: -2s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content { position: relative; z-index: 1; max-width: 1100px; }

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--clr-accent-2);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.3s;
}
.hero-tagline::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--clr-accent-2);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.5s;
}
.hero-title .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--clr-accent-1), var(--clr-accent-4), var(--clr-accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--clr-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.9s;
}

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-primary {
  background: var(--clr-accent-2);
  color: var(--clr-bg);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(232, 255, 58, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--clr-accent-3);
  color: var(--clr-accent-3);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.2s;
}
.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-muted);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--clr-accent-2), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  padding: 0 2rem;
  color: rgba(255,255,255,0.08);
}
.marquee-track span.highlight { color: var(--clr-accent-2); opacity: 0.4; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
section { padding: 7rem 3rem; }
.section-header { margin-bottom: 4rem; }
.section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--clr-accent-1);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--clr-accent-1);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ===== PORTFOLIO ===== */
#portfolio { background: linear-gradient(180deg, var(--clr-bg) 0%, #0f0f0f 100%); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 1rem;
}
.portfolio-grid .item:nth-child(1) { grid-row: span 2; }
.portfolio-grid .item:nth-child(4) { grid-column: span 2; }

.item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1a;
}
.item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.item:hover .item-img { transform: scale(1.08); }

.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.item:hover .item-overlay { opacity: 1; }

.item-overlay h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}
.item:hover .item-overlay h3 { transform: translateY(0); }

.item-overlay p {
  font-size: 0.8rem;
  color: var(--clr-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.05s;
}
.item:hover .item-overlay p { transform: translateY(0); }

.item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  opacity: 0.06;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.item:hover .item-placeholder { transform: scale(1.08); }

.item:nth-child(1) { background: linear-gradient(135deg, #1a1520, #2a1525); }
.item:nth-child(2) { background: linear-gradient(135deg, #151a20, #152a20); }
.item:nth-child(3) { background: linear-gradient(135deg, #1a1a15, #2a2a15); }
.item:nth-child(4) { background: linear-gradient(135deg, #15151a, #20152a); }
.item:nth-child(5) { background: linear-gradient(135deg, #1a1518, #2a1520); }
.item:nth-child(6) { background: linear-gradient(135deg, #151a1a, #152a2a); }

.portfolio-note {
  text-align: center;
  margin-top: 3rem;
  color: var(--clr-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== CLIENTS ===== */
#clients { border-top: 1px solid rgba(255,255,255,0.06); }
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem 4rem;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  transition: opacity 0.4s ease, transform 0.4s ease;
  filter: grayscale(1) brightness(2);
}
.client-logo:hover {
  opacity: 0.9;
  filter: grayscale(0) brightness(1);
  transform: scale(1.08);
}
.client-logo-placeholder {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--clr-text);
  padding: 1rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  white-space: nowrap;
}
.client-logo-placeholder:nth-child(1) { border-color: rgba(255,107,53,0.2); }
.client-logo-placeholder:nth-child(2) { border-color: rgba(58,190,255,0.2); }
.client-logo-placeholder:nth-child(3) { border-color: rgba(232,255,58,0.2); }
.client-logo-placeholder:nth-child(4) { border-color: rgba(255,58,140,0.2); }
.client-logo-placeholder:nth-child(5) { border-color: rgba(155,90,255,0.2); }
.client-logo-placeholder:nth-child(6) { border-color: rgba(58,190,255,0.2); }

.clients-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--clr-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* ===== CONTACT ===== */
#contact { position: relative; }
#contact::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--clr-accent-5) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.contact-info h3 em { font-style: normal; color: var(--clr-accent-3); }
.contact-info p {
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--clr-text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}
.contact-link:hover {
  border-color: var(--clr-accent-2);
  background: rgba(232,255,58,0.03);
  transform: translateX(8px);
}
.contact-link .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-link:nth-child(1) .icon { background: rgba(255,107,53,0.15); color: var(--clr-accent-1); }
.contact-link:nth-child(2) .icon { background: rgba(58,190,255,0.15); color: var(--clr-accent-3); }
.contact-link:nth-child(3) .icon { background: rgba(255,58,140,0.15); color: var(--clr-accent-4); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent-3);
  background: rgba(58,190,255,0.03);
  box-shadow: 0 0 0 3px rgba(58,190,255,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group textarea { resize: vertical; min-height: 140px; }

.btn-submit {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--clr-accent-1), var(--clr-accent-4));
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s ease;
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255,107,53,0.25);
}

/* ===== IMPRESSUM MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--clr-text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.modal-close:hover { background: rgba(255,255,255,0.12); }
.modal h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; margin-bottom: 1.5rem; }
.modal h3 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--clr-accent-3); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.modal p, .modal address { font-size: 0.9rem; color: var(--clr-muted); line-height: 1.8; font-style: normal; }
.modal a { color: var(--clr-accent-2); text-decoration: none; }
.modal a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer.site-footer {
  padding: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer.site-footer p { font-size: 0.8rem; color: var(--clr-muted); }
footer.site-footer .socials { display: flex; gap: 1.5rem; }
footer.site-footer .socials a {
  color: var(--clr-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
footer.site-footer .socials a:hover { color: var(--clr-accent-2); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav.site-nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .menu-toggle { display: flex; }
  section { padding: 5rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .portfolio-grid .item:nth-child(1) { grid-row: span 1; }
  .portfolio-grid .item:nth-child(4) { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-cta { flex-direction: column; }
  .btn { text-align: center; justify-content: center; }
  .cursor-dot { display: none; }
}

@media (max-width: 500px) {
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 2rem;
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cookie-banner p {
  font-size: 0.85rem;
  color: var(--clr-muted);
  line-height: 1.6;
  margin: 0;
}
.cookie-banner a {
  color: var(--clr-accent-3);
  text-decoration: none;
}
.cookie-banner a:hover { text-decoration: underline; }
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.7rem 1.8rem;
  background: rgba(255,255,255,0.08);
  color: var(--clr-text);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.cookie-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--clr-accent-3);
}
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; text-align: center; gap: 1rem; }
}

/* philreises dark theme override */
#CookiebotDialog {
  background: #141414 !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
}
#CookiebotDialogBodyContentTitle,
#CookiebotDialogBodyContentText {
  color: #a09e99 !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
}
#CookiebotDialogBodyContentTitle {
  font-family: 'Syne', system-ui, sans-serif !important;
  font-weight: 800 !important;
  color: #f0ece4 !important;
}
#CookiebotDialogBodyLevelButtonLevelOptinAllowAll {
  background: #E8FF3A !important;
  color: #0a0a0a !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: 'Syne', system-ui, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  font-size: 0.72rem !important;
}
#CookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
#CookiebotDialogBodyLevelButtonLevelOptinDeclineAll {
  background: transparent !important;
  color: #f0ece4 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 50px !important;
  font-family: 'Syne', system-ui, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  font-size: 0.72rem !important;
}
#CookiebotDialogBodyLevelButtonLevelOptinDeclineAll:hover,
#CookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:hover {
  border-color: #3ABEFF !important;
  color: #3ABEFF !important;
}
#CookiebotDialogBodyLevelButtonLevelOptinAllowAll:hover {
  box-shadow: 0 6px 24px rgba(232,255,58,0.2) !important;
}
#CookiebotDialogNav a {
  color: #a09e99 !important;
}
#CookiebotDialogNav a.CookiebotDialogNavActive {
  color: #3ABEFF !important;
  border-color: #3ABEFF !important;
}
#CookiebotDialogBodyContentControls {
  border-color: rgba(255,255,255,0.08) !important;
}
.CookiebotDialogBodyLevelButtonSlider {
  background: rgba(255,255,255,0.1) !important;
}
input:checked + .CookiebotDialogBodyLevelButtonSlider {
  background: #E8FF3A !important;
}
#CookiebotDialogDetailBodyContentTextAbout,
#CookiebotDialogDetailBodyContentCookieContainerTypes {
  color: #a09e99 !important;
}
a#CookiebotDialogBodyLevelDetailsButton {
  color: #3ABEFF !important;
}
#CookiebotDialogPoweredByLink {
  color: rgba(255,255,255,0.15) !important;
}

/* FIX 1: Prevent horizontal scroll (the left/right overflow) */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
 
/* The marquee track causes horizontal overflow — contain it */
.marquee-wrapper {
  overflow: hidden;
  max-width: 100vw;
}
 
/* Background shapes can bleed out — clip them */
.hero {
  overflow: hidden;
}
.hero-bg-shapes {
  overflow: hidden;
}
 
/* Contact section glow can cause overflow */
#contact {
  overflow: hidden;
}
 
/* FIX 2: Footer cramped on mobile */
@media (max-width: 900px) {
  footer.site-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
 
  footer.site-footer .socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
 
/* FIX 3: Scroll indicator position on mobile */
@media (max-width: 900px) {
  .scroll-indicator {
    bottom: 1.5rem;
    display: none; /* hide on mobile — takes up space and not needed */
  }
}
 
/* FIX 4: Hero padding and text sizing on small screens */
@media (max-width: 500px) {
  .hero {
    padding: 6rem 1.2rem 3rem;
    min-height: 100svh; /* use svh for mobile browsers with address bar */
  }
 
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
    word-break: break-word;
  }
 
  .hero-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }
 
  .hero-desc {
    font-size: 0.9rem;
  }
}
 
/* FIX 5: Nav on mobile — prevent overflow */
@media (max-width: 900px) {
  nav.site-nav {
    padding: 1rem 1.2rem;
  }
 
  .logo {
    font-size: 1.3rem;
  }
}
 
/* FIX 6: Contact section on small screens */
@media (max-width: 500px) {
  .contact-link {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
 
  .contact-link .icon {
    width: 30px;
    height: 30px;
  }
 
  .contact-info h3 {
    font-size: 1.4rem;
  }
 
  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
 
  .section-label {
    font-size: 0.7rem;
  }
}
 
/* FIX 7: Clients section wrapping on mobile */
@media (max-width: 500px) {
  .clients-logos {
    gap: 1.5rem 2rem;
  }
 
  .client-logo-placeholder {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
}
 
/* FIX 8: Buttons full width on very small screens */
@media (max-width: 380px) {
  .hero-cta {
    width: 100%;
  }
 
  .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.75rem;
  }
}
 
/* FIX 9: Form inputs on mobile */
@media (max-width: 500px) {
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 0.9rem 1rem;
  }
 
  .btn-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
 
/* FIX 10: Impressum modal on mobile */
@media (max-width: 500px) {
  .modal {
    padding: 2rem 1.5rem;
    border-radius: 12px 12px 0 0;
    max-height: 85vh;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
 
  .modal h2 {
    font-size: 1.4rem;
  }
}
 