/* CSS Reset und Grundeinstellungen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --hanfgruen: #6e8b3d;
  --hellgelb: #6e8b3d;
  --hellbeige: #f5f3e7;
  --marineblau: #1a2a3a;
  --weiss: #ffffff;
  --grau-hell: #f8f9fa;
  --grau-mittel: #6c757d;
  --shadow: 0 4px 20px rgba(26, 42, 58, 0.08);
  --shadow-hover: 0 8px 32px rgba(26, 42, 58, 0.12);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  color: var(--marineblau);
  background-color: var(--hellbeige);
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-top: 35px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: var(--weiss);
  box-shadow: 0 8px 32px rgba(26, 42, 58, 0.15);
  border-radius: 50px;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar:hover {
  box-shadow: 0 12px 40px rgba(26, 42, 58, 0.2);
  transform: translateX(-50%) translateY(-2px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  max-width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--hanfgruen);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.9rem;
  color: var(--grau-mittel);
  font-weight: 300;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--marineblau);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--hanfgruen);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--hanfgruen);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--marineblau);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 3px;
}

.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);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar {
    top: 10px;
    width: 95%;
    border-radius: 30px;
  }

  .nav-container {
    padding: 1rem 1.5rem;
    justify-content: center;
  }

  .hamburger {
    display: none;
  }

  .nav-menu {
    display: none;
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 10rem 2rem 4rem;
  background: linear-gradient(
    135deg,
    var(--hellbeige) 0%,
    var(--hellgelb) 100%
  );
  margin: 0;
}

.hero-content {
  /* flex: 1; */
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--marineblau);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--grau-mittel);
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--weiss);
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  font-weight: 500;
  color: var(--marineblau);
}

.feature-icon {
  font-size: 1.2rem;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 140px;
}

.cta-button.primary {
  background: var(--hanfgruen);
  color: var(--weiss);
}

.cta-button.primary:hover {
  background: var(--marineblau);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
  background: transparent;
  color: var(--hanfgruen);
  border: 2px solid var(--hanfgruen);
}

.cta-button.secondary:hover {
  background: var(--hanfgruen);
  color: var(--weiss);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 4rem;
}

.hero-logo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: contain;
  background: #d7dcc1;
  padding: 2rem;
  box-shadow: var(--shadow-hover);
  border: 7px solid var(--hellgelb);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  color: var(--marineblau);
  opacity: 0.5;
  transition: var(--transition);
  z-index: 10;
}

.scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
}

.scroll-arrow {
  font-size: 2rem;
  display: block;
  animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.hero-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-hover);
  border: 8px solid var(--hellgelb);
}

.image-placeholder {
  width: 300px;
  height: 300px;
  background: var(--weiss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: var(--shadow-hover);
  border: 8px solid var(--hellgelb);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--weiss);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: var(--marineblau);
  margin-bottom: 1rem;
}

.section-line {
  width: 80px;
  height: 4px;
  background: var(--hanfgruen);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--grau-mittel);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .lead {
  font-size: 1.3rem;
  color: var(--hanfgruen);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.skills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.skill-tag {
  background: var(--hanfgruen);
  color: var(--weiss);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.about-image .image-placeholder {
  width: 250px;
  height: 250px;
  font-size: 4rem;
}

.about-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 4px solid var(--hellgelb);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--hellbeige);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--hanfgruen);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  color: var(--marineblau);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--grau-mittel);
  line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--weiss);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.project-image {
  height: 200px;
  background: var(--hellgelb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image .image-placeholder {
  width: 120px;
  height: 120px;
  background: var(--weiss);
  border-radius: var(--border-radius);
  font-size: 3rem;
  border: none;
  box-shadow: var(--shadow);
}

.project-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  font-size: 1.3rem;
  color: var(--marineblau);
  margin-bottom: 1rem;
  font-weight: 600;
}

.project-content p {
  color: var(--grau-mittel);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--hellbeige);
  color: var(--hanfgruen);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: var(--hellbeige);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
}

/* In Arbeit Banner */
.maintenance-banner {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
  animation: slideInFromTop 0.5s ease-out;
}

.maintenance-icon {
  font-size: 2.5rem;
  animation: bounce 2s infinite;
}

.maintenance-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.maintenance-content p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.5;
}

/* Formular deaktiviert Styling */
.form-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.form-disabled input,
.form-disabled textarea,
.form-disabled button,
.form-disabled select {
  cursor: not-allowed;
  background-color: #f0f0f0;
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--marineblau);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--hellgelb);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--weiss);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--hanfgruen);
  box-shadow: 0 0 0 3px rgba(110, 139, 61, 0.1);
}

