/* Globale Einstellungen für alle Elemente */
* {
	box-sizing:  border-box;
	margin: 0;
	padding: 0;
}

/* Eigene Schriftart "Verveine" einbinden */
@font-face {
	font-family: 'Verveine';
	src: url('fonts/Verveine.ttf') format('truetype');
}

/* Grundstil für den Body */
body {
	font-family:  'Verveine', serif;
	background:  #f4f3ee;
	color: #222;
	scroll-behavior:  smooth;
  letter-spacing: 0.1em;
  cursor: url('images/feder.png') 16 16, auto;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Mobile-first optimizations */
@media (max-width: 768px) {
  body {
    font-size: 16px; /* Ensure minimum font size for readability */
  }
  
  /* Ensure all images are responsive */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Ensure videos are responsive */
  video {
    max-width: 100%;
    height: auto;
  }
}

/* Navigation – Fixiert oben, volle Breite */
nav {
	position: fixed;
  top: 0;
	width:  100%;
	background: #222;
	padding: 10px 0;
	z-index:  1000;
}

/* Navigation – Liste als horizontale Flexbox */
nav ul {
	display: flex;
	justify-content: center;
	list-style:  none;
}

/* Abstand zwischen den Navigationspunkten */
nav ul li {
	margin: 0 15px;
}

/* Link-Styling in Navigation */
nav ul li a {
	color: white;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

nav ul li a:hover {
	color: #f4f3ee;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation auf kleinen Bildschirmen */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .hamburger {
    display: flex;
  }
  
  nav ul {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #222;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  nav ul.active {
    left: 0;
  }
  
  nav ul li {
    margin: 15px 0;
  }
  
  nav ul li a {
    font-size: 18px;
    padding: 15px 25px;
    display: block;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
  }
}

/* Hero-Sektion: Volle Höhe, zentrierter Inhalt */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: transparent;
  margin: 0;
  padding: 0;
  z-index: 0;
}

/* Hero Inhalt */
.hero-content {
  position: relative;
  z-index: 0;
  text-align: center;
  padding: 0;
}

/* Hero Überschrift */
.hero-content h1 {
  font-family: 'Cormorant Garamond';
  font-size:  2.5rem;
  color: #000000;
  margin-bottom: -70px;
}

/* Hero Untertitel */
.hero-content p {
  font-family: Verveine;
  font-style:  italic;
  color: #000000;
  font-size: 1.5rem;
  margin-top: -50px;
}

/* Bild in Hero – responsive Größe */
.phone-img {
  width: 20vw;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 1rem auto;
}

/* Hero-Text und Bild auf kleinen Geräten */
@media (max-width: 768px) {
  .hero {
    padding: 0 20px;
    height: 100vh;
  }
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: -40px;
  }
  .hero-content p {
    font-size: 1.3rem;
    margin-top: -30px;
  }
  .phone-img {
    width: 50vw;
    max-width: 250px;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: -30px; /* weniger Überlappung */
  }
  .hero-content p {
    font-size: 1.2rem;
    margin-top: -20px;
  }
  .phone-img {
    width: 40vw;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: -20px;
  }
  .hero-content p {
    font-size: 1rem;
    margin-top: -10px;
  }
  .phone-img {
    width: 60vw;
    max-width: 180px;
  }
}

/* Fullscreen Section mit Video-Hintergrund */
.video-intro {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Vollbild-Video im Hintergrund */
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Hintergrundvideo */
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Zentrierter Text über dem Video */
.video-text {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  color: #f4f3ee;
}

/* Innerer Container mit fester Breite */
.video-text-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content; /* richtet sich nach der Breite des h1 */
}

/* Haupttitel */
.video-text h1 {
  font-size: 4rem;
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.2em;
}

/* Untertitel mit Linien */
.video-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-family: 'Verveine', serif;
  color: #f4f3ee;
  opacity: 0.9;
  width: 100%;
  max-width: 700px; /* Passe ggf. an die Breite von H1 an */
}

/* Die Linien links und rechts */
.video-subtitle .line {
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.7);
  max-width: 300px; /* optional: Begrenzung der Strichlänge */
}

