/* COSIC.eu – Custom Order Software Individually Crafted */

:root {
  --primary: #1a1a2e;
  --accent: #7c3aed;
  --accent-light: #ede9fe;
  --text: #2d2d2d;
  --text-light: #555b66;
  --bg: #faf8ff;
  --bg-alt: #f3f0ff;
  --border: #e2ddf5;
  --radius: 12px;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.back-to-top {
  position: fixed;
  bottom: 4.5rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 60;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
  transition: top 200ms;
}

.skip-link:focus {
  top: 0;
}

*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

/* ── Typography ── */

h1, h2, h3 {
  color: var(--primary);
  line-height: 1.2;
}

h1 { font-size: 2.8rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text-light); }

/* ── Layout ── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding-bottom: 4rem;
}

section {
  padding: 5rem 0;
}

/* ── Navigation ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(55, 33, 122, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: none;
  padding: 0.8rem 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
}

.logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.lang-dropdown {
  position: relative;
  margin-left: 1rem;
}

.lang-current {
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
}

.lang-current:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}

.lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-options {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #37217a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.3rem;
  min-width: 100%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 200;
}

.lang-dropdown.open .lang-options {
  display: flex;
  flex-direction: column;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.15s;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-label {
  font-size: 0.75rem;
}

/* Lang Switcher (inline buttons) */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-btn {
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
  font-family: inherit;
}

.lang-btn:hover,
.lang-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s;
}

/* ── Hero ── */

.hero {
  padding: 7rem 0 6rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 50%, #ebe5ff 100%);
}

.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1.5rem;
}

.initial {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.3em;
}

