/* Agthe Kunstberatung – Cassiopeia Extended */
:root {
  --agthe-ivory: #f7f3ea;
  --agthe-ivory-deep: #ece4d6;
  --agthe-ink: #292824;
  --agthe-muted: #6f6a61;
  --agthe-bronze: #9a7540;
  --agthe-bronze-dark: #70522b;
  --agthe-line: #d8c9b2;
}

body {
  background: var(--agthe-ivory);
  color: var(--agthe-ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

.container-header {
  background: var(--agthe-ivory-deep);
  background-image: none;
  color: var(--agthe-ink);
  box-shadow: none;
  border-bottom: 1px solid var(--agthe-line);
  padding-top: 1.1rem;
}

.container-header .navbar-brand,

.agthe-hero{padding-top:1.25rem!important}

/* Kontaktformular: redundante Joomla-Legenden nur visuell ausblenden */
.com-contact.contact .com-contact__form fieldset.m-0 > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.agthe-portrait-wrap{position:relative;max-width:420px;margin-left:auto}
.agthe-portrait-wrap::before{content:"";position:absolute;inset:-14px 14px 14px -14px;border:1px solid var(--agthe-bronze);z-index:0}
.agthe-portrait{position:relative;z-index:1;width:100%;aspect-ratio:4/4.35;object-fit:cover;object-position:center top;filter:saturate(.88) contrast(1.02)}
.agthe-button{background:var(--agthe-bronze-dark);border:1px solid var(--agthe-bronze-dark);color:#fff!important;border-radius:0;padding:.72rem 1.15rem;letter-spacing:.045em;text-decoration:none}
.agthe-button:hover,.agthe-button:focus{background:var(--agthe-bronze);border-color:var(--agthe-bronze);color:#fff!important}
@media (max-width:991.98px){.agthe-portrait-wrap{margin:1rem auto 0;max-width:360px}}
.container-header .site-description,
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span,
.container-header a {
  color: var(--agthe-ink);
}

.container-header .navbar-brand a,
.container-header .navbar-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: .01em;
}

.container-header .site-description {
  color: var(--agthe-bronze-dark);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.container-header .mod-menu > li > a {
  font-size: .95rem;
  letter-spacing: .02em;
  padding-bottom: .75rem;
}

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li > a:hover,
.container-header a:hover {
  color: var(--agthe-bronze-dark);
}

.container-header .mod-menu > li.active > a {
  border-bottom: 2px solid var(--agthe-bronze);
}

main {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: 4rem;
}

.com-content-article {
  max-width: 1180px;
  margin-inline: auto;
}

.page-header h1,
.com-content-article h2,
.com-content-article h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--agthe-ink);
  font-weight: 400;
}

.page-header h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 1.6rem;
}

.com-content-article .lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.45;
  max-width: 900px;
  color: #4d473f;
}

.com-content-article .text-uppercase.small {
  color: var(--agthe-bronze-dark) !important;
  font-weight: 600;
  letter-spacing: .16em;
}

.com-content-article section.border-top {
  border-color: var(--agthe-line) !important;
}

.com-content-article section h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 1.5rem;
}

.com-content-article .row.g-4 > div {
  position: relative;
  padding: 1.6rem 1.7rem 1.2rem;
  background: rgba(255,255,255,.42);
  border-top: 3px solid var(--agthe-bronze);
  min-height: 190px;
}

.com-content-article .row.g-4 h3 {
  font-size: 1.35rem !important;
  margin-bottom: .85rem;
}

a {
  color: var(--agthe-bronze-dark);
  text-decoration-color: rgba(112,82,43,.35);
  text-underline-offset: .18em;
}

a:hover {
  color: var(--agthe-bronze);
}

@media (max-width: 767.98px) {
  body { font-size: 1rem; }
  .container-header { padding-top: .6rem; }
  main { padding-top: 1.7rem; }
  .page-header h1 { font-size: 2.7rem; }
  .com-content-article .row.g-4 > div { min-height: 0; }
}

/* Schlanker Footer und fokussierte Hauptnavigation */
.container-header .mod-menu > li.item-127 { display: none !important; }
.container-footer { background: var(--agthe-ink); color: var(--agthe-ivory); padding: 1.4rem 0; }
.container-footer .agthe-footer { width: 100%; display: flex; gap: 1rem 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: .9rem; }
.container-footer .agthe-footer a { color: var(--agthe-ivory); text-decoration-color: rgba(247,243,234,.35); }
.container-footer .agthe-footer a:hover { color: #fff; }
@media (max-width: 767.98px) { .container-footer .agthe-footer { display: block; text-align: center; } .agthe-footer-links { display: block; margin-top: .5rem; } }