/* Text dazwischen */
.video-subtitle .text {
  white-space: nowrap;
}

/* Video Section Mobile Styles */
@media (max-width: 768px) {
  .video-text h1 {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
  }
  .video-subtitle {
    gap: 0.8rem;
    font-size: 1rem;
    margin-top: 1rem;
    padding: 0 20px;
  }
  .video-text {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .video-text h1 {
    font-size: 2rem;
    letter-spacing: 0.05em;
  }
  .video-subtitle {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  .video-subtitle .text {
    white-space: normal;
    text-align: center;
  }
}

.about-section {
	background-color: #222;
	color:  white;
	padding: 100px 20px;
	margin-top: 0;
  height: 100vh;
}

/* About-Bereich Layout */
.about-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: center;       
}

/* Linke Spalte im About-Bereich */
.about-left img {
	width: 100%;
	max-width: 420px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	margin-top: 40px;
	margin-bottom: 40px;
  margin-left: 40px;
}

/* Rechte Spalte (Text) im About-Bereich */
.about-right h2 {
	font-family: 'Verveine';
	font-size: 2em;
	margin-bottom: 20px;
  margin-left: -80px;
}

/* Absatztext im About-Bereich */
.about-right p {
  font-family: 'Cormorant Garamond';
	font-size: 16px;
	line-height: 1.6;
  margin-left: -80px;
}

/* About Section Mobile Styles */
@media (max-width: 768px) {
  .about-section {
    padding: 80px 20px;
    height: auto;
    min-height: 100vh;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .about-left img {
    margin: 0 auto;
    max-width: 300px;
  }
  .about-right h2 {
    margin-left: 0;
    font-size: 1.8em;
  }
  .about-right p {
    margin-left: 0;
    font-size: 15px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 60px 15px;
  }
  .about-left img {
    max-width: 250px;
  }
  .about-right h2 {
    font-size: 1.5em;
  }
  .about-right p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Globale Schriftfamilie für Profilbereich */
.profile,
.profile-header,
.bio,
.stats,
.caption,
.lightbox-caption {
  font-family: 'Cormorant Garamond', serif;
  color: #222;
}

/* Profilbereich */
.profile {
  max-width: 1000px;
  margin: 140px auto 40px; /* Abstand für fixe Navbar */
  padding: 0 20px;
  /* flex: 1; nur nutzen, wenn übergeordnetes Element display: flex hat */
}

/* Key Projects Bereich */
#key-projects {
  margin-top: 80px;
  padding-bottom: 80px;
  background-color: #f4f3ee;
}

/* Profil Header */
.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

/* Profilbild */
.profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-right: 25px;
  object-fit: cover;
  border: 2px solid #ddd;
}

/* Profil Name */
.profile-info h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

/* Bio */
.bio {
  font-size: 14px;
  margin: 6px 0;
}

/* Statistik */
.stats {
  font-size: 14px;
  display: flex;
  gap: 20px;
  font-weight: 500;
}

.stats span {
  font-family: 'Cormorant Garamond';
  font-weight: 700;
  margin-right: 4px;
}

/* Galerie-Spaltenlayout (Masonry-Stil) */
.gallery {
  column-count: 3;
  column-gap: 15px;
  padding: 40px;
}

/* Galerie-Item */
.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: #222;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Bild in Galerie */
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: none;
}

/* Caption */
.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f4f1ec;
  font-size: 13px;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #222;
}

.gallery-item:hover .caption {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  object-fit: contain;
}

.lightbox-caption {
  color: #fff;
  margin-top: 15px;
  font-size: 16px;
  max-width: 90vw;
  text-align: center;
}

/* Close Button */
.lightbox .close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.lightbox .close:hover {
  color: #ddd;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery {
    column-count: 2;
  }
  .profile {
    margin: 120px auto 40px;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .profile {
    margin: 100px auto 40px;
  }
  .profile-header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 25px;
  }
  .profile-img {
    margin-right: 0;
    margin-bottom: 15px;
    width: 120px;
    height: 120px;
  }
  .profile-info h1 {
    font-size: 1.8rem;
  }
  .bio {
    font-size: 14px;
  }
  .stats {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 500px) {
  .gallery {
    column-count: 1;
  }
  .profile {
    margin: 80px auto 40px;
    padding: 0 10px;
  }
  .profile-img {
    width: 100px;
    height: 100px;
  }
  .profile-info h1 {
    font-size: 1.5rem;
  }
  .bio {
    font-size: 13px;
  }
}



