/* Titelbereich der Startseite: Namensfeld, Skizze (eine kleine Startseite aus HTML), Handy und Suchtreffer.
   Die Skizze misst alles in em; 1 em ist 1 % ihrer Breite, sie skaliert deshalb in jedem Rahmen mit. */
.probe { display: grid; gap: 10px; margin-top: clamp(20px, 2.4vw, 30px); }
.kein-js .probe, .ohne-skizze .probe { display: none; }
.probe label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font: 700 clamp(1.15rem, 1.7vw, 1.45rem)/1.1 var(--kopf); letter-spacing: -.02em; }
.probe label span { flex-basis: 100%; } .probe label span { font: 600 .74rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--glut-text); }
.probe .wahl small { margin-left: auto; padding-left: 6px; font: 500 .8rem/1.2 var(--text); color: var(--grau); }
.feld { position: relative; }
.feld input { width: 100%; height: 62px; padding: 0 20px 0 56px; border: 2px solid var(--tinte); border-radius: 18px; background: var(--weiss); color: var(--tinte); font: 600 clamp(1.1rem, 1.6vw, 1.35rem)/1 var(--text); box-shadow: 6px 6px 0 var(--marker); transition: box-shadow .2s, transform .2s; }
.feld input::placeholder { color: #5b6b70; font-weight: 500; opacity: 1; }
.feld input:focus-visible { outline: 3px solid var(--glut); outline-offset: 3px; box-shadow: 3px 3px 0 var(--marker); transform: translate(3px, 3px); }
.feld svg { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; translate: 0 -50%; fill: none; stroke: var(--glut-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.leiste .farbe { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 30px; margin-left: auto; padding: 5px 12px 5px 10px; border: 1px dashed rgba(255, 255, 255, .5); border-radius: 99px; background: rgba(255, 255, 255, .08); color: #e3f6fa; font: 600 .76rem/1 var(--text); cursor: pointer; }
.leiste .farbe:hover { background: rgba(255, 255, 255, .18); }
.kein-js .farbe, .ohne-skizze .farbe { display: none; }
.leiste .farbe i { width: 10px; height: 10px; border-radius: 50%; background: #7fd6e4; box-shadow: 8px 0 0 #ff9b78, 16px 0 0 #f0c05a; margin-right: 16px; }

.rahmen { container-type: inline-size; }
.leiste .adr { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e3f6fa; }
.leiste .adr::before { content: ""; flex: none; width: 8px; height: 7px; border-radius: 2px; background: #7fd2a6; box-shadow: 0 -4px 0 -2px #082a32, 0 -4px 0 0 #7fd2a6; }
@container (max-width: 420px) { .leiste .farbe { font-size: 0; gap: 0; padding-right: 10px; } }

.skz { container-type: inline-size; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; background: var(--a); color: var(--b); text-align: left; line-height: 1.25; --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; --a: #f7f3ea; --b: #22332d; --c: #2f5d50; --d: #dfe8e0; --e: #fff; }
.skz > div { font-size: 1cqw; min-height: 0; }
.vergleich .skz { position: absolute; inset: 0; }
.k-kopf { display: flex; align-items: center; gap: 2.2em; height: 7em; padding-inline: 4em; border-bottom: 1px solid color-mix(in srgb, var(--b) 14%, transparent); }
.k-logo { display: flex; align-items: center; gap: .9em; min-width: 0; margin-right: auto; }
.k-logo i { flex: none; display: grid; place-items: center; width: 1.85em; height: 1.85em; border-radius: .42em; background: var(--c); color: var(--e); font: 700 1.5em/1 var(--kopf); }
.k-logo b { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 clamp(1.3em, calc(50em / var(--z, 24)), 2em)/1.2 var(--kopf); letter-spacing: -.02em; }
.k-nav { display: flex; gap: 1.9em; }
.k-nav u { font-size: 1.3em; text-decoration: none; white-space: nowrap; }
.k-nav u:empty { display: none; }
.k-knopf, .k-rufe span { font-size: 1.3em; font-weight: 600; padding: .8em 1.35em; border-radius: 99em; white-space: nowrap; }
.k-knopf, .k-rufe span:first-child { background: var(--c); color: var(--e); }
.k-rufe span:last-child { box-shadow: inset 0 0 0 .11em currentColor; }
.k-held { display: grid; grid-template-columns: 1.06fr .94fr; gap: 3em; padding: 3.4em 4em; }
.k-wort { display: grid; align-content: center; justify-items: start; gap: 1.5em; min-width: 0; }
.k-auge { font-size: 1.1em; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.k-wort strong { font: 700 4.7em/1.02 var(--kopf); letter-spacing: -.035em; text-wrap: balance; }
.k-wort em { font-style: normal; color: var(--c); }
.k-satz { font-size: 1.5em; line-height: 1.45; max-width: 25em; }
.k-rufe { display: flex; flex-wrap: wrap; gap: .8em; }
.k-bild { position: relative; display: grid; place-items: end start; border-radius: 2em; background: var(--d) center / cover no-repeat; }
.k-drei { display: grid; grid-template-columns: repeat(3, 1fr); height: 12.6em; border-top: 1px solid color-mix(in srgb, var(--b) 14%, transparent); }
.k-drei span { display: grid; align-content: center; gap: .35em; padding-inline: 4em 1em; border-right: 1px solid color-mix(in srgb, var(--b) 14%, transparent); }
.k-drei span:last-child { border: 0; }
.k-drei b { font: 700 1.7em/1.1 var(--kopf); letter-spacing: -.02em; }
.k-drei i { font-style: normal; font-size: 1.25em; }
/* Das Schild traegt den Namen; je Branche ein anderes: Emaille, Blech, Messing, Leuchtschrift. Cafe und Verein bekommen das runde Zeichen. */
.k-schild { display: grid; gap: .5em; margin: 0 0 -1.4em -1.6em; max-width: 92%; padding: 1.5em 2em 1.4em; border-radius: .7em; background: #fffdf8; color: var(--b); box-shadow: 0 0 0 .22em #fffdf8, 0 0 0 .38em var(--c), 0 1.8em 2.6em -1.2em rgba(0, 0, 0, .55); text-align: center; }
.k-schild b { font: 700 clamp(1.6em, calc(74em / var(--z, 24)), 3.2em)/1.08 var(--kopf); letter-spacing: -.01em; text-wrap: balance; overflow-wrap: anywhere; }
.k-schild i { font-style: normal; font-size: 1.1em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.k-schild i:empty { display: none; }
.k-rund { display: none; width: 17em; height: 17em; overflow: visible; filter: drop-shadow(0 1em 1.2em rgba(0, 0, 0, .3)); }
.k-rund circle { fill: var(--c); }
.k-rund .in { fill: none; stroke: var(--e); stroke-width: 1.2; stroke-dasharray: 1.5 4; stroke-linecap: round; }
.k-rund text { fill: var(--e); font-family: var(--kopf); font-weight: 700; }
.k-rund .um { letter-spacing: .06em; text-transform: uppercase; }
.k-rund .mi { font-size: 64px; text-anchor: middle; dominant-baseline: central; }

/* Praxis: ruhig, Serifen, Bild im Bogen, Emailleschild */
.b-praxis .k-wort strong, .b-praxis .k-logo b, .b-praxis .k-schild b, .b-praxis .k-drei b { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
.b-praxis .k-wort strong { font-size: 5em; }
.b-praxis .k-wort em { font-style: italic; }
.b-praxis .k-bild { border-radius: 50% 50% 2em 2em / 36% 36% 2em 2em; background-image: url("/bilder/skz-praxis.webp"); }
.b-praxis.f1 { --a: #f3f6f9; --b: #1c2b3b; --c: #29517a; --d: #d9e3ee; }
.b-praxis.f2 { --a: #f9f1ea; --b: #35221c; --c: #8a4435; --d: #efdcd1; }

/* Handwerk: dunkel und laut, Versalien, Blechschild mit Warnstreifen */
.b-handwerk { --a: #15181d; --b: #f6f5ef; --c: #ffd400; --d: #262b33; --e: #15181d; }
.b-handwerk .k-kopf { border-bottom: .5em solid transparent; border-image: repeating-linear-gradient(-45deg, var(--c) 0 1em, var(--a) 1em 2em) 8; }
.b-handwerk .k-logo b, .b-handwerk .k-wort strong, .b-handwerk .k-schild b, .b-handwerk .k-drei b { font-weight: 800; text-transform: uppercase; }
.b-handwerk .k-wort strong { font-size: 4.9em; line-height: .96; }
.b-handwerk .k-logo i, .b-handwerk .k-knopf, .b-handwerk .k-rufe span { border-radius: .3em; }
.b-handwerk .k-bild { border-radius: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); background-image: linear-gradient(rgba(21, 24, 29, .1), rgba(21, 24, 29, .5)), url("/bilder/skz-handwerk.webp"); place-items: end center; }
.b-handwerk .k-schild { margin: 0 0 2em 2em; rotate: -3deg; border-radius: .4em; background: var(--c); color: #15181d; box-shadow: 0 0 0 .3em var(--c), 0 0 0 .55em #15181d, 0 0 0 .8em var(--c), 0 1.8em 2.6em -1em rgba(0, 0, 0, .8); }
.b-handwerk.f1 { --a: #0f1b2d; --c: #ff8a3d; --d: #1b2b45; --e: #0f1b2d; }
.b-handwerk.f2 { --a: #f4f4ee; --b: #16181b; --c: #1a4fd0; --d: #dfe2da; --e: #fff; }
.b-handwerk.f2 .k-schild { color: #fff; }

/* Cafe: warm, Name in der Mitte, rundes Bild, Stempel */
.b-cafe { --a: #f4e8d8; --b: #3b2016; --c: #a5421f; --d: #e6d2ba; --e: #fff8ee; }
.b-cafe .k-kopf { display: grid; grid-template-columns: 1fr auto 1fr; }
.b-cafe .k-nav { order: -1; }
.b-cafe .k-knopf { justify-self: end; }
.b-cafe .k-logo { margin: 0; }
.b-cafe .k-logo i { display: none; }
.b-cafe .k-logo b, .b-cafe .k-wort strong, .b-cafe .k-drei b { font-family: var(--serif); font-weight: 400; }
.b-cafe .k-logo b { font-size: clamp(1.4em, calc(56em / var(--z, 24)), 2.5em); max-width: 22em; }
.b-cafe .k-wort strong { font-size: 5.2em; }
.b-cafe .k-wort em { font-style: italic; }
.b-cafe .k-bild { justify-self: center; align-self: center; width: 84%; aspect-ratio: 1; border-radius: 50%; background-image: url("/bilder/skz-cafe.webp"); }
.b-cafe .k-schild, .b-verein .k-schild { display: none; }
.b-cafe .k-rund { display: block; margin: 0 0 -1.5em -3.5em; rotate: -12deg; }
.b-cafe.f1 { --a: #e7ecdd; --b: #25372a; --c: #3c6848; --d: #d0dbc3; --e: #f6faef; }
.b-cafe.f2 { --a: #2b1a13; --b: #f6e9d8; --c: #e3a440; --d: #402a1f; --e: #2b1a13; }

/* Kanzlei: sachlich, Serifen, Messingschild an der Wand */
.b-kanzlei { --a: #fbfaf6; --b: #16233b; --c: #16233b; --d: #16233b; --e: #fff; --m: linear-gradient(135deg, #e3cb8a, #b48e42 42%, #ecd699 58%, #9d7931); }
.b-kanzlei .k-logo b, .b-kanzlei .k-wort strong, .b-kanzlei .k-schild b, .b-kanzlei .k-drei b { font-family: var(--serif); font-weight: 400; }
.b-kanzlei .k-wort em { font-style: italic; color: #7d5f25; }
.b-kanzlei .k-auge { color: #7d5f25; }
.b-kanzlei .k-logo i, .b-kanzlei .k-knopf, .b-kanzlei .k-rufe span { border-radius: .25em; }
.b-kanzlei .k-bild { border-radius: .4em; place-items: center; background-image: linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px), radial-gradient(120% 90% at 30% 10%, rgba(255, 255, 255, .16), transparent 60%); background-size: 16.66% 100%, 100% 100%; }
.b-kanzlei .k-schild { margin: 0; width: 80%; padding: 2.4em 2em 2.2em; border-radius: .35em; background: var(--m); color: #2a1e08; box-shadow: inset 0 0 0 .12em rgba(255, 255, 255, .45), inset 0 0 0 .5em rgba(42, 30, 8, .08), 0 1.6em 2.4em -1em rgba(0, 0, 0, .7); background-image: radial-gradient(circle at 1.3em 1.3em, #5d4514 .32em, transparent .38em), radial-gradient(circle at calc(100% - 1.3em) 1.3em, #5d4514 .32em, transparent .38em), radial-gradient(circle at 1.3em calc(100% - 1.3em), #5d4514 .32em, transparent .38em), radial-gradient(circle at calc(100% - 1.3em) calc(100% - 1.3em), #5d4514 .32em, transparent .38em), var(--m); }
.b-kanzlei .k-schild b { text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1.45em, calc(62em / var(--z, 24)), 2.7em); text-shadow: 0 .05em 0 rgba(255, 255, 255, .45); }
.b-kanzlei.f1 { --b: #1c352f; --c: #1c352f; --d: #1c352f; }
.b-kanzlei.f2 { --b: #241c1e; --c: #6b1d2a; --d: #2b2224; --m: linear-gradient(135deg, #eeeef0, #a6a8ad 42%, #f6f6f8 58%, #8b8d93); }
.b-kanzlei.f2 .k-wort em, .b-kanzlei.f2 .k-auge { color: #6b1d2a; }

/* Laden: freundlich, Leuchtschrift vor der Ziegelwand */
.b-laden { --a: #fff3ee; --b: #231942; --c: #c7285c; --d: #1d1538; --e: #fff; --n: #ff4d8d; }
.b-laden .k-wort strong { font-weight: 800; font-size: 5em; }
.b-laden .k-bild { place-items: center; background-image: linear-gradient(rgba(255, 255, 255, .05) .12em, transparent .12em), linear-gradient(90deg, rgba(255, 255, 255, .05) .12em, transparent .12em), linear-gradient(90deg, rgba(255, 255, 255, .05) .12em, transparent .12em), radial-gradient(70% 55% at 50% 50%, color-mix(in srgb, var(--n) 34%, transparent), transparent 75%); background-size: 100% 2.4em, 5em 4.8em, 5em 4.8em, 100% 100%; background-position: 0 0, 0 0, 2.5em 2.4em, 0 0; }
.b-laden .k-schild { margin: 0; width: 84%; padding: 2.4em 1.6em; border: .2em solid #fff; border-radius: 2em; background: none; color: #fff; box-shadow: 0 0 .5em #fff, 0 0 1.6em var(--n), 0 0 3.6em var(--n), inset 0 0 .5em #fff, inset 0 0 1.6em var(--n); text-shadow: 0 0 .12em #fff, 0 0 .5em var(--n), 0 0 1.1em var(--n), 0 0 2.2em var(--n); }
.b-laden .k-schild b { font-weight: 800; }
.b-laden .k-schild i { color: #fff; }
.b-laden.f1 { --a: #e9faf2; --b: #0e3b3c; --c: #0a6e53; --d: #0b2526; --n: #2cf0a4; }
.b-laden.f2 { --a: #fff7dc; --b: #2a1f14; --c: #b23c0a; --d: #1f150c; --n: #ffac1c; }

/* Verein: sportlich, Trikotstreifen, Wappen mit dem Namen im Kreis */
.b-verein { --a: #f1f4fc; --b: #11235a; --c: #c81e1e; --d: #11235a; --e: #fff; }
.b-verein .k-wort strong { font-weight: 800; font-size: 5.4em; line-height: .94; text-transform: uppercase; transform: skewX(-7deg); transform-origin: left bottom; }
.b-verein .k-logo b { font-weight: 800; text-transform: uppercase; }
.b-verein .k-logo i { border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; }
.b-verein .k-bild { place-items: center; border-radius: 1.2em; background-image: repeating-linear-gradient(105deg, transparent 0 3.2em, rgba(255, 255, 255, .13) 3.2em 6.4em); }
.b-verein .k-rund { display: block; width: 25em; height: 25em; }
.b-verein .k-rund circle:first-of-type { stroke: #fff; stroke-width: 3; }
.b-verein.f1 { --a: #f2f7f0; --b: #123624; --c: #8a5a00; --d: #14532d; }
.b-verein.f2 { --a: #fffbe3; --b: #161616; --c: #161616; --d: #161616; --e: #ffd60a; }
.b-verein.f2 .k-bild { background-color: #ffd60a; background-image: repeating-linear-gradient(105deg, transparent 0 3.2em, rgba(0, 0, 0, .1) 3.2em 6.4em); }

/* Dieselbe Skizze im Handy: eine Spalte, Menue als drei Striche */
.skz.mobil > div { font-size: 2.6cqw; }
.mobil .k-kopf, .mobil.b-cafe .k-kopf { display: flex; height: 6.4em; padding-inline: 2.2em; gap: 1em; }
.mobil .k-nav, .mobil .k-knopf { display: none; }
.mobil .k-kopf::after { content: ""; flex: none; width: 2.2em; height: 1.5em; border-block: .26em solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% .26em no-repeat; }
.mobil .k-logo, .mobil.b-cafe .k-logo { margin-right: auto; }
.mobil .k-logo b { font-size: clamp(1.2em, calc(34em / var(--z, 24)), 1.8em); }
.mobil .k-held { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 2.4em; padding: 2.6em 2.2em 0; }
.mobil .k-wort { gap: 1.2em; align-content: start; }
.mobil .k-auge { font-size: .92em; }
.mobil .k-wort strong, .mobil.b-praxis .k-wort strong, .mobil.b-cafe .k-wort strong, .mobil.b-handwerk .k-wort strong, .mobil.b-laden .k-wort strong, .mobil.b-verein .k-wort strong { font-size: 3.5em; }
.mobil .k-satz { font-size: 1.35em; }
.mobil .k-rufe span { font-size: 1.2em; }
.mobil .k-rufe span:last-child { display: none; }
.mobil .k-bild, .mobil.b-cafe .k-bild { width: auto; aspect-ratio: auto; justify-self: stretch; align-self: stretch; min-height: 22em; margin-bottom: -2em; border-radius: 1.6em 1.6em 0 0; clip-path: none; place-items: center; }
.mobil.b-praxis .k-bild { border-radius: 50% 50% 0 0 / 30% 30% 0 0; place-items: end center; }
.mobil .k-schild, .mobil.b-handwerk .k-schild { margin: 0 0 3.4em; max-width: 88%; padding: 1.1em 1.3em; }
.mobil .k-schild b { font-size: clamp(1.25em, calc(44em / var(--z, 24)), 2.2em); }
.mobil .k-schild i { font-size: .85em; }
.mobil .k-rund, .mobil.b-cafe .k-rund, .mobil.b-verein .k-rund { width: 16em; height: 16em; margin: 0 0 1.4em; }
.mobil .k-drei { display: none; }

/* Handy und Suchtreffer am Rahmen */
.handy .skz { position: absolute; inset: 0; }
.darunter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 20px; align-items: start; min-height: 118px; margin-top: 14px; padding-left: clamp(88px, 7vw, 104px); }
.legende { min-height: 4.6em; font-size: .9rem; color: var(--grau); }
.legende b, .legende a { color: var(--tinte); }
.legende a { font-weight: 600; white-space: nowrap; }
.treffer { position: relative; z-index: 2; margin-top: -44px; padding: 14px 16px 15px; border-radius: 14px; background: #fff; color: #202124; font: 400 .8rem/1.4 system-ui, sans-serif; box-shadow: 0 0 0 1px rgba(14, 34, 39, .14), 0 26px 48px -22px rgba(14, 34, 39, .6); }
.treffer small { display: block; margin-bottom: 9px; font: 600 .66rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--grau); }
.treffer > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.treffer > span i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tief); color: #fff; font: 700 .85rem/1 var(--kopf); }
.treffer > span span { display: grid; min-width: 0; line-height: 1.25; }
.treffer b, .treffer u { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.treffer b { font-weight: 500; }
.treffer u { text-decoration: none; color: #4d5156; font-size: .74rem; }
.treffer strong { display: block; margin-top: 8px; color: #1a0dab; font-weight: 400; font-size: 1.04rem; line-height: 1.25; overflow-wrap: anywhere; }
.treffer p { margin-top: 4px; color: #4d5156; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1180px) {
  .darunter { grid-template-columns: minmax(0, 1fr); min-height: 130px; }
  .treffer { order: -1; margin-top: -30px; }
}
/* schmal: das Handy wird zur Hauptsache, die Legende steht daneben, der Suchtreffer darunter */
@media (max-width: 940px) {
  .entwurf { --hw: clamp(130px, 40vw, 190px); }
  .handy { left: 6px; bottom: auto; top: calc(100% - 54px); width: var(--hw); z-index: 3; }
  .darunter { display: block; min-height: 0; padding-left: 0; }
  .legende { min-height: calc(var(--hw) * 2.034 - 44px); margin-left: calc(var(--hw) + 22px); padding-top: 4px; }
  .legende a { white-space: normal; }
  .treffer { margin: 16px 0 0; }
}
@keyframes wink { 0%, 100% { box-shadow: 6px 6px 0 var(--marker); } 45% { box-shadow: 6px 6px 0 var(--marker), 0 0 0 7px rgba(194, 79, 45, .28); } }
@keyframes plopp { 0% { scale: .96; } 55% { scale: 1.03; } 100% { scale: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .wisch .fertig { animation: tusche .7s cubic-bezier(.65, 0, .2, 1) both; }
  .wisch .naht { animation: naht .7s cubic-bezier(.65, 0, .2, 1) both; }
  .feld input:placeholder-shown:not(:focus) { animation: wink 1.1s 3.9s 2; }
  .spielt .treffer { animation: hoch .7s 3.4s cubic-bezier(.2, .7, .2, 1) both; }
  .wisch .treffer, .wisch .handy { animation: plopp .5s .25s both; }
}
/* Vorher-Nachher: Platz fuer die Marke oben rechts */
.gegen .k-kopf { padding-right: 17em; }
