/* ==========================
   Portfolio - YouTube Shorts
========================== */

.shorts-section {
  background-color: #ffffff;
}

.shorts-title {
  margin-bottom: 3rem;
}

.shorts-phone-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1050px;
}

.phone-frame {
  background: #111;
  border-radius: 38px;
  padding: 10px;
  width: 280px;
  max-width: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.phone-frame:hover {
  transform: translateY(-6px);
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
}

.phone-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   Portfolio - Infografik
========================= */

.infographic-section {
  background-color: #ffffff;
}

.infographic-text {
  max-width: 850px;
}

.infographic-ipad {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 4;
  margin-left: 2rem;
  padding: 15px;
  background: #1f2328;
  border-radius: 34px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

.infographic-ipad-camera {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 7px;
  height: 7px;
  background: #050505;
  border-radius: 50%;
  transform: translateX(-50%);
}

.infographic-ipad-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 22px;
}

.infographic-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 991px) {
  .shorts-phone-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .phone-frame {
    width: 100%;
    max-width: 340px;
    margin-bottom: 3rem;
  }

  .phone-frame:last-child {
    margin-bottom: 0;
  }

  .infographic-image {
    width: 100%;
  }

  .infographic-ipad {
    margin-left: 0;
    max-width: 430px;
  }
}

@media (max-width: 575px) {
  .phone-frame {
    max-width: 100%;
  }

  .infographic-image {
    max-width: 100%;
  }

  .infographic-ipad {
    padding: 14px;
    border-radius: 24px;
  }

  .infographic-ipad-screen {
    border-radius: 16px;
  }
}

/* =========================
   Hero Section - Startseite
========================= */

@media (min-width: 1200px) {
  .hero-text {
    max-width: 460px;
  }
}

/* =========================
   Navigation
========================= */

.navbar .nav-link {
  font-weight: 600;
  color: #444;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #0d6efd;
}

/* =========================
   Footer
========================= */

.footer-link {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #0d6efd;
}

/* =========================
   Über mich
========================= */

.about-card {
  background: #ffffff;
  transition: all 0.25s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.about-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.about-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  transition: color 0.25s ease, transform 0.25s ease;
}

.about-card:hover .about-title {
  color: #0d6efd;
  transform: translateY(-2px);
}

.about-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #2f343b;
}

/* ==============================
   Start - Schwerpunkte
============================== */

.home-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.home-image-placeholder img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.home-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

.home-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 20px;
}

/* ==============================
   Start - Meine Arbeitsprogramme
============================== */

.tools-wrapper {
  max-width: 1320px;
}

.tool-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 14px 20px;
  transition: all 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.tool-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.tool-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: #1f2328;
}

.tool-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #5f6773;
}

/* ============================
   Portfolio - E-Books & Bücher
============================ */

.books-section {
  background-color: #ffffff;
}

.books-title {
  margin-bottom: 4rem;
}

.book-project {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.book-cover-wrapper {
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.book-cover {
  max-width: 420px;
  transition: transform 0.3s ease;
}

.book-info {
  max-width: 430px;
  text-align: left;
}

.book-heading {
  margin-bottom: 1rem;
}

.book-text {
  line-height: 1.7;
  margin-bottom: 0;
}

.books-row {
  max-width: 1200px;
}

.books-row .col-md-6:first-child {
  padding-right: 1.5rem;
}

.books-row .col-md-6:last-child {
  margin-left: -2rem;
}

/* =========================
   Kontaktbereich
========================= */

.contact-form-wrapper {
  max-width: 680px;
}

.contact-form .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  border-radius: 0.5rem;
  font-weight: 600;
}

/* =========================
   Rechte Kontaktspalte
========================= */

.contact-right-content {
  max-width: 92%;
  margin-left: auto;
}

.contact-image {
  width: 100%;
  display: block;
}

/* =========================
   Social Media Kontaktliste
========================= */

.social-contact-list {
  padding-top: 0.5rem;
}

.social-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #212529;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.social-contact-item:hover {
  color: #0d6efd;
}

.social-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* =========================
   Responsive allgemein
========================= */

@media (max-width: 1199px) {
  .contact-right-content {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .tool-card {
    padding: 12px 16px;
  }

  .tool-content {
    gap: 14px;
  }

  .icon-box {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .icon-box img {
    width: 36px;
    height: 36px;
  }

  .tool-title {
    font-size: 1rem;
  }

  .tool-text {
    font-size: 0.88rem;
  }

  .about-card-img {
    height: 200px;
  }

  .about-title {
    font-size: 1.3rem;
  }

  .about-text {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* ==================================
   Portfolio - Screendesign mit Figma
================================== */

.screendesign-section {
  background-color: #ffffff;
}

.screendesign-project {
  max-width: 520px;
}

.screendesign-tablet {
  width: 100%;
  max-width: 390px;
  display: block;
}

.figjam-tablet {
  transform: scaleX(-1);
}

.screendesign-info {
  max-width: 390px;
}



@media (max-width: 991px) {
  .screendesign-project {
    max-width: 100%;
  }

  .screendesign-tablet {
    max-width: 100%;
  }

  .screendesign-info {
    max-width: 100%;
  }
}

/* =========================
   Globaler Smartphone-Abstand
========================= */

@media (max-width: 575px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* =========================
   Portfolio - Fitness Website
========================= */

.fitness-macbook {
  width: 100%;
  max-width: 900px;

  display: block;
  margin-left: 0;
}