/* Bestellung Abschnitt */
.expertise-section {
  background-color: #222;
  padding: 60px 40px;
}

/* Grid-Layout für den Inhalt des Expertise-Bereichs */
.expertise-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  min-height: 90vh;
  align-items: end;
  position: relative;
  gap: 10px;
}

/* COFFEE Block – mittig, größer, linksbündig ausgerichtet */
.coffee-block {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: start;  /* statt center */
  margin-left: -200px;   /* optional: weiter nach links */
  position: relative;       /* NEU */
  z-index: 1; 
}

/* Bild des Pfeils im Coffee-Block */
.coffee-arrow-image {
  height: 80vh;
  width: auto;
  display: block;
}

/* Flex-Container für Bestellblöcke */
.order-block {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  align-self: start;
  margin-top: -450px;
  margin-left: -270px; /* gleiche Verschiebung wie Bild */
  color: #fff;
  font-family: 'Verveine', sans-serif;
  max-width: 220px;
  text-align: left;
}

/* Überschrift in den Bestellblöcken */
.order-block h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Liste in den Bestellblöcken */
.order-block ul {
  list-style: none;
  padding: 0;
  font-size: 1.3rem;
  line-height: 1.5;
}

/* BON Block – oben rechts im Grid */
.receipt-block {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: start;      /* ganz oben im Gridbereich */
  margin-top: -60px;          /* sicherstellen, dass kein unnötiger Abstand ist */
  margin-right: 200px;
  position: relative;       
  z-index: 0; 
  transform: translateX(-55px); 
}

/* Gestaltung des Bons */
.receipt {
  background: #f9f8f5;
  color: #000;
  padding: 25px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border-left: 4px dashed #000;
  width: 280px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertikal */
  align-items: center;     /* horizontal */
  text-align: center;
}

/* Überschrift im Bon */
.receipt h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  text-transform: uppercase;
  text-align: center;
}

/* Untertitel in kursiv und zentriert */
.subline {
	font-family: Verveine;
  font-style: italic;
  margin-bottom: 12px;
  display: block;
  text-align: center;
}

/* Liste im Bon */
.receipt ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

/* Einzelne Positionen im Bon mit Linien getrennt */
.receipt li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #888;
  padding: 6px 0;
}

/* Gesamtsumme im Bon fett und rechtsbündig */
.total {
  text-align: right;
  font-weight: bold;
  margin-top: 10px;
}

/* --- Expertise Section auf kleine Bildschirme anpassen --- */
@media (max-width: 700px) {
  .expertise-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    margin-left: 0 !important;
  }

  .coffee-block,
  .order-block,
  .receipt-block {
    grid-column: auto !important;
    grid-row: auto !important;
    margin-left: 0 !important;
    margin-top: 20px !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 320px !important;
    text-align: center !important;
  }
}

/* Bereich „My Work“ */
.my-work {
  background: #f4f1ec;
  margin-top: 20px;
  padding: 40px 20px;
}

/* Überschrift mit Suchleiste, zentriert */
.search-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
}

/* Suchleiste Styling */
.search-bar {
  font-size: 16px;
  padding: 10px 40px 10px 20px;
  border: 2px solid #000;
  border-radius: 25px;
  width: 300px;
  font-family: 'Cormorant Garamond', serif;
  background: white;
  outline: none;
}

/* Titel unter Medienbildern */
.media-grid .title {
  text-align: center;
  font-size: 13px;
  font-family: 'Cormorant Garamond', serif;
  color: #333;
  margin-top: 6px;
}

/* Grid für Medien (Bilder/Videos) mit Spalten */
.media-grid {
  column-count: 5;
  column-gap: 12px;
  padding: 0;
}

