:root {
  --bg-color: #ffffff;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --border-color: #d2d2d7;
  --accent-color: #71ADD8;
  --bg-alt: #ffffff;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
  opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 60px 0;
}

.section-title {
  font-size: 40px;
  margin-bottom: 24px;
  text-align: center;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-transform: uppercase;
  transition: var(--transition);
}

.logo:hover {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  /* Above mobile menu */
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: var(--transition);
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  opacity: 0.8;
}

.nav-links a:hover {
  color: var(--accent-color);
  opacity: 1;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  margin-top: 45vh;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 24px;
  opacity: 0.9;
  font-weight: 300;
}

/* About Section */
.about-section {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-text h3 {
  font-size: 24px;
  margin-bottom: 16px;
  margin-top: 32px;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-overlay h3 {
  font-size: 24px;
  margin-bottom: 8px;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h3 {
  color: var(--accent-color);
}

/* Portrait Gallery Modal */
.gallery-modal {
  position: fixed;
  z-index: 8000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.gallery-modal.show {
  opacity: 1;
  pointer-events: all;
}

.gallery-modal-content {
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  background: var(--bg-color);
  border-radius: 20px;
  padding: 40px;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-modal-content::-webkit-scrollbar {
  display: none;
}

.gallery-modal.show .gallery-modal-content {
  transform: translateY(0);
}

.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.gallery-close {
  font-size: 32px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.gallery-close:hover {
  color: var(--accent-color);
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.modal-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.modal-gallery-grid img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox-modal.show {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-modal.show .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10000;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--accent-color);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #a2cceb);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  border-color: var(--accent-color);
  box-shadow: 0 8px 32px rgba(113, 173, 216, 0.15);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-header {
  margin-bottom: 32px;
  text-align: center;
}

.pricing-header h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-weight: 600;
}

.pricing-header .price {
  background: var(--bg-alt);
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.pricing-header .price span {
  font-size: 32px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
}

.pricing-header p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 14px;
  color: var(--text-primary);
  position: relative;
  padding-left: 32px;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 13px;
  color: white;
  background: var(--accent-color);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-size: 10px;
  font-weight: bold;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 173, 216, 0.25);
}

.pricing-btn {
  text-align: center;
  display: block;
  box-sizing: border-box;
}

/* References Section */
.references-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.reference-tag {
  display: inline-block;
  text-decoration: none;
  padding: 12px 24px;
  background: var(--bg-alt);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.reference-tag:hover {
  background: white;
  color: var(--text-primary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Accordion Styles */
.accordion-item {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: background 0.3s;
}

.accordion-header {
  width: 100%;
  padding: 24px 32px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: rgba(0, 0, 0, 0.02);
}

.accordion-item.open .accordion-header .icon {
  transform: rotate(180deg) !important;
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.accordion-item.open .accordion-content {
  max-height: 3500px;
  /* Hoch genug für lange Mobile-Ansichten */
  opacity: 1;
}

.accordion-inner {
  padding: 0 32px 40px 32px;
}

/* Contact Section */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
  background: var(--bg-alt);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--text-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.btn {
  padding: 16px 32px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(113, 173, 216, 0.4);
  background: var(--text-primary);
  color: white;
}

/* Form Response Messages */
.form-response {
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  display: none;
}

.form-response.success {
  display: block;
  background-color: rgba(46, 213, 115, 0.1);
  color: #1bad58;
  border: 1px solid rgba(46, 213, 115, 0.2);
}

.form-response.error {
  display: block;
  background-color: rgba(255, 71, 87, 0.1);
  color: #e82a3a;
  border: 1px solid rgba(255, 71, 87, 0.2);
}

/* Footer */
footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background: var(--bg-alt);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.social-links a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Simple Animation Classes for JS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Page content styles (Impressum/Datenschutz) */
.page-content {
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 800px;
}

.page-content h1 {
  font-size: 48px;
  margin-bottom: 40px;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.page-content p,
.page-content li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

.page-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding-top: 100px;
    padding-left: 32px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
    padding: 10px 0;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--text-primary);
  color: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 9000;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(113, 173, 216, 0.4);
}

@media (max-width: 768px) {
  #scrollTopBtn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Service Selection Options */
.service-selection-group {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.service-selection-group .group-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 580px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
}

.option-card-label {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.option-card-label:hover {
  border-color: var(--accent-color);
  background: #ffffff;
  transform: translateY(-1px);
}

.option-card-label.selected {
  border-color: var(--accent-color);
  background: rgba(113, 173, 216, 0.08);
  box-shadow: 0 4px 14px rgba(113, 173, 216, 0.15);
}

.option-card-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  accent-color: var(--accent-color);
  cursor: pointer;
}

.option-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Combination Validation Notice */
.combination-notice {
  grid-column: 1 / -1;
  background: #fff9f2;
  border: 1.5px solid #fbd38d;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 4px;
  animation: fadeIn 0.3s ease-in-out;
}

.combination-notice .notice-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #c05621;
  font-size: 14.5px;
  margin-bottom: 6px;
}

.combination-notice .notice-header svg {
  flex-shrink: 0;
}

.combination-notice .notice-text {
  font-size: 13.5px;
  color: #744210;
  line-height: 1.5;
  margin-bottom: 12px;
}

.combination-notice .suggestion-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9c4221;
  margin-bottom: 8px;
  display: block;
}

.combination-notice .suggestion-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-suggestion {
  background: #ffffff;
  color: #c05621;
  border: 1.5px solid #fbd38d;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-suggestion:hover {
  background: #c05621;
  color: #ffffff;
  border-color: #c05621;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(192, 86, 33, 0.2);
}

/* Conditional comment container */
.conditional-comment {
  grid-column: 1 / -1;
  display: none;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}