/* AppNova Studio Website Styles */

/* Loading Indicator */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loading-overlay.show {
  display: flex;
}
.loading-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #e0e6ed;
  border-top: 6px solid #f37021;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes tabFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes tabFadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.tab-animate-cards .project-card {
  animation: tabFadeSlideUp 0.6s ease both;
}
.tab-animate-cards .project-card:nth-child(1) { animation-delay: 0s; }
.tab-animate-cards .project-card:nth-child(2) { animation-delay: 0.12s; }
.tab-animate-cards .project-card:nth-child(3) { animation-delay: 0.24s; }
.tab-animate-mockup {
  animation: tabFadeSlideIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', Arial, sans-serif;
  color: #1a232e;
  line-height: 1.6;
  font-size: 20px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

/* Space between sections */
section {
  margin-top: 90px;
  margin-bottom: 90px;
}
section:first-of-type:not(.hero) {
  margin-top: 150px;
}
section:last-of-type {
  margin-bottom: 50px;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Navigation */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(30,40,60,0.04);
  padding: 0rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  gap: 0.5rem;
}
.logo img {
  width: 200px;
  height: 200px;
}
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
nav a {
  font-weight: 500;
  color: #1a232e;
  transition: color 0.2s;
}
nav a:hover {
  color: #1e6b8c;
}
.btn {
  display: inline-block;
  padding: 0.7em 1.6em;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.15rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.hero-kontakt-btn {
  display: none;
}
.btn-primary {
  background: #f37021;
  color: #fff;
  margin-left: 0;
}
.btn-primary:hover {
  background: #d95d13;
}
.btn-secondary {
  background: #29536b;
  color: #fff;
  margin-right: 1rem;
}
.btn-secondary:hover {
  background: #1e3a4c;
}
.btn-outline {
  background: #fff;
  color: #f37021;
  border: 2px solid #f37021;
}

/* Language Selector */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lang-selector {
  position: relative;
  margin-left: 0.75rem;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: 1.5px solid #e0e6ed;
  border-radius: 8px;
  padding: 0.38em 0.52em;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.lang-btn:hover {
  border-color: #f37021;
  background: #fff5ef;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1.5px solid #e0e6ed;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(30, 40, 60, 0.13);
  list-style: none;
  padding: 0.25rem;
  z-index: 200;
  min-width: 44px;
}
.lang-dropdown.open {
  display: block;
}
.lang-option {
  font-size: 1.25rem;
  line-height: 1.5;
  padding: 0.3em 0.52em;
  border-radius: 7px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
  user-select: none;
}
.lang-option:hover {
  background: #f5f7fa;
}
.lang-option.active {
  background: #fff5ef;
  outline: 2px solid #f37021;
  outline-offset: -2px;
}
.btn-outline:hover {
  background: #f37021;
  color: #fff;
}

/* Hero Section */
.hero {
  margin-top: 5rem;
  padding: 0;
  text-align: center;
}
.hero .container {
  padding-top: 0;
}
.badge {
  display: inline-block;
  background: #fff;
  color: #1e6b8c;
  font-weight: 600;
  border-radius: 20px;
  padding: 0.4em 1.2em;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(30,40,60,0.06);
}
.hero h1 {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.highlight-blue {
  color: #5a8bbd;
}
.highlight-orange {
  color: #f37021;
}
.subtitle {
  color: #5a6b7b;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.hero-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 3.5rem 3rem 2rem;
  text-align: center;
  line-height: 1.6;
}
.hero-overlay-top h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.55);
  margin-bottom: 0.75rem;
}
.hero-overlay-top .subtitle {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
  margin-bottom: 0;
}
.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 2rem 3rem 6rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  line-height: 1.6;
}
/* Hero Image */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 680px;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
  line-height: 0;
  box-shadow:
    0 4px 24px rgba(41, 83, 107, 0.28);
}
.hero-section-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0.6;
}
/* Hero load animations */
@keyframes heroSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-animate {
  animation: heroFadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-animate--1 { animation-delay: 0.9s; }
.hero-animate--2 { animation-delay: 1.2s; }
.hero-animate--3 { animation-delay: 1.5s; }
.hero-animate--4 { animation-delay: 1.8s; }
.stats {
  display: flex;
  justify-content: center;
  gap: 7rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  min-width: 120px;
}
.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(30,40,60,0.06);
}
.stat-orange {
  background: #fff3ea;
}
.stat-blue {
  background: #eaf3f9;
}
.stat-title {
  font-size: 1.3rem;
  font-weight: 700;
}
.stat-desc {
  color: #5a6b7b;
  font-size: 0.98rem;
}