/* Responsive Spaltenanzahl je nach Bildschirmbreite */
@media (max-width: 1200px) {
  .media-grid {
    column-count: 4;
  }
}
@media (max-width: 900px) {
  .media-grid {
    column-count: 3;
  }
  .my-work {
    padding: 30px 15px;
  }
}
@media (max-width: 768px) {
  .search-bar {
    width: 280px;
    font-size: 15px;
  }
  .my-work {
    padding: 25px 10px;
  }
}
@media (max-width: 600px) {
  .media-grid {
    column-count: 2;
  }
  .search-bar {
    width: 250px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .search-bar {
    width: 200px;
    padding: 8px 30px 8px 15px;
  }
}
@media (max-width: 400px) {
  .media-grid {
    column-count: 1;
  }
  .search-bar {
    width: 180px;
  }
}

/* Einzelne Medienkarte (Bild oder Video + Text) */
.media-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  break-inside: avoid;
  background: transparent;
  padding: 0;
  box-shadow: none;
  transition: transform 0.2s ease;
}

/* Hover-Effekt auf Medienkarte */
.media-card:hover {
  transform: scale(1.015);
}

/* Bild oder Video in der Medienkarte */
.media-card img,
.media-card video {
  width: 200px;
  height: auto;
  border-radius: 18px;
  display: block;
}

/* Beschreibung unter Medien */
.media-card p {
  font-size: 11px;
  color: #333;
  margin-top: 6px;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
}

/* Responsive Anpassung der Suchleiste */
@media (max-width: 768px) {
  .search-bar {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .coffee-img {
    bottom: -100px !important; /* weniger ausgeprägt */
    left: 0 !important;
    width: 140px !important;
  }
  
  .coffee-text {
    bottom: 5% !important;
    left: 5% !important;
  }
  
  .order-img {
    bottom: -80px !important;
    right: 10% !important;
    width: 140px !important;
  }
  
  .order-text {
    bottom: 10% !important;
    right: 5% !important;
  }
  
  .receipt-img {
    top: 10% !important;
    left: 10% !important;
    width: 140px !important;
  }
  
  .receipt-text {
    top: 15% !important;
    left: 15% !important;
  }
}

/* Abschnitt für die Einkaufstasche/Cart */
.cart-section {
  position: relative;
  background-color: #222;
  color: white;
  text-align: center;
  padding: 120px 20px;
  font-family: 'Verveine', cursive;
  z-index: 1;
  margin-top: 0px;
  padding-top: 130px;
  height: 100vh;
}

/* Überschrift in der Cart-Sektion */
.cart-section h2 {
  font-size: 30px;
  margin-bottom: 60px;
  color: #f4f1ec;
}

/* Container für Einkaufswagenbild und Buttons */
.cart-container {
  position: relative;
  display: inline-block;
}

/* Bild des Einkaufswagens */
.cart-image {
  width: 450px;
  max-width: 90vw;
  display: block;
  margin: 0 auto;
  margin-top: 70px;
}

/* Buttons links/rechts neben dem Einkaufswagen */
.cart-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 26px;
  background-color: #f4f1ec;
  color: black;
  border: 2px solid black;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  font-family: 'Cormorant Garamond', serif;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Hover-Zustand für Button */
.cart-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-50%) scale(1.05);
}

/* Linker Button (z.B. zurück) */
.cart-btn.left {
  left: -80px; /* Überlappung links */
}

/* Rechter Button (z.B. weiter) */
.cart-btn.right {
  right: -90px; /* Überlappung rechts */
}

/* Cart Section Mobile Styles */
@media (max-width: 768px) {
  .cart-section {
    padding: 80px 15px;
  }
  .cart-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
  .cart-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .cart-image {
    order: 2;
    width: 120px;
  }
  .cart-btn {
    order: 1;
    position: static;
    margin: 0;
    padding: 12px 25px;
    font-size: 14px;
  }
  .cart-btn.left,
  .cart-btn.right {
    left: auto;
    right: auto;
  }
}