.hero h1 {
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: clamp(0.85rem, 2.2vw, 1.15rem);
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero .hero-tagline {
  margin-bottom: 0.3rem;
}

.hero .hero-tagline + :not(.hero-tagline) {
  margin-top: 2.5rem;
}

.made-in-ch {
  display: block;
  width: fit-content;
  margin: 1.5rem auto 0;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.3px;
  text-transform: none;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  transform: scale(0.55);
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background: #6d28d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

/* ── USP Bar ── */

.usp-bar {
  padding: 4rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
}

@media (max-width: 768px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .usp-grid {
    grid-template-columns: 1fr;
  }
}

.usp-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.usp-icon {
  font-size: 2rem;
  margin-bottom: 0;
  color: var(--accent);
}

.usp-label {
  display: inline-block;
  background: rgba(180, 160, 220, 0.18);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
}

.usp-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.usp-item p {
  font-size: 0.9rem;
}

/* ── Philosophy ── */

.philosophy {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.philosophy-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.philosophy-text {
  max-width: 700px;
}

.philosophy-text h2 {
  margin-bottom: 1.5rem;
}

.philosophy-lead {
  font-size: 1.1rem;
  color: var(--text) !important;
  font-weight: 500;
  margin-bottom: 1rem;
}

.philosophy-text p {
  margin-bottom: 1rem;
}

.philosophy-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.value-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border-top: 3px solid var(--accent);
}

.value-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.value-item p {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .philosophy-values {
    grid-template-columns: 1fr;
  }
}

/* ── Portfolio ── */

.portfolio {
  background: var(--bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.portfolio-preview {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1a1a2e;
}

.portfolio-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.portfolio-preview-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #37217a 100%);
}

.portfolio-preview-logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

.portfolio-preview-sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124, 58, 237, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.3s;
  opacity: 0;
}

.portfolio-card:hover .portfolio-overlay {
  background: rgba(124, 58, 237, 0.7);
  opacity: 1;
}

.portfolio-info {
  padding: 1rem 1.2rem;
}

.portfolio-info--with-photo {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.portfolio-product-photo {
  width: 90px;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: contain;
}

.portfolio-info-text {
  flex: 1;
  min-width: 0;
}

.portfolio-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-info p {
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio-tags span {
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Portfolio Slider */
.portfolio-slider {
  position: relative;
}

.portfolio-slider .slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.portfolio-slider .slider-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s;
}

.portfolio-slider:hover .slider-btn {
  opacity: 1;
}

.slider-prev { left: 8px; }
.slider-next { right: 8px; }

.slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}

.slider-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(100,100,100,0.4);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dots .dot.active {
  background: var(--accent);
  border-color: #fff;
}

/* Coming Soon Badge */
.portfolio-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
}

.portfolio-card--upcoming {
  cursor: default;
}

/* Details Link */
.details-link {
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border: none;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  vertical-align: middle;
  margin-left: auto;
  flex-shrink: 0;
  transition: all 0.2s;
}

.details-link:hover {
  background: var(--accent);
  color: #fff;
}

/* Details Popup */
.details-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 2rem;
}

.details-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.details-popup {
  background: var(--bg);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.details-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.details-close:hover {
  color: var(--text);
}

.details-product-img {
  display: block;
  max-width: 240px;
  margin: 0 auto 1.2rem;
  border-radius: 16px;
}

.details-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.details-content .details-lead {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.details-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.details-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.details-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.details-content ul li {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.details-content ul li:last-child {
  border-bottom: none;
}

.details-content ul li strong {
  color: var(--text);
}

/* Portfolio Tagline */
.portfolio-tagline {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}


/* Fullscreen Button */
.slider-fullscreen {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-slider:hover .slider-fullscreen {
  opacity: 1;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* ── Why Professional ── */

.why-pro {
  padding: 5rem 0;
  background: var(--bg);
}

.why-pro .section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.why-pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-pro-item {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-pro-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.why-pro-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.why-pro-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.why-pro-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why-pro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-pro-grid {
    grid-template-columns: 1fr;
  }
}

/* ── About ── */

.about {
  background: var(--bg-alt);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

.about-header h2 {
  margin-bottom: 1rem;
}

.about-skills-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-skill-box h3 {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  margin-top: 1rem;
}

.about-skill-box:first-child h3 {
  margin-top: 0;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text) !important;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.about-linkedin {
  color: #0A66C2;
  flex-shrink: 0;
  margin-top: 2px;
  transition: opacity 0.2s;
}

.about-linkedin:hover {
  opacity: 0.7;
}

.about-header p {
  margin-bottom: 0.8rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tags span {
  padding: 5px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}

/* Tech-Gruppen Farben */
.skill-tags .tag-lang     { border-color: #7c3aed; color: #7c3aed; }
.skill-tags .tag-frontend { border-color: #0891b2; color: #0891b2; }
.skill-tags .tag-backend  { border-color: #16a34a; color: #16a34a; }
.skill-tags .tag-desktop  { border-color: #ea580c; color: #ea580c; }
.skill-tags .tag-devops   { border-color: #dc2626; color: #dc2626; }

/* Tech-Legende */
.tech-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.tech-legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-lang     { background: #7c3aed; }
.dot-frontend { background: #0891b2; }
.dot-backend  { background: #16a34a; }
.dot-desktop  { background: #ea580c; }
.dot-devops   { background: #dc2626; }

/* Branchen */
.dot-industrie      { background: #2563eb; }
.dot-dienstleistung { background: #d946ef; }
.skill-tags .tag-industrie      { border-color: #2563eb; color: #2563eb; }
.skill-tags .tag-dienstleistung { border-color: #d946ef; color: #d946ef; }
.skill-tags .tag-more           { border-color: #94a3b8; color: #94a3b8; }

/* Methoden & Prozesse */
.dot-supplychain { background: #0891b2; }
.dot-prozesse    { background: #ca8a04; }
.dot-systeme     { background: #7c3aed; }
.skill-tags .tag-supplychain { border-color: #0891b2; color: #0891b2; }
.skill-tags .tag-prozesse    { border-color: #ca8a04; color: #ca8a04; }
.skill-tags .tag-systeme     { border-color: #7c3aed; color: #7c3aed; }

/* Plattformen */
.dot-os    { background: #2563eb; }
.dot-infra { background: #ea580c; }
.dot-apps  { background: #16a34a; }
.skill-tags .tag-os    { border-color: #2563eb; color: #2563eb; }
.skill-tags .tag-infra { border-color: #ea580c; color: #ea580c; }
.skill-tags .tag-apps  { border-color: #16a34a; color: #16a34a; }

/* Standards & Sicherheit */
.dot-normen      { background: #0891b2; }
.dot-datenschutz { background: #dc2626; }
.skill-tags .tag-normen      { border-color: #0891b2; color: #0891b2; }
.skill-tags .tag-datenschutz { border-color: #dc2626; color: #dc2626; }

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

/* ── Services ── */

.services {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  margin-top: 0.8rem;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
}

/* ── Pricing ── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 750px;
  margin: 0 auto;
}

.pricing-hint {
  text-align: center;
  max-width: 600px;
  margin: 2rem auto 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--bg-alt);
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-card .cta-btn {
  width: 100%;
  text-align: center;
}

/* ── Process ── */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
}

/* ── Contact ── */

.contact {
  background: var(--bg-alt);
}

.contact-form-centered {
  max-width: 550px;
  margin: 0 auto;
}

.contact-details {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background: var(--bg);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent) !important;
  padding: 2rem 0;
}

/* ── Footer ── */

footer {
  background: #2d1b69;
  color: rgba(255, 255, 255, 0.7);
  padding: 1.2rem 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-copyright {
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.footer-logo {
  order: 0;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  opacity: 0.7;
  border-radius: 8px;
  margin: -12px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
}

.footer-social svg {
  vertical-align: middle;
  transition: opacity 0.2s;
  opacity: 0.7;
}

.footer-social:hover svg {
  opacity: 1;
}

/* ── Responsive ── */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
  }

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

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

  .portfolio-preview {
    height: 180px;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 7rem 0 3.5rem;
  }

  .hero h1 br {
    display: none;
  }

  .hero .subtitle {
    white-space: normal;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-logo {
    width: 90px;
  }

  /* Navigation */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(55, 33, 122, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: none;
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.3rem 0;
  }

  .lang-dropdown {
    margin-left: 0;
  }

  /* Lang Switcher in mobile menu */
  .lang-switcher {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 0.5rem;
  }

  /* USP */
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-bar {
    padding: 2.5rem 0;
  }

  /* Philosophy */
  .philosophy-values {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-preview {
    height: 160px;
  }

  /* Contact */
  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* Footer */
  footer {
    position: relative;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .footer-links {
    gap: 1rem;
  }

  main {
    padding-bottom: 0;
  }

  /* CTA Buttons full-width on mobile */
  .cta-btn {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .cta-btn {
    display: inline-block;
    width: auto;
    max-width: none;
  }
}

/* Small phones (max 480px) */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  h1 { font-size: 1.75rem; }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero .subtitle {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .usp-item {
    padding: 1rem 0.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .value-item {
    padding: 1.2rem;
  }

  .nav-links {
    padding: 1rem;
  }
}
