/* Printshop Hernals - 100% DSGVO Österreich, Lokale Typografie, Mobile First */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #d9232e;
  --primary-dark: #b0151f;
  --primary-light: #fff1f2;
  --primary-border: #fecdd3;
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --accent: #2563eb;
  --accent-light: #eff6ff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* TOP INFO BAR */
.top-bar {
  background-color: var(--secondary);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}
.status-open {
  background-color: #dcfce7;
  color: #15803d;
}
.status-closed {
  background-color: #fee2e2;
  color: #b91c1c;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}
.badge-dsgvo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* MAIN HEADER */
.main-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-badge {
  background: linear-gradient(135deg, var(--primary), #ef4444);
  color: white;
  font-weight: 900;
  font-size: 1.35rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(217, 35, 46, 0.3);
}
.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--secondary);
  letter-spacing: -0.02em;
}
.logo-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

/* DESKTOP NAVIGATION */
.nav-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
}
.nav-link {
  padding: 0.5rem 0.6rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--secondary);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  max-height: calc(100vh - 85px);
  overflow-y: auto;
  background-color: white;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  z-index: 100;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-item {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--secondary);
  transition: background-color 0.15s;
}
.dropdown-item:hover, .dropdown-item.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.btn-phone-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: white !important;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(217, 35, 46, 0.25);
  margin-left: 0.5rem;
}
.btn-phone-header:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

/* MOBILE TOGGLE & DRAWER */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}
@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}
.mobile-menu-btn span {
  width: 100%;
  height: 2.5px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background-color: white;
  z-index: 999;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.active {
  right: 0;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 990;
  display: none;
}
.drawer-overlay.active {
  display: block;
}
.drawer-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.drawer-nav {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.drawer-link {
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.drawer-link:hover, .drawer-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* PAGE HERO */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.page-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .page-header-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}
.breadcrumbs {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumbs a:hover {
  color: white;
  text-decoration: underline;
}
.page-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.page-subtitle {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 680px;
}
.header-image-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
}
.btn-primary {
  background-color: var(--primary);
  color: white !important;
  box-shadow: 0 4px 12px rgba(217, 35, 46, 0.3);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: white;
  color: var(--secondary) !important;
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: #f1f5f9;
}

/* SECTIONS */
.section {
  padding: 3rem 0;
}
.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}
.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* CARDS & GRIDS */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.card-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-img-wrap {
  position: relative;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.card-body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.card-footer {
  border-top: 1px solid var(--border-color);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fafc;
}

/* PREISTABELLEN */
.price-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.25rem;
  overflow: hidden;
}
.price-box-header {
  background-color: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.price-box-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
}
.price-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}
.data-table th, .data-table td {
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid var(--border-color);
}
.data-table th {
  background-color: #f1f5f9;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.data-table tr:hover td {
  background-color: #f8fafc;
}
.highlight-price {
  font-weight: 700;
  color: var(--primary);
}

/* FORMULAR & HONEYPOT */
.contact-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}
.hp-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.375rem;
}
.form-select, .form-input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: white;
  font-size: 0.875rem;
  color: var(--secondary);
}
.form-select:focus, .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 35, 46, 0.1);
}
.drop-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  background-color: #f8fafc;
  cursor: pointer;
}
.drop-zone:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

/* STICKY BOTTOM BAR */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.08);
  z-index: 80;
  display: flex;
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
  border-top: 1px solid var(--border-color);
}
@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}
.mobile-call-btn {
  flex: 1;
  background-color: var(--primary);
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
}
.mobile-inquiry-btn {
  flex: 1;
  background-color: var(--secondary);
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
}

/* MODAL */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.active {
  display: flex;
}
.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

/* FOOTER */
.site-footer {
  background-color: var(--secondary);
  color: #94a3b8;
  font-size: 0.875rem;
  padding: 3.5rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .logo-img {
    height: 38px;
    max-width: 170px;
  }
}

/* PRODUKTANSICHT BEI PREISTABELLEN (LÖSUNG 2) */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .product-showcase {
    grid-template-columns: 340px 1fr;
    gap: 2rem;
  }
}
.product-showcase-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
}
.product-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-showcase-content h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.product-showcase-content p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.product-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid var(--primary-border);
  margin-bottom: 0.5rem;
}


@media (min-width: 768px) {
  .product-showcase.reverse {
    grid-template-columns: 1fr 340px;
  }
  .product-showcase.reverse .product-showcase-img {
    order: 2;
  }
}


/* 3ER-BILDERGRID MIT TEXT */
.gallery-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .gallery-trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-trio-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-trio-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-trio-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
}

.gallery-trio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-trio-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-trio-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.gallery-trio-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
textarea.form-input {
  resize: vertical;
  min-height: 110px;
  max-width: 100%;
}
.logo-text {
  display: none;
}