/* Pfandkredit Christian Kratz – statische Webseite
   Farben und Aufbau entsprechen der früheren Mezzanine-Version. */

:root {
  --bg: #ae9962;
  --panel: #4d4d4d;
  --text: #ae9962;
  --link: #ffbb62;
  --link-hover: #ffffff;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 10px;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
  margin: 10px 0;
}

h2 { font-size: 30px; }
h4 { font-size: 18px; }

p { margin: 0 0 10px; }

ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

/* ---------- Seitenaufbau ---------- */

.box {
  max-width: 1170px;
  margin: 0 auto 3px;
  background-color: var(--panel);
  color: var(--text);
  padding: 5px;
}

.site-header .logo {
  text-align: center;
  margin: 25px 0;
}

.site-header .legal {
  text-align: right;
}

.site-header .legal a + a::before {
  content: "\2022";
  color: var(--text);
  display: inline-block;
  margin: 0 .5em;
}

.box-spacer {
  padding: 0;
  height: 3px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  background-color: var(--bg);
  padding: 4px 50px;
}

.main-nav a {
  display: inline-block;
  line-height: 0;
}

.main-nav a:hover img,
.main-nav a:focus img,
.main-nav a[aria-current="page"] img {
  opacity: .8;
}

.content {
  padding: 25px;
}

.page-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 18px;
  line-height: 0;
}

.page-title.text-title {
  line-height: 1.3;
  margin-bottom: 15px;
}

/* ---------- Inhaltselemente ---------- */

.split {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.split > .media {
  flex: 0 0 406px;
  max-width: 406px;
  text-align: center;
}

.split > .text {
  flex: 1 1 auto;
  min-width: 0;
}

.locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 25px;
  margin: 10px 0 0;
}

.location {
  margin-bottom: 1.2em;
}

.verband {
  float: right;
  text-align: center;
  margin-left: 15px;
}

.verband span {
  display: block;
  color: var(--white);
  font-size: .8em;
  line-height: 1.3;
}

.clear { clear: both; }

.goldankauf {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.goldankauf > div { flex: 0 1 auto; }

.goldankauf ul { white-space: nowrap; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 25px;
}

.contact-card {
  text-align: center;
}

.contact-card address {
  font-style: normal;
  margin-bottom: 10px;
}

.map iframe {
  width: 100%;
  max-width: 425px;
  height: 350px;
  border: 1px solid #000;
}

.map p { margin: 6px 0 0; }

.notice {
  text-align: center;
}

.legal-text p { margin-bottom: 1em; }
.legal-text .justify { text-align: justify; }

/* ---------- Responsiv ---------- */

@media (max-width: 800px) {
  .content { padding: 15px; }
  .main-nav { padding: 4px 10px; gap: 6px 10px; }

  .split { flex-direction: column; }
  .split > .media { flex-basis: auto; max-width: 100%; align-self: center; }

  .goldankauf ul { white-space: normal; }
}

@media (max-width: 640px) {
  .locations,
  .contact-grid { grid-template-columns: 1fr; }
}
