/* pervan-immoservice.de – Maße an der bisherigen Seite gemessen (2026-10-13), Code neu geschrieben. */
@font-face { font-family: Montserrat; font-weight: 300; font-display: swap; src: url(../fonts/montserrat-300-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 300; font-style: italic; font-display: swap; src: url(../fonts/montserrat-300-italic.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-400-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-600-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 700; font-display: swap; src: url(../fonts/montserrat-700-normal.woff2) format("woff2"); }

:root {
  --gold: #a28749;
  --blau: #0e236c;
  --dunkel: #1c222b;
  --grau: #eee;
  --link: #0f2676;
  --rand: max(10px, calc((100% - 1058px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 300 16px/1.5 Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif; color: #000; background: var(--dunkel); }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; overflow-wrap: break-word; }
h1 { font-size: 41.6px; }
h2 { font-size: 32px; margin-bottom: .3em; }
h3 { font-size: 17.6px; margin-bottom: .8em; }
p { margin-bottom: 12px; }
strong { font-weight: 700; }
sup { line-height: 0; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.zeichen { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }
.mitte { text-align: center; }
.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 10px; top: 10px; z-index: 5; padding: 8px; background: #fff; }

.kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 0 var(--rand) 29px; border-top: 1px solid #cfcfcf; background: #fff; }
.marke { width: 17.96%; }
.marke img { display: block; margin-top: 19px; }
.anruf { display: none; }
.erreichbar .zeichen:last-of-type { width: .8em; }
.erreichbar { margin: 76px 3px 0 0; font-size: 19.2px; text-align: right; }

.navigation { padding: 0 max(10px, calc((100% - 1121px) / 2)); border-bottom: 1px solid #fff; background: #e0e0e0; }
.navigation ul { display: flex; justify-content: flex-end; list-style: none; }
.navigation li { position: relative; margin: 8px 4px 8px 0; }
.navigation a { display: block; padding: 8px; border-radius: 3.84px; font-size: 19.2px; font-weight: 400; line-height: 1; color: #555; }
.navigation a[aria-current], .navigation a:hover, .navigation a:focus-visible { color: #23376c; text-decoration: none; }
.auf { display: none; }
.navigation ul ul { display: none; position: absolute; left: 0; top: 100%; z-index: 4; flex-direction: column; min-width: 300px; padding-top: 8px; }
.navigation li:hover > ul, .navigation li:focus-within > ul { display: flex; }
.navigation ul ul li { margin: 0; background: var(--grau); }
.navigation ul ul a { border-radius: 0; background: #e0e0e0; font-size: 12.8px; color: #3b3b3b; }
.menue { display: none; }

main { background: #fff; }
main > section { padding-inline: var(--rand); }

.haken { list-style: none; padding-left: 25px; }
.haken li { position: relative; overflow-wrap: anywhere; }
.haken li::before { content: ""; position: absolute; left: -24px; top: 5px; width: 13px; height: 7px; border: solid #4caf50; border-width: 0 0 3px 3px; rotate: -45deg; }

.knopf { display: inline-block; padding: 15px; border: 1px solid #fff; border-radius: 3.2px; background: linear-gradient(#80c027, #6ea621); font: 600 16px/1.25 Montserrat, sans-serif; color: #fff; cursor: pointer; }
.knopf:hover, .knopf:focus-visible { background: #6ea621; text-decoration: none; }
.knopf.orange { padding-inline: 43px; background: linear-gradient(#fc9b2c, #e6881b); }
.knopf.orange:hover, .knopf.orange:focus-visible { background: #e6881b; }
.knopf .zeichen { margin-right: 8px; }

.einstieg { display: grid; grid-template-columns: minmax(0, 402fr) minmax(0, 614fr); gap: 0 42px; padding-block: 41px 52px; }
.einstieg h1 { grid-column: 1 / -1; line-height: 50px; color: var(--gold); text-align: center; }
.einstieg h1 span { font-size: 31.2px; color: var(--blau); }
.einstieg img { margin-top: -1px; }
.einstieg-text { padding-top: 37px; }
.einstieg .haken { margin-bottom: 31px; }
.einstieg-text p:last-child { margin: 16px 0 0; }

.leistungen { display: grid; grid-template-columns: 1fr 1fr; column-gap: 42px; padding-block: 50px 62px; background: var(--grau); }
.leistungen h2 { grid-column: 1 / -1; color: var(--blau); text-align: center; }

.staerken { padding: 44px max(0px, calc((100% - 1078px) / 2)) 49px; background: var(--gold); color: #fff; text-align: center; }
.staerken ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 42px; list-style: none; }
.staerken .zeichen { width: 72px; height: 56px; margin: 6px 0 8px; }

.angebote { padding-block: 38px 51px; text-align: center; }
.angebote h2 { margin-bottom: 29px; color: var(--blau); }
.objekte { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12px 45px; margin-top: 54px; color: #3b3b3b; text-align: left; }
.objekte article, .objekte .anbieter { padding: 23px; background: #efefef; }
.objekte h3 { margin: 21px 0 10px; font: 700 16px/1.5 Montserrat, sans-serif; }
.objekte img { display: block; width: 100%; }
.anbieter { color: #3b3b3b; text-align: center; }
.anbieter h3, .objekte .anbieter h3 { margin: 0 0 14px; font: 700 17.6px/1.2 Montserrat, sans-serif; }
.anbieter p { margin-bottom: 12px; }

.referenzen { padding-block: 50px 62px; background: var(--gold); color: #fff; }
.referenzen h2 { margin-bottom: 21px; font-size: 41.6px; }
.referenzen figure + figure { margin-top: 19px; padding-top: 19px; border-top: 1px solid #ffffff80; }
.referenzen blockquote { font-style: italic; }
.referenzen blockquote p { margin-bottom: 10px; }
.referenzen figcaption { margin: 0; }

.band { padding-block: 40px 62px; background: linear-gradient(#be9f55bd, #be9f55bd), url(../img/nuernberg-hintergrund.png) left top no-repeat #be9f55; color: #fff; }
.band h1 { margin-bottom: 37px; text-align: center; }
.band p { margin-bottom: 31px; }
.band p.mitte { margin-bottom: 16px; }
.band p:last-child { margin-bottom: 0; }
.band a:not(.knopf) { color: #fff; text-decoration: underline; }

.text { padding-block: 50px; }
.text h1 { color: var(--gold); }
.text h2 { color: var(--blau); }
.text h3 { color: #141313; }
.text .haken { margin-bottom: 27px; }
.text p.mitte { margin-bottom: 16px; }
.text p.mitte:has(.knopf) { margin-top: 31px; }
.text p.mitte:last-child { margin-bottom: 12px; }
.rechtstext ul { margin: 0 0 12px 16px; padding-left: 12px; }
.rechtstext a { overflow-wrap: anywhere; }

.kontakt { padding-block: 50px; }
.kontakt h1 { margin-bottom: 18px; color: var(--gold); }
.kontakt h2 { margin: 0 0 15px; font-size: 17.6px; color: #141313; }
.anfahrt { display: grid; grid-template-columns: 719fr 296fr; gap: 42px; align-items: start; margin-bottom: 57px; }
.anfahrt address { min-height: 371px; }
.anfahrt address { padding: 23.86px 23.86px 17px; background: #efefef; font-style: normal; color: #3b3b3b; }
.anfahrt address h2 { color: #3b3b3b; }
.anfahrt address p:last-child { margin: 31px 0 16px; }
.karte { display: grid; place-items: center; height: 371px; margin-bottom: 18px; background: var(--grau); }
.karte iframe { width: 100%; height: 100%; border: 0; }
.karte button { padding: 10px 16px; border: 1px solid #d0d0d0; border-radius: 3.5px; background: #fdfdfd; font: inherit; cursor: pointer; }
.klein { margin: 0; font-size: 13.7px; font-weight: 400; line-height: 1.2; }
.hinweise { margin-top: 115px; }
.hinweise h2 { margin: 0 0 17px; }
.hinweise h2:first-child { margin-top: 0; }

.verkaufen { display: grid; grid-template-columns: minmax(0, 789fr) minmax(0, 248fr); gap: 20px; align-items: start; padding-block: 50px 110px; }
.verkaufen h1 { margin-bottom: 49px; color: var(--gold); text-align: center; }
.verkaufen .formular h2 { margin-bottom: 15px; font-size: 17.6px; color: #141313; }
.verkaufen .anbieter { padding: 23px; background: var(--grau); }
.gruppe { margin-top: 91px; }
.gruppe + .gruppe { margin-top: 72px; }
.gruppe + label { margin-top: 34px; }
.verkaufen .formular button { margin-top: 19px; }

.formular label { display: block; padding: 3px 3px 3px 1px; font-weight: 400; }
.formular input, .formular select, .formular textarea { display: block; width: 100%; height: 32px; margin-bottom: 15px; padding: 6px; border: 1px solid #d0d0d0; border-radius: 3.5px; background: #fdfdfd; font: 14px/18px Tahoma, Arial, Helvetica, sans-serif; color: #222; }
.formular textarea { height: 158px; resize: vertical; }
.formular [aria-invalid=true] { border-color: #c00; }
.falle { position: absolute; left: -999em; }
.daten { margin: 15px 0 0; font-size: 14px; font-weight: 400; }
.meldung { margin: 15px 0 0; font-weight: 400; }
.meldung:empty { display: none; }

.fuss { position: relative; padding: 44px var(--rand) 15px; background: var(--dunkel); font-weight: 400; color: #fff; }
.fuss a { color: #fff; }
.nach-oben { position: absolute; right: calc(var(--rand) + 22px); top: 44px; font-size: 47px; line-height: 1; }

.anfrage { width: min(1058px, 100% - 20px); max-height: calc(100% - 125px); margin-top: 115px; padding: 30px; border: 0; box-shadow: 0 0 20px #0006; }
.anfrage::backdrop { background: #80808059; }
.anfrage h2 { color: var(--blau); text-align: center; }
.anfrage > p { text-align: center; }
.schliessen::before { content: "×"; }
.schliessen { position: absolute; right: 8px; top: 4px; border: 0; background: none; font-size: 32px; line-height: 1; cursor: pointer; }

@media (max-width: 480px) {
  h1, .referenzen h2 { font-size: 28.8px; }
  h2 { font-size: 24px; }
  .einstieg h1 { line-height: 1.2; }
  .einstieg h1 span { font-size: 21.6px; }
  .kopf { flex-direction: column; align-items: center; gap: 0; padding: 8px 10px 18px; }
  .marke { width: auto; }
  .marke img { margin-top: 0; }
  .erreichbar { display: none; }
  .anruf { display: grid; place-items: center; align-self: flex-end; width: 41px; height: 43px; margin-right: -2px; border-radius: 6px; background: var(--link); font-size: 27px; color: #fff; }
  .menue { display: block; width: 100%; padding: 16px 8px; border: 0; background: none; font: 400 19.2px/1 Montserrat, sans-serif; letter-spacing: .5px; text-transform: uppercase; color: #555; cursor: pointer; }
  .menue::after { content: ""; display: inline-block; width: 19px; height: 13px; margin-left: 6px; border-block: 3px solid; background: linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat; vertical-align: -1px; }
  .navigation ul { display: none; flex-direction: column; padding-bottom: 33px; text-align: center; }
  .navigation ul.offen { display: flex; padding-top: 12px; }
  .navigation li { margin: 0 0 4px; }
  .navigation ul ul, .navigation li:hover > ul, .navigation li:focus-within > ul { display: none; position: static; padding: 4px 0 0; }
  .navigation li.offen > ul { display: flex; }
  .auf { display: block; position: absolute; right: 8px; top: 0; width: 35px; height: 35px; border: 0; background: none; cursor: pointer; }
  .auf::before { content: ""; display: inline-block; width: 9px; height: 9px; border: solid #555; border-width: 0 2px 2px 0; rotate: 45deg; }
  .staerken ul { gap: 0; }
  .anfahrt address { min-height: 0; }
  .einstieg, .leistungen, .anfahrt, .verkaufen, .staerken ul { grid-template-columns: minmax(0, 1fr); }
  .objekte { grid-template-columns: 1fr; }
  .einstieg-text { padding-top: 12px; }
  .leistungen ul + ul { margin-top: 12px; }
  .anfahrt { gap: 7px; margin-bottom: 15px; }
  .anfrage { width: calc(100% - 100px); padding: 30px; }
  .knopf.orange { padding-inline: 15px; }
  .fuss { padding: 44px 20px 22px; }
  .nach-oben { position: static; display: block; text-align: center; }
}
