/* Font Face Declarations */
@font-face {
  font-family: "PP Monument Extended";
  src: url("./PP+Monument+Extended+-+Regular+v4.0/PP Monument Extended - Regular v4.0/PPMonumentExtended-Regular.woff2")
      format("woff2"),
    url("./PP+Monument+Extended+-+Regular+v4.0/PP Monument Extended - Regular v4.0/PPMonumentExtended-Regular.woff")
      format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Monument Extended";
  src: url("./PP+Monument+Extended+-+Bold+v4.0/PP Monument Extended - Bold v4.0/PPMonumentExtended-Bold.woff2")
      format("woff2"),
    url("./PP+Monument+Extended+-+Bold+v4.0/PP Monument Extended - Bold v4.0/PPMonumentExtended-Bold.woff")
      format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("./Klim Sohne/soehne-leicht.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("./Klim Sohne/soehne-kraftig.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset and Base Styles - Mobile First */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "PP Monument Extended", sans-serif;
  background-color: #000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utility Classes */
.container {
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 150px;
  height: auto;
  margin-bottom: 2rem;
  transform: scale(2);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 212, 255, 0.3);
  border-top: 3px solid #00d4ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Header - Mobile First */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1001;
  position: relative;
}

.nav-brand .logo {
  height: 40px;
  width: auto;
  display: block;
  /* max-width: 150px; */
}

/* Mobile Navigation Toggle */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Mobile Menu */
.nav-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(-100%);
  transition: all 0.3s ease;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  z-index: 999;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
}

.nav-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  padding: 1rem;
  margin: 0.25rem 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 500;
  min-height: 48px;
}

.nav-link:active,
.nav-link:hover {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
}

/* Hero Section - Mobile First */
.hero {
  min-height: 100vh;
  padding-top: 60px;
  display: flex;
  align-items: center;
  /* background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%); */
  position: relative;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-family: "PP Monument Extended", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.highlight {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Buttons - Mobile Optimized */
.btn {
  padding: 0.875rem 1.5rem;
  font-family: "PP Monument Extended", sans-serif;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 100%;
  min-height: 48px; /* Touch target size */
}

.btn-primary {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  border: 2px solid #00d4ff;
  backdrop-filter: blur(10px);
}

.btn-secondary:active {
  background: rgba(0, 212, 255, 0.2);
}

/* Hero Visual - Mobile First */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  min-height: 300px;
}

.particle-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 150%;
  height: 150%;
  z-index: 0;
  transform: translateX(-50%) translateY(25%);
}

#particleCanvas {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  pointer-events: none;
}