.contact-validation {
  margin-bottom: 1rem;
}

.contact-validation .contact-info {
  color: var(--grau-mittel);
  font-size: 0.9rem;
  font-style: italic;
}

.submit-button {
  background: var(--hanfgruen);
  color: var(--weiss);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.submit-button:hover {
  background: var(--marineblau);
  transform: translateY(-2px);
}

.submit-button:disabled {
  background: var(--grau-mittel);
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 1rem;
  border-radius: var(--border-radius);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Datenschutz Checkbox - Neu implementiert */
.checkbox-group {
  margin: 1.5rem 0;
  position: relative;
}

.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.privacy-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--hanfgruen);
  border-radius: 3px;
  background: white;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  margin-top: -1px;
  transition: all 0.3s ease;
}

.privacy-checkbox input[type="checkbox"]:checked {
  background: var(--hanfgruen);
  border-color: var(--hanfgruen);
}

.privacy-checkbox input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 11px;
}

.privacy-checkbox input[type="checkbox"]:hover {
  border-color: var(--marineblau);
  box-shadow: 0 0 0 2px rgba(110, 139, 61, 0.1);
}

.privacy-checkbox input[type="checkbox"]:focus {
  outline: none;
  border-color: var(--marineblau);
  box-shadow: 0 0 0 3px rgba(110, 139, 61, 0.2);
}

.privacy-text {
  color: var(--grau-mittel);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
  margin-top: -2px;
}

.datenschutz-link {
  color: var(--hanfgruen);
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition);
}

.datenschutz-link:hover {
  color: var(--marineblau);
  text-decoration: none;
}

/* Honeypot field - komplett versteckt für Bot-Schutz */
.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.honeypot-field input {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  font-size: 0 !important;
  color: transparent !important;
  pointer-events: none !important;
}

/* CAPTCHA Styles */
.captcha-group {
  margin-top: 1.5rem;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.captcha-question {
  background: var(--hanfgruen);
  color: var(--weiss);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  min-width: 140px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(110, 139, 61, 0.3);
}

.captcha-container input[type="number"] {
  width: 100px;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 12px;
  text-align: center;
  font-weight: 600;
  transition: var(--transition);
}

.captcha-container input[type="number"]:focus {
  border-color: var(--hanfgruen);
  outline: none;
  box-shadow: 0 0 0 3px rgba(110, 139, 61, 0.1);
}

.captcha-help {
  color: var(--grau-mittel);
  font-size: 14px;
  margin-top: 8px;
  display: block;
}

@media (max-width: 480px) {
  .captcha-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .captcha-question {
    min-width: auto;
  }

  .captcha-container input[type="number"] {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}

/* Datenschutz-Sektion */
.datenschutz-content,
.impressum-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.back-to-home {
  margin-bottom: 2rem;
}

.back-link {
  color: var(--hanfgruen);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--marineblau);
  text-decoration: underline;
}

.datenschutz-section,
.impressum-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.datenschutz-section:last-child,
.impressum-section:last-child {
  border-bottom: none;
}

.datenschutz-content h1,
.impressum-content h1 {
  color: var(--marineblau);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.datenschutz-content h2,
.impressum-content h2 {
  color: var(--hanfgruen);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.datenschutz-content h2:first-child,
.datenschutz-section h2:first-child,
.impressum-content h2:first-child,
.impressum-section h2:first-child {
  margin-top: 0;
}

.datenschutz-content h4,
.impressum-content h4 {
  color: var(--marineblau);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.datenschutz-content ul,
.impressum-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.datenschutz-content ul li,
.impressum-content ul li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.datenschutz-content p,
.impressum-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #444;
}

.datenschutz-content a,
.impressum-content a {
  color: var(--hanfgruen);
  text-decoration: none;
  font-weight: 500;
}

.datenschutz-content a:hover,
.impressum-content a:hover {
  text-decoration: underline;
  color: var(--marineblau);
}

.contact-info-box,
.authority-info {
  background: var(--grau-hell);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--hanfgruen);
  margin: 1.5rem 0;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.right-item {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid #e9ecef;
}

.right-item h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--hanfgruen);
  font-size: 1rem;
}

.right-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.last-updated {
  text-align: center;
  font-style: italic;
  color: var(--grau-mittel);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.nav-link.active {
  color: var(--hanfgruen);
  font-weight: 600;
}

/* Responsive für Datenschutz-Seite */
@media (max-width: 768px) {
  .datenschutz-content h1 {
    font-size: 2rem;
  }

  .datenschutz-content h2 {
    font-size: 1.3rem;
  }

  .rights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-info-box,
  .authority-info {
    padding: 1rem;
  }

  .right-item {
    padding: 1rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--weiss);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--marineblau);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--grau-mittel);
}