/* Tagline Section */
.tagline-section {
  padding: 2rem 0;
  background: #fff;
  text-align: center;
}
.tagline-text {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.4;
  max-width: 860px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}
.tagline-text .highlight-orange,
.tagline-text .highlight-blue {
  font-size: 4.0rem;
}

/* Projects Section */
.projects {
  background: linear-gradient(120deg, #29536b 60%, #3e6b8c 100%);
  color: #fff;
  padding: 7rem 0 10rem 0;
}
.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}
.projects-info {
  flex: 3 1 100px;
}
.projects-badge {
  color: #f37021;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.projects-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 3.5rem;
}
.projects-info p {
  color: #eaf3f9;
  margin-bottom: 1.5rem;
}
.project-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.project-tab {
  background: rgba(255,255,255,0.07);
  color: #bfc9d1;
  border: none;
  border-radius: 10px;
  padding: 0.55em 1.6em;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.project-tab:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
}
.project-tab.active {
  background: #f37021;
  color: #fff;
}
.project-tab-panel.hidden {
  display: none;
}
.project-tab-panel[data-panel="web"] .project-card {
  max-width: 75%;
}
.project-card {
  background: rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 2.2rem 2.7rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 1px 4px rgba(30,40,60,0.05);
  transition: all 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card.featured {
  border: 2px solid #f37021;
}
.project-card.hidden-initial {
  opacity: 0;
  transform: translateX(-80px);
}
.project-card.animate-in {
  opacity: 1;
  transform: translateX(0);
}
.project-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.project-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.2em 0.7em;
  margin-left: 0.7em;
  vertical-align: middle;
}
.project-tag.orange {
  background: #f37021;
  color: #fff;
}
.project-tag.blue {
  background: #5a8bbd;
  color: #fff;
}
.project-tag.gray {
  background: #bfc9d1;
  color: #29536b;
}
.project-desc {
  color: #eaf3f9;
  font-size: 1rem;
}
.projects-mockup {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.projects-mockup.mockup-hidden-initial {
  opacity: 0;
  transform: translateX(80px);
}
.projects-mockup.mockup-animate-in {
  opacity: 1;
  transform: translateX(0);
}
.mockup-monitor {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mockup-monitor-screen {
  width: 750px;
  background: #1a232e;
  border-radius: 14px 14px 0 0;
  border: 12px solid #2d3e50;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30,40,60,0.28);
  position: relative;
}
.mockup-monitor-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.mockup-monitor-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mockup-monitor-neck {
  width: 18px;
  height: 36px;
  background: #2d3e50;
}
.mockup-monitor-base {
  width: 140px;
  height: 14px;
  background: #2d3e50;
  border-radius: 0 0 10px 10px;
}
.mockup-web-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.mockup-phone {
  background: #1a232e;
  border-radius: 32px;
  width: 370px;
  height: 700px;
  box-shadow: 0 8px 32px rgba(30,40,60,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}
.mockup-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
.mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mockup-carousel-dots {
  display: none;
  justify-content: center;
  gap: 0.75rem;
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bfc9d1;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot:hover {
  background: #8a95a0;
  transform: scale(1.1);
}
.carousel-dot.active {
  background: #f37021;
  transform: scale(1.2);
}
.mockup-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(30,40,60,0.7);
  color: #fff;
  padding: 0.7em 1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mockup-proto-btn {
  background: #f37021;
  color: #fff;
  border-radius: 8px;
  padding: 0.2em 0.8em;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3em;
}
.mockup-dots {
  display: flex;
  gap: 0.5em;
  margin-bottom: 0.5em;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfc9d1;
  opacity: 0.5;
}
.dot.active {
  background: #f37021;
  opacity: 1;
}
.mockup-caption {
  color: #bfc9d1;
  font-size: 0.98rem;
  text-align: center;
}

/* Process Section */
.process {
  background: #fff;
  padding: 3rem 0 2rem 0;
  text-align: center;
}
.process-badge {
  color: #f37021;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.process-header-block {
  display: inline-block;
  background: #f37021;
  border-radius: 24px;
  padding: 2.5rem 10rem;
  margin-bottom: 5rem;
  box-shadow: 0 8px 48px 0 rgba(243, 112, 33, 0.45), 0 2px 16px 0 rgba(243, 112, 33, 0.25);
}
.process h2 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
}
.process .subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  margin-bottom: 0;
}
.process-steps {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.process-steps:has(.process-step:hover) .process-step:not(:hover) {
  opacity: 0.45;
  transform: scale(0.97);
}
.process-step {
  background: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(30,40,60,0.06);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 1.5rem;
  text-align: left;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.7s ease, opacity 0.7s ease;
  cursor: default;
}
.process-step:hover {
  transform: scale(1.07);
  box-shadow: 0 16px 48px rgba(30,40,60,0.16), 0 4px 16px rgba(243,112,33,0.12);
  background: #fff;
  z-index: 2;
}
.process-step.hidden-initial:nth-child(1) {
  opacity: 0;
  transform: translateX(-100px);
}
.process-step.hidden-initial:nth-child(2) {
  opacity: 0;
  transform: translateY(-100px);
}
.process-step.hidden-initial:nth-child(3) {
  opacity: 0;
  transform: translateX(100px);
}
.process-step.animate-in {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}
.process-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 1rem;
}
.process-orange {
  background: none;
}
.process-blue {
  background: none;
}
.process-title {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
.process-desc {
  color: #5a6b7b;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
.process-list {
  color: #1a232e;
  font-size: 1.05rem;
  padding-left: 1.2em;
}
.process-list li {
  margin-bottom: 0.2em;
}

/* Features Row */
.features-row {
  background: linear-gradient(120deg, #29536b 60%, #3e6b8c 100%);
  color: #fff;
  padding: 1.5rem 0 1.5rem 0;
}
.features-container {
  display: flex;
  gap: 5rem;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.feature {
  text-align: center;
  flex: 1 1 200px;
  min-width: 180px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff3ea;
}
.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.feature-desc {
  color: #eaf3f9;
  font-size: 0.98rem;
}

/* Contact Section */
.contact {
  background: #fff;
  padding: 3rem 0 2rem 0;
}
.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.contact-card {
  background: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(30,40,60,0.06);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff3ea;
}
.contact-card h3 {
  font-size: 2.0rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.contact-card p {
  color: #5a6b7b;
  margin-bottom: 1.5rem;
}
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  flex: 1 1 0;
  padding: 0.8em 1em;
  border-radius: 8px;
  border: 1.5px solid #e0e6ed;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 0.2rem;
  resize: none;
}
.form-row textarea {
  min-height: 150px;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #f37021;
}
.form-row input.field-error,
.form-row select.field-error,
.form-row textarea.field-error {
  border-color: #f37021;
  border-width: 2px;
}
.privacy-checkbox input[type="checkbox"].field-error {
  outline: 2px solid #f37021;
  outline-offset: 2px;
}
.privacy-row {
  margin-bottom: 1.5rem;
}
.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #5a6b7b;
  cursor: pointer;
}
.privacy-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.privacy-checkbox a {
  color: #3b82f6;
  text-decoration: underline;
}
.privacy-checkbox a:hover {
  color: #2563eb;
}
.contact-info-row {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  color: #5a6b7b;
  font-size: 0.98rem;
  gap: 1.5rem;
}

/* Footer */
.footer {
  background: #1a232e;
  color: #fff;
  padding: 2rem 0 1.2rem 0;
}
.footer-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
}
.footer-logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  gap: 0.5rem;
}
.footer-logo img {
  width: 32px;
  height: 32px;
}
.footer-copy {
  font-size: 0.98rem;
  color: #bfc9d1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}
.footer-links a {
  color: #bfc9d1;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-social a {
  margin-left: 1rem;
  display: inline-block;
}
.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-social img:hover {
  opacity: 1;
}

/* Legal Section */
.legal-section {
  padding: 4rem 0;
  min-height: 60vh;
}
.legal-section h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #1a232e;
}
.legal-section h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a232e;
}
.legal-section h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1a232e;
}
.legal-section h4 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #1a232e;
}
.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #4a5568;
}
.legal-section ul {
  margin: 1rem 0;
  padding-left: 2rem;
}
.legal-section li {
  margin-bottom: 0.5rem;
  color: #4a5568;
}
.legal-section a {
  color: #3b82f6;
  text-decoration: underline;
}
.legal-section a:hover {
  color: #2563eb;
}

