:root {
  --marine-blue: #0f4c81;
  --marine-blue-deep: #0a3559;
  --marine-blue-soft: #dbeaf7;
  --green-glass: rgba(20, 70, 52, 0.76);
  --green-soft: rgba(39, 97, 76, 0.12);
  --ink: #0f2230;
  --muted: #5c6d78;
  --border: rgba(15, 76, 129, 0.15);
  --panel: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 60px rgba(12, 39, 63, 0.16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 76, 129, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(20, 70, 52, 0.14), transparent 30%),
    linear-gradient(180deg, #f6fbff 0%, #f1f6f3 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

input,
textarea,
button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(246, 251, 255, 0.78);
  border-bottom: 4px solid var(--marine-blue-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong,
.footer-title,
.service-card h3,
.card-panel h2,
.project-card h3,
.pricing-table th,
.main-nav a,
.button {
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
}

.brand strong {
  display: block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--marine-blue-deep);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a[aria-current="page"],
.main-nav a:hover,
.text-link:hover {
  color: var(--marine-blue-deep);
}

.hero-section {
  display: flex;
  justify-content: center;
  padding: 72px 0 48px;
  text-align: center;
}

.hero-copy {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
}

.hero-copy h1 {
  max-width: 18ch;
  margin: 0 auto;
}

.hero-copy .hero-text {
  max-width: 66ch;
  margin: 18px auto 0;
}

.lined-section {
  position: relative;
}

.lined-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 70, 52, 0.18), var(--green-glass), rgba(20, 70, 52, 0.18));
}

.company-intro {
  padding: 48px 0 30px;
}

.company-intro h1 {
  max-width: 16ch;
}

.intro-expectations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.intro-expectations article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
}

.intro-expectations h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--marine-blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.hero-text,
.section-text,
.subpage-hero p,
.card-panel p,
.service-card p,
.project-card p,
.tiny-note,
.legal-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions {
  justify-content: center;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 700;
  white-space: normal;
  text-align: center;
}

.button-primary {
  background: linear-gradient(135deg, var(--marine-blue), var(--green-glass));
  color: white;
  box-shadow: var(--shadow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--marine-blue-deep);
  border: 1px solid rgba(15, 76, 129, 0.14);
}

.hero-facts,
.services-grid,
.footer-grid,
.cards-two-columns,
.file-grid {
  display: grid;
}

.hero-facts {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 34px;
  width: min(820px, 100%);
}

.hero-facts article,
.service-card,
.card-panel,
.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-facts article {
  padding: 18px;
  text-align: center;
}

.hero-facts strong {
  display: block;
  font-size: 1.35rem;
  color: var(--marine-blue-deep);
}

.detail-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.detail-list li {
  position: relative;
  padding-left: 22px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--marine-blue), var(--green-glass));
}
.footer-title {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}

.section,
.subpage-main {
  padding: 26px 0 52px;
}

.section-soft {
  background: linear-gradient(180deg, rgba(219, 234, 247, 0.48), rgba(39, 97, 76, 0.06));
  border-top: 1px solid rgba(15, 76, 129, 0.08);
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.section-heading {
  display: grid;
  gap: 10px;
  text-align: center;
  margin-bottom: 26px;
}

.section-heading.left {
  text-align: left;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.craft-showcase {
  padding-top: 30px;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.craft-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px;
}

.craft-card h3 {
  margin: 14px 0 8px;
  font-size: 1.15rem;
}

.craft-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.craft-scene {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 76, 129, 0.14);
  min-height: 180px;
  background-size: cover;
  background-position: center;
}

.craft-scene-workshop {
  background:
    linear-gradient(165deg, rgba(15, 76, 129, 0.55), rgba(20, 70, 52, 0.5)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 8px, rgba(255, 255, 255, 0.04) 8px 16px),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.35), transparent 46%);
}

.craft-scene-site {
  background:
    linear-gradient(145deg, rgba(20, 70, 52, 0.65), rgba(15, 76, 129, 0.58)),
    linear-gradient(180deg, transparent 58%, rgba(10, 53, 89, 0.45) 58% 100%),
    radial-gradient(circle at 72% 26%, rgba(255, 255, 255, 0.3), transparent 42%);
}

.craft-scene-finish {
  background:
    linear-gradient(150deg, rgba(15, 76, 129, 0.56), rgba(20, 70, 52, 0.45)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 14px, rgba(255, 255, 255, 0.05) 14px 28px),
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.32), transparent 46%);
}

.service-card,
.card-panel,
.project-card {
  padding: 24px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 56px;
}

.pricing-table-wrap {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--marine-blue);
  font-weight: 700;
}

.is-hidden {
  display: none !important;
}