.particle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.particle-interact-btn {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Chat Interface - Mobile First */
.chat-interface {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22, 33, 62, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
  z-index: 100;
  height: 22rem;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.chat-interface.active {
  transform: translateY(0);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.chat-header h3 {
  font-family: "PP Monument Extended", sans-serif;
  font-size: 1.125rem;
  color: #00d4ff;
}

.chat-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 50vh;
}

.message {
  animation: fadeInUp 0.3s ease;
}

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

.bot-message {
  align-self: flex-start;
  max-width: 85%;
}

.user-message {
  align-self: flex-end;
  max-width: 85%;
}

.message-bubble {
  padding: 0.75rem 1rem;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.bot-message .message-bubble {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #ffffff;
}

.user-message .message-bubble {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
}

.chat-input-container {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(10, 10, 10, 0.5);
}

.chat-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(26, 26, 46, 0.5);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 25px;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

.chat-input:focus {
  border-color: #00d4ff;
}

.chat-send-btn,
.chat-voice-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-send-btn {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
}

.chat-voice-btn {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  border: 2px solid rgba(102, 126, 234, 0.3);
}

.chat-voice-btn.active {
  background: linear-gradient(45deg, #ff4444, #cc0000);
  color: #ffffff;
  border-color: transparent;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Sections - Mobile First */
section {
  padding: 3rem 0;
}

.section-title {
  font-family: "PP Monument Extended", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Services Section */
.services {
  background: rgba(26, 26, 46, 0.3);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 100vw;
  justify-content: center;
}

.service-card {
  flex: 0 0 250px;
  width: 250px;
  height: 280px;
  background: linear-gradient(
    135deg,
    rgba(22, 33, 62, 0.6) 0%,
    rgba(26, 26, 46, 0.6) 100%
  );
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.service-card h3 {
  font-family: "PP Monument Extended", sans-serif;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #00d4ff;
}

.service-card p {
  color: #cccccc;
  font-size: 0.75rem;
  line-height: 1.5;
}

/* AI Explorer Section */
.ai-explorer {
  background: rgba(10, 10, 10, 0.6);
}

.explorer-content {
  max-width: 600px;
  margin: 0 auto;
}

.explorer-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.explorer-input {
  padding: 0.875rem 1rem;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  background: rgba(26, 26, 46, 0.5);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

.explorer-input:focus {
  border-color: #00d4ff;
}

.suggestions-output {
  margin-top: 2rem;
  background: linear-gradient(
    135deg,
    rgba(22, 33, 62, 0.6) 0%,
    rgba(26, 26, 46, 0.6) 100%
  );
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.suggestions-output h3 {
  font-family: "PP Monument Extended", sans-serif;
  color: #00d4ff;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.suggestions-content {
  color: #cccccc;
  line-height: 1.6;
}

/* Industries Section */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.industry-card {
  background: linear-gradient(
    135deg,
    rgba(22, 33, 62, 0.6) 0%,
    rgba(26, 26, 46, 0.6) 100%
  );
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.industry-card:active {
  transform: scale(0.98);
  border-color: #00d4ff;
}

.industry-card h3 {
  font-family: "PP Monument Extended", sans-serif;
  color: #00d4ff;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.industry-card p {
  color: #cccccc;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* About Us Section */
.about {
  padding: 4rem 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  color: #cccccc;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-text a {
  color: #00d4ff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.about-text a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Contact Section */
.contact {
  background: rgba(26, 26, 46, 0.3);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info {
  text-align: center;
}

.contact-info h3 {
  font-family: "PP Monument Extended", sans-serif;
  color: #00d4ff;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.contact-info p {
  color: #cccccc;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(
    135deg,
    rgba(22, 33, 62, 0.6) 0%,
    rgba(26, 26, 46, 0.6) 100%
  );
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-form input,
.contact-form textarea {
  padding: 0.875rem 1rem;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  background: rgba(26, 26, 46, 0.5);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00d4ff;
}

/* Footer */
.footer {
  background: rgba(10, 10, 10, 0.9);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  padding: 2rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 0.5rem;
  filter: brightness(1.2);
}

.footer-brand p {
  color: #ffffff;
  font-size: 0.6rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-column h4 {
  font-family: "PP Monument Extended", sans-serif;
  color: #00d4ff;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-column a {
  display: block;
  color: #cccccc;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  color: #888;
  font-size: 0.75rem;
}

/* Tablet Styles (min-width: 768px) */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
    max-width: 720px;
  }

  .nav {
    padding: 1rem 2rem;
    height: 80px;
  }

  .nav-brand .logo {
    height: 80px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    transform: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    margin: 0;
  }

  .nav-link:hover {
    color: #00d4ff;
    background: transparent;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-container {
    padding: 3rem 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 0.75rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .btn {
    width: auto;
    min-width: 160px;
  }

  .hero-visual {
    min-height: 600px;
  }

  .particle-container {
    /* Desktop positioning - right side */
    top: 0;
    bottom: auto;
    left: auto;
    right: 0;
    transform: translateX(40%) scale(1.5);
  }

  .chat-interface {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24rem;
    transform: none;
    border-radius: 15px;
    background: rgba(22, 33, 62, 0.95);
    z-index: 10;
  }

  .chat-interface.active {
    transform: none;
  }

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

  .section-title {
    font-size: 2.5rem;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: row;
    gap: 3rem;
  }
}

/* Desktop Styles (min-width: 1024px) */
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .hero-text {
    text-align: left;
    flex: 1;
  }

  .hero-visual {
    flex: 1;
  }

  .hero-actions {
    justify-content: flex-start;
  }

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

  .contact-content {
    flex-direction: row;
    gap: 4rem;
  }

  .contact-info,
  .contact-form {
    flex: 1;
  }
}

/* Large Desktop Styles (min-width: 1200px) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .hero-title {
    font-size: 3rem;
  }

  section {
    padding: 5rem 0;
  }
}

/* Hover Effects for Non-Touch Devices */
@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }

  .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
  }

  .btn-secondary:hover {
    background: #00d4ff;
    color: #0a0a0a;
  }

  .service-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
  }

  .industry-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
  }

  .chat-send-btn:hover,
  .chat-voice-btn:hover {
    transform: scale(1.1);
  }

  .nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .nav-link:hover::after {
    width: 80%;
  }
}

/* Hide message timestamps */
.message-timestamp {
  display: none;
}

/* Chat Area Basic Styling */
.chat-area {
  margin-top: 2rem;
  width: 100%;
  max-width: 600px;
}

.transcription-interface {
  background: linear-gradient(
    135deg,
    rgba(22, 33, 62, 0.8) 0%,
    rgba(26, 26, 46, 0.8) 100%
  );
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.transcription-content {
  padding: 1.5rem;
  font-family: "Sohne", sans-serif;
  line-height: 1.6;
}

.speaker-label {
  font-family: "PP Monument Extended", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #00d4ff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.transcription-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid #00d4ff;
  position: relative;
}

/* Typewriter cursor effect */
.transcription-text.typing::after {
  content: "|";
  color: rgba(0, 212, 255, 0.8);
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.welcome-message {
  margin-bottom: 1rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .chat-area {
    margin-top: 1.5rem;
    padding: 0 1rem;
  }

  .transcription-content {
    padding: 1rem;
  }

  .transcription-text {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }

  .speaker-label {
    font-size: 0.8rem;
  }
}