.contact-icon {
  font-size: 1.2rem;
  min-width: 1.5rem;
}

.contact-item a {
  color: var(--hanfgruen);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Address Link Styles */
.address-link {
  display: inline-block;
  padding: 8px 12px;
  background: var(--grau-hell);
  border-radius: 8px;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
}

.address-link:hover {
  background: var(--hanfgruen);
  color: var(--weiss) !important;
  text-decoration: none !important;
  border-color: var(--hanfgruen);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(110, 139, 61, 0.3);
}

.address-link::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid currentColor;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  opacity: 0.7;
}

.opening-hours {
  background: var(--hanfgruen);
  color: var(--weiss);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.opening-hours h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.hours div {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

/* Footer */
.footer {
  background: var(--marineblau);
  color: var(--hellgelb);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .logo-text {
  color: var(--hellgelb);
  font-size: 1.5rem;
  line-height: 1;
}

.footer-brand .logo-subtitle {
  color: var(--hellbeige);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--hellbeige);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--hellgelb);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 239, 160, 0.2);
  padding-top: 1rem;
  text-align: center;
  color: var(--hellbeige);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
  }

  .container {
    padding: 0 1rem;
  }

  .hero .container {
    padding: 0 1.5rem;
  }

  .nav-container {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-image {
    margin-left: 0;
    margin-top: 2rem;
  }

  .hero-logo {
    width: 200px;
    height: 200px;
    padding: 1rem;
  }

  .hero-features {
    justify-content: center;
    gap: 1rem;
  }

  .feature {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 200px;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .skills {
    justify-content: center;
  }

  .about-photo {
    width: 200px;
    height: 200px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.8rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .logo-subtitle {
    font-size: 0.8rem;
  }

  .nav-menu {
    gap: 0.8rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 0.5rem;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
    text-align: center;
    padding: 0 0.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-logo {
    width: 150px;
    height: 150px;
  }

  .feature {
    font-size: 0.7rem;
    padding: 0.5rem 0.8rem;
  }

  .feature-icon {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .about-text .lead {
    font-size: 1.1rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-photo {
    width: 150px;
    height: 150px;
  }

  .skills {
    gap: 0.5rem;
    justify-content: center;
  }

  .skill-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .project-content {
    padding: 1.5rem;
  }

  .project-content h3 {
    font-size: 1.1rem;
  }

  .project-content p {
    font-size: 0.9rem;
  }

  .tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-card h3 {
    font-size: 1.1rem;
  }

  .opening-hours {
    padding: 1.5rem;
  }

  .opening-hours h4 {
    font-size: 1rem;
  }

  .hours {
    font-size: 0.9rem;
  }

  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-brand .logo-text {
    font-size: 1.3rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .image-placeholder {
    width: 150px !important;
    height: 150px !important;
    font-size: 3rem !important;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--hanfgruen);
  color: var(--weiss);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--marineblau);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 42, 58, 0.15);
}

.back-to-top:active {
  transform: translateY(0);
}

/* Gallery Styles */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  grid-auto-rows: auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  background: var(--weiss);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Adaptive sizing based on image format */
.gallery-item.portrait {
  grid-row: span 2;
}

.gallery-item.landscape {
  grid-column: span 1;
}

.gallery-item.square {
  aspect-ratio: 1/1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26, 42, 58, 0.9));
  color: var(--weiss);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .gallery-item.portrait {
    grid-row: span 1;
  }

  .gallery-overlay {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(26, 42, 58, 0.7));
    padding: 1.5rem 1rem 1rem;
  }

  .gallery-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .gallery-container {
    padding: 0 0.5rem;
  }

  .gallery-item {
    min-height: 250px;
  }

  .gallery-title {
    font-size: 0.9rem;
  }
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--weiss);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: 50%;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.lightbox-title {
  color: var(--weiss);
  font-size: 1.2rem;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  margin-top: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .lightbox-close {
    top: -35px;
    font-size: 1.8rem;
  }

  .lightbox-title {
    font-size: 1.1rem;
  }
}
