@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --bg: #ecf2fb;
  --surface: #ffffff;
  --ink: #162640;
  --ink-soft: #6a7b98;
  --line: #d5dfef;
  --brand: #0e4cb6;
  --brand-deep: #0a2f70;
  --accent: #ef4f34;
  --shadow-lg: 0 30px 70px rgba(10, 40, 88, 0.18);
  --shadow-md: 0 16px 42px rgba(10, 40, 88, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.5;
  background:
    radial-gradient(circle at 10% 10%, rgba(14, 76, 182, 0.09), transparent 30%),
    radial-gradient(circle at 90% 84%, rgba(239, 79, 52, 0.08), transparent 28%),
    var(--bg);
}

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

.content {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: "Sora", "Barlow", sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-family: "Sora", sans-serif;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
}

.eyebrow.light {
  color: #cad9f8;
}

.hero-shell {
  position: relative;
  min-height: 54vh;
  overflow: hidden;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.hero-bg,
.hero-mask {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: center / cover no-repeat url("./assets/hero-aerial.jpg");
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

.hero-mask {
  background:
    linear-gradient(180deg, rgba(4, 11, 27, 0.62), rgba(5, 18, 47, 0.86)),
    linear-gradient(125deg, rgba(14, 76, 182, 0.35), rgba(14, 76, 182, 0));
}

.topbar,
.hero-main {
  position: relative;
  z-index: 60;
}

.topbar {
  padding-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  color: #f4f8ff;
  font-weight: 600;
}

.top-item {
  margin: 0;
}

.top-notdienst {
  justify-self: start;
}

.top-address {
  justify-self: center;
  text-align: center;
  color: #d6e3fb;
}

.top-login {
  justify-self: end;
}

.topbar a {
  color: #fff;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.4rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.pill.login {
  background: rgba(255, 255, 255, 0.15);
}

.hero-main {
  padding-top: 1.1rem;
  padding-bottom: clamp(1rem, 3.2vh, 2rem);
}

.hero-nav {
  background: rgba(6, 14, 35, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 40;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.brand-name {
  color: #fff;
  font-weight: 700;
  margin: 0;
}

.brand-sub {
  color: #d4def3;
  margin: 0;
  font-size: 0.92rem;
}

.hero-nav .main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.32rem;
}

.hero-nav .main-nav a {
  color: #dfebff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.42rem 0.68rem;
  border-radius: 10px;
}

.hero-nav .main-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-nav .main-nav a.active,
.hero-nav .main-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.42rem 0.55rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  display: block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.nav-toggle .nav-toggle-text {
  width: auto;
  height: auto;
  margin-left: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.88rem;
  line-height: 1;
}

.hero-panel {
  max-width: 760px;
  margin-top: clamp(0.45rem, 1.9vh, 1.2rem);
  background: rgba(4, 12, 31, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: var(--radius-xl);
  padding: clamp(1rem, 2.8vw, 1.7rem);
  color: #f8fbff;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 10;
}

.hero-panel h1 {
  margin-top: 0.55rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  max-width: 18ch;
}

.hero-panel p {
  margin: 0.8rem 0 0;
  max-width: 54ch;
  color: #d8e5ff;
}

.actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn {
  border-radius: 12px;
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.72rem 1rem;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0f56d0, #1c74ff);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.07);
}

.facts {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.facts article {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 11px;
  padding: 0.66rem 0.72rem;
}

.facts strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.28rem;
}

.facts span {
  color: #d2e1ff;
  font-size: 0.92rem;
}

main {
  margin-top: clamp(-1rem, -2vw, -0.6rem);
  position: relative;
  z-index: 3;
}

/* Compact hero variant for subpages/tabs like "Leistungen" */
body.subpage .hero-shell {
  min-height: 50vh;
}

body.subpage .hero-main {
  padding-bottom: clamp(1.2rem, 4vh, 2.4rem);
}

body.subpage .hero-panel {
  max-width: 700px;
  margin-top: clamp(0.6rem, 2.3vh, 1.4rem);
}

body.subpage .hero-panel h1 {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
}

body.subpage main {
  margin-top: clamp(-1rem, -1.8vw, -0.6rem);
}

.section {
  margin-bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.1rem, 3vw, 2.2rem);
}

.section-head h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.35rem, 3.4vw, 2.4rem);
}

.services .section-head {
  max-width: 580px;
}

.service-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
}

.service-card {
  --img: none;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 250px;
  border: 1px solid #c2d1ee;
  background: #0f2d68;
  grid-column: span 4;
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-card::before {
  background: center / cover no-repeat var(--img);
  transform: scale(1.02);
}

.service-card::after {
  background:
    linear-gradient(180deg, rgba(7, 23, 54, 0.14), rgba(7, 23, 54, 0.84)),
    linear-gradient(125deg, rgba(14, 76, 182, 0.35), rgba(239, 79, 52, 0.14));
}

.service-card.featured {
  grid-column: span 6;
  min-height: 340px;
}

.service-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
}