@media (max-width: 480px) {
  .cart-section h2 {
    font-size: 1.3rem;
  }
  .cart-image {
    width: 100px;
  }
  .cart-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Hauptcontainer für die Kontakt-Postkarte */
.contact-postcard {
  position: relative;
  padding: 120px 40px;
  background-color: #222;
  font-family: 'Verveine', cursive;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

/* Enthält alle Hintergrundbilder (z.B. Filmstreifen, Fotos) */
.background-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Ein eingebettetes Hintergrundfoto mit Schatten */
.bg-photo {
  position: absolute;
  width: 500px;
  right: 380px;
  top: 25px;
  opacity: 0.95;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Dekorativer Filmstreifen */
.filmstrip {
  position: absolute;
  width: 150px;
  left: 70%;
  top: 70px;
  transform: rotate(5deg);
  z-index: 2;
}

/* Container für das Formular auf der "Postkarte" */
.postcard-form {
  position: relative;
  width: 600px;
  right: 200px;
  bottom: -50px;
  z-index: 3;
}

/* Hintergrundbild oder Fläche der Postkarte */
.postcard-bg {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* Textblock auf der linken Seite der Postkarte */
.left-text {
  position: absolute;
  top: 45%;
  left: 12%;
  width: 35%;
  font-size: 20px;
  line-height: 1.5;
  color: #222;
  transform: rotate(-12deg);
}

/* Formularfelder auf der rechten Seite */
.form-fields {
  position: absolute;
  top: 50%;
  right: 20%;
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Beschriftung für die Formularfelder */
.form-fields label {
  font-family: 'Cormorant Garamond';
  font-size: 16px;
}

/* Eingabefelder und Textbereiche */
.form-fields input,
.form-fields textarea {
  border: none;
  border-bottom: 1px solid #666;
  background: transparent;
  padding: 4px 6px;
  font-size: 14px;
  font-family: 'Cormorant Garamond', cursive;
}



/* Responsive Anpassungen für kleinere Bildschirme */
@media (max-width: 768px) {
  .contact-postcard {
    padding: 80px 20px;
    min-height: auto;
  }
  .postcard-form {
    max-width: 100%;
    margin: 0;
  }
  .postcard-bg {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
  .left-text, .form-fields {
    position: static;
    width: 90%;
    margin: 20px auto;
    text-align: center;
  }

  .form-fields {
    align-items: center;
  }

  .form-fields input,
  .form-fields textarea {
    width: 100%;
  }

  .background-images .bg-photo,
  .background-images .filmstrip {
    display: none;
  }

  .postcard-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .contact-postcard {
    padding: 60px 15px;
  }
  .postcard-bg {
    max-width: 300px;
  }
  .left-text {
    font-size: 14px;
  }
}

/* Der Hauptbereich mit dunklem Hintergrund, zentriertem Text und großem Abstand oben/unten */
.name-section {
  position: relative;
  background-color: #222;
  color: white;
  padding: 150px 20px;
  text-align: center;
  overflow: hidden;
}

/* Stil für die Hauptüberschrift im Inhalt */
.name-content h1 {
  font-size: 4rem;
  letter-spacing: 0.2em;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  color: #f4f1ec;
}

/* Container für Untertitelzeile mit Linien links und rechts */
.subtitle-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  z-index: 1;
  position: relative;
  max-width: 600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Stil für den Text in der Untertitelzeile */
.subtitle-line p {
  font-size: 20px;
  font-family: 'Verveine', cursive;
  margin: 0;
  white-space: nowrap;
  color: #f4f1ec;
}

/* Horizontale Linien links und rechts vom Text */
.subtitle-line .line {
  flex: 1;
  height: 1px;
  background-color: white;
  max-width: 200px;
}

/* Container für alle Sterne, bedeckt den gesamten Hintergrund */
.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Einzelner Stern mit polygonaler Form */
.star {
  position: absolute;
  background-color: white;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  opacity: 0.9;
  animation: twinkle 4s infinite ease-in-out;
}

/* Animation für das Funkeln der Sterne */
@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Footer-Bereich */
.contact {
  font-family: 'Cormorant Garamond';
	background: #f4f1ec;
	color: #222;
	text-align: center;
	padding: 2rem;
}

/* Footer Mobile Styles */
@media (max-width: 768px) {
  .contact {
    padding: 1.5rem 1rem;
  }
  .contact .postcard p {
    font-size: 14px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 1rem;
  }
  .contact .postcard p {
    font-size: 13px;
  }
}