/* =============================================
   CLYCS HAMBURG — style.css
   Apple-inspired, minimalist
   ============================================= */

:root {
  --red: #CC1517;
  --red-dark: #a81214;
  --red-light: #e8191b;
  --black: #000000;
  --gray-950: #0a0a0a;
  --gray-900: #111111;
  --gray-800: #1d1d1f;
  --gray-700: #2d2d2f;
  --gray-500: #6e6e73;
  --gray-300: #a1a1a6;
  --gray-100: #f5f5f7;
  --gray-50:  #fafafa;
  --white: #ffffff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 64px;
  --radius: 18px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Container ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
p  { color: var(--gray-500); line-height: 1.7; }

.label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.label-light { color: rgba(255,255,255,0.6); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(204,21,23,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-ghost:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-full { width: 100%; }

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.card:nth-child(2).fade-in { transition-delay: 0.1s; }
.card:nth-child(3).fade-in { transition-delay: 0.2s; }
.branche-item:nth-child(2) { transition-delay: 0.05s; }
.branche-item:nth-child(3) { transition-delay: 0.10s; }
.branche-item:nth-child(4) { transition-delay: 0.15s; }
.branche-item:nth-child(5) { transition-delay: 0.20s; }
.branche-item:nth-child(6) { transition-delay: 0.25s; }
.branche-item:nth-child(7) { transition-delay: 0.30s; }
.branche-item:nth-child(8) { transition-delay: 0.35s; }


/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0);
  transition: border-color var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  border-bottom-color: rgba(0,0,0,0.08);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--gray-800);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--red); }
.nav-links .nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 980px;
  font-weight: 500;
}
.nav-links .nav-cta:hover {
  background: var(--red-dark);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-brand-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.hero-brand {
  font-family: 'Arial Rounded MT Bold', 'Arial Rounded MT', 'Arial Rounded', 'Nunito', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  margin-bottom: 6px;
  line-height: 1;
  text-align: left;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0;
  text-align: left;
}

.hero-content h1 { color: var(--gray-900); margin-bottom: 24px; }
.hero-content .hero-sub {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: 40px;
}

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

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-logo-img {
  width: 420px;
  height: 420px;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
  mix-blend-mode: multiply;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.02); }
}


/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }


/* =============================================
   LEISTUNGEN
   ============================================= */
#leistungen {
  padding: 120px 0;
  background: var(--gray-50);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204,21,23,0.1);
}

.card-featured {
  background: var(--gray-900);
  color: var(--white);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.card-featured::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,21,23,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.card-featured p { color: rgba(255,255,255,0.55); }
.card-featured ul li { color: rgba(255,255,255,0.65); }
.card-featured ul li::before { background: rgba(204,21,23,0.8); }
.card-featured .card-icon { color: var(--red); }

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--red);
}
.card-icon svg { width: 100%; height: 100%; }

.card h3 { color: var(--gray-900); }
.card-featured h3 { color: var(--white); font-size: 1.4rem; font-weight: 600; }
.card p { color: var(--gray-500); font-size: 0.95rem; }
.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.card ul li {
  font-size: 0.875rem;
  color: var(--gray-500);
  padding-left: 16px;
  position: relative;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}


/* =============================================
   ÜBER UNS
   ============================================= */
#ueber-uns {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; }

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-stack {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.about-accent {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(204,21,23,0.1) 0%, transparent 70%);
  z-index: 0;
}

.about-pill {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 980px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: default;
}
.about-pill:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateX(4px);
}
.about-pill:nth-child(2) { margin-left: 28px; }
.about-pill:nth-child(3) { margin-left: 14px; }


/* =============================================
   BRANCHEN
   ============================================= */
#branchen {
  padding: 120px 0;
  background: var(--gray-50);
}

.branchen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.branche-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  cursor: default;
  transition: var(--transition);
}
.branche-item:hover {
  border-color: rgba(204,21,23,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.branche-item:hover .branche-icon { color: var(--red); }

.branche-icon {
  width: 32px;
  height: 32px;
  color: var(--gray-500);
  transition: color var(--transition);
}
.branche-icon svg { width: 100%; height: 100%; }

.branche-item span:last-child {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}


/* =============================================
   KONTAKT
   ============================================= */
#kontakt {
  padding: 120px 0;
  background: var(--gray-900);
  color: var(--white);
}

.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.kontakt-text h2 { color: var(--white); margin-bottom: 20px; }
.kontakt-text > p { color: rgba(255,255,255,0.55); margin-bottom: 40px; }

.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kontakt-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.kontakt-link:hover { color: var(--white); }
.kontakt-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
}

/* Form */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

input, select, textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.28); }
input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  background: rgba(255,255,255,0.09);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
select option { background: var(--gray-900); color: var(--white); }
textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(204,21,23,0.15);
  color: #ff8082;
  font-size: 0.9rem;
  border: 1px solid rgba(204,21,23,0.3);
}


/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--black);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin: 0.4rem 0 0.15rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  max-width: 220px;
}

.footer-links {
  display: contents;
}

.footer-col h4 {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: center;
}
.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}


/* =============================================
   IMPRESSUM
   ============================================= */
#impressum {
  padding: 80px 0;
  background: var(--gray-50);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.impressum-inner {
  max-width: 680px;
}

.impressum-inner h2 {
  font-size: 1.6rem;
  margin-bottom: 32px;
  color: var(--gray-900);
}

.impressum-inner p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.impressum-inner p strong {
  color: var(--gray-800);
  font-weight: 600;
}

.impressum-inner a {
  color: var(--red);
  text-decoration: none;
}
.impressum-inner a:hover {
  text-decoration: underline;
}

.kontakt-link.kontakt-name {
  cursor: default;
}

.impressum-inner h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 32px;
  margin-bottom: 12px;
}

.impressum-inner h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-top: 20px;
  margin-bottom: 6px;
}

.impressum-quelle {
  margin-top: 32px;
  font-size: 0.78rem !important;
  color: var(--gray-300) !important;
}

#datenschutz {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .branchen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  #hero {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-bottom: 80px;
  }
  .hero-visual {
    order: -1;
    display: flex;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 32px;
  }
  .hero-content {
    order: 1;
  }
  .hero-content .hero-sub { margin: 0 0 40px; }
  .hero-actions { justify-content: flex-start; }
  .hero-logo-img {
    width: 220px;
    height: 220px;
  }

  .cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .kontakt-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-links { display: contents; }
  .branchen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-logo-img {
    width: 220px;
    height: 220px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .about-stats { gap: 24px; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr; }
  .branchen-grid { grid-template-columns: repeat(2, 1fr); }

  #leistungen, #ueber-uns, #branchen, #kontakt { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
}