.service-copy h3 {
  font-size: 1.35rem;
}

.service-copy p {
  margin: 0.5rem 0 0;
  color: #dce8ff;
}

.service-strip {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-strip span {
  background: #ecf3ff;
  color: #1a376f;
  border: 1px solid #c8d9f8;
  border-radius: 999px;
  padding: 0.45rem 0.86rem;
  font-weight: 600;
}

.service-details {
  margin-top: 0.95rem;
  border: 1px solid #d9e4f7;
  border-radius: var(--radius-lg);
  background: #f8fbff;
  padding: 1rem 1.05rem;
}

.service-details h3 {
  font-size: 1.16rem;
}

.service-details p {
  margin: 0.52rem 0 0;
  color: #425b82;
}

.service-details ul {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  color: #2c446c;
}

.service-details li + li {
  margin-top: 0.32rem;
}

.company-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.company-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f9fbff;
  border: 1px solid #d8e2f6;
}

.company-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.company-copy {
  padding: 0.9rem 1rem 1rem;
}

.company-copy h3 {
  font-size: 1.2rem;
}

.company-copy p {
  margin: 0.5rem 0 0;
  color: #4d658c;
}

.trust-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
}

.quote {
  border-radius: var(--radius-lg);
  background: #f6f9ff;
  border: 1px solid #d8e3f7;
  padding: 1rem 1.1rem;
}

.quote p {
  margin: 0;
  font-size: 1.14rem;
  color: #1e335a;
}

.quote footer {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.quote.highlight {
  background: linear-gradient(165deg, #0d479f, #0a306d);
  border-color: #204f95;
}

.quote.highlight p,
.quote.highlight footer {
  color: #f0f6ff;
}

.trust-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 250px;
  border-radius: var(--radius-lg);
  border: 1px solid #c2d1ee;
  background:
    linear-gradient(165deg, rgba(5, 20, 48, 0.28), rgba(7, 23, 54, 0.72)),
    center / cover no-repeat url("./assets/service-sanitaer.jpg");
}

.news-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.news-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f9fbff;
  border: 1px solid #d7e2f6;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(16, 43, 91, 0.15);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.news-copy {
  padding: 0.85rem 1rem 1rem;
}

