/* ---------------------------------------------------------
   GLOBAL
--------------------------------------------------------- */
:root {
  scroll-padding-top: 160px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffaf8;
  color: #333;
  line-height: 1.6;
}

h2 {
  color: #7a4f43;
  margin-bottom: 1rem;
}

section {
  padding: 0.5rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #f7e9e3;
  border-bottom: 2px solid #e0d2ca;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #7a4f43;
  text-align: center;
  padding: 0 1rem;
}

/* Social Links */
.header-top-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.header-top-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #7a4f43;
  font-weight: 600;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.header-top-links a img {
  width: 20px;
  height: 20px;
}

/* Navigation */
nav#main-nav {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  justify-content: center;
}

nav#main-nav a {
  text-decoration: none;
  color: #7a4f43;
  font-weight: 600;
  font-size: 0.95rem;
}

nav#main-nav a:hover {
  color: #d1957b;
}

/* Hamburger Menü */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  margin-top: 0.5rem;
  z-index: 1100;
  transition: all 0.3s ease;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #7a4f43;
  transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */
.content-wrapper {
  margin: 0 auto;
  padding-top: 160px;
}

main {
  width: 100%;
}

/* Hero Section */
#hero {
  background: linear-gradient(to right, #fdeee8, #fff5f2);
  padding: 3rem 1rem;
  text-align: center;
}

#hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #b07a6a;
}

#hero p {
  font-size: 1.2rem;
}

/* Über mich */
.ueber-mich-section .intro-mit-bild {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.ueber-mich-section .intro-mit-bild img {
  float: left;
  width: 220px;
  height: auto;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ueber-mich-section .textblock-neben-bild p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.ueber-mich-section .unter-dem-bild {
  clear: both;
  margin-top: 1rem;
}

/* ---------------------------------------------------------
   PRODUKTE
--------------------------------------------------------- */
.marke {
  margin-bottom: 3rem;
  text-align: center;
}

.marken-logo {
  width: 220px;
  max-width: 80%;
  margin-bottom: 1.5rem;
}

.produkt-reihe {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Produktbilder Desktop */
.produkt-reihe img {
    display: block;      /* verhindert extra Leerraum */
    width: 100%;         /* passt sich dem Container an */
    max-width: 260px;    /* maximale Größe auf Desktop */
    height: auto;        /* proportional */
    object-fit: contain; /* kein Zuschneiden */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Produktbilder Mobile */
@media (max-width: 800px) {
  .produkt-reihe img {
    width: auto;
    max-width: 90%;      /* maximal 90% der Containerbreite */
    height: auto;
  }
}

.produkt-video {
  margin: 1.5rem auto;
  max-width: 600px;
}

.produkt-video video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
footer {
  background-color: #f7e9e3;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
  border-top: 2px solid #e0d2ca;
}

footer #bewertung {
  background-color: #7a4f43;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

footer #bewertung h2 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

footer .bewertung-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #f7e9e3;
  color: #7a4f43;
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: 2px solid #7a4f43;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

footer .bewertung-button:hover {
  background-color: #d1957b;
  color: white;
  border-color: #d1957b;
  transform: translateY(-2px);
}

footer .bewertung-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(123, 79, 67, 0.5);
}

footer p a {
  color: #7a4f43;
  font-weight: 600;
  text-decoration: underline;
  margin-right: 2rem;
}

footer p a:last-child {
  margin-right: 0;
}

/* ---------------------------------------------------------
   KONTAKT
--------------------------------------------------------- */
.kontakt-icon {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #7a4f43;
  transition: color 0.3s ease;
}

.kontakt-icon i {
  font-size: 1.6rem;
  color: #7a4f43;
  transition: color 0.3s ease;
}

.kontakt-icon:hover {
  color: #d1957b;
}

.kontakt-icon:hover i {
  color: #d1957b;
}

.kontakt-icon a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.kontakt-icon a:hover {
  color: inherit;
}

footer a:hover {
  color: #d1957b;
}

/* ---------------------------------------------------------
   RESPONSIVE (Header & Über mich)
--------------------------------------------------------- */
@media (max-width: 800px) {

  header {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    align-items: center;
    justify-content: center;
  }

  header h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    text-align: center;
    padding: 0 1rem;
  }

  .line-break-mobile {
    display: block;
  }

  .header-top-links {
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
    align-items: center;
  }

  .hamburger {
    display: flex;
    margin-top: 0.5rem;
  }

  nav#main-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    align-items: center;
  }

  nav#main-nav.active {
    max-height: 500px;
  }

  nav#main-nav a {
    padding: 0.75rem 0;
    font-size: 1rem;
    background-color: #f7e9e3;
    border-bottom: 1px solid #e0d2ca;
  }

  nav#main-nav a:hover {
    background-color: #fdeee8;
    color: #d1957b;
  }

  .google-review {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background-color: transparent;
    color: #7a4f43;
    font-weight: 600;
    padding: 0;
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .google-review:hover {
    color: #d1957b;
  }

  .google-review i {
    font-size: 1rem;
    color: #fdd835;
  }

  .kontakt-icon {
    font-size: 1.2rem;
  }

  .kontakt-icon i {
    font-size: 1.8rem;
  }

  .ueber-mich-section .intro-mit-bild {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .ueber-mich-section .intro-mit-bild img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 1rem;
  }

  .ueber-mich-section .textblock-neben-bild {
    width: 100%;
    margin-top: 0;
  }

  .ueber-mich-section .textblock-neben-bild p {
    font-size: 1rem;
  }
}

/* ---------------------------------------------------------
   DESKTOP KONTAKT ICONS
--------------------------------------------------------- */
@media (min-width: 800px) {
  .kontakt-icon {
    font-size: 1.2rem;
  }

  .kontakt-icon i {
    font-size: 1.8rem;
  }
}
