:root {
  color-scheme: light;
  font-family: "Times New Roman", Times, serif;
  color: #000;
  background: #19456e url("back2.jpg") repeat center top;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: transparent;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: normal;
}

a {
  color: #00cfff;
}

a:focus-visible {
  outline: 2px solid #ffeb00;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 4;
  top: 4px;
  left: 4px;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: #fff;
  color: #0b3e6f;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: 830px;
  max-width: 100%;
  margin: 19px auto 20px;
}

.site-header {
  position: relative;
  height: 185px;
  background: #3f6a9e url("Kopf1.jpg?v=2") center top / 830px 185px no-repeat;
}

.header-home {
  display: block;
}

.header-image {
  display: block;
  width: 100%;
  height: auto;
}

.utility-nav {
  position: absolute;
  right: 49%;
  bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.utility-nav a,
.main-nav a {
  color: #fff;
  text-decoration: underline;
}

.main-nav {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  height: 31px;
  padding: 0 40px 0 204px;
  background: rgb(180 199 216 / 67%);
  font-family: Arial, sans-serif;
  font-size: 12px;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  text-decoration: none;
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  width: 40px;
  height: 7px;
  transform: translateX(-50%);
  background: #fff;
  content: "";
}

.main-nav a:hover,
.utility-nav a:hover {
  text-decoration: underline;
}

.main-nav .first-appointment {
  margin-left: auto;
  color: #ffeb00;
  text-decoration: underline;
}

.page-layout {
  display: grid;
  grid-template-columns: 194px minmax(0, 636px);
  min-height: 598px;
  background: #fff;
}

.portrait-column {
  min-height: 598px;
  background-color: #4c87bd;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 194px 1500px;
}

.side-home {
  background-image: url("Zelle_fg.jpg");
}

.side-kanzlei {
  background-image: url("Zell_kanz.jpg");
}

.side-weitblick {
  background-image: url("Zelle_wb.jpg");
}

.side-teamwork {
  background-image: url("Zelle_tw.jpg");
}

.side-portrait {
  background-image: url("Zelle_po.jpg");
}

.side-building {
  background-image: url("Zelle_nw.jpg");
}

.side-sign {
  background-image: url("Zelle_ts.jpg");
}

.content-column {
  min-width: 0;
  background: #fff;
}

.page-content {
  padding: 42px 45px 48px;
}

.page-content h1,
.page-content h2 {
  color: #0b3e6f;
  font-size: 20px;
}

.page-content h1 {
  margin: 0 0 22px;
  text-align: center;
}

.page-content h2 {
  margin: 24px 0 12px;
}

.page-content p {
  line-height: 1.4;
}

.page-content a {
  color: #0000ee;
}

.page-content .lead {
  margin: 0 0 42px;
  font-size: 17px;
}

.page-content .centered {
  text-align: center;
}

.network-content {
  text-align: center;
}

.network-content section + section {
  margin-top: 20px;
}

.network-content h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.network-content p {
  margin: 0;
}

.network-address h2 {
  color: #3f6a9e;
}

.home-content {
  min-height: 598px;
  padding-top: 85px;
}

.home-content h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

.philosophy-list,
.service-links {
  padding-left: 32px;
}

.philosophy-list li + li {
  margin-top: 30px;
}

.philosophy-list li p {
  margin: 0 0 0 20px;
  font-size: 14px;
  line-height: 1.2;
}

.service-links li {
  margin: 14px 0;
}

.service-links a {
  font-weight: bold;
}

.page-more {
  margin-top: 28px;
  font-weight: bold;
}

.page-more a {
  color: #0b3e6f;
}

.news-intro {
  margin-bottom: 12px;
}

.news-frame {
  display: block;
  width: 100%;
  height: 580px;
  border: 1px solid #c5d0d9;
  background: #fff;
}

.news-fallback {
  margin-top: 12px;
  font-size: 14px;
}

.philosophy {
  min-height: 598px;
  padding: 85px 45px 36px;
}

.philosophy h1,
.content-column h2 {
  color: #0b3e6f;
  font-size: 20px;
  font-weight: bold;
}

.philosophy h1 {
  margin: 0;
  text-align: center;
}

.philosophy-intro {
  margin: 16px -15px 61px;
  text-align: center;
}

.philosophy h2 {
  margin: 0 0 15px;
}

.philosophy ul,
.legacy-section ul {
  padding-left: 32px;
}

.philosophy li + li {
  margin-top: 31px;
}

.philosophy li p {
  margin: 0 0 0 20px;
  font-size: 14px;
  line-height: 1.15;
}

.legacy-section {
  padding: 30px 45px;
  border-top: 1px solid #e1e7eb;
}

.legacy-section h2 {
  margin: 0 0 16px;
}

.legacy-section p {
  line-height: 1.4;
}

.legacy-section a {
  color: #0000ee;
}

.site-footer {
  min-height: 19px;
  color: #fff;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.site-footer address {
  padding: 2px 6px;
  font-style: normal;
}

.site-footer strong {
  font-style: italic;
}

.site-footer a {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-form label {
  display: grid;
  gap: 5px;
  color: #0b3e6f;
  font-weight: bold;
}

.contact-form .label-text {
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #9aabba;
  border-radius: 2px;
  background: #fff;
  color: #000;
  font: inherit;
}

.contact-form textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible {
  outline: 2px solid #0b3e6f;
  outline-offset: 2px;
}

.contact-form button {
  justify-self: start;
  padding: 10px 18px;
  border: 0;
  border-radius: 2px;
  background: #0b3e6f;
  color: #fff;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background: #225e8c;
}

.form-hint {
  margin: -8px 0 0;
  color: #394d5d;
  font-size: 14px;
}

.form-notice {
  padding: 10px 12px;
  border: 1px solid #347348;
  background: #eef7ef;
  color: #205b32;
}

.form-error {
  border-color: #9a3026;
  background: #fff2f0;
  color: #84281f;
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 650px) {
  .site-shell {
    margin-top: 0;
  }

  .site-header {
    height: auto;
    min-height: 0;
    padding-bottom: 0;
    background-size: 100% auto;
  }

  .header-image {
    min-height: 80px;
  }

  .utility-nav {
    right: 4px;
    bottom: 48px;
    gap: 3px;
    font-size: 10px;
  }

  .main-nav {
    position: static;
    min-height: 31px;
    height: auto;
    flex-wrap: wrap;
    gap: 5px;
    padding: 7px 8px;
  }

  .main-nav .first-appointment {
    margin-left: 0;
  }

  .main-nav a[aria-current="page"]::after {
    top: auto;
    bottom: -4px;
    width: 32px;
    height: 3px;
  }

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

  .page-content,
  .home-content {
    min-height: 0;
    padding: 46px 25px;
  }

  .home-content {
    padding-top: 54px;
  }

  .portrait-column {
    display: none;
  }

  .philosophy {
    min-height: 0;
    padding: 54px 25px 48px;
  }

  .contact-form button {
    width: 100%;
  }

  .philosophy-intro {
    margin-right: 0;
    margin-bottom: 42px;
    margin-left: 0;
  }

  .philosophy h2 {
    font-size: 18px;
  }

  .philosophy li p {
    margin-left: 0;
  }

  .legacy-section {
    padding: 26px 25px;
  }

  .site-footer address {
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