.meta {
  margin: 0;
  color: #66799c;
  font-family: "Sora", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-copy h3 {
  margin-top: 0.5rem;
  font-size: 1.14rem;
}

.jobs {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 390px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.jobs-bg,
.jobs-mask {
  position: absolute;
  inset: 0;
}

.jobs-bg {
  background: center / cover no-repeat url("./assets/jobs-detail.jpg");
}

.jobs-mask {
  background:
    linear-gradient(170deg, rgba(4, 16, 38, 0.8), rgba(4, 16, 38, 0.55)),
    linear-gradient(125deg, rgba(14, 76, 182, 0.45), rgba(239, 79, 52, 0.18));
}

.jobs-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: #eef4ff;
}

.jobs-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.job {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.job h3 {
  color: #fff;
  font-size: 1.13rem;
}

.job p {
  margin: 0.4rem 0 0;
  color: #d8e5ff;
}

.contact-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.75rem;
}

.contact-form {
  background: #f6f9ff;
  border: 1px solid #d9e4f7;
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.contact-form label {
  display: block;
  margin: 0.62rem 0 0.3rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1px solid #c8d6f0;
  border-radius: 11px;
  background: #fff;
  padding: 0.64rem 0.72rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #9abcf9;
  border-color: #4780df;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
  font-weight: 500;
}

.checkbox input {
  width: auto;
  margin: 0;
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid #d9e4f7;
  background:
    linear-gradient(160deg, rgba(14, 76, 182, 0.08), rgba(14, 76, 182, 0)),
    #ffffff;
}

.contact-card h3 {
  margin-top: 0.2rem;
}

.contact-card p {
  color: #475f86;
}

.note {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.footer {
  margin-bottom: 2rem;
  border-radius: 16px;
  border: 1px solid #cfdbee;
  background: #f8fbff;
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #b7c7e5;
}

.footer .brand-name {
  color: #15284a;
}

.footer .brand-sub {
  color: #5e7398;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-weight: 600;
  min-width: 0;
}

.footer-links a {
  color: #2c4370;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.58s ease forwards;
}

.topbar.reveal {
  animation-delay: 0.06s;
}

.hero-main.reveal {
  animation-delay: 0.14s;
}

main .reveal:nth-child(1) { animation-delay: 0.08s; }
main .reveal:nth-child(2) { animation-delay: 0.14s; }
main .reveal:nth-child(3) { animation-delay: 0.2s; }
main .reveal:nth-child(4) { animation-delay: 0.26s; }
main .reveal:nth-child(5) { animation-delay: 0.32s; }
main .reveal:nth-child(6) { animation-delay: 0.38s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-nav .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .service-card {
    grid-column: span 6;
  }

  .service-card.featured {
    min-height: 300px;
  }

  .trust-layout {
    grid-template-columns: 1fr;
  }

  .trust-image {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .hero-shell {
    overflow: visible;
  }

  .hero-main {
    overflow: visible;
  }

  .hero-nav {
    position: relative;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .hero-nav .brand-sub {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-nav .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 200;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.52rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 16, 38, 0.94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  }

  .hero-nav.nav-open .main-nav {
    display: flex;
  }

  .hero-nav .main-nav a {
    width: 100%;
    font-size: 0.96rem;
    padding: 0.5rem 0.62rem;
  }
}

@media (max-width: 760px) {
  .hero-shell {
    min-height: 46vh;
  }

  .topbar {
    display: none;
  }

  .hero-main {
    padding-top: 0.5rem;
  }

  .hero-nav {
    padding: 0.54rem 0.65rem;
    gap: 0.55rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-name {
    font-size: 0.93rem;
    line-height: 1.15;
  }

  .brand-logo-icon {
    width: 40px;
    height: 40px;
  }

  .nav-toggle {
    padding: 0.35rem 0.48rem;
  }

  .hero-nav .main-nav {
    top: calc(100% + 0.32rem);
  }

  .hero-nav .main-nav a {
    white-space: normal;
    font-size: 0.92rem;
    line-height: 1.22;
  }

  .hero-panel {
    padding: 0.82rem 0.9rem;
  }

  .hero-panel h1 {
    font-size: clamp(1.34rem, 6.2vw, 1.95rem);
  }

  .hero-panel p {
    font-size: 0.98rem;
    margin-top: 0.55rem;
  }

  body.home .hero-shell {
    min-height: 40vh;
  }

  body.home .hero-panel {
    margin-top: 0.25rem;
    padding: 0.75rem 0.8rem;
  }

  body.home .hero-panel h1 {
    font-size: clamp(1.18rem, 7vw, 1.7rem);
    line-height: 1.08;
  }

  body.home .hero-panel p {
    font-size: 0.95rem;
    margin-top: 0.45rem;
  }

  body.home .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.09em;
  }

  body.home .actions {
    margin-top: 0.7rem;
    gap: 0.45rem;
  }

  body.home .actions .btn {
    font-size: 0.86rem;
    padding: 0.62rem 0.86rem;
    border-radius: 10px;
  }

  body.home .actions .btn-ghost {
    display: none;
  }

  body.home main {
    margin-top: -0.12rem;
  }

  .facts {
    display: none;
  }

  main {
    margin-top: -0.35rem;
  }

  body.subpage .hero-shell {
    min-height: 32vh;
  }

  body.subpage .hero-panel {
    margin-top: 0.35rem;
    padding: 0.82rem 0.9rem;
  }

  body.subpage .hero-panel h1 {
    font-size: clamp(1.25rem, 6vw, 1.78rem);
  }

  body.subpage .hero-panel p {
    font-size: 1rem;
    margin-top: 0.55rem;
  }

  body.subpage .hero-main {
    padding-bottom: 0.95rem;
  }

  body.subpage main {
    margin-top: -0.2rem;
  }

  body.subpage .facts {
    display: none;
  }

  .service-card,
  .service-card.featured {
    grid-column: span 12;
    min-height: 240px;
  }

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

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

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.8rem;
  }
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.9rem;
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid #d7e2f6;
  display: block;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.detail-card {
  border-radius: var(--radius-lg);
  background: #f8fbff;
  border: 1px solid #d9e4f7;
  padding: 1rem 1.05rem;
}

.detail-card h3 {
  font-size: 1.14rem;
  margin: 0 0 0.45rem;
}

.page-prose p {
  color: #425b82;
}

.notice {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  border: 1px solid #d7e2f6;
  background: #f8fbff;
  color: #1f3c6f;
}

.notice-success {
  background: #edf8ef;
  border-color: #b9e2c1;
  color: #1f5d30;
}

.notice-warning {
  background: #fff7e9;
  border-color: #f1d79d;
  color: #7a5a13;
}

.notice-error {
  background: #fff0f0;
  border-color: #efc0c0;
  color: #8b2727;
}

.errorlist {
  margin: 0.3rem 0 0;
  padding-left: 1rem;
  color: #8b2727;
}

@media (max-width: 900px) {
  .detail-layout,
  .stack-grid {
    grid-template-columns: 1fr;
  }
}
