:root {
  /* Primary (Indigo) */
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-900: #312e81;

  /* Accents */
  --accent-mint: #10b981;
  --accent-sky: #38bdf8;
  --accent-coral: #fb7185;
  --accent-purple: #a855f7;

  /* State Colors */
  --success-50: #ecfdf5;
  --success-500: #10b981;
  --success-700: #047857;

  --warning-50: #fffbeb;
  --warning-500: #f59e0b;
  --warning-700: #b45309;

  --danger-50: #fef2f2;
  --danger-500: #ef4444;
  --danger-700: #b91c1c;

  --info-50: #eff6ff;
  --info-500: #3b82f6;
  --info-700: #1d4ed8;

  /* Background */
  --bg-body: #f9fafb;

  /* UI Standard-Vars */
  --color-primary: var(--indigo-600);
  --color-primary-hover: var(--indigo-700);

  --color-text: #111827;
  --color-text-muted: #6b7280;

  --color-surface: #ffffff;
  --color-surface-alt: var(--indigo-50);

  /* Extra font colors */
  --extra-font-color-100: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-body);
  display: flex;
  flex-direction: column;
}

/* ============ HEADER LAYOUT ============ */

.main-header {
  width: 100%;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
}

.main-header .burger {
  font-size: 28px;
  cursor: pointer;
  display: none;
  z-index: 10001;
}

.nav-left {
  display: flex;
  gap: 25px;
}

.nav-left a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-left a:hover {
  color: var(--color-primary);
}

.nav-icons {
  display: flex;
  gap: 15px;
}

.nav-icons i {
  font-size: 22px;
  color: var(--color-text);
  transition: color 0.2s;
}

.nav-icons i:hover {
  color: var(--color-primary);
}

/* ============ FOOTER ============ */
.main-footer {
  background: var(--color-surface);
  padding: 50px 25px 20px 25px;
  border-top: 1px solid #e5e7eb;
  color: var(--color-text-muted);
  position: relative;
  z-index: 1000;
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-brand,
.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 160px;
}

.footer-brand h2 {
  color: var(--color-primary);
  margin-bottom: 5px;
}

.footer-brand p {
  margin: 0;
  color: var(--color-text-muted);
}

.footer-nav h3 {
  color: var(--color-text);
  margin-bottom: 10px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 8px;
}

.footer-nav ul li a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: var(--color-primary);
}

.footer-social h3 {
  color: var(--color-text);
  margin-bottom: 10px;
}

.footer-social .social-icons {
  display: flex;
  gap: 15px;
}

.footer-social i {
  font-size: 22px;
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.footer-social i:hover {
  color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--color-text-muted);
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
}

.footer-brand a,
.footer-bottom a {
  text-decoration: none;
  color: var(--color-text-muted);
}

/* ============ MAIN ============ */
.top {
  flex: 1;
  background-color: var(--indigo-50);
  position: relative;
  z-index: 0;
  transition: all .55s ease;
}

.mg {
  margin: 24px 0px;
}

.start-heading {
  height: 94vh;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--extra-font-color-100);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hintergrund-Video */
.start-heading .bgvideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.start-heading .left-area,
.start-heading .right-area {
  width: 600px;
  z-index: 1;
}

.start-heading .right-area {
  height: 100%;
  image-rendering: auto;
}

.mobile-section {
  display: none;
}

.abstand {
  margin: 24px 0px;
}

.abstand-gr {
  margin-top: 60px;
}

.content {
  background: var(--bg-body);
  border: none;
  padding: 40px 250px;
  z-index: 3000;
}

.content p {
  margin: 10px 0px;
}

.skills {
  margin-top: 20px;
}

.skills h3 {
  margin-bottom: 15px;
}

.skill {
  margin-bottom: 15px;
}

.skill span {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.bar {
  background-color: var(--indigo-100);
  /* heller Hintergrund */
  border-radius: 20px;
  overflow: hidden;
  height: 20px;
  margin-bottom: 15px;
}

.fill {
  height: 100%;
  width: 0%;
  border-radius: 20px;
  transition: width 2s ease-in-out;
}

.fill.webdesign {
  background-color: var(--accent-purple);
}

.fill.medizin {
  background-color: var(--accent-mint);
}

.fill.social {
  background-color: var(--accent-sky);
}



/* Abstandsklasse */
.abstand {
  height: 30px;
}



/*---------------------------- FEEDS ----------------------------*/

.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.scroll-row::-webkit-scrollbar {
  height: 8px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.post-card {
  flex: 0 0 var(--max-width);
  width: var(--max-width);
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

.instagram-feeds {
  --max-width: calc(25% - 20px);
  /* max 4 */
}

#tiktok-feeds {
  --max-width: calc(20% - 20px);
  /* max 5 */
}

#linkedin-feed {
  --max-width: calc(25% - 20px);
  /* max 4 */
}

.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.post-card:hover img {
  filter: brightness(35%);
  transform: scale(1.05);
}

.post-desc {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 14px;
  line-height: 1.3em;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.35s ease;
}

.post-card:hover .post-desc {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  line-clamp: unset;
  -webkit-line-clamp: unset;
}

/* Fade-In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#kontakt {
  max-width: 80%;
  margin: 0 auto;
  padding: 20px;
}

#kontakt .left-area,
#kontakt .right-area {
  width: 50%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 6px;
}

input,
textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.3s;
  font-family: Arial, Helvetica, sans-serif;

  /* Kein manuelles Resize */
  resize: none;

  /* Optional: Auto-Höhe bei Inhalt via overflow hidden */
  overflow: hidden;
}

input:focus,
textarea:focus {
  border-color: var(--color-primary-hover);
  outline: none;
  box-shadow: 0 0 0 3px var(--info-50);
}

button {
  padding: 14px;
  background-color: var(--color-primary);
  color: var(--extra-font-color-100);
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: var(--color-primary-hover);
}

.contactform {
  display: flex;
}