.projects-section {
  padding-bottom: 84px;
}

.project-tool-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: start;
}

.project-tool-layout.public-view {
  grid-template-columns: 1fr;
}

.project-tool-layout.public-view .project-feed {
  max-width: 1100px;
  margin: 0 auto;
}

.project-form label,
.simple-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 700;
}

.project-form input,
.project-form textarea,
.simple-form input,
.simple-form textarea,
.simple-form select {
  width: 100%;
  border: 1px solid rgba(15, 76, 129, 0.15);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.85);
}

.simple-form select {
  border-radius: 22px;
  padding-right: 18px;
}

.simple-form textarea {
  resize: vertical;
}

.file-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-feed {
  display: grid;
  gap: 18px;
}

.admin-only-block {
  margin-top: 24px;
}

.admin-page .container {
  width: min(1320px, calc(100% - 28px));
}

.admin-page .subpage-hero {
  max-width: 980px;
}

.admin-page .cards-two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.admin-page .admin-only-block.cards-two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-page .card-panel {
  padding: 30px;
  border-radius: 26px;
}

.admin-page .booking-admin-item {
  padding: 18px;
}

.admin-page .project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-page .project-grid .project-card {
  padding: 20px;
}

.import-preview {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.import-issues {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #8f1f1f;
  font-weight: 700;
}

.import-issues li {
  margin-bottom: 4px;
}

.admin-return-shortcut {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  box-shadow: 0 16px 32px rgba(12, 39, 63, 0.25);
}

.admin-tabs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.admin-tabs .button {
  width: auto;
  min-width: 150px;
  padding: 12px 16px;
}

.admin-tab-active {
  background: linear-gradient(135deg, var(--marine-blue), var(--green-glass));
  color: white;
  border-color: transparent;
}

.admin-only-block.cards-two-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.price-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.1);
  color: var(--marine-blue-deep);
  font-weight: 800;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.project-images figure {
  margin: 0;
}

.project-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  object-fit: cover;
  border-radius: 18px;
}

.project-images figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.form-message {
  min-height: 24px;
  margin: 8px 0 0;
  color: var(--green-glass);
  font-weight: 700;
}

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(15, 76, 129, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.footer-grid,
.cards-two-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.footer-logo {
  width: 84px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.06) saturate(1.08);
}

.impressum-logo {
  width: min(360px, 80vw);
  height: auto;
  margin: 12px 0 18px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.06) saturate(1.08);
}

.subpage-main {
  padding-top: 0;
}

.subpage-main > .container {
  padding-top: 48px;
}

/* ===== Hero Banner ===== */
.hero-banner {
  width: 100%;
  background: linear-gradient(
    140deg,
    #0a1f35 0%,
    var(--marine-blue) 42%,
    #176b54 78%,
    #1a7d62 100%
  );
  padding: clamp(44px, 9vw, 80px) 24px clamp(40px, 8vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 15% -10%, rgba(255, 255, 255, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 65% at 90% 110%, rgba(0, 210, 150, 0.09) 0%, transparent 50%);
  pointer-events: none;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

.hero-banner-logo {
  position: relative;
  display: block;
  width: min(190px, 50vw);
  height: auto;
  object-fit: contain;
  filter: none;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 12px 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
  margin: 0 auto 28px;
}

.hero-banner-tagline {
  position: relative;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.85rem, 5.5vw, 3.1rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 auto 14px;
  max-width: 760px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-banner-sub {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.88rem, 2.2vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Slim logo strip for subpages ===== */
.hero-banner--slim {
  padding: 18px 24px;
  background: linear-gradient(
    120deg,
    rgba(10, 31, 53, 0.05) 0%,
    rgba(23, 107, 84, 0.05) 100%
  );
  border-bottom: 1px solid rgba(10, 31, 53, 0.10);
}

.hero-banner--slim::before,
.hero-banner--slim::after {
  display: none;
}

.hero-banner--slim .hero-banner-logo {
  width: min(100px, 28vw);
  margin-bottom: 0;
  filter: contrast(1.06) saturate(1.08);
  mix-blend-mode: multiply;
}

.subpage-hero {
  max-width: 720px;
  margin-bottom: 28px;
}

.subpage-hero-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.projects-contact-action {
  justify-content: center;
}

.cards-two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.applicant-overview {
  margin-top: 12px;
}

.applicant-intro-note {
  margin-bottom: 18px;
}

.section-block {
  margin-top: 24px;
}

.projects-more-link {
  margin-top: 16px;
  width: fit-content;
}

.projects-only {
  padding-top: 12px;
}

.booking-admin-list {
  display: grid;
  gap: 14px;
}

.job-list {
  display: grid;
  gap: 14px;
}

.job-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.85);
}

.job-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.job-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.job-card .button {
  margin-top: 10px;
}

.job-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 27, 44, 0.58);
}