/* Responsive Design */

/* Large Tablet (max 1100px) */
@media (max-width: 1100px) {
  .mockup-monitor-screen {
    width: 100%;
  }
  .projects-container {
    gap: 2rem;
  }
  /* Prevent process header from overflowing at mid-widths */
  .process-header-block {
    padding: 2rem 5rem;
  }
}

/* Tablet (max 900px) */
@media (max-width: 900px) {
  .projects-container {
    flex-direction: column;
    align-items: center;
  }
  .projects-info {
    width: 100%;
  }
  .projects-mockup {
    width: 100%;
    justify-content: center;
    align-self: center;
  }
  .mockup-phone {
    width: 280px;
    height: 530px;
  }
  .mockup-monitor-screen {
    width: 100%;
    max-width: 600px;
  }
  .process-steps, .features-container {
    flex-direction: column;
    align-items: center;
  }
  .process-step {
    max-width: 100%;
    width: 100%;
  }
  .stats {
    gap: 1.5rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-image-wrapper {
    height: 60vh;
    min-height: 360px;
  }
  .hero-overlay-top {
    padding: 2.5rem 2rem 1.5rem;
  }
  .hero-overlay-bottom {
    padding: 1.5rem 2rem 2.5rem;
  }
  .project-tab-panel[data-panel="web"] .project-card {
    max-width: 100%;
  }
  /* Tagline */
  .tagline-text {
    font-size: 1.0rem;
  }
  .tagline-text .highlight-orange,
  .tagline-text .highlight-blue {
    font-size: 2.0rem;
  }
  /* Process header — reduce the large horizontal padding */
  .process-header-block {
    padding: 2rem 2.5rem;
  }
  .process h2 {
    font-size: 2.8rem;
  }
  /* Features — each feature becomes its own card when stacked */
  .features-container {
    gap: 1rem;
    padding: 2 rem 1.5rem;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
  .feature {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 2rem 1.5rem 1.25rem;
    box-shadow:
      0 8px 40px rgba(0, 0, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .feature-title {
    font-size: 1.8rem;
  }
  .feature-desc {
    font-size: 1.1rem;
  }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
  section {
    margin-top: 60px;
    margin-bottom: 60px;
  }
  section:first-of-type:not(.hero) {
    margin-top: 100px;
  }
  .container {
    width: 95%;
  }

  /* Navbar — center logo, move Kontakt to hero section */
  .nav-container {
    justify-content: center;
    position: relative;
  }
  .nav-kontakt-btn {
    display: none;
  }
  /* Keep the language selector pinned to the top-right on mobile */
  .lang-selector {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }
  .hero-kontakt-btn {
    display: block;
  }

  /* Hero — image hidden, title + buttons flow as plain stacked content */
  .hero {
    margin-top: 0;
    padding: 0;
  }
  .hero-image-wrapper {
    position: static;
    height: auto;
    min-height: unset;
    max-height: unset;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    background: linear-gradient(160deg, #1a3a4c 0%, #29536b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3.5rem 1.5rem 3rem;
    gap: 2rem;
  }
  .hero-section-img {
    display: none;
  }
  .hero-overlay-top {
    position: static;
    padding: 0;
    text-align: center;
  }
  .hero-overlay-top h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    text-shadow: none;
  }
  .hero-overlay-bottom {
    position: static;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
    max-width: 320px;
  }
  .hero-overlay-bottom .btn {
    width: 100%;
    text-align: center;
    font-size: 1.05rem;
    padding: 0.85em 1.5em;
    margin-left: 0;
    margin-right: 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .badge {
    font-size: 0.8rem;
    padding: 0.3em 0.9em;
  }
  .subtitle {
    font-size: 1rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.55em 1.1em;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    margin: 0;
    width: 100%;
    max-width: 280px;
  }

  /* Tagline */
  .tagline-section {
    padding: 1.25rem 0;
  }
  .tagline-text {
    font-size: 1.75rem;
  }
  .tagline-text .highlight-orange,
  .tagline-text .highlight-blue {
    font-size: 2.5rem;
  }

  /* Projects */
  .projects {
    padding: 4rem 0 5rem 0;
  }
  .projects-info h2 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }
  .project-card {
    padding: 1.4rem 1.4rem;
    margin-bottom: 1.5rem;
  }
  .projects-mockup {
    margin-top: 2rem;
    width: 100%;
  }
  .mockup-phone {
    width: min(260px, 70vw);
    height: min(490px, 130vw);
  }
  .mockup-monitor-screen {
    width: 100%;
    max-width: 100%;
    border-width: 8px;
    border-radius: 10px 10px 0 0;
  }
  .mockup-monitor {
    width: 100%;
  }

  /* Process */
  .process {
    padding: 3rem 0 2rem 0;
  }
  /* Fix the 10rem horizontal padding that breaks mobile layout */
  .process-header-block {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    margin-bottom: 3rem;
  }
  .process h2 {
    font-size: 1.6rem;
  }
  .process .subtitle {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  .process-step {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .process-icon {
    width: 100px;
    height: 100px;
  }
  .process-title {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
  }
  .process-desc {
    font-size: 0.95rem;
  }

  /* Carousel dots — larger tap targets on mobile */
  .carousel-dot {
    width: 18px;
    height: 18px;
  }
  .carousel-dot.active {
    transform: scale(1.25);
  }
  .mockup-carousel-dots {
    gap: 1rem;
    bottom: 1.2rem;
  }
  .mockup-web-carousel-dots {
    gap: 1rem;
  }

  /* Features */
  .feature-title {
    font-size: 1.5rem;
  }
  .feature-desc {
    font-size: 1.0rem;
  }

  /* Contact — stack form rows vertically on small screens */
  .contact-card {
    padding: 1.5rem 1.25rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }
  .form-row input,
  .form-row select,
  .form-row textarea {
    margin-bottom: 1rem;
  }
  .privacy-row {
    margin-bottom: 1rem;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .footer-copy {
    position: static;
    transform: none;
  }
  .footer-links {
    gap: 1rem;
  }
}

/* Very small phones (max 400px) */
@media (max-width: 400px) {
  .hero-overlay-top h1,
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero-overlay-bottom .btn {
    font-size: 0.95rem;
    padding: 0.75em 1.2em;
  }
  .tagline-text {
    font-size: 1.45rem;
  }
  .process h2 {
    font-size: 1.35rem;
  }
  .btn {
    font-size: 0.82rem;
    padding: 0.5em 0.95em;
  }
  .projects-info h2 {
    font-size: 1.5rem;
  }
}