.modal-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  background: rgba(15, 76, 129, 0.1);
  color: var(--marine-blue-deep);
}

.applicant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.form-note {
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 0;
}

.booking-admin-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  background: rgba(255, 255, 255, 0.75);
  overflow-wrap: anywhere;
}

.card-panel p,
.booking-admin-item p,
.booking-admin-item h3,
.tiny-note,
.form-message,
.text-link {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.status-pill {
  white-space: normal;
  text-align: center;
}

.booking-admin-item header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.booking-admin-item h3 {
  margin: 0;
  font-size: 1rem;
}

.status-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.status-neu {
  background: rgba(15, 76, 129, 0.14);
  color: var(--marine-blue-deep);
}

.status-bestaetigt {
  background: rgba(39, 97, 76, 0.18);
  color: #1e4f3d;
}

.status-in_bearbeitung {
  background: rgba(209, 166, 54, 0.24);
  color: #6e4d08;
}

.status-abgeschlossen {
  background: rgba(20, 70, 52, 0.22);
  color: #173f30;
}

.status-abgelehnt {
  background: rgba(132, 39, 39, 0.2);
  color: #6b1d1d;
}

.legal-panel {
  max-width: 720px;
}

@media (max-width: 980px) {
  .hero-section,
  .pricing-layout,
  .project-tool-layout,
  .services-grid,
  .craft-grid,
  .footer-grid,
  .cards-two-columns,
  .intro-expectations,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .admin-only-block.cards-two-columns {
    grid-template-columns: 1fr;
  }

  .admin-page .cards-two-columns,
  .admin-page .admin-only-block.cards-two-columns,
  .admin-page .project-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .footer-brand {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-section {
    padding-top: 42px;
  }

  .hero-facts,
  .file-grid,
  .project-images {
    grid-template-columns: 1fr;
  }

  .job-card-actions,
  .applicant-actions {
    flex-direction: column;
  }

  .project-images img {
    min-height: 220px;
  }

  .service-card,
  .card-panel,
  .project-card,
  .pricing-table-wrap {
    padding: 20px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }
}

/* === Projekt-Editor Modal === */
.modal-panel--wide {
  width: min(860px, 100%);
}

.project-image-editors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

@media (max-width: 560px) {
  .project-image-editors {
    grid-template-columns: 1fr;
  }
}

.project-image-editor-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-edit-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border, #e5e7eb);
}

.file-upload-label {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px dashed var(--border, #d1d5db);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-secondary, #6b7280);
  transition: border-color 0.15s;
}

.file-upload-label:hover {
  border-color: var(--accent, #2563eb);
  color: var(--accent, #2563eb);
}

.file-upload-label input[type="file"] {
  display: none;
}

/* === Bewerbungs-Status === */
.status-pill.status-eingeladen  { background: #d1fae5; color: #065f46; }
.status-pill.status-angestellt  { background: #dbeafe; color: #1e40af; }
.status-pill.status-in_bearbeitung { background: #fef9c3; color: #713f12; }

/* === Archiv-Raster === */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.archive-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: border-color 0.15s;
}

.archive-item:hover {
  border-color: var(--marine-blue);
}

.archive-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.archive-item-caption {
  padding: 5px 8px;
  font-size: 0.76rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-item-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 999px;
  background: rgba(132, 39, 39, 0.85);
  color: white;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}

.archive-item:hover .archive-item-delete {
  opacity: 1;
}

.archive-item-selected {
  border-color: var(--marine-blue);
  outline: 2px solid var(--marine-blue);
  outline-offset: 1px;
}

/* === Preis-Admin-Tabelle === */
.pricing-admin-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.9rem;
}

.pricing-admin-delete {
  border: 0;
  border-radius: 999px;
  background: rgba(132, 39, 39, 0.1);
  color: #6b1d1d;
  padding: 6px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-table td.pricing-edit-cell {
  padding: 8px 6px;
}

/* === Bildtyp-Umschalter im Projekt-Modal === */
.image-type-toggle {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.image-type-toggle label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0;
}

/* === Archiv-Upload-Label als Button === */
.archive-upload-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* === Login-Karte ausgeblendet === */
.admin-login-card-hidden {
  display: none !important;
}

/* === Admin-Abmelden Schaltfläche oben in Tabs === */
.admin-topbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: -8px;
}

.admin-topbar .tiny-note {
  margin: 0;
}

/* === Weitere Leistungen Karte === */
.service-card-more {
  border-style: dashed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--muted);
  gap: 8px;
}

.service-card-more h3 {
  color: var(--marine-blue);
}

.services-more-note {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}